java crashed with SIGABRT in XQueryExtension()

Bug #933846 reported by villejuho
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx
New
Undecided
Unassigned
fglrx-installer (Ubuntu)
New
Undecided
Unassigned
java3d (Ubuntu)
New
Undecided
Unassigned
openjdk-7 (Ubuntu)
Invalid
Medium
Unassigned

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
StacktraceTop:
 XQueryExtension () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 XInitExtension () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 XextAddDisplay () from /usr/lib/x86_64-linux-gnu/libXext.so.6
 ?? () from /usr/lib/fglrx/libGL.so.1
 ?? () from /usr/lib/fglrx/libGL.so.1
Title: java crashed with SIGABRT in XQueryExtension()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
villejuho (villejuho) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 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/libGL.so.1
 ?? () from /tmp/tmpTpULAx/usr/lib/fglrx/libGL.so.1

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in openjdk-7 (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Matthias Klose (doko)
visibility: private → public
Revision history for this message
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:
https://github.com/hharrison/java3d-core

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:
https://jogamp.org/git/?p=jogl.git;a=commit;h=f2cfb6119a3663715ed2d572643949b3bef58662

Changed in openjdk-7 (Ubuntu):
status: New → Invalid
Revision history for this message
Xerxes Rånby (xranby) wrote :

Testcase for the fglrx driver to trigger the bug:

wget https://jogamp.org/git/?p=jogl.git\;a=blob_plain\;f=src/test-native/displayMultiple02.c -O displayMultiple02.c
gcc -o displayMultiple02 displayMultiple02.c -lX11 -lGL
./displayMultiple02

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.