java crashed with SIGABRT in XQueryExtension()

Bug #933846 reported by villejuho on 2012-02-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
java3d (Ubuntu)
openjdk-7 (Ubuntu)

Bug Description

Happens every time i close electric.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: openjdk-7-jre-headless 7~b147-2.0-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Fri Feb 17 00:29:36 2012
ExecutablePath: /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120214)
ProcCmdline: /usr/lib/jvm/java-7-openjdk-amd64/bin/java -classpath :/usr/share/java/bsh.jar:/usr/share/java/electric.jar:/usr/share/java/vecmath.jar:/usr/share/java/j3dcore.jar:/usr/share/java/j3dutils.jar com.sun.electric.Launcher
Signal: 6
SourcePackage: openjdk-7
 XQueryExtension () from /usr/lib/x86_64-linux-gnu/
 XInitExtension () from /usr/lib/x86_64-linux-gnu/
 XextAddDisplay () from /usr/lib/x86_64-linux-gnu/
 ?? () from /usr/lib/fglrx/
 ?? () from /usr/lib/fglrx/
Title: java crashed with SIGABRT in XQueryExtension()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

villejuho (villejuho) wrote :

 XQueryExtension (dpy=0xffffffffa4000cb0, name=0x7f63e2578452 "GLX", major_opcode=0x7f642824f614, first_event=0x7f642824f618, first_error=0x7f642824f61c) at ../../src/QuExt.c:43
 XInitExtension (dpy=0xffffffffa4000cb0, name=0x7f63e2578452 "GLX") at ../../src/InitExt.c:47
 XextAddDisplay (extinfo=0x7f63a400d140, dpy=0xffffffffa4000cb0, ext_name=0x7f63e2578452 "GLX", hooks=0x7f63e26b0d40, nevents=17, data=0x0) at ../../src/extutil.c:110
 ?? () from /tmp/tmpTpULAx/usr/lib/fglrx/
 ?? () from /tmp/tmpTpULAx/usr/lib/fglrx/

Changed in openjdk-7 (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Matthias Klose (doko) on 2012-09-03
visibility: private → public
Xerxes Rånby (xranby) wrote :

This crash is caused by a bug in the AMD/ATI fglrx driver, it is possible for the Java OpenGL binding to workaround the issue:

Java 3D is using an internal version of JOGL 1 for its OpenGL bindings that is unmaintained after Oracle have stopped development. Unfortunally this internal JOGL 1 version do now know how to workaround the latest fglrx driver limitations.

Fixing electric would require that Java 3D itelf gets ported over to use libjogl2-java JogAmp JOGL 2 that is actively supported.
hharrison is working on a JogAmp JOGL 2 port of Java3D here:

By using hharrison's Java 3D work that uses JogAmp JOGL 2 then it would be possible to use the
upstream libjogl2-java fix for the AMD/ATI fglrx crash:;a=commit;h=f2cfb6119a3663715ed2d572643949b3bef58662

Changed in openjdk-7 (Ubuntu):
status: New → Invalid
Xerxes Rånby (xranby) wrote :

Testcase for the fglrx driver to trigger the bug:

wget\;a=blob_plain\;f=src/test-native/displayMultiple02.c -O displayMultiple02.c
gcc -o displayMultiple02 displayMultiple02.c -lX11 -lGL

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers