Fatal Internal Error: std::exception: CPU inspection returned inconsistent values

I am using xubuntu 18.04 recently. after successful installation of MATLAB2018a, when I am trying to open it from command window typing 'matlab', it is giving me the error "Fatal Internal Error: std::exception: CPU inspection returned inconsistent values". Even I have tried with older versions of matlab as well but the error is same. How to fix this problem? Previously I was using ubuntu 16.04 it was running perfectly all right then.

1 个评论

As an additional note, I'm also seeing this in Ubuntu 18.04, but only after a suspend/resume cycle. MATLAB (r2018a) works fine again after a full reboot.

请先登录,再进行评论。

回答(1 个)

I also seeing this in Ubuntu 18.04.But in my opinion, this sometimes caused by virtualization。I run matlab in a lxd container. I have 32 cores in my host machine, and I set 8 cores in my container. I can use "lscpu" command to query cpu info. The result shows full 32 cores of my host machine. When I run "cat /proc/cpuinfo" ,it shows 8 cores but there are 32 cores per cpu. So it seems that caused by matlab query cpu core numbers bug. Because when I del cpu limit in my container, the matlab run well.

类别

帮助中心File Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by