Hi,
When we start our system we boot several managed WinForm applications. When we updated to .NET 4.0 we started noticing that more often than not - one random application would not start. You could see it in the task manager but no UI were visible.
Running Debug Diagnostics Tool for a dump we got the following information.
Detected a serious critical section related problem in process.dmp
Lock at advapi32!SddlSidLookupCritical owned by thread 2 is Deadlocked with lock at ntdll!LdrpLoaderLock owned by thread 0
So there seems to be a deadlock, but we cannot really see where. Any suggestions on how we can move forward with debugging this issue?
Thread data below.
Thread 0 - System ID 944
This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required..NET Call Stack
Function |
---|
[[DebuggerClassInitMarkFrame]] |
Full Call Stack
Function | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ntdll!KiFastSystemCallRet | ||||||||||||||||||||||||||||
ntdll!ZwWaitForSingleObject+c | ||||||||||||||||||||||||||||
ntdll!RtlpWaitForCriticalSection+132 | ||||||||||||||||||||||||||||
ntdll!RtlEnterCriticalSection+46 | ||||||||||||||||||||||||||||
advapi32!InitializeSidLookupTable+86 | ||||||||||||||||||||||||||||
advapi32!LocalConvertStringSDToSD_Rev1+78 | ||||||||||||||||||||||||||||
advapi32!ConvertStringSecurityDescriptorToSecurityDescriptorW+31 | ||||||||||||||||||||||||||||
advapi32!ConvertStringSecurityDescriptorToSecurityDescriptorA+4c | ||||||||||||||||||||||||||||
msctf!CreateProperSecurityDescriptor+a6 | ||||||||||||||||||||||||||||
msctf!CCicSecAttr::operator _SECURITY_ATTRIBUTES *+38 | ||||||||||||||||||||||||||||
msctf!CCiceroSharedMem::Start+6c | ||||||||||||||||||||||||||||
msctf!ProcessAttach+17b | ||||||||||||||||||||||||||||
msctf!DllMain+39 | ||||||||||||||||||||||||||||
msctf!_DllMainCRTStartup+52 | ||||||||||||||||||||||||||||
ntdll!LdrpCallInitRoutine+14 | ||||||||||||||||||||||||||||
ntdll!LdrpRunInitializeRoutines+344 | ||||||||||||||||||||||||||||
ntdll!LdrpLoadDll+3e5 | ||||||||||||||||||||||||||||
ntdll!LdrLoadDll+230 | ||||||||||||||||||||||||||||
kernel32!LoadLibraryExW+18e | ||||||||||||||||||||||||||||
user32!GetGUIThreadInfo+12d | ||||||||||||||||||||||||||||
ntdll!KiUserCallbackDispatcher+13 | ||||||||||||||||||||||||||||
user32!GetScrollInfo+3a7 | ||||||||||||||||||||||||||||
user32!GetScrollInfo+460 | ||||||||||||||||||||||||||||
user32!CreateWindowExW+33 | ||||||||||||||||||||||||||||
ole32!InitMainThreadWnd+3c | ||||||||||||||||||||||||||||
ole32!CoInitializeEx+112 | ||||||||||||||||||||||||||||
clr!Thread::SetApartment+16d | ||||||||||||||||||||||||||||
clr!SystemDomain::SetThreadAptState+90 | ||||||||||||||||||||||||||||
clr!SystemDomain::ExecuteMainMethod+181 | ||||||||||||||||||||||||||||
[[DebuggerClassInitMarkFrame]] | ||||||||||||||||||||||||||||
clr!ExecuteEXE+58 | ||||||||||||||||||||||||||||
clr!_CorExeMainInternal+19f | ||||||||||||||||||||||||||||
clr!_CorExeMain+4e | ||||||||||||||||||||||||||||
mscoreei!_CorExeMain+38 | ||||||||||||||||||||||||||||
mscoree!ShellShim__CorExeMain+99 | ||||||||||||||||||||||||||||
mscoree!_CorExeMain_Exported+8 Thread 2 - System ID 7104This thread is waiting on critical section ntdll!LdrpLoaderLock owned by thread 0.Thread 0 in turn is deadlocked with another thread. .NET Call Stack
Full Call Stack
|