EDN Admin
Well-known member
<p style="margin-bottom:12.0pt <span style="font-size:13.5pt; font-family:Segoe UI,sans-serif; color:#333333
Hello,<br/>
I am getting a crash when my application exits. Its a big application mixing C#, C++ managed, C++and two UI technologies WPF and MFC. <br/>
It happens after the System.Windows.Application.Exit Event and there is nothing related to my code in the call stack (see below).<br/>
In Visual studio output, I have only the following lines (Before theres only thread exit messages)<br/>
First-chance exception at 0x757fb9bc (KernelBase.dll) in Editor.exe: 0xC0020001: The string binding is invalid.<br/>
Unhandled exception at 0x757fb9bc (KernelBase.dll) in Editor.exe: 0xC000041D: An unhandled exception was encountered during a user callback.<br/>
<br/>
Call stack:
<pre class="prettyprint KernelBase.dll!_RaiseException@16() + 0x58 bytes
clr.dll!COMPlusThrowBoot() + 0x1e bytes
clr.dll!_UMThunkStubRareDisableWorker@12() + 0x27 bytes
clr.dll!_UMThunkStubRareDisable() + 0xa bytes
user32.dll!_DispatchHookW@16() + 0x38 bytes
user32.dll!_CallHookWithSEH@16() + 0x21 bytes
user32.dll!___fnHkINDWORD@4() + 0x28 bytes
ntdll.dll!_KiUserCallbackDispatcher@12() + 0x2e bytes
user32.dll!_NtUserDestroyWindow@4() + 0x15 bytes
msctf.dll!SYSTHREAD:estroyMarshalWindow() + 0x263 bytes
msctf.dll!TF_UninitThreadSystem() + 0x5c bytes
msctf.dll!CicFlsCallback() + 0x29 bytes
ntdll.dll!_RtlProcessFlsData@4() + 0xea bytes
ntdll.dll!_LdrShutdownProcess@0() + 0x97 bytes
ntdll.dll!_RtlExitUserProcess@4() + 0x74 bytes
kernel32.dll!76e97383()
mscoreei.dll!RuntimeDesc::ShutdownAllActiveRuntimes() + 0xc8 bytes
mscoreei.dll!CLRRuntimeHostInternalImpl::ShutdownAllRuntimesThenExit() + 0x15 bytes
clr.dll!EEPolicy::ExitProcessViaShim() + 0x66 bytes
clr.dll!SafeExitProcess() + 0x99 bytes
clr.dll!DisableRuntime() - 0x16dab3 bytes
clr.dll!EEPolicy::HandleExitProcess() + 0x57 bytes
clr.dll!__CorExeMainInternal@0() + 0x11c bytes
clr.dll!__CorExeMain@0() + 0x1c bytes
mscoreei.dll!__CorExeMain@0() + 0x38 bytes
mscoree.dll!_ShellShim__CorExeMain@0() + 0x227 bytes
mscoree.dll!__CorExeMain_Exported@0() + 0x8 bytes
kernel32.dll!@BaseThreadInitThunk@12() + 0x12 bytes
ntdll.dll!___RtlUserThreadStart@8() + 0x27 bytes
ntdll.dll!__RtlUserThreadStart@8() + 0x1b bytes [/code]
<br/>
I saw many posts about the exception 0xC000041D but nothing really useful for me.<br/>
Does anyone know a way to have more information or does anyone have encountered the same issue?
Thank you.<br/>
View the full article
Hello,<br/>
I am getting a crash when my application exits. Its a big application mixing C#, C++ managed, C++and two UI technologies WPF and MFC. <br/>
It happens after the System.Windows.Application.Exit Event and there is nothing related to my code in the call stack (see below).<br/>
In Visual studio output, I have only the following lines (Before theres only thread exit messages)<br/>
First-chance exception at 0x757fb9bc (KernelBase.dll) in Editor.exe: 0xC0020001: The string binding is invalid.<br/>
Unhandled exception at 0x757fb9bc (KernelBase.dll) in Editor.exe: 0xC000041D: An unhandled exception was encountered during a user callback.<br/>
<br/>
Call stack:
<pre class="prettyprint KernelBase.dll!_RaiseException@16() + 0x58 bytes
clr.dll!COMPlusThrowBoot() + 0x1e bytes
clr.dll!_UMThunkStubRareDisableWorker@12() + 0x27 bytes
clr.dll!_UMThunkStubRareDisable() + 0xa bytes
user32.dll!_DispatchHookW@16() + 0x38 bytes
user32.dll!_CallHookWithSEH@16() + 0x21 bytes
user32.dll!___fnHkINDWORD@4() + 0x28 bytes
ntdll.dll!_KiUserCallbackDispatcher@12() + 0x2e bytes
user32.dll!_NtUserDestroyWindow@4() + 0x15 bytes
msctf.dll!SYSTHREAD:estroyMarshalWindow() + 0x263 bytes
msctf.dll!TF_UninitThreadSystem() + 0x5c bytes
msctf.dll!CicFlsCallback() + 0x29 bytes
ntdll.dll!_RtlProcessFlsData@4() + 0xea bytes
ntdll.dll!_LdrShutdownProcess@0() + 0x97 bytes
ntdll.dll!_RtlExitUserProcess@4() + 0x74 bytes
kernel32.dll!76e97383()
mscoreei.dll!RuntimeDesc::ShutdownAllActiveRuntimes() + 0xc8 bytes
mscoreei.dll!CLRRuntimeHostInternalImpl::ShutdownAllRuntimesThenExit() + 0x15 bytes
clr.dll!EEPolicy::ExitProcessViaShim() + 0x66 bytes
clr.dll!SafeExitProcess() + 0x99 bytes
clr.dll!DisableRuntime() - 0x16dab3 bytes
clr.dll!EEPolicy::HandleExitProcess() + 0x57 bytes
clr.dll!__CorExeMainInternal@0() + 0x11c bytes
clr.dll!__CorExeMain@0() + 0x1c bytes
mscoreei.dll!__CorExeMain@0() + 0x38 bytes
mscoree.dll!_ShellShim__CorExeMain@0() + 0x227 bytes
mscoree.dll!__CorExeMain_Exported@0() + 0x8 bytes
kernel32.dll!@BaseThreadInitThunk@12() + 0x12 bytes
ntdll.dll!___RtlUserThreadStart@8() + 0x27 bytes
ntdll.dll!__RtlUserThreadStart@8() + 0x1b bytes [/code]
<br/>
I saw many posts about the exception 0xC000041D but nothing really useful for me.<br/>
Does anyone know a way to have more information or does anyone have encountered the same issue?
Thank you.<br/>
View the full article