Unless you’re working for Symantec, this isn’t your bug. Symantec DOES
switch stacks.
I would suggest testing without an anti-virus product installed.
Regards,
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ta H.
Sent: Tuesday, October 12, 2004 7:13 PM
To: ntdev redirect
Subject: RE: [ntdev] how long can I hold a spin lock?
Thanks. Please see below. It is a HP/HT machine running XP Home.
*** Fatal System Error: 0x000000c4
(0x00000090,0xF870F120,0x00000000,0x00000000)
Break instruction exception - code 80000003 (first chance)
A fatal system error has occurred.
Debugger entered on first try; Bugcheck callbacks have not been invoked.
A fatal system error has occurred.
Connected to Windows XP 2600 x86 compatible target, ptr64 FALSE
Loading Kernel Symbols
…
…
Loading unloaded module list
…
Loading User Symbols
…
************************************************************************
*******
*
*
* Bugcheck Analysis
*
*
*
************************************************************************
*******
Use !analyze -v to get detailed debugging information.
BugCheck C4, {90, f870f120, 0, 0}
*** ERROR: Module load completed but symbols could not be loaded for
SAVRT.SYS
Probably caused by : SAVRT.SYS ( SAVRT+7dad )
Followup: MachineOwner
nt!RtlpBreakWithStatusInstruction:
8051d778 cc int 3
1: kd> !analyze -v
************************************************************************
*******
*
*
* Bugcheck Analysis
*
*
*
************************************************************************
*******
DRIVER_VERIFIER_DETECTED_VIOLATION (c4)
A device driver attempting to corrupt the system has been caught. This
is
because the driver was specified in the registry as being suspect (by
the
administrator) and the kernel has enabled substantial checking of this
driver.
If the driver attempts to corrupt the system, bugchecks 0xC4, 0xC1 and
0xA
will
be among the most commonly seen crashes.
Parameter 1 = 0x1000 … 0x1020 - deadlock verifier error codes.
Typically the code is 0x1001 (deadlock detected) and you
can
issue a ‘!deadlock’ KD command to get more information.
Arguments:
Arg1: 00000090, A driver switched stacks. The current stack is neither a
thread
stack nor a DPC stack. Typically the driver doing this should be
on the stack obtained from `kb’ command.
Arg2: f870f120
Arg3: 00000000
Arg4: 00000000
Debugging Details:
BUGCHECK_STR: 0xc4_90
DEFAULT_BUCKET_ID: DRIVER_FAULT
LAST_CONTROL_TRANSFER: from 804f444e to 8051d778
STACK_TEXT:
824a693c 804f444e 00000003 824a6c6c 00000090
nt!RtlpBreakWithStatusInstruction
824a6988 804f4ed3 00000003 8276bd70 00000000
nt!KiBugCheckDebugBreak+0x19
824a6d54 804f5471 000000c4 00000090 f870f120 nt!KeBugCheck2+0x46d
824a6d74 8063ab77 000000c4 00000090 f870f120 nt!KeBugCheckEx+0x19
824a6d90 8063ae47 8063b3db 00000000 00000000
nt!ViDeadlockCheckStackLimits+0x6b
824a6d94 8063b3db 00000000 00000000 00000000
nt!ViDeadlockCanProceed+0x25
824a6db8 80538367 8276bd78 00000020 82675770
nt!VfDeadlockDeleteMemoryRange+0x11
824a6df4 8052618c 8276bd78 00000000 828add18 nt!ExFreePoolWithTag+0x95
824a6e24 805264e5 824a6e3c f00929ac 824a6ec0
nt!ExpFindCurrentThread+0x184
824a6e48 eecb5dad eece8028 00000000 eecb96ef
nt!ExAcquireResourceSharedLite+0x4f
WARNING: Stack unwind information not available. Following frames may be
wrong.
00000410 00009902 00240000 50e00024 1c0d1c0d SAVRT+0x7dad
FOLLOWUP_IP:
SAVRT+7dad
eecb5dad 84c0 test al,al
SYMBOL_STACK_INDEX: a
FOLLOWUP_NAME: MachineOwner
SYMBOL_NAME: SAVRT+7dad
MODULE_NAME: SAVRT
IMAGE_NAME: SAVRT.SYS
DEBUG_FLR_IMAGE_TIMESTAMP: 3d40d9c3
STACK_COMMAND: kb
BUCKET_ID: 0xc4_90_SAVRT+7dad
Followup: MachineOwner
1: kd> !deadlock
Resources: 1
Nodes: 0
Threads: 29
Nodes trimmed based on age 0.
Nodes trimmed based on count 0.
Analyze calls 0.
Maximum nodes searched 0.
No deadlock verifier issues.
From: “Tony Mason”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: RE: [ntdev] how long can I hold a spin lock?
>Date: Tue, 12 Oct 2004 17:54:26 -0400
>
>Try debugging the crash - start with “!analyze -v”. Just because you
>turn on an option and the system crashed you can’t assume that it will
>crash because of the option you enabled.
>
>You might also want to show us the bugcheck data. That always makes it
>easier to suggest what you might have done wrong.
>
>Regards,
>
>Tony Mason
>Consulting Partner
>OSR Open Systems Resources, Inc.
>http://www.osr.com
>
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of Ta H.
>Sent: Tuesday, October 12, 2004 4:55 PM
>To: ntdev redirect
>Subject: RE: [ntdev] how long can I hold a spin lock?
>
>Thanks.
>
>I turn on the driver verifier with deadlock detection, and I get a bug
>check. Then I follow with “!deadlock” in the windbg, but I get “no
>deadlock
>verifier issues”. How can I continue from there?
>
>AH
>
> >From: “Doron Holan”
> >Reply-To: “Windows System Software Devs Interest List”
> >
> >To: “Windows System Software Devs Interest List”
> >Subject: RE: [ntdev] how long can I hold a spin lock?
> >Date: Mon, 11 Oct 2004 22:51:09 -0700
> >
> >You should hold onto a lock for the least amount of time as possible.
> >If you hold onto the lock too long, the user will see the affects.
>What
> >might be happening on your machine is that your driver is acquiring a
> >lock, but not releasing it and then return to the caller outside of
>your
> >driver. Turn on driver verifier and deadlock detection. If you
>think
> >this is what is going on, driver verifier should find it rather
>quickly.
> >
> >d
> >
> >-----Original Message-----
> >From: xxxxx@lists.osr.com
> >[mailto:xxxxx@lists.osr.com] On Behalf Of Ta H.
> >Sent: Monday, October 11, 2004 8:18 PM
> >To: Windows System Software Devs Interest List
> >Subject: [ntdev] how long can I hold a spin lock?
> >
> >Is there any suggesting time? My driver seems to hang a HT system
>after
> >
> >running a while(UP is fine), and I cannot ping it. It looks like a
> >deadlock
> >to me. But I cannot break into the windbg. Any idea what to do?
> >
> >Thanks
> >
> >AH
> >
> >
> >Check out Election 2004 for up-to-date election news, plus voter
tools
> >and
> >more! http://special.msn.com/msn/election2004.armx
> >
> >
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as:
xxxxx@windows.microsoft.com
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as: unknown lmsubst tag
argument:
>‘’
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>On the road to retirement? Check out MSN Life Events for advice on how
>to
>get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
>
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@osr.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
>To unsubscribe send a blank email to xxxxx@lists.osr.com
_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools
and
more! http://special.msn.com/msn/election2004.armx
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com