DUN firing multiple IRP_MJ_CREATEs

Hello all,
I have written a WDM serial port driver which is working well. This port has
a modem attached to it. When I dial out using MS DUN , I get a very stable
connection. Now when I disconnect and then try to connect again, MS DUN
fires multiple IRP_MJ_CREATEs, each of which gives an assertion failure :
CurrentLocation > StackCount ( members of "struct _IRP ").

And the system gives a BugCheck, with the following information Error 44
:MULTIPLE_IRP_COMPLETE_REQUESTS P1=812e86c8 p2=cca p3=0
p4=0

For the sake of my application, I use a Timer and a thread in the driver.
They do not give any problem for my driver. Is it becoz I am not killing the
timer/thread properly ? Also, I am waiting on an event in the handler for
the IRP_MJ_CLOSE routine. Is this the possible cause of trouble ?

I would appreciate any help or information. Which books/help can I look for
the solution ?

Regards,
Shail.


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