RE: Deadlocks

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jim Cheshire [MSFT] (jamesche_at_online.microsoft.com)
Date: 07/16/04


Date: Fri, 16 Jul 2004 19:06:28 GMT

Hi Mike,

In order to tell for sure, we would need to get a dump of the process at
the point where it hangs and find out what is causing that. Your message
title is "deadlocks." Are you seeing entries in the Event Viewer
Application log that indicate that we're in a deadlocked state?

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
jamesche@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>Reply-To: "Mike Carr" <mcarr@_san.rr.com>
>From: "Mike Carr" <mcarr@_san.rr.com>
>Subject: Deadlocks
>Date: Fri, 16 Jul 2004 09:22:54 -0700
>Lines: 434
>MIME-Version: 1.0
>Content-Type: multipart/alternative;
> boundary="----=_NextPart_000_0014_01C46B16.79349C00"
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>Message-ID: <e2EnmE1aEHA.3692@TK2MSFTNGP09.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: desktop8.kyocera-wireless.com 12.34.93.8
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:247705
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>I am running into an issue. Recently I installed IBuySpy Portal and then
converted the data source to odp.net. When debugging the app my machine
would freeze or become really slow. I can reproduce it by:
>Setting a breakpoint somewhere in the code, hitting F5, once the
application has completely loaded hit the stop button, make a quick change
and then select F5 again.
>It appears that the debugger attaches to the previous aspnet_wp.exe
process, which is in the process of dieing. I created a batch script that
kills the aspnet_wp.exe process, after running the script my PC would
become responsive again (after a few minutes). It appears to lock up after
or near the loading of oracle.dataaccess.dll. Has anyone else seen this
behavior?
>Auto-attach to process '[3048] aspnet_wp.exe' on machine 'MCARR' succeeded.
>'DefaultDomain': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
loaded.
>'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dl
l', No symbols loaded.
>'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No
symbols loaded.
>'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3
a\system.enterpriseservices.dll', No symbols loaded.
>'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3
a\system.enterpriseservices.thunk.dll', No symbols loaded.
>'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.
dll', No symbols loaded.
>'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.dr
awing.dll', No symbols loaded.
>'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dl
l', No symbols loaded.
>'DefaultDomain': Loaded
'c:\winnt\assembly\gac\system.web.regularexpressions\1.0.5000.0__b03f5f7f11d
50a3a\system.web.regularexpressions.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dl
l', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No
symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dl
l', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\system.web.regularexpressions\1.0.5000.0__b03f5f7f11d
50a3a\system.web.regularexpressions.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\8auziyec.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\assembly\dl2\2a698158\3e4b2841_cd6ac401\porta
l.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\componentart.web.ui\1.5.1920.0__9bc9f846553156bb\comp
onentart.web.ui.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.dr
awing.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.
dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\aspnetmenu\1.5.0.0__9bc9f846553156bb\aspnetmenu.dll',
 No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3
a\system.enterpriseservices.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3
a\system.enterpriseservices.thunk.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system
web.mobile.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\syst
em.web.services.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\assembly\dl2\6a8f36d5\ead4450f_a06ac401\kyoce
rawirelesscorp.mfgapps.data.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\assembly\gac\oracle.dataaccess\9.2.0.401__89b483f429c47342\oracle.
dataaccess.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\mvklu7as.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\moyzfesj.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\1dahfmm0.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\jge-bfdd.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\gsd_fkoj.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\iicvmigi.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\kp3xk_zo.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-1-127344371437218366': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\_tmmea83.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dl
l', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No
symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3
a\system.enterpriseservices.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3
a\system.enterpriseservices.thunk.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.
dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.dr
awing.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dl
l', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\system.web.regularexpressions\1.0.5000.0__b03f5f7f11d
50a3a\system.web.regularexpressions.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\componentart.web.ui\1.5.1920.0__9bc9f846553156bb\comp
onentart.web.ui.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\aspnetmenu\1.5.0.0__9bc9f846553156bb\aspnetmenu.dll',
 No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system
web.mobile.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\syst
em.web.services.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\assembly\dl2\2a698158\860ad451_cd6ac401\porta
l.dll', Symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\assembly\dl2\6a8f36d5\ead4450f_a06ac401\kyoce
rawirelesscorp.mfgapps.data.dll', No symbols loaded.
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
files\portal\ee2d851c\51c9a2c7\pii4fhuj.dll', Symbols loaded.
>The thread '<No Name>' (0xba8) has exited with code 0 (0x0).
>'/LM/W3SVC/1/Root/Portal-2-127344371547688530': Loaded
'c:\winnt\assembly\gac\oracle.dataaccess\9.2.0.401__89b483f429c47342\oracle.
dataaccess.dll', No symbols loaded.
>It appears to lock up here
>The thread '<No Name>' (0xbc8) has exited with code 0 (0x0).
>The program '[3048] aspnet_wp.exe: DefaultDomain' has exited with code 0
(0x0).
>The program '[3048] aspnet_wp.exe:
/LM/W3SVC/1/Root/Portal-2-127344371547688530' has exited with code 0 (0x0).
>--
>MICHAEL CARR
>



Relevant Pages

  • Re: C# newbie trying to debug AutoCAD API-function
    ... DLL is being initialized (presumably the AutoCAD DLL). ... Without knowing how you get into managed code while the loader lock is being held, I can't offer advice as to how to avoid that. ... Basically, these are exceptions that don't occur without the debugger; the debugger is monitoring the execution of your process, and generating an exception when it notices something is potentially wrong. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How do PerfMon counters work?
    ... Lock waits is explained fairly clearly in the Performance Monitor app - ... Deadlocks are not so well explained in the PerfMon. ... way that deadlocks are detected in SQL Server is that a dedicated System ... connections deadlocked in the lock manager sub-system. ...
    (microsoft.public.sqlserver.server)
  • Re: feedback requested
    ... Can anyone tell me if this deadlocks? ... ThreadLockPair= namedtuple("ThreadLockPair", ... "thread lock") ... def acquire: ...
    (comp.lang.python)
  • Re: Timeout Expired for no apparent reason
    ... updating table A in one SQL statement. ... This caused a table lock on ... The DLL method was a workaround to avoid this behaviour. ... You can narrow down the rows that need updating using simple ...
    (microsoft.public.sqlserver.clients)
  • Re: Understanding how my code is causing deadlocks!
    ... Can you help me elaborate the scenario for me? ... from your post of conversion deadlocks and locking mode compatibility. ... is trying to convert to a U or higher lock and they are waiting for me to ... > Wayne Snyder, MCDBA, SQL Server MVP ...
    (microsoft.public.sqlserver.server)