MATLAB hangs / throws C errors when exitting Fedora 44

On my freshly installed Fedora 44 server, I was able to install and run MATLAB just fine; however when I go to exit MATLAB with either the exit or quit command or closing the window, MATLAB will return a c++ related error and my terminal will just hang unaffected by keyboard inputs. For instance, running in -nodesktop mode I've encountered the following
quit
free(): chunks in smallbin corrupted
^C^C^C^C^C^C
and
quit
malloc(): smallbin double linked list corrupted
^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C
I've already tried loading in my systems libraries by using the LD_PRELOAD and LD_LIBRARY_PATH enviornment variables and more tricks by having the following section in my .bashrc
export QT_QPA_PLATFORM=xcb
export GTK_PATH=/usr/lib64/gtk-2.0/
export LD_PRELOAD=/usr/lib64/libstdc++.so.6:/usr/lib64/libfreetype.so.6
export LD_LIBRARY_PATH=/usr/lib64/:/usr/lib/xorg/modules/dri/:
export AWT_TOOLKIT=MToolkit
export LIDBL_DRI3_DISABLE=1
And when I launch MATLAB, I use the following launch options
matlab -nodesktop -nosplash -webui
The biggest hindrence to my workflow is that I am unable to install addons as MATLAB isn't able to stop and relaunch successfully.

Respuestas (1)

Ivy
Ivy el 9 de Jun. de 2026 a las 16:19
Editada: Walter Roberson el 9 de Jun. de 2026 a las 16:39
Fedora is not a supported distro:
I only recommend preloading specific libraries for specific issues that are known. The errors in the terminal could be from MATLAB or the MathWorks Service Host, you could try looking at the logs of the MSH, but if it is not the MSH that has issues then probably you can try contacting the support team, though I'm not sure how much support is provided for unsupported distros. You can try the unclean exit Ctrl Z instead of Ctrl C if the hanging stays for too long.
About this hanging preventing you from installing stuff, if you want toolboxes or support packages, then consider running the installer again (for additional toolboxes), or using MPM (both additional toolboes & support packages).

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Versión

R2024b

Preguntada:

el 12 de Mayo de 2026

Editada:

el 9 de Jun. de 2026 a las 16:39

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by