← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 256021] [NEW] glxinfo crashed with SIGSEGV in __libc_start_main()

 

You have been subscribed to a public bug:

[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://launchpadlibrarian.net/28340399/mesa_7.4-0ubuntu3.2.debdiff

[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
NonfreeKernelModules: nvidia
Package: mesa-utils 7.1~rc3-1ubuntu2
ProcAttrCurrent: unconfined
ProcCmdline: glxinfo
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
Signal: 11
SourcePackage: mesa
Stacktrace:
 #0  0x0804ad66 in ?? ()
 #1  0xb7d66685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
 #2  0x08048e81 in ?? ()
StacktraceTop:
 ?? ()
 __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
 ?? ()
ThreadStacktrace:
 .
 Thread 1 (process 7142):
 #0  0x0804ad66 in ?? ()
 #1  0xb7d66685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
 #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

** Affects: mesa (Ubuntu)
     Importance: Medium
         Status: Fix Released

** Affects: mesa (Ubuntu Jaunty)
     Importance: High
         Status: Confirmed

** Affects: mesa (Ubuntu Karmic)
     Importance: Medium
         Status: Fix Released


** Tags: apport-crash verification-needed
-- 
glxinfo crashed with SIGSEGV in __libc_start_main()
https://bugs.edge.launchpad.net/bugs/256021
You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in ubuntu.