Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

ANCM: _ASSERT(... *phWaitHandle == NULL) failure #540

Closed
@jhkimnew

Description

@jhkimnew
  1. Put a sleep time with 10 seconds and configure startupTimeLimit with 5
  2. Send a request

EXPECTED:

No assertion failure

ACTUAL:

Assertion failure happens from the line of "_ASSERT(... *phWaitHandle == NULL)".

Attached the call stack below

0:008> kn
# Child-SP          RetAddr           Call Site
00 000000d6`527fc7e0 00007ffa`21ee2291 aspnetcorerh!SERVER_PROCESS::RegisterProcessWait+0x7f [d:\gitroot\iisintegration\src\requesthandler\outofprocess\serverprocess.cxx @ 1937] 
01 000000d6`527fc830 00007ffa`21ee2ab5 aspnetcorerh!SERVER_PROCESS::PostStartCheck+0x1a1 [d:\gitroot\iisintegration\src\requesthandler\outofprocess\serverprocess.cxx @ 684] 
02 000000d6`527fc920 00007ffa`21edf5a3 aspnetcorerh!SERVER_PROCESS::StartProcess+0x425 [d:\gitroot\iisintegration\src\requesthandler\outofprocess\serverprocess.cxx @ 975] 
03 000000d6`527fcd70 00007ffa`21eddcef aspnetcorerh!PROCESS_MANAGER::GetProcess+0x6a3 [d:\gitroot\iisintegration\src\requesthandler\outofprocess\processmanager.cxx @ 240] 
04 000000d6`527fd120 00007ffa`21ed66ec aspnetcorerh!OUT_OF_PROCESS_APPLICATION::GetProcess+0x3f [d:\gitroot\iisintegration\src\requesthandler\outofprocess\outprocessapplication.cpp @ 54] 
05 000000d6`527fd150 00007ffa`23c589e3 aspnetcorerh!FORWARDING_HANDLER::OnExecuteRequestHandler+0x25c [d:\gitroot\iisintegration\src\requesthandler\outofprocess\forwardinghandler.cpp @ 122] 
06 000000d6`527ff430 00007ffa`308f3224 aspnetcore!ASPNET_CORE_PROXY_MODULE::OnExecuteRequestHandler+0x343 [d:\gitroot\iisintegration\src\aspnetcore\src\proxymodule.cxx @ 168] 
07 000000d6`527ff790 00007ffa`308f46e8 iiscore+0x3224
08 000000d6`527ff7d0 00007ffa`308fc006 iiscore+0x46e8
09 000000d6`527ff8e0 00007ffa`308f6ce2 iiscore+0xc006
0a 000000d6`527ff940 00007ffa`308fc293 iiscore+0x6ce2
0b 000000d6`527ffc50 00007ffa`34941349 iiscore+0xc293
0c 000000d6`527ffc90 00007ffa`36402092 w3dt!UlAtqFreeContext+0x119
0d 000000d6`527ffcf0 00007ffa`36401ff3 W3TP!THREAD_POOL::BindIoCompletionCallback+0x192
0e 000000d6`527ffd40 00007ffa`36401f7e W3TP!THREAD_POOL::BindIoCompletionCallback+0xf3
0f 000000d6`527ffd80 00007ffa`342f1d54 W3TP!THREAD_POOL::BindIoCompletionCallback+0x7e
10 000000d6`527ffdc0 00007ffa`3ba413d2 vfbasics+0x11d54
11 000000d6`527ffe00 00007ffa`3de75444 KERNEL32!BaseThreadInitThunk+0x22
12 000000d6`527ffe30 00000000`00000000 ntdll!RtlUserThreadStart+0x34

Eventually, I got this exception error

(4f4.eac): Access violation - code c0000005 (!!! second chance !!!)
aspnetcorerh!SERVER_PROCESS::HandleProcessExit+0x6f:
00007ffa`21ee4e2f f00fb10a        lock cmpxchg dword ptr [rdx],ecx ds:000000d6`5c2e5e38=????????
0:009> kn
 # Child-SP          RetAddr           Call Site
00 000000d6`5387f1e0 00007ffa`21ee4ca6 aspnetcorerh!SERVER_PROCESS::HandleProcessExit+0x6f [d:\gitroot\iisintegration\src\requesthandler\outofprocess\serverprocess.cxx @ 1976] 
01 000000d6`5387f270 00007ffa`342ecfdb aspnetcorerh!SERVER_PROCESS::ProcessHandleCallback+0x36 [d:\gitroot\iisintegration\src\requesthandler\outofprocess\serverprocess.cxx @ 1926] 
02 000000d6`5387f2b0 00007ffa`3de7d79b vfbasics+0xcfdb
03 000000d6`5387f330 00007ffa`3de798da ntdll!RtlDetectHeapLeaks+0xdb
04 000000d6`5387f390 00007ffa`3de98d51 ntdll!LdrInitializeThunk+0xa2a
05 000000d6`5387f3d0 00007ffa`3ba413d2 ntdll!RtlFreeUnicodeString+0x1c51
06 000000d6`5387f7b0 00007ffa`3de75444 KERNEL32!BaseThreadInitThunk+0x22
07 000000d6`5387f7e0 00000000`00000000 ntdll!RtlUserThreadStart+0x34

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions