I recently installed MATLAB R2018b and experienced crashing on startup. Whenever I ran matlab from the terminal the splash would pop up for a few seconds, then the entire OS would freeze. I was forced to hard reset my computer as I was completely locked out. Because of this, no error messages or logs have been created at any point in time.
The problem seems similar to: https://nl.mathworks.com/matlabcentral/answers/405904-matlab-crashes-on-startup-when-using-jvm-ubuntu-16-04-1?s_tid=mlc_ans_email_view#answer_362302. I can run MATLAB successfully if I start it with the -nojvm option.
Thanks in advance for any help.
htop
(or justtop
) when you start matlab and monitor your systems resources? – j-money Feb 27 '19 at 15:56Feb 28 12:31:49 pepijn-HP-Laptop-15-db0xxx rtkit-daemon[1191]: The canary thread is apparently starving. Taking action. Feb 28 12:31:49 pepijn-HP-Laptop-15-db0xxx rtkit-daemon[1191]: Demoting known real-time threads. Feb 28 12:31:49 pepijn-HP-Laptop-15-db0xxx rtkit-daemon[1191]: Successfully demoted thread 1603 of process 1601 (n/a).
And this looks like an error:
Feb 28 12:29:35 pepijn-HP-Laptop-15-db0xxx kernel: [ 732.131024] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [MATLAB:2835]
There are two crash files, I'll try to analyze them.
– Pepijn Feb 28 '19 at 11:45