Unexpected interrupt crashed the system!

Hello,
I need help in the Page Fault error occurred when I was running my file
system filter driver in Win NT 4.0 SP6. The same code compiled in Win 2k run

without error.

The crash does not happen every time. When it crashed, I checked the stack
command in SoftIce but couldn’t find my driver in the stack. The crash did
not happen at the same place in my driver.

Output from SoftIce:

===============================================
Break due to Page Fault (OEh), Fault = 0002
MSR LastExceptionFromIp=8013D5A6
MSR LastExceptionToIp=801149B0

:stack
F7535B3C 8011A2E3 ntoskrnl!IoCompleteRequest+1DB6
F7535B74 8014236C ntoskrnl!KiDeliverApc+0079
00000000 00000000 ntoskrnl!KiUnexpectedInterrupt+01C2

================================================

I really appreciate someone can tell me what is the possible reasons that
crashed the system. Also please tell me how to debug the driver in SoftIce
based on the Page Fault value and Stack information. Thanks in advance!

Regards,
Sin Lam

Hmm, based on the stack, it seems as it failed in YOUR IoCompletionRoutine.
Either it is set incorrectly, or another driver, didn’t actually clear or set
it’s own completion routine.
Also, it is possible that You were trying to access an invalid pointer, and
actually succeeded, and thus changed the stack.

Regards, Dejan.

Tan Sin Lam wrote:

Hello,
I need help in the Page Fault error occurred when I was running my file
system filter driver in Win NT 4.0 SP6. The same code compiled in Win 2k run

without error.

The crash does not happen every time. When it crashed, I checked the stack
command in SoftIce but couldn’t find my driver in the stack. The crash did
not happen at the same place in my driver.

Output from SoftIce:

===============================================
Break due to Page Fault (OEh), Fault = 0002
MSR LastExceptionFromIp=8013D5A6
MSR LastExceptionToIp=801149B0

:stack
F7535B3C 8011A2E3 ntoskrnl!IoCompleteRequest+1DB6
F7535B74 8014236C ntoskrnl!KiDeliverApc+0079
00000000 00000000 ntoskrnl!KiUnexpectedInterrupt+01C2

================================================

I really appreciate someone can tell me what is the possible reasons that
crashed the system. Also please tell me how to debug the driver in SoftIce
based on the Page Fault value and Stack information. Thanks in advance!

Regards,
Sin Lam


You are currently subscribed to ntfsd as: xxxxx@ptt.yu
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


Regards, Dejan M. CEO Alfa Co. www.register.co.yu
E-mail : xxxxx@alfaunits.co.yu ICQ# : 56570367
Professional file&system related components and libraries for Win32 developers.
Alfa Units - #1 file and system handling units for Delphi.
Alfa File Monitor - #1 file monitoring system for Win32 developers.
Alfa Interceptor - #1 file protection and hiding system for Win32 developers.