05-01-2025 11:01 AM
I am developing a c++/clr testing application with a PXI-4070 and a PXIe-4080 using IVI DMM functions.
The DMM functions correctly and I am able to get the correct measurements, but when I exit my application and everything shuts down I get this error from NI Error Reporter.
Here is installed ivi and dmm drivers:
Here is text of the crash dump ran through windbg:
************* Preparing the environment for Debugger Extensions Gallery repositories **************
ExtensionRepository : Implicit
UseExperimentalFeatureForNugetShare : true
AllowNugetExeUpdate : true
NonInteractiveNuget : true
AllowNugetMSCredentialProviderInstall : true
AllowParallelInitializationOfLocalRepositories : true
EnableRedirectToV8JsProvider : false
-- Configuring repositories
----> Repository : LocalInstalled, Enabled: true
----> Repository : UserExtensions, Enabled: true
>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.125 seconds
************* Waiting for Debugger Extensions Gallery to Initialize **************
>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.031 seconds
----> Repository : UserExtensions, Enabled: true, Packages count: 0
----> Repository : LocalInstalled, Enabled: true, Packages count: 29
Microsoft (R) Windows Debugger Version 10.0.26100.3624 X86
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Users\Administrator\Downloads\6645fa32-db37-4f83-ae92-e8e42aafab5b.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available
Symbol search path is: srv*
Executable search path is:
Windows 10 Version 19045 MP (8 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 19041.1.amd64fre.vb_release.191206-1406
Debug session time: Thu Apr 24 09:46:43.000 2025 (UTC - 5:00)
System Uptime: not available
Process Uptime: 0 days 0:08:08.000
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................
For analysis of this file, run !analyze -v
ntdll!NtWaitForSingleObject+0x14:
00007ffd`be7ed574 c3 ret
0:000> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
KEY_VALUES_STRING: 1
Key : Analysis.CPU.mSec
Value: 10156
Key : Analysis.Elapsed.mSec
Value: 76937
Key : Analysis.IO.Other.Mb
Value: 75
Key : Analysis.IO.Read.Mb
Value: 1
Key : Analysis.IO.Write.Mb
Value: 95
Key : Analysis.Init.CPU.mSec
Value: 4921
Key : Analysis.Init.Elapsed.mSec
Value: 45020
Key : Analysis.Memory.CommitPeak.Mb
Value: 154
Key : CLR.BuiltBy
Value: NET481REL1LAST_C
Key : CLR.Engine
Value: CLR
Key : CLR.NOSOS
Value: 1
Key : CLR.Version
Value: 4.8.9300.0
Key : Failure.Bucket
Value: BITNESS_MISMATCH_X64_BREAKPOINT_NOSOS_80000003_nierclient.dll!Unknown
Key : Failure.Hash
Value: {79b9c435-6e0b-c3bd-8944-5a95a7bd2a96}
Key : Timeline.Process.Start.DeltaSec
Value: 488
Key : WER.OS.Branch
Value: vb_release
Key : WER.OS.Version
Value: 10.0.19041.1
Key : WER.Process.Version
Value: 0.80.1.4
FILE_IN_CAB: 6645fa32-db37-4f83-ae92-e8e42aafab5b.dmp
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 0000000000000000
ExceptionCode: 80000003 (Break instruction exception)
ExceptionFlags: 00000000
NumberParameters: 0
FAULTING_THREAD: 000028e0
PROCESS_NAME: TExecMonitor.exe
ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION} Breakpoint A breakpoint has been reached.
EXCEPTION_CODE_STR: 80000003
ADDITIONAL_DEBUG_TEXT: SOS.DLL is not loaded for managed code. Analysis might be incomplete
STACK_TEXT:
00000054`a1bfd4c8 00007ffd`bc0d920e : 00000000`08000000 00000000`00000000 00000000`00000000 00000054`a1bfd780 : ntdll!NtWaitForSingleObject+0x14
00000054`a1bfd4d0 00007ffd`79edb0f6 : 00000054`a1bfd860 000001bb`1a800cc0 00000000`00000000 00000000`0000e9fc : KERNELBASE!WaitForSingleObjectEx+0x8e
00000054`a1bfd570 00007ffd`79ecb5a4 : 000001bb`45ada880 000001bb`ffffffff 00000000`00000000 00000000`00000000 : nierclient!Close+0xed86
00000054`a1bfd810 00007ffd`79ed4946 : 000001bb`41571030 00000054`a1bfdda8 000001bb`45ada880 00000000`00001388 : nierclient+0xb5a4
00000054`a1bfdb70 00007ffd`79ed4632 : 00000054`a1bfdbd0 00000054`a1bfdf70 00000054`a1bfdda8 00000000`00000001 : nierclient!Close+0x85d6
00000054`a1bfdcc0 00007ffd`79ecf567 : 000001bb`41571200 000001bb`41571030 00000054`a1bfdf70 000001bb`41571030 : nierclient!Close+0x82c2
00000054`a1bfde00 00007ffd`79ecc152 : 000001bb`41571030 00000054`a1bfdf70 00000000`0000001a 00007ffd`79eedbdc : nierclient!Close+0x31f7
00000054`a1bfdee0 00007ffd`79ecca2c : 000001bb`45ada3d0 00007ffc`e9c9aecc 00007ffc`e9cf9370 00000000`ffffffff : nierclient!ReportError+0x122
00000054`a1bfdfb0 00007ffd`a85659e4 : 00000000`00000001 000001bb`6088a030 000001bb`1a800000 00007ffd`be775ba1 : nierclient!Close+0x6bc
00000054`a1bfe040 00007ffc`e9c5d02e : 00000000`00000000 00000000`00000000 000001bb`45d019c0 00000054`a1bfe2f8 : VCRUNTIME140!_purecall+0x14
00000054`a1bfe070 00007ffc`e9c5cfd4 : 000001bb`60899600 000001bb`602df850 00000000`00000001 00000000`00000000 : nidmm_64!nixlator_exported_create+0x1015e
00000054`a1bfe0b0 00007ffc`e9c29c9e : 00000000`00000001 00000000`00000000 00000000`00000000 00000000`00000000 : nidmm_64!nixlator_exported_create+0x10104
00000054`a1bfe0e0 00007ffc`e9c29c24 : 00000000`00000001 00000000`00000000 00000000`00000000 00000000`00000000 : nidmm_64!niDMM_FetchMultiPointWithCaching+0x16a1e
00000054`a1bfe120 00007ffc`e9bc1f14 : 000001bb`4128cfe0 00000000`00000000 ffffffff`fffffffe 00000000`00000000 : nidmm_64!niDMM_FetchMultiPointWithCaching+0x169a4
00000054`a1bfe150 00007ffc`e9bfb32d : 00007ffc`e9d3ee18 000001bb`411fefd0 00007ffc`e9d3ee18 00007ffc`e9c1cbfe : nidmm_64!Ordinal191+0x1f14
00000054`a1bfe180 00007ffc`e9bfb189 : 00007ffc`e9d3ee18 000001bb`45d01b28 000001bb`45d019c0 00000000`00000000 : nidmm_64!niDMM_InvalidateAllAttributes+0x1e6d
00000054`a1bfe1c0 00007ffc`e9cae8df : 000001bb`45d01ab8 000001bb`45d01ab8 000001bb`411fefd0 000001bb`602f4f60 : nidmm_64!niDMM_InvalidateAllAttributes+0x1cc9
00000054`a1bfe200 00007ffd`bc3c42d6 : 000001bb`60898980 000001bb`45d01ae0 000001bb`45d019c0 00007ffd`bc3c60ae : nidmm_64!SetLVRTModuleHook+0x1c7df
00000054`a1bfe230 00007ffd`bc3c41fb : 00000000`00000000 00000054`a1bfe2f8 00000054`a1bfea10 00007ffd`bc4a0e40 : ucrtbase!<lambda_f03950bc5685219e0bcd2087efbe011e>::operator()+0xa6
00000054`a1bfe280 00007ffd`bc3c41b4 : 00000000`00000000 00000000`00000001 00000000`00000000 00000054`a1bfe2e8 : ucrtbase!__crt_seh_guarded_call<int>::operator()<<lambda_7777bce6b2f8c936911f934f8298dc43>,<lambda_f03950bc5685219e0bcd2087efbe011e> &,<lambda_3883c3dff614d5e0c5f61bb1ac94921c> >+0x3b
00000054`a1bfe2b0 00007ffc`e9c9ad4a : 00007ffc`e9d3ed08 00000054`00000002 00000000`00000002 00000054`a1bfe2e0 : ucrtbase!execute_onexit_table+0x34
00000054`a1bfe2e0 00007ffc`e9c9ae40 : 00000000`00000001 00000054`a1bfea00 00000000`00000001 00000000`00000000 : nidmm_64!SetLVRTModuleHook+0x8c4a
00000054`a1bfe310 00007ffd`be769a1d : 00007ffc`e9bc0000 00000000`00000000 00000000`00000001 00000000`7ffe0385 : nidmm_64!SetLVRTModuleHook+0x8d40
00000054`a1bfe370 00007ffd`be7af1ca : 000001bb`65efd930 00007ffc`e9bc0000 00007ffc`00000000 00000054`a1c3a000 : ntdll!LdrpCallInitRoutine+0x61
00000054`a1bfe3e0 00007ffd`be7aef7d : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!LdrShutdownProcess+0x22a
00000054`a1bfe4f0 00007ffd`bdeae3eb : 00000000`00000000 00007ffd`0000007f 00000054`a1bfe978 00000054`a1bff378 : ntdll!RtlExitUserProcess+0xad
00000054`a1bfe520 00007ffd`b4fa883e : 00000000`00000000 00000000`00000000 00000000`00000000 000001bb`1a6e12c0 : kernel32!ExitProcessImplementation+0xb
00000054`a1bfe550 00007ffd`b5037580 : 00000000`00000000 00000000`00000000 00000054`00000001 000001bb`1c263938 : mscoreei!RuntimeDesc::ShutdownAllActiveRuntimes+0x2fa
00000054`a1bfe830 00007ffd`142820ce : 00007ffd`b5030000 00007ffd`b4f90000 00007ffd`b5030000 00007ffd`14281f4c : mscoree!ShellShim_CorExitProcess+0x130
00000054`a1bfe860 00007ffd`14281e36 : 00000000`00000000 00090f04`0001005f 00000000`80000000 00007ffd`144d3e00 : ucrtbased!try_cor_exit_process+0xae
00000054`a1bfe8c0 00007ffd`142821f6 : 00007ffd`00000000 00007ffd`00000000 00000000`00000000 00000054`a1bff378 : ucrtbased!common_exit+0x36
00000054`a1bfe920 00007ffd`25787066 : 00000054`00000000 000001bb`1c263938 00000054`a1bff118 00007ffd`84f0eb65 : ucrtbased!exit+0x16
00000054`a1bfe950 00007ffd`2574e1b9 : 00000000`00000000 000001bb`1a79be90 00000000`00000000 00000000`00000001 : 0x00007ffd`25787066
00000054`a1bfea20 00007ffd`84f11673 : 000001bb`1c263018 00007ffd`256341b8 00000000`00000000 00000054`00000000 : 0x00007ffd`2574e1b9
00000054`a1bff000 00007ffd`84dce2db : 00000000`00000000 00007ffd`84d86a0c 00000054`a1bff2e8 00000000`00000000 : clr!CallDescrWorkerInternal+0x83
00000054`a1bff040 00007ffd`84d8682a : 00000000`00000001 00000054`a1bff260 00000054`a1bff1e8 00007ffd`84e2d2bc : clr!CallDescrWorkerWithHandler+0x47
00000054`a1bff080 00007ffd`84e2d1b0 : 00000054`a1bff128 00000000`00000001 00000000`00000001 000001bb`1a728b80 : clr!MethodDescCallSite::CallTargetWorker+0xfa
00000054`a1bff180 00007ffd`84e2ceb2 : 00000000`00000001 00000000`00000000 000001bb`1c263018 000001bb`1c263938 : clr!RunMain+0x270
00000054`a1bff360 00007ffd`84e2cc49 : 000001bb`1a79be90 00000054`a1bff740 000001bb`1a79be90 000001bb`1a7337e0 : clr!Assembly::ExecuteMainMethod+0xae
00000054`a1bff640 00007ffd`84ea3f8b : 00000000`00000001 00007ff7`90560000 00000000`00000000 00000000`00000000 : clr!SystemDomain::ExecuteMainMethod+0x619
00000054`a1bffc30 00007ffd`84ea3ee5 : 00007ff7`90560000 00000000`00000000 00000000`00000000 00000000`00000000 : clr!ExecuteEXE+0x3f
00000054`a1bffca0 00007ffd`84ea3e14 : ffffffff`ffffffff 00000000`00000000 00000000`00000000 00000000`00000000 : clr!_CorExeMainInternal+0xa9
00000054`a1bffd30 00007ffd`b4f9d6ea : 00000000`00000000 00007ffd`00000091 00000000`00000000 00000054`a1bffd08 : clr!CorExeMain+0x14
00000054`a1bffd70 00007ffd`b503ac42 : 00000000`00000000 00007ffd`84ea3e00 00000000`00000000 00000000`00000000 : mscoreei!CorExeMain+0xfa
00000054`a1bffdd0 00007ffd`bdea7374 : 00007ffd`b4f90000 00000000`00000000 00000000`00000000 00000000`00000000 : mscoree!CorExeMain_Exported+0x72
00000054`a1bffe00 00007ffd`be79cc91 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
00000054`a1bffe30 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21
STACK_COMMAND: ~0s; .ecxr ; kb
SYMBOL_NAME: nierclient+ed86
MODULE_NAME: nierclient
IMAGE_NAME: nierclient.dll
FAILURE_BUCKET_ID: BITNESS_MISMATCH_X64_BREAKPOINT_NOSOS_80000003_nierclient.dll!Unknown
OS_VERSION: 10.0.19041.1
BUILDLAB_STR: vb_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 25.0.0.49229
FAILURE_ID_HASH: {79b9c435-6e0b-c3bd-8944-5a95a7bd2a96}
Followup: MachineOwner
---------
Thanks