Hanging process...

Hi,

  • I have written a function driver that communicate with a user-mode application, on some scenarios after unloading the function driver ( using the ServiceManager ) the user-mode process hangs and cannot be terminated using the task manager or procexp.

  • The user-mode app communicate with the driver using a symbolic link and IO completion mechanism, a CSQ accumulate user-mode Read IRPs and complete them when it need to report messages to the user.

  • Upon termination all of the IRPs in the CSQ are being canceled ( through the DeviceClose handler or by the IO Manager upon thread termination ).

What may cause the user-mode app to hang?

Any help would be appreciated…

Naddav.


Yahoo! FareChase - Search multiple travel sites in one click.