FltUnregisterFilter is stuck up

Hello all !
I’ve some trouble in the minifilter FSFD development.
I’m slightly modify an minifilter sample on the Win.Net IFSKit.
With a fltmc i’m loads an that minifilter, during of DriverEntry it
works. After that i’m starting up an minispyuser.exe (it’s compiled UI
sample UA for that minifilter). UI opens some file, minifilters hooks
that, and by SUCCESS opens it pick up an some STREAM_CONTEXT to the
result FILE_OBJECT. After that do reset on Debug section user
application on the MSDEV environment. After that with a fltmc
i’m try to unload an fltmc, and during of FltUnregisterFilter call
invoked thread is stuck up. My guess: some PFLT_FILTER contents, which
was saved on the global structure on the DriverEntry stage is invalid.
How i should fix up an that trouble ?
With regards
Oleg Nikitenko


Have your own email and web address for life.

http://www.homemaster.net - Homemaster. Come Together. Online.

Oleshii,

This occurs because there is some object which you referenced and then
did not release. For example if you retrieve a context and then fail to
release it this will occur. If you open a file from a filter and then
fail to close it, this will occur.

If you run a CHKD version of filter manager it will detect failed
context releases.

FYI: we are beefing up the minifilter verifier for longhorn to detect
these types of things to assist debugging.

Neal Christiansen
Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of oleshii wood
Sent: Monday, February 07, 2005 6:41 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FltUnregisterFilter is stuck up

Hello all !
I’ve some trouble in the minifilter FSFD development.
I’m slightly modify an minifilter sample on the Win.Net IFSKit.
With a fltmc i’m loads an that minifilter, during of DriverEntry it
works. After that i’m starting up an minispyuser.exe (it’s compiled UI
sample UA for that minifilter). UI opens some file, minifilters hooks
that, and by SUCCESS opens it pick up an some STREAM_CONTEXT to the
result FILE_OBJECT. After that do reset on Debug section user
application on the MSDEV environment. After that with a fltmc
i’m try to unload an fltmc, and during of FltUnregisterFilter call
invoked thread is stuck up. My guess: some PFLT_FILTER contents, which
was saved on the global structure on the DriverEntry stage is invalid.
How i should fix up an that trouble ?
With regards
Oleg Nikitenko


Have your own email and web address for life.

http://www.homemaster.net - Homemaster. Come Together. Online.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com