matlab crash in ubuntu
Show older comments
Hi everyone,
I am using MATLAB R2020a in Ubuntu 20, when I run the start matlab and then run my code it says:
MATLAB is selecting SOFTWARE OPENGL rendering.
Gtk-Message: 10:31:39.882: Failed to load module "canberra-gtk-module"
OMP: Warning #190: Forking a process while a parallel region is active is potentially unsafe.
OMP: Warning #190: Forking a process while a parallel region is active is potentially unsafe.
OMP: Warning #190: Forking a process while a parallel region is active is potentially unsafe.
OMP: Warning #190: Forking a process while a parallel region is active is potentially unsafe.
[1]+ Killed matlab
what wrong with it? I have run the code in another computer successfully.
Thanks in advance.
wenguo
4 Comments
Walter Roberson
on 12 Jun 2020
Is the problem occuring every time you start MATLAB, or only when you do certain actions? In particular does it only happen if you use SPMD ?
zhu wenguo
on 12 Jun 2020
Walter Roberson
on 12 Jun 2020
Answers (1)
Shubham Kashyap
on 15 Jun 2020
You can try running the following command to see if the issue gets resolved:
sudo apt-get install libcanberra-gtk-module libcanberra-gtk0
export GTK_PATH=/usr/lib/x86_64-linux-gnu/gtk-2.0
If the issue is not resolved, you may contact MathWorks support team at
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!