You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 20, 2019. It is now read-only.
AppVerifier: Unknown Exception error detected by AppVerifier regarding “An invalid parameter was passed to a service or function.” from CloseHandle( m_CancelEvent )
#58
Closed
jhkimnew opened this issue
Jan 14, 2017
· 0 comments
I found an Unknown Exception error detected by AppVerifier regarding “An invalid parameter was passed to a service or function.” from “CloseHandle( m_CancelEvent )”.
It looks the m_CancelEvent is not used at all by ANCM and so we will want to clean up that and this issue might be fixed together.
REPRO STEPS
Enable Appverifier for w3wp.exe, which is worker process (a.k.a AppPool) of IIS
Attach a debugger to w3wp.exe
Start stress test to aspnetcore app
During the stress test change the ANCM attribute “processesPerApplication” from 1 to 5 and rollback from 5 to 1 and you will see the Unknown Exception
EXPECTED:
No error
ACTUAL:
Unknown Exception is invoked by the AppVerifier and !analyze -v gives below information about the problem.
@pan-wang
I found an Unknown Exception error detected by AppVerifier regarding “An invalid parameter was passed to a service or function.” from “CloseHandle( m_CancelEvent )”.
It looks the m_CancelEvent is not used at all by ANCM and so we will want to clean up that and this issue might be fixed together.
REPRO STEPS
EXPECTED:
No error
ACTUAL:
Unknown Exception is invoked by the AppVerifier and !analyze -v gives below information about the problem.
<><><>
…
FAULT_INSTR_CODE: 28b3894c
FAULTING_SOURCE_LINE: f:\iis_main\projects\aspnetcoremodule\dll\serverprocess.cxx
FAULTING_SOURCE_FILE: f:\iis_main\projects\aspnetcoremodule\dll\serverprocess.cxx
FAULTING_SOURCE_LINE_NUMBER: 1687
FAULTING_SOURCE_CODE:
1683:
1684: if( m_CancelEvent != NULL )
1685: {
1686: SetEvent( m_CancelEvent );
The text was updated successfully, but these errors were encountered: