[wdmaudiodev] VAD MULTIPLE_IRP_COMPLETE_REQUESTS problem

  • From: Robert Bielik <robert.bielik@xxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 11 May 2011 06:43:54 +0200

Hi all,

Long story shorted: I have a VAD that acts as a rendering endpoint. It creates 
also a control device (which is deleted when I get a
IRP_MJ_PNP/IRP_MN_REMOVE_DEVICE IRP of the main device) to control 
registering/unregistering of the wave/topology miniports (unregistering is done 
also on the IRP_MJ_CLEANUP of the
control device itself). I use a pending IRP for notifying my client application 
of audio client connections/disconnections.

And it all works fine except for this specific scenario:

* Uninstallation of the VAD when a client is streaming to it (Windows 7)  (With 
no clients streaming to it, uninstallation works just fine)

With 100% repeatability this results in BSOD with 
MULTIPLE_IRP_COMPLETE_REQUESTS. Aside: What exactly does that mean ? Is it that 
the same IRP has been
used in IoCompleteRequest more than once ?

Oddly enough, I cannot reproduce this in a debugged VM Win7 instance. No BSOD 
there. I'll try later on a physical machine but my hopes aren't great.

Should I handle any other PNP IRP such as IRP_MN_SURPRISE_REMOVAL ?

TIA
/Rob
(Ps. Sorry for the cross post for those that are registered on ntdev...)


******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts:

  • » [wdmaudiodev] VAD MULTIPLE_IRP_COMPLETE_REQUESTS problem - Robert Bielik