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.

Answers (0)

Categories

Products

Release

R2024b

Asked:

on 12 May 2026 at 19:25

Community Treasure Hunt

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

Start Hunting!