From: Puru on
we have strange issue were one asp link is not loading, after this hang any
other pages being served are also blocked or does not respond. I had setup a
debugger for hang, below is the report.
Detected possible blocking or leaked critical section at
ntdll!LdrpLoaderLock owned by thread 32 in
w3wp.exe__PressRoomAdmin__PID__4488__Date__11_19_2008__Time_04_06_09PM__209__IIS_COM+ Hang Dump.dmp

Impact of this lock

50.00% of executing ASP Requests blocked

10.26% of threads blocked

(Threads 33 36 37 38)

The following functions are trying to enter this critical section
ntdll!LdrpGetProcedureAddress+128
ntdll!LdrpInitializeThread+68

The following module(s) are involved with this critical section
C:\WINDOWS\system32\ntdll.dll from Microsoft Corporation


Thread 32 - System ID 6948
Entry point msvcrt!_endthreadex+2f
Create time 11/19/2008 4:04:28 PM
Time spent in user mode 0 Days 00:00:00.031
Time spent in kernel mode 0 Days 00:00:00.031


This thread is loading C:\Program Files\SoftArtisans\FileUp\safileup.dll
using the API LoadLibrary. The call to LoadLibrary originated originated from
ole32!CClassCache::CDllPathEntry::LoadDll+a6

Function Source
ntdll!KiFastSystemCallRet
ntdll!NtWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+ac
kernel32!WaitForSingleObject+12
mscorwks!IPCWriterInterface::CreatePrivateBlockOnPid+11e
mscorwks!EEDllMain+4a3
mscorwks!EEStartupHelper+44d
mscorwks!EEStartup+50
mscorwks!EnsureEEStarted+10f
mscorwks!ExecuteDLL+110
mscorwks!_CorDllMain+3e
mscoree!CorDllMainWorker+6a
mscoree!_CorDllMain+106
ntdll!LdrpCallInitRoutine+14
ntdll!LdrpRunInitializeRoutines+367
ntdll!LdrpLoadDll+3cd
ntdll!LdrLoadDll+198
kernel32!LoadLibraryExW+1b2
ole32!CClassCache::CDllPathEntry::LoadDll+a6
ole32!CClassCache::CDllPathEntry::Create_rl+37
ole32!CClassCache::CClassEntry::CreateDllClassEntry_rl+d8
ole32!CClassCache::GetClassObjectActivator+197
ole32!CClassCache::GetClassObject+24
ole32!CServerContextActivator::CreateInstance+10e
ole32!ActivationPropertiesIn::DelegateCreateInstance+f7
ole32!CApartmentActivator::CreateInstance+110
ole32!CProcessActivator::CCICallback+6d
ole32!CProcessActivator::AttemptActivation+2c
ole32!CProcessActivator::ActivateByContext+4f
ole32!CProcessActivator::CreateInstance+49
ole32!ActivationPropertiesIn::DelegateCreateInstance+f7
ole32!CClientContextActivator::CreateInstance+8f
ole32!ActivationPropertiesIn::DelegateCreateInstance+f7
ole32!ICoCreateInstanceEx+3cc
ole32!CComActivator::DoCreateInstance+28
ole32!CoCreateInstanceEx+23
ole32!CoCreateInstance+3c
asp!ViperCreateInstance+18
asp!CComponentObject::TryInstantiate+78
asp!CComponentObject::Instantiate+26
asp!CPageComponentManager::AddScopedUnnamedInstantiated+5f
asp!CTypelibCache::CreateComponent+13b
asp!CServer::CreateObject+66
oleaut32!DispCallFunc+16a
oleaut32!CTypeInfo2::Invoke+234
asp!CDispatchImpl<IServer>::Invoke+55
vbscript!CatchIDispatchInvoke+46
vbscript!IDispatchInvoke2+af
vbscript!IDispatchInvoke+59
vbscript!InvokeDispatch+13a
vbscript!InvokeByName+42
vbscript!CScriptRuntime::Run+2581
vbscript!CScriptEntryPoint::Call+5c
vbscript!CScriptRuntime::Run+1f02
vbscript!CScriptEntryPoint::Call+5c
vbscript!CSession::Execute+b4
vbscript!COleScript::ExecutePendingScripts+13e
vbscript!COleScript::SetScriptState+150
asp!CActiveScriptEngine::TryCall+19
asp!CActiveScriptEngine::Call+31
asp!CallScriptFunctionOfEngine+5b
asp!ExecuteRequest+17e
asp!Execute+249
asp!CHitObj::ViperAsyncCallback+3e8
asp!CViperAsyncRequest::OnCall+92
comsvcs!CSTAActivityWork::STAActivityWorkHelper+32
ole32!EnterForCallback+c4
ole32!SwitchForCallback+1a3
ole32!PerformCallback+54
ole32!CObjectContext::InternalContextCallback+159
ole32!CObjectContext::DoCallback+1c
comsvcs!CSTAActivityWork::DoWork+12d
comsvcs!CSTAThread::DoWork+18
comsvcs!CSTAThread::ProcessQueueWork+37
comsvcs!CSTAThread::WorkerLoop+17c
msvcrt!_endthreadex+a3
kernel32!BaseThreadStart+34


ASP request executing on thread 32
GET request for /iappzone/pressroom_admin/pressroom/SiteUpload.asp
Request alive for 00:01:24
QueryString
Request mapped to
D:\Websites\iAppzone\iappzone\pressroom_admin\pressroom\SiteUpload.asp
ASP Application /LM/W3SVC/3011/Root/iappzone/pressroom_admin
ASP Template
D:\WEBSITES\IAPPZONE\IAPPZONE\PRESSROOM_ADMIN\PRESSROOM\SITEUPLOAD.ASP


Script call stack for thread 32

Function Scope Line Of Code Source File Line Number
Initialize Set objUpload = Server.CreateObject("SoftArtisans.FileUp")
D:\WEBSITES\IAPPZONE\IAPPZONE\PRESSROOM_ADMIN\PRESSROOM\SITEUPLOAD.ASP 93
Global Scope Call Initialize
D:\WEBSITES\IAPPZONE\IAPPZONE\PRESSROOM_ADMIN


can anybody tell me whats happening here.

Thanks in advance.