X crashes and returns to log-in when starting certain games

Bug #136784 reported by testingtester
8
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Hardy by Zenaan Harkness
Nominated for Intrepid by Zenaan Harkness

Bug Description

New install of Gutsy Tribe 5 desktop-amd64. Tried nvidia-glx (using Restricted Drivers Manager) and then a new install with nvidia-glx-new (from terminal). Exactly the same happens with both.

X crashes when I start Gnubg, Torcs, Chromium and Neverball. All OpenGL games?

 In /var/log/syslog

Sep 2 10:23:03 amd64-desktop gdm[5554]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Sep 2 10:23:04 amd64-desktop gdm[6248]: WARNING: Server name '0' not found; using standard server
Sep 2 10:23:15 amd64-desktop gdm[6248]: GLib-CRITICAL: g_key_file_get_string: assertion `key_file != NULL' failed
Sep 2 10:23:15 amd64-desktop gdm[6248]: GLib-CRITICAL: g_key_file_get_string: assertion `key_file != NULL' failed
Sep 2 10:23:15 amd64-desktop gdm[6248]: GLib-CRITICAL: g_key_file_free: assertion `key_file != NULL' failed
Sep 2 10:23:15 amd64-desktop gdm[5553]: WARNING: Server name '0' not found; using standard server

In /var/log/Xorg.0.log.old

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x6d) [0x48667d]
1: /lib/libc.so.6 [0x2b2f83bfd760]
2: /lib/libc.so.6(cfree+0x3b) [0x2b2f83c415fb]
3: /usr/lib/xorg/modules/drivers//nvidia_drv.so(_nv002411X+0x1f6) [0x2b2f8607ae86]

Fatal server error:
Caught signal 11. Server aborting

Hardware:
Asus A8N-VM mainboard
AMD Athlon X2 +3800 CPU
PNY GeForce 7600GT graphics card

Revision history for this message
testingtester (iain05) wrote :

Guess I should attach complete files. Here's Xorg.0.log.old

Revision history for this message
testingtester (iain05) wrote :

...and syslog

Revision history for this message
Dirk Janssen (freezndj) wrote :

Could be a duplicate of Bug #130325.
Besides that, I can confirm the problem with Gutsy Tribe 5.
Seems that any 3D accellerated Game makes X crash and restart with the login sceen.
HW: Intel Core2Quad, Nvidia 8600 GT with restricted drivers from Nvidia.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

testingtester:
Can you confirm that running glxgears crashes X? Can you also indicate whether turning off desktop effects allows glxgears and the previously mentioned games to run?

Changed in gdm:
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

the backtrace indicates that X is crashing, reassigning

Revision history for this message
testingtester (iain05) wrote :

I've since installed kubuntu-desktop packages and the games run fine under KDE, with effects and without.

glxgears causes same crash in Gnome.

Turning off desktop effects solves the problem. No crashes after disabling effects with glxgears or any of the games.

Revision history for this message
testingtester (iain05) wrote :

The default set up in gnubg is a 2D board, but some 3D effects are used.
If you go Settings > Appearance > Lighting tab you have Light azimuth and Light elevation sliders.
Chequers tabs have Refractive Index, Dull-Shiny and Diffuse-Specular.
Chequers (0) also has a Flat-Round slider.

gnubg is what caused the first crash. I installed Gutsy, updated, used restricted driver manager to install graphics drivers, restarted, installed gnubg and then ran it. The first time it ran I was able to go to the View and Settings menus changing some options. It crashed when I clicked Settings > Appearance. After that it crashed every time it started.

I then disabled the nvidia drivers, going back to nv, and tried gnubg again. I got an error that "The windowing system does not support OpenGL" or similar. I reinstalled nvidia-glx and installed some other OpenGL games, which all cause the same crash.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

As Dirk said, this sounds like Bug #130325 ...

Revision history for this message
testingtester (iain05) wrote :

Yeah, it must be. I searched but didn't find anything.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Marking as duplicate based on reporters most recent comment.

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug Bug #130325 so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can add, or to see if there is a workaround for the bug. Feel free to continue to report any other bugs you may find.

Changed in xorg:
status: Incomplete → Invalid
Revision history for this message
Yondaime (simulator) wrote :

i have the same error

Feb 2 23:00:30 linux /usr/sbin/cron[6682]: (CRON) INFO (pidfile fd = 3)
Feb 2 23:00:30 linux /usr/sbin/cron[6683]: (CRON) STARTUP (fork ok)
Feb 2 23:00:30 linux /usr/sbin/cron[6683]: (CRON) INFO (Running @reboot jobs)
Feb 2 23:00:31 linux avahi-daemon[6563]: Server startup complete. Host name is linux.local. Local service cookie is 1558561202.
Feb 2 23:00:37 linux gdmgreeter[6773]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
Feb 2 23:00:37 linux gdmgreeter[6773]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed
Feb 2 23:00:37 linux gdmgreeter[6773]: GLib-GObject-CRITICAL: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Feb 2 23:00:38 linux kernel: [ 167.995987] eth1: no IPv6 routers present
Feb 2 23:02:01 linux gdm[6605]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Feb 2 23:02:05 linux gdmgreeter[7047]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
Feb 2 23:02:05 linux gdmgreeter[7047]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed
Feb 2 23:02:05 linux gdmgreeter[7047]: GLib-GObject-CRITICAL: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Feb 2 23:02:15 linux gdm[7029]: GLib-CRITICAL: g_key_file_get_string: assertion `key_file != NULL' failed
Feb 2 23:02:15 linux gdm[7029]: GLib-CRITICAL: g_key_file_free: assertion `key_file != NULL' failed
Feb 2 23:02:15 linux gdm[7067]: Gtk-WARNING: Ignoring the separator setting
Feb 2 23:02:18 linux kernel: [ 226.856252] mixer_applet2[7001]: segfault at 00000000 eip b796259a esp bfd64080 error 4
Feb 2 23:02:38 linux gdm[7029]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0
Feb 2 23:02:42 linux gdmgreeter[7158]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
Feb 2 23:02:42 linux gdmgreeter[7158]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed
Feb 2 23:02:42 linux gdmgreeter[7158]: GLib-GObject-CRITICAL: g_object_unref: assertion `G_IS_OBJECT (object)' failed

this is because my desktop freeze after login

Revision history for this message
Zenaan Harkness (f-launchpad-net-freedbms-net) wrote :

I don't think this is a dup of 130325!

Please see my comments in 1228207.

Basically, this bug is elusive, and evidently manifesting in different ways (eg by running gl games, screensaver, or as in my case, just by attempting to switch from GDM console to text console (ie looking at GDM on console 6, and pressing Ctl-Alt-1 to go to console 1, and machine hangs cold!)

So I suspect this is some sort of race/threading problem, or at the least, something at a lower level in Xorg!

My drivers are Intel standard built-in, other people has been Nvidia, etc, so not driver-specific as far as I can tell.

Related bugs:

https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/136784

https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/342797

https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/342797

https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/136784

https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.22/+bug/130325

Revision history for this message
Zenaan Harkness (f-launchpad-net-freedbms-net) wrote :
Revision history for this message
Zenaan Harkness (f-launchpad-net-freedbms-net) wrote :

"My comments in 1228207"
should be "My comments is 128207:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/128207

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.