[ros-kernel] BSOD on shutdown
Ge van Geldorp
ge at gse.nl
Thu Apr 8 18:45:26 CEST 2004
I get a bugcheck on shutdown every now and then, especially when using
the VGA driver. The stack trace:
0 KeBugCheckWithTf (BugCheckCode=0, BugCheckParameter1=0,
BugCheckParameter2=0, BugCheckParameter3=0, BugCheckParameter4=0,
Tf=0x0) at ke/bug.c:168
#1 0xc000a866 in KeBugCheckEx (BugCheckCode=0, BugCheckParameter1=0,
BugCheckParameter2=0, BugCheckParameter3=0, BugCheckParameter4=0) at
ke/bug.c:195
#2 0xc000a886 in KeBugCheck (BugCheckCode=0) at ke/bug.c:212
#3 0xc001107c in KeRemoveAllWaitsThread (Thread=0xc13c9878,
WaitStatus=-1073741823, Unblock=0) at ke/wait.c:214
#4 0xc0077211 in PsTerminateCurrentThread (ExitStatus=0) at
ps/kill.c:191
#5 0xc00772d2 in PiTerminateThreadNormalRoutine (NormalContext=0x0,
SystemArgument1=0x0, SystemArgument2=0x0) at ps/kill.c:219
#6 0xc0008e3a in KiDeliverNormalApc () at ke/apc.c:116
#7 0xc0003484 in KiAfterSystemCallHook (NtStatus=3221225547,
TrapFrame=0xddf78f84) at ke/i386/usercall.c:53
#8 0xc0003981 in new_serviceInRange ()
This happens after the system has begun shutdown in another thread (i.e.
another thread has called NtShutdownSystem()). The attached patch
prevents the BSOD by preventing the Apc to be delivered, but it feels
kind of hacky. Any ideas on how this should really be fixed?
Gé van Geldorp.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: power.diff
Type: application/octet-stream
Size: 674 bytes
Desc: not available
Url : http://reactos.com:8080/pipermail/ros-kernel/attachments/20040408/84e75b3f/power.obj
More information about the Ros-kernel
mailing list