Xorg crashed with SIGABRT in DoGetString()

Bug #1232000 reported by Vincent Ladeuil
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
glamor-egl (Ubuntu)
Invalid
Undecided
Unassigned
mesa (Ubuntu)
Fix Released
Critical
Maarten Lankhorst
xorg-server (Ubuntu)
Fix Released
Critical
Maarten Lankhorst

Bug Description

Happens when launching firefox from a 'ssh -AY' session. Other programs like evince or nautilus launch without issues.

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: xserver-xorg-core 2:1.14.2.901-2ubuntu6
ProcVersionSignature: Ubuntu 3.11.0-8.15-generic 3.11.1
Uname: Linux 3.11.0-8-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Fri Sep 27 15:08:01 2013
DistUpgraded: 2013-08-09 13:21:50,778 DEBUG enabling apt cron job
DistroCodename: saucy
DistroVariant: ubuntu
ExecutablePath: /usr/bin/Xorg
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] [1002:68f9] (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:03ca]
InstallationDate: Installed on 2011-06-23 (826 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64+mac (20110427.1)
MachineType: System manufacturer System Product Name
MarkForUpload: True
ProcCmdline: /usr/bin/X -core :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
ProcEnviron:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-8-generic root=UUID=9e03ea1c-298d-4b96-9870-4db1fe183774 ro quiet splash vt.handoff=7
Signal: 6
SourcePackage: xorg-server
StacktraceTop:
 ?? () from /usr/lib/xorg/modules/extensions/libglx.so
 ?? () from /usr/lib/xorg/modules/extensions/libglx.so
 ?? ()
 ?? ()
 __libc_start_main (main=0x7fb7048431a0, argc=9, ubp_av=0x7fff5acd72b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff5acd72a8) at libc-start.c:260
Title: Xorg crashed with SIGABRT in __libc_start_main()
UpgradeStatus: Upgraded to saucy on 2013-08-09 (49 days ago)
UserGroups:

dmi.bios.date: 12/05/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1003
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P6T DELUXE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1003:bd12/05/2008:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP6TDELUXE:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.10+13.10.20130920-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.14.2.901-2ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu9
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.14-4ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
xserver.bootTime: Fri Sep 27 15:08:04 2013
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.14.2.901-2ubuntu6
xserver.video_driver: radeon

Revision history for this message
Vincent Ladeuil (vila) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 DoGetString (cl=0x7fb7071696e0, pc=0x7fb707172f48 "", need_swap=<optimized out>) at ../../glx/single2.c:349
 __glXDispatch (client=<optimized out>) at ../../glx/glxext.c:581
 Dispatch () at ../../dix/dispatch.c:432
 main (argc=9, argv=0x7fff5acd72b8, envp=<optimized out>) at ../../dix/main.c:298

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in xorg-server (Ubuntu):
importance: Undecided → Medium
summary: - Xorg crashed with SIGABRT in __libc_start_main()
+ Xorg crashed with SIGABRT in DoGetString()
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg-server (Ubuntu):
status: New → Confirmed
information type: Private → Public
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

Removing the (leftover?) /usr/lib/libGL.* files solved the problem for me.

Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

> Removing the (leftover?) /usr/lib/libGL.* files solved the problem for me.

Actually, it solved part of the problem for me... running with indirect glx still fails.

Revision history for this message
Maarten Lankhorst (mlankhorst) wrote :

Minimal testcase:
LIBGL_ALWAYS_INDIRECT=1 glxinfo

Changed in xorg-server (Ubuntu):
status: Confirmed → Triaged
importance: Medium → High
assignee: nobody → Maarten Lankhorst (mlankhorst)
Revision history for this message
Maarten Lankhorst (mlankhorst) wrote :

Bad behavior was introduced by using glamor-egl, but not caused by it. The real problem is duplicate TLS symbols, and the fix is including glapi directly in libglx. This causes only the definition from libglapi to be used, which means no more duplicate symbols.

Changed in glamor-egl (Ubuntu):
status: New → Invalid
Changed in mesa (Ubuntu):
status: New → Fix Committed
Changed in xorg-server (Ubuntu):
status: Triaged → Fix Committed
Changed in mesa (Ubuntu):
assignee: nobody → Maarten Lankhorst (mlankhorst)
importance: Undecided → Critical
Changed in xorg-server (Ubuntu):
importance: High → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 9.2-1ubuntu3

---------------
mesa (9.2-1ubuntu3) saucy; urgency=low

  * Create a libglapi.so symlink. (LP: #1232000)
 -- Maarten Lankhorst <email address hidden> Tue, 01 Oct 2013 13:09:38 +0200

Changed in mesa (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg-server - 2:1.14.2.901-2ubuntu7

---------------
xorg-server (2:1.14.2.901-2ubuntu7) saucy; urgency=low

  * Make glx link against glapi for the dispatch table symbols. (LP: #1232000)
  * Cherry pick a few related glx fixes from upstream.
 -- Maarten Lankhorst <email address hidden> Tue, 01 Oct 2013 13:30:59 +0200

Changed in xorg-server (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.