Ubuntu 12.04 LTS crashing frequently

Asked by nikhilesh

I just installed 12.04 LTS and am running a few simulations in Matlab. I am not sure if it is because of matlab or something else, but 12.04 crashes completely and brings me back to the login screen.

Question information

English Edit question
Ubuntu xserver-xorg-video-nv Edit question
No assignee Edit question
Solved by:
Thomas Krüger
Last query:
Last reply:
Revision history for this message
Thomas Krüger (thkrueger) said :

Does running "dmesg" show any related error messages?

Revision history for this message
nikhilesh (niki-ceg) said :

Well I am novice, so I am not sure..but here are the last two lines:

[ 1378.891812] Xorg[11721] general protection ip:7ff69d6ad6a9 sp:7fff29be1b70 error:0 in nvidia_drv.so[7ff69d64c000+6e0000]
[ 3159.583667] NVRM: Xid (0000:03:00): 56, CMDre 00000007 00000000 ffffffff 00000003 00000000

Revision history for this message
actionparsnip (andrew-woodhead666) said :

Have you tested your RAM using memtest86+ from Grub?

Revision history for this message
nikhilesh (niki-ceg) said :

Nope I have not.....the RAM is currently 12 GB.....earlier I had red hat and this problem was not occuring then.....it started with running matlab simuations

Revision history for this message
Best Thomas Krüger (thkrueger) said :

IF the RAM is Ok, it might be realated to a recent fix of the properitary nVidia driver. The bug involved memory access and that seems to go wrong according to the error message. In this case you would have to wait until they release an other fix or use the Open Source driver "nouveau", which has some limitation.

Revision history for this message
nikhilesh (niki-ceg) said :

Thanks a lot for the very useful info....

Revision history for this message
nikhilesh (niki-ceg) said :

Thanks Thomas Krüger, that solved my question.

Revision history for this message
Diogo Costa (dmoraiscosta) said :

Hi guys

I think I have a similar problem like this one that is being described. I have a netbook (asus eee pc 1005 HA) and since I updated ubuntu to 12.04 version it crashes randomly and constantly (like 4 or 5 times / day). Basically I'm doing someting and it crashes and goes to the log in screen. I being tired of this situation that just happened after this update. I would like to ask you if you can help me fixing this crash.

Thank you

Revision history for this message
Rocko (rockorequin) said :

What version of the nvidia driver is everyone using? I'm using the latest 'stable' version (304.43) on Ubuntu 12.10 and I find it much less stable than the previous versions. It reports one or two of a selection of Xid errors (eg 13, 39, 56) and then crashes X. Often it locks up the entire machine, requiring a hard reset. nvidia don't respond to either their forums (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14) or their support email (<email address hidden>).

Revision history for this message
actionparsnip (andrew-woodhead666) said :

andy@fileserver:~$ apt-cache policy nvidia-current
  Installed: 304.43-0ubuntu1~precise~xup1
  Candidate: 304.43-0ubuntu1~precise~xup1
  Version table:
 *** 304.43-0ubuntu1~precise~xup1 0
        500 http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
     295.40-0ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/restricted amd64 Packages
     295.40-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/restricted amd64 Packages

I use 304.43