AbnorThe following problem occurs when using Matlab 2024a: Abnormal termination: abort()mal termination: abort()

18 views (last 30 days)
MATLAB Log File: D:\temp\matlab_crash_dump.23220-1
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
abort() detected at 2025-10-08 16:23:33 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Uninitialized software
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics Version 32.0.101.6790 (2025-4-28)
Graphics card 2 : NVIDIA ( 0x10de ) NVIDIA GeForce RTX 4060 Laptop GPU Version 32.0.15.6624 (2024-11-22)
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 : 5652168
MATLAB Root : D:\matlab
MATLAB Version : 24.1.0.2837808 (R2024a) Update 7
OpenGL : software
Operating System : Microsoft Windows 11 家庭中文版
Process ID : 23220
Processor ID : x86 Family 6 Model 183 Stepping 1, GenuineIntel
Session Key : b2cc74a6-f47e-4716-b31a-31637a406467
Window System : Version 10.0 (Build 26100)
Fault Count: 1
Abnormal termination:
abort()
Current Thread: 'ED 1 dispatch thread' id 12528
Register State (captured):
RAX = 00007ff847a87208 RBX = 00007ff847a87208
RCX = 0000005339ffb300 RDX = 00007ff847a318f0
RSP = 0000005339ffb240 RBP = 0000005339ffbfd0
RSI = 0000000000000000 RDI = 00007ff847a87208
R8 = 0000000000000004 R9 = 0000005339ffb1b8
R10 = 00007ff847630000 R11 = 0000000000000000
R12 = 0000005339ffbed8 R13 = 0000000000000000
R14 = 00007ff847a77138 R15 = 0000005339ffb910
RIP = 00007ff847971c8a EFL = 00000202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured):
[ 0] 0x00007ff84796b093 D:\matlab\bin\win64\libmwfl.dll+00045203 foundation::core::diag::thread_context::unspecified_bool+00000051
[ 1] 0x00007ff8479694c8 D:\matlab\bin\win64\libmwfl.dll+00038088 foundation::core::diag::stacktrace_base::capture+00000024
[ 2] 0x00007ff84796d90f D:\matlab\bin\win64\libmwfl.dll+00055567 foundation::core::diag::symbols::getSymbolAddress+00009855
[ 3] 0x00007ff8479707d7 D:\matlab\bin\win64\libmwfl.dll+00067543 foundation::core::diag::is_terminate_message_enabled+00000503
[ 4] 0x00007fff8fa81868 D:\matlab\bin\win64\mcr.dll+00792680 mnFullExitFcn+00034808
[ 5] 0x00007fff8fa810cd D:\matlab\bin\win64\mcr.dll+00790733 mnFullExitFcn+00032861
[ 6] 0x00007fff8fa7d315 D:\matlab\bin\win64\mcr.dll+00774933 mnFullExitFcn+00017061
[ 7] 0x00007fff8fa7ed5f D:\matlab\bin\win64\mcr.dll+00781663 mnFullExitFcn+00023791
[ 8] 0x00007ff851681989 C:\WINDOWS\System32\ucrtbase.dll+00792969 raise+00000473
[ 9] 0x00007ff851664ab1 C:\WINDOWS\System32\ucrtbase.dll+00674481 abort+00000049
[ 10] 0x00007ff8516819de C:\WINDOWS\System32\ucrtbase.dll+00793054 terminate+00000030
[ 11] 0x00007ff85167173a C:\WINDOWS\System32\ucrtbase.dll+00726842 _C_specific_handler_noexcept+00000074
[ 12] 0x00007ff853aa796f C:\WINDOWS\SYSTEM32\ntdll.dll+01472879 _chkstk+00000159
[ 13] 0x00007ff8539b6397 C:\WINDOWS\SYSTEM32\ntdll.dll+00484247 RtlWow64GetCurrentCpuArea+00003095
[ 14] 0x00007ff8539b5226 C:\WINDOWS\SYSTEM32\ntdll.dll+00479782 RtlRaiseException+00000518
[ 15] 0x00007ff850e466ca C:\WINDOWS\System32\KERNELBASE.dll+00812746 RaiseException+00000138
[ 16] 0x00007ff847635267 D:\matlab\bin\win64\VCRUNTIME140.dll+00021095 CxxThrowException+00000151
[ 17] 0x00007ff8368fa135 D:\matlab\bin\win64\mwboost_log-vc143-mt-x64-1_78.dll+00041269 mwboost::log::v2_mt_nt6::aux::code_convert_impl+00004069
[ 18] 0x00007ff8368fc415 D:\matlab\bin\win64\mwboost_log-vc143-mt-x64-1_78.dll+00050197 mwboost::detail::win32::handle_manager::duplicate+00000101
[ 19] 0x00007fff9355dfd2 D:\matlab\bin\win64\libmwms.dll+01236946 flushAll_FOR_TESTS_ONLY+00005378
[ 20] 0x00007fff9356a6fe D:\matlab\bin\win64\libmwms.dll+01287934 foundation::msg_svc::eventmgr::detail::mvmSessionCreated+00038718
[ 21] 0x00007fff93583f6a D:\matlab\bin\win64\libmwms.dll+01392490 foundation::msg_svc::eventmgr::detail::mvmSessionCreated+00143274
[ 22] 0x00007fff9357c19b D:\matlab\bin\win64\libmwms.dll+01360283 foundation::msg_svc::eventmgr::detail::mvmSessionCreated+00111067
[ 23] 0x00007ff8393d91aa D:\matlab\bin\win64\mwboost_thread-vc143-mt-x64-1_78.dll+00037290 mwboost::detail::win32::handle_manager::swap+00001626
[ 24] 0x00007ff8515c37b0 C:\WINDOWS\System32\ucrtbase.dll+00014256 wcsrchr+00000336
[ 25] 0x00007ff852aae8d7 C:\WINDOWS\System32\KERNEL32.DLL+00190679 BaseThreadInitThunk+00000023
[ 26] 0x00007ff853948d9c C:\WINDOWS\SYSTEM32\ntdll.dll+00036252 RtlUserThreadStart+00000044

Answers (1)

Satyam
Satyam on 16 Oct 2025 at 8:16
Hi @xinyu,
From the crash log, MATLAB R2024a is terminating abnormally with an abort() call. Assumiing, it occurs during MATLAB startup (before any user code runs).
Here are a few steps you can try to troubleshoot:
  • Start MATLAB using software OpenGL: Open a Windows Command Prompt and run:
matlab -softwareopengl
  • Test MATLAB without desktop or Java component
matlab -nodesktop -nojvm
  • Run MATLAB as Administrator
I hope it would resolve your problem.

Categories

Find more on 启动和关闭 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!