glxinfo crashed with SIGSEGV in __libc_start_main()

Bug #257600 reported by Joe Robson
360
This bug affects 10 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Fix Released
Medium
Unassigned
Declined for Intrepid by Martin Pitt
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

just trying to do anything...

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/glxinfo
NonfreeKernelModules: nvidia
Package: mesa-utils 7.1~rc3-1ubuntu4
ProcAttrCurrent: unconfined
ProcCmdline: glxinfo
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_NZ.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: mesa
StacktraceTop:
 ?? ()
 __libc_start_main () from /lib/libc.so.6
 ?? ()
 ?? ()
 ?? ()
Title: glxinfo crashed with SIGSEGV in __libc_start_main()
Uname: Linux 2.6.26-5-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev sambashare video

Revision history for this message
Joe Robson (joecefiro) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in mesa:
importance: Undecided → Medium
Revision history for this message
Hew (hew) wrote :

Confirming this issue as my report was marked as a dupe of this one. glxinfo appears to run automatically in the background at some stage (during startup or restricted drivers manager?) which causes this crash. It's also reproducible by just running the glxinfo command. 3D is broken due to nvidia/something not liking the xorg.conf, but in any case, glxinfo shouldn't be crashing.

Changed in nvidia-graphics-drivers-177:
status: New → Confirmed
Hew (hew)
Changed in nvidia-graphics-drivers-177:
status: Confirmed → Triaged
Revision history for this message
Kim d'Audretsch (kimda) wrote :

The reason why my compiz/glxinfo wouldn't work is that the symlink to /usr/lib/xorg/modules/extensions/libglx.so was wrong. It was linked to an old and non-existant library installed in Hardy. I removed the symlink and created it again with the latest libglx.so.177.76 library. Now everything workes again.

Revision history for this message
Hew (hew) wrote :

This is still a problem on Jaunty with mesa-utils 7.3~rc3-1ubuntu1 . I'm not sure what graphics driver I'm really using since I've tried nv, nvidia and nouveau now. Changing sourcepackage to mesa since this crash is occurring in glxinfo.

Revision history for this message
Ryan (ubuntu-draziw) wrote :

I just had it with Jaunty as well. Entered dupe for logs and such if they are needed.

Revision history for this message
Steve Illgen (sillgen) wrote :

I receive the error also after upgrading to Jaunty. \

Revision history for this message
Wade Pedersen (wmpedersen) wrote :

Received this error using nvidia 180.35 and trying to replace metacity with compiz.

Revision history for this message
Mike Patterson (lostcorrectly) wrote :

Received this error with jaunty and I have no idea what to do.

Revision history for this message
Kim d'Audretsch (kimda) wrote :

I still have this bug with the latest nvidia-glx-180. In /usr/lib/xorg/modules/extensions the symlink to libglx.so.180.44 is made, but in /usr/lib/xorg/modules/ it still links to the old module /usr/lib/xorg/modules/extensions/libglx.so.180.37 which doesn´t exist anymore.

Revision history for this message
Graham Inggs (ginggs) wrote :
Revision history for this message
Kim d'Audretsch (kimda) wrote :

Thanks Graham. I noticed that on my other Ubuntu machine there is no link to libglx in /usr/lib/xorg/modules. So today I removed this link and with only the link in /usr/lib/xorg/modules/extensions it works perfectly.

Revision history for this message
Hew (hew) wrote :

Problem still exists with current Karmic. This looks similar to bug 256021.

Revision history for this message
Robert Hooker (sarvatt) wrote :
Changed in mesa (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted mesa into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in mesa (Ubuntu Jaunty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Bryce Harrington (bryce) wrote :

The patch in comment #15 is clearly correct, it's just a null pointer check immediately before dereference which should have no chance of regression. It has been 2 months since this was accepted in jaunty-proposed, which ought to be plenty of time for testing! It would be nice to get this cleared out, since we have other mesa srus needing attention (e.g. #347569)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 7.4-0ubuntu3.2

---------------
mesa (7.4-0ubuntu3.2) jaunty-proposed; urgency=low

  * Add 107_glxinfo_segfault.patch. Adds a null pointer check in
    glXGetFBConfigs(), which fixes segfaults in glxinfo most commonly
    seen when nvidia binary drivers are present. (LP: #256021, #257600)

 -- Robert Hooker (Sarvatt) <email address hidden> Wed, 24 Jun 2009 21:40:45 -0400

Changed in mesa (Ubuntu Jaunty):
status: Fix Committed → Fix Released
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.