[ros-kernel] Bug #14: ReactOS crashes on exit of setup

Eric Kohl ekohl at rz-online.de
Thu Oct 30 19:20:25 CET 2003


Hi!

I guess I found the bug that causes the crash upon shutdown.

The culprits are ObpPerformRetentionChecksDpcLevel() and
ObpPerformRetentionChecks() (in ntoskrnl/ob/object.c). The main reason for
the crash is that unnecessary work items are issued because a work item is
only need in case the object should be _deleted_ at an elevated irp level.

The attached patch should fix the bug. It still includes some debugging code
and is pretty dirty.


Regards,
Eric

-------------- next part --------------
A non-text attachment was scrubbed...
Name: object.diff
Type: application/octet-stream
Size: 5371 bytes
Desc: not available
Url : http://reactos.geldorp.nl:8080/pipermail/ros-kernel/attachments/20031030/0b89159b/object.obj


More information about the Ros-kernel mailing list