Bugcheck UNEXPECTED_KERNEL_MODE_TRAP

I am getting a following bug check in TDI Filter driver
UNEXPECTED_KERNEL_MODE_TRAP (7f).

This occurs when I am trying to send the IRP to original driver (Protocol driver).

I pass the IRP using following 2 calls
IoSkipCurrentIrpStackLocation ( pIrp ) ;
and then
IoCallDriver ( pDevObj , pIrp ) ;

Where am I going wrong ?

What’s the extra parameters to the 7f trap? First parameter tells you more
about what it is that occurred. Try the Index in WinDBG’s help, and look at
Bug Check 0x7F for more info.


Mats

-----Original Message-----
From: Abhijit [mailto:xxxxx@yahoo.com]
Sent: Friday, March 19, 2004 11:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Bugcheck UNEXPECTED_KERNEL_MODE_TRAP

I am getting a following bug check in TDI Filter driver
UNEXPECTED_KERNEL_MODE_TRAP (7f).

This occurs when I am trying to send the IRP to original driver (Protocol
driver).

I pass the IRP using following 2 calls
IoSkipCurrentIrpStackLocation ( pIrp ) ;
and then
IoCallDriver ( pDevObj , pIrp ) ;

Where am I going wrong ?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@3dlabs.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Problem is solved. Sorry to bother you all. But it was a recursive call. I was passing the IRP to my device object again.

Sorry.

wrote in message news:xxxxx@ntdev…
What’s the extra parameters to the 7f trap? First parameter tells you more about what it is that occurred. Try the Index in WinDBG’s help, and look at Bug Check 0x7F for more info.


Mats
-----Original Message-----
From: Abhijit [mailto:xxxxx@yahoo.com]
Sent: Friday, March 19, 2004 11:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Bugcheck UNEXPECTED_KERNEL_MODE_TRAP

I am getting a following bug check in TDI Filter driver
UNEXPECTED_KERNEL_MODE_TRAP (7f).

This occurs when I am trying to send the IRP to original driver (Protocol driver).

I pass the IRP using following 2 calls
IoSkipCurrentIrpStackLocation ( pIrp ) ;
and then
IoCallDriver ( pDevObj , pIrp ) ;

Where am I going wrong ?


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@3dlabs.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Ah, and eventually, you ran out of stack… Yes, I’ve done similar…


Mats

-----Original Message-----
From: Abhijit [mailto:xxxxx@yahoo.com]
Sent: Friday, March 19, 2004 12:45 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Bugcheck UNEXPECTED_KERNEL_MODE_TRAP

Problem is solved. Sorry to bother you all. But it was a recursive call. I
was passing the IRP to my device object again.

Sorry.

< xxxxx@3Dlabs.com mailto:xxxxx > wrote in
message news:xxxxx@ntdev news:xxxxx

What’s the extra parameters to the 7f trap? First parameter tells you more
about what it is that occurred. Try the Index in WinDBG’s help, and look at
Bug Check 0x7F for more info.


Mats

-----Original Message-----
From: Abhijit [mailto:xxxxx@yahoo.com]
Sent: Friday, March 19, 2004 11:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Bugcheck UNEXPECTED_KERNEL_MODE_TRAP

I am getting a following bug check in TDI Filter driver
UNEXPECTED_KERNEL_MODE_TRAP (7f).

This occurs when I am trying to send the IRP to original driver (Protocol
driver).

I pass the IRP using following 2 calls
IoSkipCurrentIrpStackLocation ( pIrp ) ;
and then
IoCallDriver ( pDevObj , pIrp ) ;

Where am I going wrong ?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@3dlabs.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@3dlabs.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</news:xxxxx></mailto:xxxxx>