Skip to contentSkip to conversation

New: R600: libGL crashes using Lwjgl

Bug 29393 [email protected] 1 participant 5 messages Aug 4, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=29393

Summary: R600: libGL crashes using Lwjgl
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=37560)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37560)
Full Java error log

Lwjgl is a Java binding to OpenGL. Any Lwjgl application or demo crashes libGL.so and forces the Java VM to abort.

This is the output from Java:

Could not locate symbol glXCreateContextAttribsARB
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb00434a8, pid=19189, tid=2954230640 #
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) Server VM (17.0-b16 mixed mode linux-x86 ) # Problematic frame:
# C [libGL.so.1+0x424a8]
#
# An error report file with more information is saved as:

# /root/hs_err_pid19189.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

I'm attaching the mentioned hs_err_pid19189.log

I'm using the latest git version of Mesa with a Radeon 4850. KMS is enabled. I'm using the Sun/Oracle JDK, not OpenJDK or IcedTea. I've confirmed that this works on Mesa 7.8.2. It worked on earlier version of 7.9, but sometime in the last few weeks it stopped working. I've been working on my own Lwjgl application, so when I ran into this error I downgraded Mesa to 7.8, but I still have 7.9 in a chroot which I can do further testing on.

There are demo applications here:
http://lwjgl.org/demos.php

I used GLGears.
To run a jnlp file from the command line:
javaws test.opengl.Gears

Thanks.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 29393] R600: libGL crashes using Lwjgl

https://bugs.freedesktop.org/show_bug.cgi?id=29393

--- Comment #1 from Casey Jones <[email protected]> 2010-08-03 18:07:16 PDT --- I also tried r600g in my chroot just for kicks, and it crashes as well. Plain old glxgears worked, but the Lwjgl version does not.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 29393] R600: libGL crashes using Lwjgl

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29393

--- Comment #3 from Casey Jones <[email protected]> 2010-08-03 19:26:51 PDT --- This is what I got.

f8d81c31cee30821da3aab331a57f484f6a07a5d is the first bad commit commit f8d81c31cee30821da3aab331a57f484f6a07a5d

Author: Nick Bowler <[email protected]>
Date:   Wed Jul 14 12:01:49 2010 -0400

dri2: Track event mask in client code.

When direct rendering is being used, DRI2 BufferSwapComplete events are sent unconditionally to clients, even if they haven't been requested. This causes error messages to be printed by every freeglut application of the form

freeglut (./gears): Unknown X event type: 104

and might confuse other clients.

This is a fixed up version of the patch by Jesse Barnes, which drops BufferSwapComplete events if they are not requested by clients.

Fixes fdo bug 27962.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 29393] R600: libGL crashes using Lwjgl

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=29393

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Drivers/DRI/R600            |GLX
         AssignedTo|[email protected] |[email protected].
                   |.org                        |org
                 CC|                            |[email protected]

--- Comment #4 from Alex Deucher <[email protected]> 2010-08-03 21:21:23 PDT --- This looks like a glx bug rather than a driver bug.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.