You are not logged in.
Good afternoon,I attempted to install MATLAB R2025a on Arch Linux running GNOME 48. The installation completed successfully; however, upon launching the application, it immediately closes and displays the following error:
--------------------------------------------------------------------------------
Segmentation violation detected at 2025-05-15 10:15:52 -0500
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Desktop Environment : GNOME
GNU C Library : 2.41 stable
MATLAB Architecture : glnxa64
MATLAB Root : /usr/local/MATLAB/R2025a
MATLAB Version : 25.1.0.2943329 (R2025a)
Operating System : Linux 6.14.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 09 May 2025 17:36:18 +0000 x86_64
Process ID : 177583
Processor ID : x86 Family 25 Model 68 Stepping 1, AuthenticAMD
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 127062471866048
Register State (from fault):
RAX = 0000000000000000 RBX = 00007390097fcd88
RCX = 00007390ef3ffcb0 RDX = 00007390ef3fdec0
RSP = 00007390097fccf0 RBP = 00007390881ed900
RSI = 0000000000001000 RDI = 0000000000000000
R8 = 00007390ef3fe0c0 R9 = 00007390ef3fe0d0
R10 = 0000000000000000 R11 = 0000000000000000
R12 = 0000000000000000 R13 = 00007390097fcd10
R14 = 00007390097fcd20 R15 = 0000000000000000
RIP = 0000739088227008 EFL = 0000000000010246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x0000739088227008 /usr/local/MATLAB/R2025a/bin/glnxa64/connector_plugins/notifications/subscriber_impl/../../../../../bin/glnxa64/libmwinstall_activationwsclientimpl.so+00499720 lc_new_job+00000216
[ 1] 0x0000738fdb55ccaf /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01428655
[ 2] 0x0000738fdb55d735 /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01431349
[ 3] 0x0000738fdb5c7274 /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01864308
[ 4] 0x0000738fdb55fb56 /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01440598
[ 5] 0x0000738fdb55e57d /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01435005
[ 6] 0x0000738fdb58ef40 /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01634112
[ 7] 0x000073900829d437 /usr/local/MATLAB/R2025a/bin/glnxa64/authz/licensing/product/matlab_impl/mwlicensingproductmatlab.so+00160823
[ 8] 0x000073913b53a656 /usr/local/MATLAB/R2025a/bin/glnxa64/factory_settings/compute/project/settings/../../../../../../bin/glnxa64/libmwservices.so+03384918 _ZN15MatlabLicensing11getInstanceEPKN4lmgr6config17LmStartPropertiesE+00002454
[ 9] 0x0000739138e5e741 /usr/local/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00841537
[ 10] 0x0000739138e70d3d /usr/local/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00916797
[ 11] 0x0000739138e4d1da /usr/local/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00770522
[ 12] 0x0000739138e4d69d /usr/local/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00771741
[ 13] 0x0000739144437b17 /usr/local/MATLAB/R2025a/bin/glnxa64/libmwboost_thread.so.1.81.0+00043799
[ 14] 0x0000739144aa57eb /usr/lib/libc.so.6+00612331
[ 15] 0x0000739144b2918c /usr/lib/libc.so.6+01151372
** This crash report has been saved to disk as /home/ezequiel/matlab_crash_dump.177583-1 **
MATLAB is exiting because of fatal error
Fatal Error:
Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Dynamic exception type: mwboost::wrapexcept<std::runtime_error>
std::exception::what: Transport stopped.
Could you please assist me in resolving this issue?If you have any additional details, such as specific error messages or logs, please provide them so I can offer more targeted assistance.
Offline
Please use code /code tags for such output.
arch wiki lists 3 methods to install matlab , which one did you follow ?
See https://wiki.archlinux.org/title/MATLAB
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I use the 1.2 Installing from the MATLAB installation software. Download the software from the matlab site.
Offline
Please run
/usr/local/MATLAB/R2025a/bin/matlab
in a (gui)-terminal as your normal user and post the output it shows in the terminal.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I've also had the same issue today.
I tried launching ./bin/glnxa64/MathWorksProductAuthorizer in order to login to my account (for some reason matlab didn't ask for it, it just launched with no logged user and then crashed_.
I logged in and activated matlab.
However, I was still not logged in inside matlab. I couldn't log in on matlab R2024b too, but there was no crash back then.
This is a known bug somehow related to latest glibc changes.
This thread resolved my login issue on R2024b and fixed the crash on R2025a:
https://bbs.archlinux.org/viewtopic.php?id=303177
See post #10. Ofc you need to adjust the paths to your username and the new release version.
Hope this helps!
Note: You may also need to run ./bin/glnxa64/MathWorksProductAuthorizer after patching matlab libs.
Last edited by nicknicker (2025-06-01 22:30:07)
Offline
Exactly what I needed to set up my matlab (but on KDE) nicknicker ! Solved my problem (same one as OP).
Only needed to disable stack execution permission on libmwfoundation_crash_handling.so (see executable stack error with MATLAB versions at or before R2024b)
Thanks !
Last edited by themanovertheshell (Yesterday 01:10:40)
Offline
Hi!
The suggested solution doesn't work for me. What I did:
$ execstack -c /home/XXX/.MathWorks/ServiceHost/-mw_shared_installs/v2025.5.1.1/bin/glnxa64/libmwfoundation_crash_handling.so
$ execstack -c /home/XXX/.MathWorks/ServiceHost/-mw_shared_installs/v2025.5.1.1/bin/glnxa64/mathworksservicehost/rcf/matlabconnector/serviceprocess/rcf/service/libmwmshrcfservice.so
# /usr/local/MATLAB/R2025a/bin/glnxa64/MathWorksProductAuthorizer
and all worked well, with no errors. But I still get
$ /usr/local/MATLAB/R2025a/bin/matlab
--------------------------------------------------------------------------------
Segmentation violation detected at 2025-06-07 14:06:15 +0200
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
GNU C Library : 2.41 stable
MATLAB Architecture : glnxa64
MATLAB Root : /usr/local/MATLAB/R2025a
MATLAB Version : 25.1.0.2943329 (R2025a)
Operating System : Linux 6.14.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 04 Jun 2025 18:52:35 +0000 x86_64
Process ID : 209302
Processor ID : x86 Family 6 Model 140 Stepping 1, GenuineIntel
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 140676253611712
Register State (from fault):
RAX = 0000000000000000 RBX = 00007ff1be1fcd88
RCX = 00007ff233a13f60 RDX = 00007ff233a13f60
RSP = 00007ff1be1fccf0 RBP = 00007ff1bc3fe260
RSI = 0000000000001000 RDI = 0000000000000000
R8 = 00007ff233a14020 R9 = 00007ff233a140a0
R10 = 00007ff2339e9f20 R11 = 00007ff2339e9f80
R12 = 0000000000000000 R13 = 00007ff1be1fcd10
R14 = 00007ff1be1fcd20 R15 = 0000000000000000
RIP = 00007ff1bc441c68 EFL = 0000000000010246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007ff1bc441c68 /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+02366568 lc_new_job+00000216
[ 1] 0x00007ff1bc35ccaf /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01428655
[ 2] 0x00007ff1bc35d735 /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01431349
[ 3] 0x00007ff1bc3c7274 /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01864308
[ 4] 0x00007ff1bc35fb56 /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01440598
[ 5] 0x00007ff1bc35e57d /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01435005
[ 6] 0x00007ff1bc38ef40 /usr/local/MATLAB/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01634112
[ 7] 0x00007ff1bc035437 /usr/local/MATLAB/R2025a/bin/glnxa64/authz/licensing/product/matlab_impl/mwlicensingproductmatlab.so+00160823
[ 8] 0x00007ff28053a656 /usr/local/MATLAB/R2025a/bin/glnxa64/factory_settings/compute/project/settings/../../../../../../bin/glnxa64/libmwservices.so+03384918 _ZN15MatlabLicensing11getInstanceEPKN4lmgr6config17LmStartPropertiesE+00002454
[ 9] 0x00007ff279edc741 /usr/local/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00841537
[ 10] 0x00007ff279eeed3d /usr/local/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00916797
[ 11] 0x00007ff279ecb1da /usr/local/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00770522
[ 12] 0x00007ff279ecb69d /usr/local/MATLAB/R2025a/bin/glnxa64/libmwmcr.so+00771741
[ 13] 0x00007ff289408b17 /usr/local/MATLAB/R2025a/bin/glnxa64/libmwboost_thread.so.1.81.0+00043799
[ 14] 0x00007ff289aa57eb /usr/lib/libc.so.6+00612331
[ 15] 0x00007ff289b2918c /usr/lib/libc.so.6+01151372
** This crash report has been saved to disk as /home/XXX/matlab_crash_dump.209302-1 **
MATLAB is exiting because of fatal error
Fatal Error:
Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Dynamic exception type: mwboost::wrapexcept<std::runtime_error>
std::exception::what: Transport stopped.
Remark: This error only happens with the newest MATLAB R2025a - I have a perfectly working installation of MATLAB R204b.
Thanks!
Offline