Hartmut Birr wrote:
Ge van Geldorp wrote:
1st problem: when booting rev 14873 (DBG := 1,
KDBG := 0) it crashes
with:
DriverBase for \SystemRoot\system32\drivers\fs_rec.sys: 9cf7c000
(io/file.c:898) Status :0
(io/file.c:898) Status :0
(io/file.c:898) Status :0
DriverBase for \SystemRoot\system32\drivers\beep.sys: 9cf8b000
(io/file.c:898) Status :0
Assertion NewRefCount >= 0 failed at ob/object.c:1150
KeBugCheckWithTf at ke/catch.c:217
A problem has been detected and ReactOS has been shut down to
prevent damage
to your computer.
The problem is in IoSecondStageCompletion. Sometimes Irp->UserEvent
points to Fileobject->Event. Dereferencing such an event object
crashs ros.
Actually, according to the stack traces people are giving me, it's
dereferencing the File object that's causing this...
This isn't right. I've add a second test condition (Irp->UserEvent !=
&FileObject->Even) on both points where the event is dreferenced. This
does fix the crash.
- Hartmut