glxinfo crashed with SIGSEGV in __libc_start_main()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mesa (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jaunty |
Fix Released
|
High
|
Unassigned | ||
Karmic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
Fixes segmentation faults in glXGetFBConfigs() that happen frequently when the nvidia binary drivers are present on the system (even if they are not in use) by adding a null pointer check. While the SEGV seems innocuous since it only happens with glxinfo, quite a few essential programs such as compiz use glxinfo to detect GL capabilities and this causes problems. This is fixed in Karmic which as of this time has mesa 7.4.1, but the issue still stands in jaunty's 7.4.
[Symptoms]
Segfaults in glxinfo. glxinfo reporting Xlib: extension "GLX" missing on display.
[Patch]
http://
[Test Case]
In an affected system (such as one with nvidia drivers loaded)
1. Run glxinfo
2. Errors with a segfault
3. Attempt to start compiz
4. Fails to start because it can't run glxinfo
[Regression Potential]
Essentially none. It simply adds a null pointer check right before dereferencing it.
This fix has been tested in Karmic as well as upstream for some time, and was included in the 7.4.1 bugfix release.
UPDATE:Oct 8 2008. installed daily updates ( 2.6.27-6-generic ) and still getting this same glxinfo error on boot
-------
I was running PlayOnLinux and tried to install 3d acceleration from there when glxinfo crashed.
Description: Ubuntu intrepid (development branch)
Release: 8.10
mesa version : 7.1~rc3-1ubuntu2 (intrepid)
ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/glxinfo
NonfreeKernelMo
Package: mesa-utils 7.1~rc3-1ubuntu2
ProcAttrCurrent: unconfined
ProcCmdline: glxinfo
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_US.UTF-8
Signal: 11
SourcePackage: mesa
Stacktrace:
#0 0x0804ad66 in ?? ()
#1 0xb7d66685 in __libc_start_main () from /lib/tls/
#2 0x08048e81 in ?? ()
StacktraceTop:
?? ()
__libc_start_main () from /lib/tls/
?? ()
ThreadStacktrace:
.
Thread 1 (process 7142):
#0 0x0804ad66 in ?? ()
#1 0xb7d66685 in __libc_start_main () from /lib/tls/
#2 0x08048e81 in ?? ()
Title: glxinfo crashed with SIGSEGV in __libc_start_main()
Uname: Linux 2.6.26-5-generic i686
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare
Related branches
description: | updated |
description: | updated |
Changed in mesa-utils (Ubuntu Jaunty): | |
importance: | Undecided → High |
status: | New → Confirmed |
description: | updated |
description: | updated |
affects: | mesa-utils (Ubuntu Jaunty) → mesa (Ubuntu Jaunty) |
StacktraceTop:main (argc=0, argv=0xbffa6a54) at glxinfo.c:971