You are not logged in.

#1 2025-05-15 17:49:59

zequy
Member
Registered: 2025-05-15
Posts: 2

Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

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

#2 2025-05-16 19:11:14

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,978

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

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

Online

#3 2025-05-22 17:52:01

zequy
Member
Registered: 2025-05-15
Posts: 2

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

I use the 1.2 Installing from the MATLAB installation software. Download the software from the matlab site.

Offline

#4 2025-05-23 09:33:07

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,978

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

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

Online

#5 2025-06-01 22:11:16

nicknicker
Member
Registered: 2025-06-01
Posts: 1

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

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

#6 2025-06-06 01:10:25

themanovertheshell
Member
Registered: 2025-06-06
Posts: 1

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

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 (2025-06-06 01:10:40)

Offline

#7 2025-06-07 12:12:48

gregdvd
Member
Registered: 2025-06-07
Posts: 2

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

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

#8 2025-06-15 04:13:50

dette
Member
Registered: 2025-06-14
Posts: 1

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

I got the exact same crash report, and R2024a works too.

Offline

#9 2025-07-07 06:37:29

bradrn
Member
Registered: 2022-05-07
Posts: 15

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

I am getting precisely the same crash report with R2025A. Curiously, MATLAB itself starts without problems and is usable — the crash only occurs when I attempt to start a parallel pool (with the Parallel Computing Toolbox).

Last edited by bradrn (2025-07-07 06:37:48)

Offline

#10 2025-07-14 04:23:25

QYxYZ
Member
Registered: 2025-03-13
Posts: 1

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

I got the exact same crash report with R2024B, but 2025A starts without problems.

Offline

#11 2025-07-14 08:07:36

seth
Member
Registered: 2012-09-03
Posts: 66,123

Offline

#12 2025-07-17 03:44:37

bradrn
Member
Registered: 2022-05-07
Posts: 15

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

QYxYZ wrote:

I got the exact same crash report with R2024B, but 2025A starts without problems.

Odd… in my case R2024B works fine, and it’s R2025A which crashes.

(And I’m on gnutls-3.8.9-1, so my problem can’t be that in the thread linked by seth.)

Offline

#13 2025-07-17 06:13:24

seth
Member
Registered: 2012-09-03
Posts: 66,123

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

We'll have to see some for of log/error/debug output/backtrace to gauge your situation.

Offline

#14 2025-07-18 16:18:37

gregdvd
Member
Registered: 2025-06-07
Posts: 2

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

Thanks seth for the pointer to the other discussion, not only it solved the new issue with R2024b (broken after an update last week), but for me it also fixed the issue with R2025a. BTW, just to be sure, I did the trick with gnutls-3.8.8-1.

Offline

#15 2025-07-21 09:22:53

daniele
Member
Registered: 2025-07-21
Posts: 1

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

Edit: doing the trick with gnutls 3.8.8-1 fixes also R2025a
Using the fix provided by seth lets me use R2024b but i still got a crash with 2025a:

--------------------------------------------------------------------------------
          Segmentation violation detected at 2025-07-21 11:15:49 +0200
--------------------------------------------------------------------------------

Configuration:
  Crash Decoding           : Disabled - No sandbox or build area path
  Crash Mode               : continue (default)
  Default Encoding         : UTF-8
  Desktop Environment      : Hyprland
  GNU C Library            : 2.41 stable
  MATLAB Architecture      : glnxa64
  MATLAB Root              : /home/daniele/Documents/tools/matlab/R2025a
  MATLAB Version           : 25.1.0.2943329 (R2025a)
  Operating System         : "Arch Linux"
  Process ID               : 27730
  Processor ID             : x86 Family 6 Model 151 Stepping 2, GenuineIntel

Fault Count: 1


Abnormal termination:
Segmentation violation

Current Thread: 'MCR 0 interpret' id 124493905258176

Register State (from fault):
  RAX = 0000000000000000  RBX = 00007139feffbd88
  RCX = 0000713ab7e3bcc0  RDX = 0000713ab7e130c0
  RSP = 00007139feffbcf0  RBP = 0000713a483fe260
  RSI = 0000000000001000  RDI = 0000000000000000

   R8 = 0000713ab7e39f20   R9 = 0000713ab7e39fa0
  R10 = 0000713ab7e3a138  R11 = 0000713ab7e3a140
  R12 = 0000000000000000  R13 = 00007139feffbd10
  R14 = 00007139feffbd20  R15 = 0000000000000000

  RIP = 0000713a48441c68  EFL = 0000000000010246

   CS = 0033   FS = 0000   GS = 0000

Stack Trace (from fault):
[  0] 0x0000713a48441c68 /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+02366568 lc_new_job+00000216
[  1] 0x0000713a4835ccaf /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01428655
[  2] 0x0000713a4835d735 /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01431349
[  3] 0x0000713a483c7274 /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01864308
[  4] 0x0000713a4835fb56 /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01440598
[  5] 0x0000713a4835e57d /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01435005
[  6] 0x0000713a4838ef40 /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/matlab_startup_plugins/lmgrimpl/libmwlmgrimpl.so+01634112
[  7] 0x0000713a540e5437 /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/authz/licensing/product/matlab_impl/mwlicensingproductmatlab.so+00160823
[  8] 0x0000713b0ad3a656 /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/factory_settings/compute/project/settings/../../../../../../bin/glnxa64/libmwservices.so+03384918 _ZN15MatlabLicensing11getInstanceEPKN4lmgr6config17LmStartPropertiesE+00002454
[  9] 0x0000713b08b79741 /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/libmwmcr.so+00841537
[ 10] 0x0000713b08b8bd3d /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/libmwmcr.so+00916797
[ 11] 0x0000713b08b681da /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/libmwmcr.so+00770522
[ 12] 0x0000713b08b6869d /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/libmwmcr.so+00771741
[ 13] 0x0000713b19834b17 /home/daniele/Documents/tools/matlab/R2025a/bin/glnxa64/libmwboost_thread.so.1.81.0+00043799
[ 14] 0x0000713b194a57eb                                 /usr/lib/libc.so.6+00612331
[ 15] 0x0000713b1952918c                                 /usr/lib/libc.so.6+01151372

** This crash report has been saved to disk as /home/daniele/matlab_crash_dump.27730-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.

Last edited by daniele (2025-07-21 09:28:05)

Offline

#16 2025-07-21 14:37:46

seth
Member
Registered: 2012-09-03
Posts: 66,123

Re: Issue Launching MATLAB R2025a on Arch Linux with GNOME 48

You're hitting the exact same backtrace as gregdvd, so just  to be sure

Edit: doing the trick with gnutls 3.8.8-1 fixes also R2025a

means injecting the older gnutls into the library path as in https://bbs.archlinux.org/viewtopic.php?id=306939 also provides the same fix for this backtrace?

Offline

Board footer

Powered by FluxBB