Assert’s can be disabled (at least on Vista+). Try entering ‘sxe asrt’ and
see if that fixes it.
Good luck,
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, March 28, 2011 4:43 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] failed ASSERT not breaking in debugger
Hi,
I’m seeing failed assertions from the checked filter manager but they don’t
break into the debugger. Is there a way to enable this?
On Mon, Mar 28, 2011 at 2:44 PM, Scott Noone wrote:
> Are you by any chance using VirtualKD? > > -scott > > – > Scott Noone > Consulting Associate and Chief System Problem Analyst > OSR Open Systems Resources, Inc. > http://www.osronline.com > > wrote in message news:xxxxx@ntfsd… > > > Hi, > > I’m seeing failed assertions from the checked filter manager but they don’t > break into the debugger. Is there a way to enable this? > > I’m getting: > > > Assertion failed: Invalid FLT_INSTANCE structure: ((NULL != (Instance)) > && ((((PFLT_OBJECT)(Instance))->Flags & FLT_OBFL_VALID_TYPES_MASK) == > (FLT_OBFL_TYPE_INSTANCE))) > Source File: d:\w7rtm\minkernel\fs\filtermgr\filter\contextsup.c, > line 4396 > > > Assertion failed: Invalid FLT_VOLUME structure: ((NULL != (Volume)) && > ((((PFLT_OBJECT)(Volume))->Flags & FLT_OBFL_VALID_TYPES_MASK) == > (FLT_OBFL_TYPE_VOLUME))) > Source File: > d:\w7rtm\minkernel\fs\filtermgr\filter\streamlistctrlsup.c, line 366 > > > But the system continues along before it dies a short time later - would > like for it to stop at the first failure. > > Thanks, > Tom > > — > NTFSD is sponsored by OSR > > For our schedule of debugging and file system seminars visit: > http://www.osr.com/seminars > > To unsubscribe, visit the List Server section of OSR Online at > http://www.osronline.com/page.cfm?name=ListServer >
There’s a byte that isn’t set up properly by the VirtualKD stub, which will
make you miss breakpoints. There’s a test of 0x3 from a byte in the
processor 0 PRCB someplace in some versions of RtlAssert that will fail and
not break in if you’re using VirtualKD. For example:
mov al,byte ptr ds:[FFDF02D4h]
and al,3
Change it to 3 (or whatever the value is on the version of Windows you’re
using) and the asserts should work.
-scott
–
Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc. http://www.osronline.com
“Tom Ramsdell” wrote in message news:xxxxx@ntfsd… Yes, I am.
Tom
On Mon, Mar 28, 2011 at 2:44 PM, Scott Noone wrote: Are you by any chance using VirtualKD?
-scott
– Scott Noone Consulting Associate and Chief System Problem Analyst OSR Open Systems Resources, Inc. http://www.osronline.com
wrote in message news:xxxxx@ntfsd…
Hi,
I’m seeing failed assertions from the checked filter manager but they don’t break into the debugger. Is there a way to enable this?