I am having this blue screen with NO_MORE_IRP_STACK_LOCATIONS.
I have two layers of drivers. The lower is a pnp driver and the upper is an
export driver. Prior to IoAttachDeviceToDeviceStack(), the lower driver
calls the upper driver functions at the time when it receives
IRP_MN_START_DEVICE signal from the OS. As a result of info from the lower
driver, the upper driver attaches itself to the lower driver. As expected,
right after attachment the upper driver start receiving all pnp signals
most of which are simply passed down by using
IoSkipCurrentIrpStackLocation and IoCallDriver combination. So far so
good.
However, if I add some more processing (not at all related to IRP ) at the
time between IoAttachDeviceToDeviceStack call and reception of very first
pnp signal (IRP_MN_QUERY_INTERFACE in this case…which I am just passing
down) I get the blue screen (0x35 no more irp stack locations).
Any idea what could be wrong here ?
regards,
Hassan
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Is it possible to get NO_MORE_IRP_STACK_LOCATIONS bugcheck from
IoCompleteRequest routine ?
The Irp Address given in the bugcheck 0x35 belongs to an Irp that I am
completing using IoCompleteRequest(). Also the system crashes when
IoCompleteRequest is called. I can’t see the connection between
IoCompleteRequest and this bugcheck. But all things seem to point towards
it.
Thanks for any comment you can give.
regards,
Hassan
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
I has get this bug check when I was using IoSetCompletionRoutine and the Irp
need someone processing or I don’t decrease the Stack Counter.
Another situation was that I was sending to the next driver, mine Irp’s
don’t accepted by next drivers.
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Thursday, May 31, 2001 2:10 PM
Subject: [ntdev] Re: NO_MORE_IRP_STACK_LOCATIONS
> Is it possible to get NO_MORE_IRP_STACK_LOCATIONS bugcheck from
> IoCompleteRequest routine ?
>
> The Irp Address given in the bugcheck 0x35 belongs to an Irp that I am
> completing using IoCompleteRequest(). Also the system crashes when
> IoCompleteRequest is called. I can’t see the connection between
> IoCompleteRequest and this bugcheck. But all things seem to point towards
> it.
>
> Thanks for any comment you can give.
>
> regards,
> Hassan
>
> —
> You are currently subscribed to ntdev as: xxxxx@scuasecurity.com.br
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Hello boys, Hassan and Heldai !
I want to tell you that IoCompleteRequest can cause a BSOD, but
a slightly different type: MULTIPLE_IRP_COMPLETE_REQUESTS.
Your case is probably that in IoCallDriver when there isn’t available
next irp stack location.
Hope this helps
Paul
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Heldai
Sent: Thursday, May 31, 2001 8:37 PM
To: NT Developers Interest List
Subject: [ntdev] Re: NO_MORE_IRP_STACK_LOCATIONS
I has get this bug check when I was using IoSetCompletionRoutine and the
Irp
need someone processing or I don’t decrease the Stack Counter.
Another situation was that I was sending to the next driver, mine Irp’s
don’t accepted by next drivers.
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Thursday, May 31, 2001 2:10 PM
Subject: [ntdev] Re: NO_MORE_IRP_STACK_LOCATIONS
> Is it possible to get NO_MORE_IRP_STACK_LOCATIONS bugcheck from
> IoCompleteRequest routine ?
>
> The Irp Address given in the bugcheck 0x35 belongs to an Irp that I am
> completing using IoCompleteRequest(). Also the system crashes when
> IoCompleteRequest is called. I can’t see the connection between
> IoCompleteRequest and this bugcheck. But all things seem to point
towards
> it.
>
> Thanks for any comment you can give.
>
> regards,
> Hassan
>
> —
> You are currently subscribed to ntdev as: xxxxx@scuasecurity.com.br
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: xxxxx@compelson.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com