matlab程序闪退,Segmentation violation detected

46 visualizaciones (últimos 30 días)
Tong
Tong el 20 de Mzo. de 2025
Respondida: Andrei el 13 de Jun. de 2025
linux系统中运行matlab程序,发生闪退,报错如下:
--------------------------------------------------------------------------------
Segmentation violation detected at 2025-03-20 10:54:16 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.35 stable
Graphics Driver : Uninitialized software
Graphics card 1 : 0x8086 ( 0x8086 ) 0xa780 Version 0.0.0.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 6257193
MATLAB Root : /usr/local/MATLAB/R2022b
MATLAB Version : 9.13.0.2049777 (R2022b)
OpenGL : software
Operating System : Ubuntu 22.04.5 LTS
Process ID : 24740
Processor ID : x86 Family 6 Model 183 Stepping 1, GenuineIntel
Session Key : 72f21547-42b7-4ef8-9334-f0ee62bf6a16
Window System : No active display
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 140349657835072
Register State (from fault):
RAX = 0000000000000000 RBX = 00007fa6b2ff56c0
RCX = 00007fa750115f8b RDX = 0000000000000000
RSP = 00007fa5b37fd9b0 RBP = 0000000000000000
RSI = 00007fa3b00008e0 RDI = 0000000000000000
R8 = 0000000000000000 R9 = 0034363634373736
R10 = 0000000000000011 R11 = 0000000000000293
R12 = 0000000000000001 R13 = 0000000000000000
R14 = 00007fa7500957d0 R15 = 00007fa70fffdcd0
RIP = 00007fa6b2ed5573 EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007fa6b2ed5573 /usr/local/MATLAB/R2022b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+02794867 JzFpVJBtd41d+00000033
[ 1] 0x00007fa6b2ec8423 /usr/local/MATLAB/R2022b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+02741283 YbHpGNfMd41d+00000163
[ 2] 0x00007fa6b2ec28e9 /usr/local/MATLAB/R2022b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+02717929
[ 3] 0x00007fa6b2ec2f97 /usr/local/MATLAB/R2022b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+02719639 zTABVjlkd41d+00000333
[ 4] 0x00007fa6b2ec30dd /usr/local/MATLAB/R2022b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+02719965 XoYuTbvnd41d+00000039
[ 5] 0x00007fa750095ac3 /lib/x86_64-linux-gnu/libc.so.6+00608963
[ 6] 0x00007fa750127850 /lib/x86_64-linux-gnu/libc.so.6+01206352
** This crash report has been saved to disk as /media/linux/zt/home/matlab_crash_dump.24740-1 **
MATLAB is exiting because of fatal error

Respuestas (2)

Image Analyst
Image Analyst el 20 de Mzo. de 2025
When did this error occur? I got a very similar crash today (Access Violation, MATLAB needs to close) and it turned out it was when I called videoinput() with an old camera driver (that apparently only worked up through r2023a, when MATLAB changed something in 2023b that made the code break and crash).
Your version is 2 years old. Can you upgrade to the latest version to see if that fixes it?
  1 comentario
Tong
Tong el 20 de Mzo. de 2025
The timing of this issue is not fixed. It may be after running a certain program, or during program execution, there have been situations where the program crashes just after opening Matlab.
I'll try updating the version.

Iniciar sesión para comentar.


Andrei
Andrei el 13 de Jun. de 2025
Based on the processor ID in the crash dump, it looks like you might have one of 13th and 14th generation Intel CPUs that are affected by a known issue. Suggestions for next steps are provided in the following post:

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by