Crash when installing toolbox on WSL Ubuntu.
10 views (last 30 days)
Show older comments
Hi, I am currently trying to install Optimization Toolbox on my Ubuntu installation (Windows Subsystem for Linux). Unfortunately, whenever I get to the stage where MATLAB tries to restart and complete installation, I get the following crash:
--------------------------------------------------------------------------------
Segmentation violation detected at 2025-01-20 11:47:37 -0500
--------------------------------------------------------------------------------
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 hardware
Graphics card 1 : 0x1414 ( 0x1414 ) 0x8e Version 2.0.3.0 (0-0-0)
Graphics card 2 : 0x1414 ( 0x1414 ) 0x8e Version 2.0.3.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 : 4172689
MATLAB Root : /usr/local/MATLAB/R2024b
MATLAB Version : 24.2.0.2806996 (R2024b) Update 3
OpenGL : hardware
Operating System : Ubuntu 22.04.3 LTS
Process ID : 419451
Processor ID : x86 Family 6 Model 154 Stepping 3, GenuineIntel
Session Key : 53e159c3-dfdf-45f4-8a51-aef078491d42
Window System : Microsoft Corporation (12010000), display :0
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 139820436284992
Register State (from fault):
RAX = 0000000000000001 RBX = 00007f2a7b6feb38
RCX = 00000000000000bb RDX = 00007f29c6374b10
RSP = 00007f2a7b6fdc58 RBP = 00007f2cec6d7cc8
RSI = 0000000000000000 RDI = 00007f2a69028940
R8 = 0000000000000000 R9 = 0000000000000000
R10 = 0000000000000008 R11 = 6474ee0e92b55eb5
R12 = 0000000000000000 R13 = 00007f2cec6d7ae8
R14 = 0000000000000004 R15 = 00007f2a7b6feb58
RIP = 00007f29c6374b10 EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f29c6374b10 <unknown-module>+00000000
[ 1] 0x00007f2cec54c691 /lib/x86_64-linux-gnu/libc.so.6+00595601
[ 2] 0x00007f2cec54f94a /lib/x86_64-linux-gnu/libc.so.6+00608586
[ 3] 0x00007f2cec5e1850 /lib/x86_64-linux-gnu/libc.so.6+01206352
** This crash report has been saved to disk as /home/polaris/matlab_crash_dump.419451-1 **
MATLAB is exiting because of fatal error
Killed
Does anyone know what is causing this and how to fix it?
Thanks!
1 Comment
Star Strider
on 20 Jan 2025
I had no problems with it, however I have only Ubuntu 22.03 LTS on that particular laptop (not Windows 11 as well), so I didn’t have that complication.
Answers (2)
Penghui
on 13 Apr 2025
I encountered the same issue and it was resolved by running matlab with this command:
matlab -softwareopengl
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing 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!