You are not logged in.
hello,
I am trying to start matlab 2025b on my system. I already have a running version of 2024b. Fix for that is documented here: https://bbs.archlinux.org/viewtopic.php?id=308046
I would like to update to 2025b, if possible. The original tricks with changing gnutls no longer seem to work and the same:
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/samo/Downloads/Programs/matlab2025b
MATLAB Version : 25.2.0.3123386 (R2025b) Update 3
Operating System : Linux 6.17.13-hardened1-2-hardened #1 SMP PREEMPT_DYNAMIC Sat, 03 Jan 2026 21:47:05 +0000 x86_64
Process ID : 20282
Processor ID : x86 Family 25 Model 116 Stepping 1, AuthenticAMD
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 120378261235392
Register State (from fault):
RAX = 0000000000000000 RBX = 00006d7bbf7fbd48
RCX = 0000000018000000 RDX = 0000000018000000
RSP = 00006d7bbf7fbcb0 RBP = 00006d7b9adfe280
RSI = 0000000000001000 RDI = 0000000000000000
R8 = 00006d7c244460c0 R9 = 00006d7c24446140
R10 = 00006d7c244461c0 R11 = 00006d7c24446200
R12 = 0000000000000000 R13 = 00006d7bbf7fbcd0
R14 = 00006d7bbf7fbce0 R15 = 0000000000000000
RIP = 00006d7b9ae41c88 EFL = 0000000000010246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00006d7b9ae41c88 /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+02366600 lc_new_job+00000216
[ 1] 0x00006d7b9ad5cc1f /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01428511
[ 2] 0x00006d7b9ad5d6a5 /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01431205
[ 3] 0x00006d7b9adc7294 /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01864340
[ 4] 0x00006d7b9ad5fac6 /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01440454
[ 5] 0x00006d7b9ad5e4ed /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01434861
[ 6] 0x00006d7b9ad8ef60 /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01634144
[ 7] 0x00006d7bbc2d33a7 /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/authz/licensing/product/matlab_impl/mwlicensingproductmatlab.so+00160679
[ 8] 0x00006d7c69b3a676 /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/factory_settings/compute/project/settings/../../../../../../bin/glnxa64/libmwservices.so+03384950 _ZN15MatlabLicensing11getInstanceEPKN4lmgr6config17LmStartPropertiesE+00002454
[ 9] 0x00006d7c6352ac31 /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/libmwmcr.so+00834609
[ 10] 0x00006d7c6353d1dd /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/libmwmcr.so+00909789
[ 11] 0x00006d7c635196ca /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/libmwmcr.so+00763594
[ 12] 0x00006d7c63519b8d /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/libmwmcr.so+00764813
[ 13] 0x00006d7c73634b17 /home/samo/Downloads/Programs/matlab2025b/bin/glnxa64/libmwboost_thread.so.1.81.0+00043799
[ 14] 0x00006d7c732a598b /usr/lib/libc.so.6+00616843
[ 15] 0x00006d7c73329a0c /usr/lib/libc.so.6+01157644
** This crash report has been saved to disk as /home/samo/matlab_crash_dump.20282-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.Running patchelf and execstack does not resolve the issue anymore.
Did anyone manage to get the new matlab version up and running. What steps changed since the 2024b version?
I am installing it viia the MPM (matlab package manager). maybe that's the root cause of the issue?
Thank you
Last edited by othersamo_ (2026-02-08 16:30:54)
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
Do you run into this w/ the older gnutls and the normal or lts kernel?
Offline
Yes, what I do is that I install matlab and change gnutls to the older vrsion. Different kernels have no effect.
"Why join the navy if you can be a pirate?"
- Steve Jobs
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
Hi everyone. I wonder if anybody got any progress on this. I tried with R2025a and R2025b and I always get a segfault identical to the one of the OP.
The patchelf/execstack trick does not seem to work anymore, unfortunately.
Offline
I am installing it viia the MPM (matlab package manager). maybe that's the root cause of the issue?
So this is not https://aur.archlinux.org/packages/matlab ?
Offline
In my case, it is manual installation via mpm, using this template file. The AUR package gets stuck at the gnutls3.8.9 build, actually (might be my fault, I did not investigate a lot).
Still, I prefer the manual installation for different reasons. Sometimes I need multiple MATLAB versions installed alongside each other, for example.
I tried the approach that allowed me to install the 2025b version back in January in another Arch install, on my laptop:
- downloaded gnutls3.8.9 into and symlinked the contents of gnutls3.8.9/usr/lib/ into /bin/glnxa64
- ran /bin/glnxa64/MathWorksProductAuthorizer and installed the license
- tried to launch /bin/matlab
I also tried to remove the symlinks before running MATLAB, but to no avail (same exact segfault). The version on my laptop instead is still running fine (probably because the license installation was finalized before some update broke the process?).
Thanks for all the help!
Last edited by zoidx86 (Today 13:03:26)
Offline
stuck at the gnutls3.8.9 build, actually (might be my fault, I did not investigate a lot)
"Stuck" how? Does it fail? Do you get any errors? Can you still build https://aur.archlinux.org/packages/gnutls3.8.9 separately (using makepkg, no aur helpers)?
Since this is where the error occurs it's likely a critical problem.
Offline