Matlab crash dump - Unknown exception 0xe0434f4d

7 views (last 30 days)
Hello,
I am registering several crash of a process which periodically calls a library (compiled in Visual Studio), which in turn uses a Matlab library .dll (compiled with Matlab 2014b).
In the instants where the process is killed, I find matlab crash logs. I share one example below. Can you give an idea to solve?
------------------------------------------------------------------------
Unknown exception 0xe0434f4d detected at Thu Jun 08 09:02:50 2023
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Default Encoding : windows-1252
MATLAB Architecture: win32
MATLAB Root : C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v84
MATLAB Version : 8.4.0.150421 (R2014b)
Operating System : Microsoft Windows Server 2012
Processor ID : x86 Family 6 Model 85 Stepping 7, GenuineIntel
Fault Count: 1
Abnormal termination:
Unknown exception 0xe0434f4d
Register State (from fault):
EAX = 2787ecf0 EBX = e0434f4d
ECX = 00000001 EDX = 00000000
ESP = 2787ecf0 EBP = 2787ed4c
ESI = 2787ed84 EDI = 183426a0
EIP = 76703642 EFL = 00000216
CS = 00000023 DS = 0000002b SS = 0000002b
ES = 0000002b FS = 00000053 GS = 0000002b
Stack Trace (from fault):
[ 0] 0x76703642 C:\Windows\System32\KERNELBASE.dll+01193538 RaiseException+00000098
[ 1] 0x6ba47dfc C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00491004 GetCLRFunction+00006855
[ 2] 0x6bb1fc4c C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+01375308 CopyPDBs+00014832
[ 3] 0x6bbce936 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+02091318 Ordinal24+00255955
[ 4] 0x6b1080b1 C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\01360169f07f151e91c48fae00fff845\mscorlib.ni.dll+02326705
[ 5] 0x6b108088 C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\01360169f07f151e91c48fae00fff845\mscorlib.ni.dll+02326664
[ 6] 0x69375d24 C:\Windows\assembly\NativeImages_v2.0.50727_32\System\5a07b7c27f596baff71f778565d459c9\System.ni.dll+05922084
[ 7] 0x02d6d98d <unknown-module>+00000000
[ 8] 0x04caac15 <unknown-module>+00000000
[ 9] 0x69375d77 C:\Windows\assembly\NativeImages_v2.0.50727_32\System\5a07b7c27f596baff71f778565d459c9\System.ni.dll+05922167
[ 10] 0x6b0dc163 C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\01360169f07f151e91c48fae00fff845\mscorlib.ni.dll+02146659
[ 11] 0x6b0dbff9 C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\01360169f07f151e91c48fae00fff845\mscorlib.ni.dll+02146297
[ 12] 0x6b9d1b8c C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00007052
[ 13] 0x6b9e8633 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00099891
[ 14] 0x6b9e8e33 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00101939
[ 15] 0x6b9e8e74 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00102004
[ 16] 0x6b9e8ee1 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00102113
[ 17] 0x6bb15b77 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+01334135 IEE+00324199
[ 18] 0x6ba096e7 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00235239 CoUninitializeEE+00074139
[ 19] 0x6ba09683 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00235139 CoUninitializeEE+00074039
[ 20] 0x6ba095a4 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00234916 CoUninitializeEE+00073816
[ 21] 0x6ba09735 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00235317 CoUninitializeEE+00074217
[ 22] 0x6ba87c04 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00752644 GetPrivateContextsPerfCounters+00047305
[ 23] 0x6bb1580c C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+01333260 IEE+00323324
[ 24] 0x6ba8789d C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+00751773 GetPrivateContextsPerfCounters+00046434
[ 25] 0x6baf5d79 C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll+01203577 IEE+00193641
[ 26] 0x75000419 C:\Windows\System32\KERNEL32.dll+00132121
[ 27] 0x76f772fd C:\Windows\SYSTEM32\ntdll.dll+00422653 RtlGetAppContainerNamedObjectPath+00000237
[ 28] 0x76f772cd C:\Windows\SYSTEM32\ntdll.dll+00422605 RtlGetAppContainerNamedObjectPath+00000189

Answers (1)

Image Analyst
Image Analyst on 14 Jun 2023
2014b is pretty old. Are you using Windows7 32 bit? Or a modern 64 bit system? See if you can get the publisher to recompile the code in the latest version of MATLAB.
  2 Comments
Chiara
Chiara on 14 Jun 2023
Thanks for help.
I compile the dll on a Matlab installed on Windows7 64bit.
This dll then is imported into a Visual Studio project to produce a 32 bit dll used for a 32bit process running on a virtual machine with Windows OS (Microsoft Windows Server 2012).
Could you give any further detail about the sentence "get the publisher to recompile the code in the latest version of MATLAB"? what do you mean?
Image Analyst
Image Analyst on 14 Jun 2023
I assumed you were using a program or DLL given to you by someone else, like a company or some legacy program that you have. If it's your program and you compiled it yourself, I recommend you upgrade to the latest version and try it. Why make new software to run 10 year old code? Just modernize everything.

Sign in to comment.

Categories

Find more on Application Deployment in Help Center and File Exchange

Products


Release

R2014b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!