FltDeleteContext decremets the refcount added by FltSetXxxContext, you
can do a “ba w1 ContextAddress - 4”
Ramon,
Panda Software
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Tuesday, March 23, 2004 11:48 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Filter Manager Assert
Seems like the Context had already been freed.
Does a FltDeleteContext decrement the reference count, i.e. an implicit
FltReleaseContext?
Ken
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Tuesday, March 23, 2004 5:06 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Filter Manager Assert
Ken,
If the type is not exported (dt filtmgr!* to get the list of exported
types) then you’ll have to resort to disassembling the code to figure
out which of the tests failed (yes, I know, this is a pain, but I don’t
know of any other way to do it.)
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Tuesday, March 23, 2004 3:02 PM
To: ntfsd redirect
Subject: RE: [ntfsd] Filter Manager Assert
Theses values are not part of my structure, but internal to the filter
manager, where do I find the values?
Ken
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Tuesday, March 23, 2004 2:58 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Filter Manager Assert
Ken,
Did you look at these values in the debugger? If I were debugging this,
I’d start dumping data structures until such time as I had figured out
which of the conditions had failed. Of course, the frustrating thing
about such complex asserts is figuring out why they failed - it takes
time and lots of digging.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com http:
Hope to see you at the next OSR file systems class in Boston, MA, March
29, 2004!
________________________________
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Tuesday, March 23, 2004 2:46 PM
To: ntfsd redirect
Subject: [ntfsd] Filter Manager Assert
I got the following assert when doing a FltReleaseContext, my context
looks valid, what else can I look at?
Thanks,
Ken
Assertion failed: ((CtxNode) != NULL) && ((CtxNode)->RegInfo !=
NULL) && (((CtxNode)->RegInfo->ContextType == FLT_VOLUME_CONTEXT) ||
((CtxNode)->RegInfo->ContextType == FLT_INSTANCE_CONTEXT) ||
((CtxNode)->RegInfo->ContextType == FLT_FILE_CONTEXT) ||
((CtxNode)->RegInfo->ContextType == FLT_STREAM_CONTEXT) ||
((CtxNode)->RegInfo->ContextType == FLT_STREAMHANDLE_CONTEXT)) &&
((CtxNode)->UseCount > 0)
Source File: f:\ntdnsrv\base\fs\filtermgr\filter\contextsup.c,
line 453
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com —
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@pandasoftware.es
To unsubscribe send a blank email to xxxxx@lists.osr.com</http:>