OpenGL screensavers cause crashes

Bug #181121 reported by Brian Murray
218
This bug affects 5 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Invalid
High
Unassigned

Bug Description

Binary package hint: xscreensaver

glplanet seems to preview fine however, I left it running when locking my desktop and came back to this crash report.

ProblemType: Crash
Architecture: amd64
Date: Mon Jan 7 14:09:03 2008
Disassembly: 0x6183487:
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/xscreensaver/glplanet
NonfreeKernelModules: vmnet vmmon fglrx
Package: xscreensaver-gl-extra 5.04-1ubuntu1
PackageArchitecture: amd64
ProcCmdline: glplanet -root
ProcCwd: /
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/usr/lib/gnome-screensaver/gnome-screensaver:/usr/lib/xscreensaver:/usr/lib/xscreensaver
 LANG=en_US.UTF-8
Signal: 11
SourcePackage: xscreensaver
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Title: glplanet crashed with SIGSEGV
Uname: Linux flash 2.6.24-2-generic #1 SMP Thu Dec 20 17:58:55 GMT 2007 x86_64 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip family floppy lpadmin plugdev pulse pulse-access pulse-rt scanner video

[Update]
It seems we have a crash report filed against just about every GL screensaver, as segfaulting. Nearly all of the reports are on amd64, so this bug report will focus on that angle. However, there are also a small number of similar crash reports on i386. Given that i386 is more widely used than amd64, the disproportionate representation of amd64 seems noteworthy, and isn't what I'd expect if they were seeing identical issues.

There are also similar sounding crash reports with GL screensavers against -nvidia, so it *might* be a mesa, kernel, or xserver issue, but we don't have enough data to say yet, so I'm leaving the -nvidia and -fglrx bugs independent for now. It's equally possible both drivers are failing due to not keeping up with some kernel or xserver API or ABI change, in which we would need independent fixes for each.

Anyway, what we need to go into the next step of troubleshooting is a detailed backtrace (see http://wiki.ubuntu.com/DebuggingXorg for directions). It might also help to experiment with newer or older versions of drivers and alternate kernel versions, which could pinpoint the problem to the driver or kernel, respectively.

Similar issues with the nvidia driver are collected in bug #110125.

Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
init_GL (mi=<value optimized out>) at xlock-gl-utils.c:91
init_planet (mi=0x8c3450) at glplanet.c:483
xlockmore_init (dpy=0x63e9a0, window=8388990, xlmft=<value optimized out>)
main (argc=1, argv=<value optimized out>) at screenhack.c:570

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Tormod Volden (tormodvolden) wrote : Re: glplanet crashed with SIGSEGV

Unless you can reproduce with the open-source drivers, I am inclined to believe this is the fault of the fglrx driver. Can you please attach Xorg.0.log so we get all the details of the hardware?

Changed in xscreensaver:
assignee: nobody → tormodvolden
status: New → Incomplete
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Your card is supported by the -ati open-source driver. Can you please try it?

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [fglrx] glplanet crashed with SIGSEGV

Hi Brian,

There is a new -fglrx 8-01 uploaded last night; when you get a chance can you please re-test against that? If it crashes again, please attach your /var/log/Xorg.0.log, /etc/X11/xorg.conf, and the output of lspci -vvnn. Also, does glplanet always reliably cause the crash? If not, can you outline whatever steps are involved in making it crash?

Revision history for this message
Bryce Harrington (bryce) wrote :

There are about a dozen xscreensaver bugs that look to possibly be dupes of this. At least, they smell similar. All seem to involve GL crashes on amd64 with fglrx:

https://bugs.edge.launchpad.net/ubuntu/+source/xscreensaver/?field.searchtext=fglrx&orderby=title

Note that there are also a bunch of similar bugs against nvidia.

Revision history for this message
Bryce Harrington (bryce) wrote :

Brian, if you have bughelper handy, you could probably mass-dupe all those xscreensaver bugs to this one.

Changed in linux-restricted-modules-2.6.24:
importance: Undecided → Critical
status: Incomplete → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

Ted Gould, since this is a major bug for xscreensaver, I figured you will want to track this as well so have subbed you.

tedgagnon, oops sorry, I meant to sub Ted Gould and entered "tedg" without thinking, and it subbed you - unfortunately I don't think I can correct that mistake; please unsub yourself and accept my major apologies.

Changed in linux-restricted-modules-2.6.24:
assignee: tormodvolden → bryceharrington
status: Confirmed → Incomplete
Bryce Harrington (bryce)
description: updated
Revision history for this message
Todd R. Lyons (trlyons) wrote : Re: [fglrx] gl screensavers crash on amd64

I too am experiencing this bug. With Kubuntu 8.04 (AMD64), certain GL screensavers will crash using the fglrx driver. I've reverted to just using a slideshow screensaver (the kids prefer it anyway) while I'm also coping with fglrx bug #118605 (https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.24/+bug/118605)

description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

I currently have the following package versions installed and have not been able to create a crash with a GL screensaver. I've tried previewing them, previewing them in fullscreen, and locking my dekstop for a wee bit and unlocking it without any problems.

linux-restricted-modules-2.6.24-16-generic:
  Installed: 2.6.24.12-16.34

xscreensaver-gl-extra:
  Installed: 5.04-4ubuntu1

Revision history for this message
Saúl Romero (spacetree) wrote :

Description: Ubuntu 8.04
Release: 8.04

attunel crashed with SIGSEV

I think it is because of the new fglrx drivers (the ones with aiglx support). Hope they get them to work properly soon.

Revision history for this message
Brian Murray (brian-murray) wrote :

spacetree it'd be helpful to know which particular new fglrx drivers you are using could you provide the exact package version of linux-restricted-modules you have installed? You can find this out via 'apt-cache policy linux-restricted-modules'.

Revision history for this message
Saúl Romero (spacetree) wrote : fglrx drivers

linux-restricted-modules:
  Instalados: (ninguno)
  Candidato: 2.6.24.16.18
  Tabla de versión:
     2.6.24.16.18 0
        500 http://mx.archive.ubuntu.com hardy/restricted Packages

Hope this helps

Revision history for this message
sibidiba (sibidiba) wrote :

I can confirm a very similar issue (reported as bug #200804): if using two displays every GL screensaver is _very_ slow and hangs nine out of ten times when I move the mouse/hit a key instead of showing me the password dialog to unlock my screen. It happens only to GL screensavers.
Logging in remotely and killing the screensaver gives my desktop back.

using current 8.04

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

Revision history for this message
Bryce Harrington (bryce) wrote :

Good day Brian,

I've just uploaded a new 8.543 version of -fglrx to Intrepid which now should work with xserver 1.5. Would you mind testing this new version and reporting back whether this issue is still present? If it is, it would be helpful if you could (re-)post your Xorg.0.log from running with this version. Thanks ahead of time.

If you don't have Intrepid installed on your system, you can test this by booting an Intrepid LiveCD (available from cdimage.ubuntu.com), using either the -vesa or -ati driver, then update to the latest version of Ubuntu, install fglrx, and then logout and back in. Your /var/log/Xorg.0.log will confirm whether you've loaded FGLRX successfully.

If you find any new issues, please report them as separate bugs. You can use the tool `ubuntu-bug fglrx-installer` which will gather the necessary files and create the launchpad report for you to fill in more easily.

Bryce Harrington (bryce)
Changed in fglrx-installer:
assignee: bryceharrington → nobody
Revision history for this message
Bryce Harrington (bryce) wrote :

ping? Is anyone still seeing this issue on Intrepid? Otherwise we'll close it as expired.

Changed in fglrx-installer:
status: Incomplete → Confirmed
status: Confirmed → Incomplete
Revision history for this message
Kimiko Koopman (kimiko) wrote :

I haven't seen this bug in a while, but after upgrading to the latest Jaunty version (8.522 is it?) it seems to have reappeared. In particular, MPlayer using the gl2 video output frequently locks up the screen and X entirely, necessitating a hard reboot.

Please let me know what info you need.

Revision history for this message
Bryce Harrington (bryce) wrote :

> Please let me know what info you need.

A fresh Xorg.0.log[.old] from after reproducing the issue, output from 'lspci -vvnn', and a full backtrace (directions are at http://wiki.ubuntu.com/X/Backtracing). Thanks ahead of time.

Bryce Harrington (bryce)
Changed in fglrx-installer:
importance: Critical → High
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in fglrx-installer:
status: Incomplete → Invalid
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.