[ros-bugs] [Bug 938] New: Get/SetThreadContext doesn't work

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sat Oct 29 20:32:42 CEST 2005


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

           Summary: Get/SetThreadContext doesn't work
           Product: ReactOS
           Version: unspecified
          Platform: x86 Hardware
        OS/Version: ReactOS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Kernel
        AssignedTo: ros-bugs at reactos.com
        ReportedBy: mrnobo1024 at yahoo.com
         QAContact: ros-bugs at reactos.com


GetThreadContext and SetThreadContext don't work at all. They just cause a BSOD
from KeTrapFrameToContext/KeContextToTrapFrame (apparently because the
KeGetCurrentThread()->TrapFrame is a bad pointer)

This bug may not appear to happen with GetThreadContext, because of another bug.
NtGetContextThread doesn't actually put the context into the
GET_SET_CTX_CONTEXT, so that part of it is just stack junk, which may not have
any of the context flags set in the context parameter, so the trap frame never
gets accessed.

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


More information about the Ros-bugs mailing list