[ros-bugs] [Bug 3457] New: race condition when initializing KBLList

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Sun Jul 6 12:22:44 CEST 2008


http://www.reactos.org/bugzilla/show_bug.cgi?id=3457

           Summary: race condition when initializing KBLList
           Product: ReactOS
           Version: TRUNK
          Platform: QEmu
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Win32
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: M8R-3npp3o at mailinator.com
         QAContact: ros-bugs at reactos.org


Created an attachment (id=2761)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=2761)
patch of input.c

When booting *very slowly* KeyboardThreadMain runs before KBLList is
initialized in UserInitDefaultKeyboardLayout, resulting in a null pointer
dereference.


PKBL KBLList = NULL;

InitInputImpl
-> PsCreateSystemThread( KeyboardThreadMain )
-> UserInitDefaultKeyboardLayout
   -> KBLList = UserLoadDllAndCreateKbl(LocaleId)

-> KeyboardThreadMain
   -> Win32kInitWin32Thread
      -> Win32kProcessCallback
         -> W32kGetDefaultKeyLayout
               pKbl = KBLList;
               if(pKbl->klid == LayoutLocaleId)

(KBLList is NULL)


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Ros-bugs mailing list