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 Comment

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.

Sign in to comment.

Answers (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.

Categories

Find more on Programming in Help Center and File Exchange

Answered:

on 4 Jul 2018

Community Treasure Hunt

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

Start Hunting!