Matlab crash if i connect MotoHawk
    6 views (last 30 days)
  
       Show older comments
    
How do I generate a native crash dump for MATLAB on a WINDOWS?
It's show this: MATLAB crash file:C:\Users\casper\AppData\Local\Temp\matlab_crash_dump.18464-1:
--------------------------------------------------------------------------------
       Unknown exception 0xe0434352 detected at 2024-08-02 12:48:46 +0300
--------------------------------------------------------------------------------
Configuration:
  Crash Decoding           : Disabled - No sandbox or build area path
  Crash Mode               : continue (default)
  Default Encoding         : windows-1252
  Deployed                 : false
  Graphics Driver          : Unknown hardware 
  Graphics card 1          : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics Version 27.20.100.9365 (2021-3-10)
  Java Version             : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
  MATLAB Architecture      : win64
  MATLAB Entitlement ID    : 3514034
  MATLAB Root              : C:\Program Files\MATLAB\R2020b
  MATLAB Version           : 9.9.0.2037887 (R2020b) Update 8
  OpenGL                   : hardware
  Operating System         : Microsoft Windows 11 Home Single Language
  Process ID               : 18464
  Processor ID             : x86 Family 6 Model 126 Stepping 5, GenuineIntel
  Session Key              : 1a6fb761-06c5-4afa-9961-e6d8bf9d25a4
  Window System            : Version 10.0 (Build 22631)
Fault Count: 1
Abnormal termination:
Unknown exception 0xe0434352
Current Thread: 'MCR 0 interpreter thread' id 21248
Register State (from fault):
  RAX = 00007ffdccca63e8  RBX = 000000a3a84f3d60
  RCX = 000000a3a84f29d0  RDX = 000000a3a84f3530
  RSP = 000000a3a84f2150  RBP = 000000a3a84f2830
  RSI = 000000a3a84f4b60  RDI = 000000a3a84f2fe0
   R8 = 0000000000000081   R9 = 000000a3a84f19f0
  R10 = 00007ffde438e866  R11 = 000000a3a84f29d0
  R12 = 0000000000000000  R13 = 000000a3a84f22b8
  R14 = 0000000000000002  R15 = 000000a3a84f3148
  RIP = 00007ffde1a4fabc  EFL = 00000206
   CS = 0033   FS = 0053   GS = 002b
Stack Trace (from fault):
[  0] 0x00007ffde1a4fabc                 C:\WINDOWS\System32\KERNELBASE.dll+00391868 RaiseException+00000108
[  1] 0x00007ffdcdc32743     C:\WINDOWS\SYSTEM32\VCRUNTIME140_1_CLR0400.dll+00010051 _NLG_Return2+00005619
[  2] 0x00007ffde4414896                      C:\WINDOWS\SYSTEM32\ntdll.dll+00673942 RtlCaptureContext2+00001190
[  3] 0x00007ffdcc4ae012 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll+00319506 StrongNameTokenFromPublicKey+00192754
[  4] 0x00007ffdcc4c5e56 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll+00417366 StrongNameTokenFromPublicKey+00290614
[  5] 0x00007ffdcc49891b C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll+00231707 StrongNameTokenFromPublicKey+00104955
[  6] 0x00007ffdcc5ee7b5 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll+01632181 DllCanUnloadNowInternal+00011525
[  7] 0x00007ffd6ce31ce7                                   <unknown-module>+00000000
[  8] 0x00007ffdd90f4238 C:\Program Files (x86)\Woodward\MCS\MotoHawk\2020b_sp5.2718\Blocks\Main\motohawk_sfun_check_license.mexw64+00016952 mexFunction+00012856
[  9] 0x00007ffdd90f422c C:\Program Files (x86)\Woodward\MCS\MotoHawk\2020b_sp5.2718\Blocks\Main\motohawk_sfun_check_license.mexw64+00016940 mexFunction+00012844
[ 10] 0x0000000000000001                                   <unknown-module>+00000000
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
2 Comments
  Walter Roberson
      
      
 on 2 Aug 2024
				[  9] 0x00007ffdd90f422c C:\Program Files (x86)\Woodward\MCS\MotoHawk\2020b_sp5.2718\Blocks\Main\motohawk_sfun_check_license.mexw64+00016940 mexFunction+00012844
It is something to do with checking the license for the MotoHawk. It is executing within a DLL called by MATLAB. 
It is not clear to me that a full crashdump would be beneficial; at most you might get more lines showing the call to check the license, which is something that would not give you any information about the problems found by the DLL.
Answers (0)
See Also
Categories
				Find more on Startup and Shutdown in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
