You are not logged in.
Hello everyone,
I'm trying to get MATLAB R2025b running on my fully updated Arch Linux system, but it crashes immediately on launch with a segmentation fault.
I followed the official Arch Wiki guide and installed MATLAB using mpm. The installation completed successfully, but the program will not start.
Here is the full crash report generated by MATLAB:
--------------------------------------------------------------------------------
Segmentation violation detected at 2025-10-05 22:39:28 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Desktop Environment : KDE
GNU C Library : 2.42 stable
MATLAB Architecture : glnxa64
MATLAB Root : /home/joe/matlab
MATLAB Version : 25.2.0.2998904 (R2025b)
Operating System : "Arch Linux"
Process ID : 95776
Processor ID : x86 Family 25 Model 68 Stepping 1, AuthenticAMD
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 140682232579776
Register State (from fault):
RAX = 0000000000000000 RBX = 00007ff3227f9d48
RCX = 00007ff3eda3bcc0 RDX = 00007ff3eda130c0
RSP = 00007ff3227f9cb0 RBP = 00007ff390699900
RSI = 0000000000001000 RDI = 0000000000000000
R8 = 00007ff3eda39f20 R9 = 00007ff3eda39fa0
R10 = 00007ff3eda3a138 R11 = 00007ff3eda3a140
R12 = 0000000000000000 R13 = 00007ff3227f9cd0
R14 = 00007ff3227f9ce0 R15 = 0000000000000000
RIP = 00007ff3906d3008 EFL = 0000000000010246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007ff3906d3008 /home/joe/matlab/bin/glnxa64/connector_plugins/notifications/subscriber_impl/../../../../../bin/glnxa64/libmwinstall_activationwsclientimpl.so+00499720 lc_new_job+00000216
[ 1] 0x00007ff32035cc1f /home/joe/matlab/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01428511
[ 2] 0x00007ff32035d6a5 /home/joe/matlab/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01431205
[ 3] 0x00007ff3203c6ee4 /home/joe/matlab/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01863396
[ 4] 0x00007ff32035fac6 /home/joe/matlab/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01440454
[ 5] 0x00007ff32035e4ed /home/joe/matlab/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01434861
[ 6] 0x00007ff32038ebb0 /home/joe/matlab/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01633200
[ 7] 0x00007ff3443133a7 /home/joe/matlab/bin/glnxa64/authz/licensing/product/matlab_impl/mwlicensingproductmatlab.so+00160679
[ 8] 0x00007ff443d3a656 /home/joe/matlab/bin/glnxa64/factory_settings/compute/project/settings/../../../../../../bin/glnxa64/libmwservices.so+03384918 _ZN15MatlabLicensing11getInstanceEPKN4lmgr6config17LmStartPropertiesE+00002454
[ 9] 0x00007ff4417cda61 /home/joe/matlab/bin/glnxa64/libmwmcr.so+00838241
[ 10] 0x00007ff4417e000d /home/joe/matlab/bin/glnxa64/libmwmcr.so+00913421
[ 11] 0x00007ff4417bc4fa /home/joe/matlab/bin/glnxa64/libmwmcr.so+00767226
[ 12] 0x00007ff4417bc9bd /home/joe/matlab/bin/glnxa64/libmwmcr.so+00768445
[ 13] 0x00007ff452032b17 /home/joe/matlab/bin/glnxa64/libmwboost_thread.so.1.81.0+00043799
[ 14] 0x00007ff451a969cb /usr/lib/libc.so.6+00616907
[ 15] 0x00007ff451b1aa0c /usr/lib/libc.so.6+01157644
Based on the troubleshooting section of the wiki and other forum posts, I have already tried the following:
Preloading libfreetype:
LD_PRELOAD=/usr/lib/libfreetype.so.6 /home/joe/matlab/bin/matlab
This did not work and produced the same segmentation fault.
Preloading a combination of libstdc++ and boost libraries:
LD_PRELOAD="libstdc++.so.6 libboost_filesystem.so.1.81.0 libboost_thread.so.1.81.0" /home/joe/matlab/bin/matlab
This also failed. It seems I do not have this exact version of the boost libraries, as I received the following errors before MATLAB crashed again:
ERROR: ld.so: object 'libboost_filesystem.so.1.81.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libboost_thread.so.1.81.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
The crash always seems to happen inside libmwinstall_activationwsclientimpl.so, which suggests an issue with licensing or activation, possibly due to an incompatible library that it depends on (like NSS or boost).
Has anyone else encountered this issue with R2025b? Is there a different set of libraries I should be preloading, or is there a better way to resolve this conflict?
For context, I am installing MATLAB purely for learning purposes. I don't specifically need the latest version. I would be happy to install any version from 2020 onwards if there's one that is known to be more stable on a modern Arch Linux system.
Thank you in advance for any help
Last edited by erosion (2025-10-07 07:27:34)
Offline
Welcome to the forums. Please do not cross post. If you would like a thread moved, please use the report function to leave a request for the moderators.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I resolved following that comment: https://bbs.archlinux.org/viewtopic.php … 9#p2254979
It works for Matlab 2025b. I installed it using mpm.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
@seth wrong person
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I resolved following that comment: https://bbs.archlinux.org/viewtopic.php … 9#p2254979
It works for Matlab 2025b. I installed it using mpm.
I will follow you guide, thanks for you replay.
Offline
I resolved following that comment: https://bbs.archlinux.org/viewtopic.php … 9#p2254979
It works for Matlab 2025b. I installed it using mpm.
Thank you so much. I resolved it.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
I'm sorry that it seems that I cannot add [SOLVED] to my subject. I'm the new, and could you please tell me how to do this?
Offline