How to fix application crash on windows 11 and with NVIDIA RTX
Hello, I have created an application that displays 3D objects (step, iv, wrl, ...). However the program crashes after use of some 3D functions, and the cause cannot be identified.
This crash can be reproduced in several ways on different PC's.
It does crash under the following conditions:
· Windows 11 x64, NVIDIA RTX T1000 display adapter (latest or older drivers)
It does NOT crash under the following conditions:
· Windows 10 x64, NVIDIA RTX T1000
· Windows 11 x64, NVIDIA Quadro P620 or OnBoard graphic card (windows basic adapter)
· use of Visual Studio Remote Debugger or WinDbg
The crash call stack ends always in CoreMessaging.dll:
ExceptionCode: 0xe0464645
Any tip to solve the problem is welcome
Thanks Torsten
Application Minidump .dmp
-------------------------
Preparing the environment for Debugger Extensions Gallery repositories
ExtensionRepository : Implicit
UseExperimentalFeatureForNugetShare : false
AllowNugetExeUpdate : false
AllowNugetMSCredentialProviderInstall : true
AllowParallelInitializationOfLocalRepositories : true
Microsoft (R) Windows Debugger Version 10.0.25921.1001 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
User Mini Dump File: Only registers, stack and portions of memory are available
************* Path validation summary **************
Response Time (ms) Location
Deferred srv*
Symbol search path is: srv*
Executable search path is:
Windows 10 Version 22621 MP (16 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 22621.1.amd64fre.ni_release.220506-1250
Debug session time: Thu Aug 10 15:27:19.000 2023 (UTC + 2:00)
System Uptime: not available
Process Uptime: 0 days 0:00:13.000
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(2954.5a8): Unknown exception - code e0464645 (first/second chance not available)
For analysis of this file, run !analyze -v
KERNELBASE!RaiseFailFastException+0x152:
00007ffd`cdaeba22 0f1f440000 nop dword ptr [rax+rax]
0:000> !analyze -v
***************************************************************************
* Exception Analysis
***************************************************************************
*** WARNING: Check Image - Checksum mismatch - Dump: 0x13d794, File: 0x139232 - C:\ProgramData\Dbg\sym\CoreMessaging.dll\9AA87C62133000\CoreMessaging.dll
DEBUG_FLR_EXCEPTION_CODE(d0000005) and the ".exr -1" ExceptionCode(e0464645) don't match
KEY_VALUES_STRING: 1
Key : Analysis.CPU.mSec
Value: 499
Key : Analysis.Elapsed.mSec
Value: 788
Key : Analysis.IO.Other.Mb
Value: 0
Key : Analysis.IO.Read.Mb
Value: 0
Key : Analysis.IO.Write.Mb
Value: 0
Key : Analysis.Init.CPU.mSec
Value: 139
Key : Analysis.Init.Elapsed.mSec
Value: 22236
Key : Analysis.Memory.CommitPeak.Mb
Value: 210
Key : Failure.Bucket
Value: APPLICATION_FAULT_FAIL_FAST_EXCEPTION_d0000005_CoreMessaging.dll!AlpcConnection::Callback_ProcessIncoming
Key : Failure.Hash
Value: {cf575769-ebc4-79be-aa67-77e0d45d2c22}
Key : Timeline.Process.Start.DeltaSec
Value: 13
Key : WER.OS.Branch
Value: ni_release
Key : WER.OS.Version
Value: 10.0.22621.1
Key : WER.Process.Version
Value: 10.8.22.11566
FILE_IN_CAB: boxs_ogl.exe.10580.dmp
NTGLOBALFLAG: 0
PROCESS_BAM_CURRENT_THROTTLED: 0
PROCESS_BAM_PREVIOUS_THROTTLED: 0
APPLICATION_VERIFIER_FLAGS: 0
CONTEXT: (.ecxr)
rax=00000000013f7000 rbx=00000000013f7550 rcx=00000000013f7000
rdx=00000000013f74b0 rsi=0000000000000000 rdi=00000000013f7000
rip=00007ffdcdaeba22 rsp=00000000013f6f20 rbp=0000000000000001
r8=0000000000000000 r9=00000000013f7460 r10=ab9c9e1158d98970
r11=00000000013f71c0 r12=000000002902e9b0 r13=0000000000000000
r14=0000000000000000 r15=000000000e0f8720
iopl=0 nv up ei pl nz na pe nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000200
KERNELBASE!RaiseFailFastException+0x152:
00007ffd`cdaeba22 0f1f440000 nop dword ptr [rax+rax]
Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ffdca818433 (CoreMessaging!AlpcConnection::Callback_ProcessIncoming+0x000000000003a133)
ExceptionCode: e0464645
ExceptionFlags: 00000001
NumberParameters: 2
Parameter[0]: ffffffffd0000005
Parameter[1]: 0000000000000000
PROCESS_NAME: boxs_ogl.exe
ERROR_CODE: (NTSTATUS) 0xe0464645 - <Unable to get error code text>
EXCEPTION_CODE_STR: d0000005
EXCEPTION_PARAMETER1: ffffffffd0000005
EXCEPTION_PARAMETER2: 0000000000000000
STACK_TEXT:
00000000`013f6f20 00007ffd`ca8212b8 : 00000000`013f7679 00007ffd`cdaeb8d0 00000000`00000000 00007ffd`cd990000 : KERNELBASE!RaiseFailFastException+0x152
00000000`013f7500 00007ffd`ca82134b : 00000000`013f7550 00000000`00000000 00000000`00000000 00000000`0e4fe4c0 : CoreMessaging!CFlat::Abandonment::FailWithException+0x8c
00000000`013f7530 00007ffd`ca818433 : 00000000`00000000 00000000`0e0f8720 00000000`0e10d150 00000000`0e1f44a0 : CoreMessaging!CFlat::Abandonment::FailWithHR+0x7f
00000000`013f7600 00007ffd`ca7d5f6e : 00000000`0e1f4401 00000000`013f7700 00000000`013f7730 00000000`00000000 : CoreMessaging!AlpcConnection::Callback_ProcessIncoming+0x3a133
00000000`013f76e0 00007ffd`ca7d5bbd : 00000000`0e305a01 00000000`0e10dd50 00000000`00000000 00007ffd`ca809275 : CoreMessaging!Microsoft::CoreUI::Messaging::CrossProcessReceivePort$AlpcReceiveSource::OnReceive+0x4e
00000000`013f7730 00007ffd`ca7d23ef : 00000000`0e0f8720 00000000`00000000 00000000`0e1bca58 00000000`00000000 : CoreMessaging!Microsoft::CoreUI::Dispatch::OffThreadReceiver::Callback_OnDispatch+0x26d
00000000`013f77d0 00007ffd`ca7d0033 : 00000000`0deb8c70 00000000`0deba020 00000000`0e15e2c0 00000000`0e15e2c0 : CoreMessaging!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0x36f
00000000`013f78e0 00007ffd`ca7cfbf6 : 00000000`0e10d5d0 00000000`0e3051e0 00000000`00000004 00000000`00000000 : CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0x1f3
00000000`013f7970 00007ffd`ca7cd0ac : 00000000`000c08d2 00000000`00000004 00000000`00000001 00000000`0e0f0ab0 : CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::DoWork+0x206
00000000`013f7a00 00007ffd`cf468211 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`80006011 : CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::WindowProc+0x14c
00000000`013f7a70 00007ffd`cf467ecc : 00000000`00000388 00007ffd`ca7ccf60 00000000`000c08d2 00000000`80000000 : user32!UserCallWinProcCheckWow+0x2d1
00000000`013f7bd0 00007ffd`cf472ffd : 00000000`00000000 00000000`00000000 00000000`00000001 00007ffd`cf4e2000 : user32!DispatchClientMessage+0x9c
00000000`013f7c30 00007ffd`d0472d94 : 00000000`00000000 0000002c`00000050 00007ffd`cd7b14d4 00000000`013f7d18 : user32!_fnDWORD+0x3d
00000000`013f7c90 00007ffd`cd7b14d4 : 00007ffd`cf471b1f 00000000`00000070 ffffffff`ffffffff ffffffff`ffffffff : ntdll!KiUserCallbackDispatcherContinue
00000000`013f7d18 00007ffd`cf471b1f : 00000000`00000070 ffffffff`ffffffff ffffffff`ffffffff 00007ffd`cf468067 : win32u!NtUserPeekMessage+0x14
00000000`013f7d20 00007ffd`cf4719ec : 00000000`00000001 00000000`0039b800 00000000`00000000 ffffffff`fffffffe : user32!_PeekMessage+0x3f
00000000`013f7d90 00000000`7506d736 : 00000000`00000000 00000000`013f7f00 00000000`00000000 00000000`00000000 : user32!PeekMessageW+0x9c
00000000`013f7e00 00000000`752bcab2 : 00000000`00000001 00000000`00000064 00000000`0701c4c0 00000000`015a9fb8 : QtCore4!QEventDispatcherWin32::processEvents+0x246
00000000`013fb170 00000000`7504533e : 00000000`015c44e9 00000000`00000064 00000000`25893150 00000000`069faee1 : QtGui4!QApplicationPrivate::openPopup+0x222
00000000`013fb1e0 00000000`7565fbb1 : 00000000`00000064 00000000`013fb2b0 00000000`015a9fb8 00000000`0701c4c0 : QtCore4!QEventLoop::exec+0x26e
00000000`013fb250 00000001`404e8dc8 : 00000000`00000040 00000000`06f28e80 00000000`15fde408 00000000`013fb3b0 : QtGui4!QDialog::exec+0xf1
00000000`013fb2b0 00000001`404e838b : 00000000`013fb6e0 00000000`00000001 00000000`013fb6e0 00000000`00000000 : boxs_ogl!VpackOpenConstructionDialog::exec+0x9f8
00000000`013fb400 00000001`40400929 : 00000000`06d1a880 00000000`06d8bd40 00000000`013fb570 00000000`013fb539 : boxs_ogl!VpackOpenConstructionDialog::exec+0x19b
00000000`013fb470 00000001`4040150a : 00000000`00000000 00000000`013fb6e8 00000000`00000004 00000000`013fb6e0 : boxs_ogl!MainWindow::openFile+0x239
00000000`013fb630 00000001`403e1888 : 00000000`00000018 00000000`160c65b0 00000000`752161e0 00000000`160c65b0 : boxs_ogl!MainWindow::openImportVectorFileDialog+0x18a
00000000`013fb6d0 00000000`750574a7 : 00000000`06d05ab0 00000000`00000018 00000001`403e14f0 00000000`06c96fb0 : boxs_ogl!MainWindow::qt_static_metacall+0x398
00000000`013fb750 00000000`75249d30 : 00000000`06c96fb0 00000000`00000005 00000000`1569b801 00000000`013fb850 : QtCore4!QMetaObject::activate+0x5a7
00000000`013fb830 00000000`755f4a43 : 00000000`06c96fb0 00000000`752ac000 00000000`06d95630 00000000`00000015 : QtGui4!QAction::activate+0xe0
00000000`013fb870 00000000`755f4876 : 00000000`06da3ee0 00000000`06d95630 00000000`06d95630 00000000`069faee1 : QtGui4!QMenu::actionGeometry+0x4a3
00000000`013fb910 00000000`7529ab69 : 00000000`75240000 00000000`1569aad0 00000000`75240000 00000000`013fba29 : QtGui4!QMenu::actionGeometry+0x2d6
00000000`013fb9a0 00000000`755f5539 : 00000000`00000000 00000000`06da3ee0 00000000`06d95630 ffffffff`fffffffe : QtGui4!QWidget::event+0xd9
00000000`013fba90 00000000`7526082b : 00000000`00000000 00000000`013fbf40 00000000`06d95630 00000000`06d95630 : QtGui4!QMenu::event+0xd9
00000000`013fbb30 00000000`7525f17f : 00000000`06d95630 00000000`00000001 00000000`013fbc60 00000000`01643fd0 : QtGui4!QApplicationPrivate::notify_helper+0x18b
00000000`013fbb60 00000000`750485b8 : 00000000`00000000 00000000`06d95630 00000000`00000000 00000000`015c44a0 : QtGui4!QApplication::notify+0x64f
00000000`013fbd90 00000000`7526389c : 00000000`013fbe80 00000000`069faee1 00000000`15699f00 00000000`00000000 : QtCore4!QCoreApplication::notifyInternal+0x98
00000000`013fbe10 00000000`752c093b : 00000000`06d95630 00000000`06d95630 00000000`00000000 00000000`06d95630 : QtGui4!QApplicationPrivate::sendMouseEvent+0x1cc
00000000`013fbe80 00000000`752c4b5f : 000000ef`00000001 00000000`0003091a 000000c4`00000000 00000000`00000001 : QtGui4!QScrollBar::trUtf8+0xfab
00000000`013fbfc0 00007ffd`cf468211 : 00000000`013fc508 00000000`00000000 00000000`00000000 00000000`80006011 : QtGui4!QApplication::winMouseButtonUp+0x2b0f
00000000`013fc420 00007ffd`cf467cd1 : 00000000`00000000 00000000`752c2190 00000000`0003091a 00000000`013fc638 : user32!UserCallWinProcCheckWow+0x2d1
00000000`013fc580 00000000`7506d948 : 00000000`013fc638 00000000`00000000 00000000`00000000 00000000`00000000 : user32!DispatchMessageWorker+0x1f1
00000000`013fc600 00000000`752bcab2 : 00000000`015c44c8 00000000`00000024 00000000`15a7ae10 00000000`015a9fb8 : QtCore4!QEventDispatcherWin32::processEvents+0x458
00000000`013ff970 00000000`7504533e : 00000000`015c44e9 00000000`00000024 00000000`00000002 00000000`00000008 : QtGui4!QApplicationPrivate::openPopup+0x222
00000000`013ff9e0 00000000`75047b30 : 00000000`00000024 00000000`013ffaa0 00000000`015a9fb8 00000000`15a7ae10 : QtCore4!QEventLoop::exec+0x26e
00000000`013ffa50 00000001`401af109 : 00000000`00000000 00000000`00000001 00000000`1568ff10 00000000`16043d10 : QtCore4!QCoreApplication::exec+0xf0
00000000`013ffaa0 00000001`4099d4ac : 00000000`00000000 00000001`4099d525 00000000`00000000 00007ffd`cde407c8 : boxs_ogl!main+0x1399
00000000`013ffef0 00007ffd`cef426ad : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : boxs_ogl!__scrt_common_main_seh+0x10c
00000000`013fff30 00007ffd`d042aa68 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x1d
00000000`013fff60 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x28
STACK_COMMAND: ~0s; .ecxr ; kb
SYMBOL_NAME: CoreMessaging!AlpcConnection::Callback_ProcessIncoming+3a133
MODULE_NAME: CoreMessaging
IMAGE_NAME: CoreMessaging.dll
FAILURE_BUCKET_ID: APPLICATION_FAULT_FAIL_FAST_EXCEPTION_d0000005_CoreMessaging.dll!AlpcConnection::Callback_ProcessIncoming
OS_VERSION: 10.0.22621.1
BUILDLAB_STR: ni_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 10.0.22621.1635
FAILURE_ID_HASH: {cf575769-ebc4-79be-aa67-77e0d45d2c22}
Followup: MachineOwner
Device specifications
Device name CAD-WIN11
Processor 11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz 2.50 GHz
Installed RAM 32.0 GB (31.8 GB usable)
Device ID 7854606F-816D-44FE-BFDE-A14E3B80A2DF
Product ID 00355-63212-76718-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Windows specifications
Edition Windows 11 Pro
Version 22H2
Installed on 5/12/2023
OS build 22621.2134
Experience Windows Feature Experience Pack 1000.22659.1000.0
System information: display
Name NVIDIA T1000
PNP Device ID PCI\VEN_10DE&DEV_1FB0&SUBSYS_12DB10DE&REV_A1\4&39FDDC03&0&0008
Adapter Type NVIDIA T1000, NVIDIA compatible
Adapter Description NVIDIA T1000
Adapter RAM (1,048,576) bytes
Installed Drivers C:\Windows\System32\DriverStore\FileRepository\nv_dispwi.inf_amd64_d78e2396400c4e9e\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispwi.inf_amd64_d78e2396400c4e9e\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispwi.inf_amd64_d78e2396400c4e9e\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nv_dispwi.inf_amd64_d78e2396400c4e9e\nvldumdx.dll
Driver Version 31.0.15.3696
INF File oem44.inf (Section119 section)
Color Planes Not Available
Color Table Entries 4294967296
Resolution 1280 x 1024 x 60 hertz
Bits/Pixel 32
Memory Address 0xA0000000-0xA10FFFFF
Memory Address 0x0000-0x11FFFFFF
Memory Address 0x10000000-0x11FFFFFF
I/O Port 0x00003000-0x00003FFF
IRQ Channel IRQ 4294967276
Driver C:\WINDOWS\SYSTEM32\DRIVERSTORE\FILEREPOSITORY\NV_DISPWI.INF_AMD64_D78E2396400C4E9E\NVLDDMKM.SYS (31.0.15.3696, 56.39 MB (59,131,424 bytes), 8/9/2023 4:48 PM)
Event-Viewer output Application error:
Faulting application name: boxs_ogl.exe, version: 10.8.22.11566, time stamp: 0x64d380b1
Faulting module name: CoreMessaging.dll, version: 10.0.22621.1635, time stamp: 0x9aa87c62
Exception code: 0xe0464645
Fault offset: 0x0000000000088433
Faulting process id: 0x0x2954
Faulting application start time: 0x0x1D9CB8E5B64D957
Faulting application path: C:\VPack\com\boxs_ogl.exe
Faulting module path: C:\Windows\SYSTEM32\CoreMessaging.dll
Report Id: 13060a0c-8eff-4272-be71-a64ed9545aff
Faulting package full name:
Faulting package-relative application ID:
View reliability history:
Description
Faulting Application Path: C:\VPack\com\boxs_ogl.exe
Problem signature
Problem Event Name: APPCRASH
Appname: boxs_ogl.exe
Appversion: 10.8.22.11566
Apptime stamp: 64d380b1
Errormodulname: CoreMessaging.dll
Errormodulversion: 10.0.22621.1635
Errormodul time stamp: 9aa87c62
Exceptioncode: e0464645
Exceptionoffset: 0000000000088433
OSversion: 10.0.22621.2.0.0.256.48
Region-ID: 1031
Extra information 1: c4c5
Extra information 2: c4c561b5b904d9ea18263f59532caa0f
Extra information 3: 8c44
Extra information 4: 8c44edba574925625171c2eff838a51f
Extra information about the problem
Bucket ID: 27f83711fd882ca6663194cdb8d28931 (1599222953983248689)