Posted by
Sven Gothel on
Feb 25, 2014; 4:59am
URL: https://forum.jogamp.org/Crash-using-MESA-drivers-tp4031717p4031720.html
On 02/24/2014 10:57 PM, eban [via jogamp] wrote:
> Hi,
>
> After switching to JOGL 2.1.3, we found out that this configuration lead to a
> crash:
> Linux virtual box (
https://www.virtualbox.org/) with MESA drivers.
>
> The crash occurs while running the 'test.sh' too.
>
> We have reproduced it with 2.1.4 and several JVMs.
Pls give more detail about:
- Linux, Mesa and VBox version
- Assuming you say Mesa, I guess it's software rendering,
i.e. not VBox hw-accel driver.
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGSEGV (0xb) at pc=0x00007f5c873f3590, pid=4861, tid=140034577839872
> #
> # JRE version: OpenJDK Runtime Environment (7.0_51) (build 1.7.0_51-b00)
> # Java VM: OpenJDK 64-Bit Server VM (24.45-b08 mixed mode linux-amd64
> compressed oops)
> # Problematic frame:
> # V [libjvm.so+0x5d5590] jni_IsInstanceOf+0xa0
> #
...
> Stack: [0x00007f5c5734b000,0x00007f5c5744c000], sp=0x00007f5c5744a300, free
> space=1020k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
> V [libjvm.so+0x5d5590] jni_IsInstanceOf+0xa0
> V [libjvm.so+0x5e7a42] jni_GetDirectBufferAddress+0x82
> C [libnativewindow_x11.so+0x3d7c]
> Java_jogamp_nativewindow_x11_X11Lib_XRenderFindVisualFormat1+0x3a
> j
> jogamp.nativewindow.x11.X11Lib.XRenderFindVisualFormat1(JJ)Ljava/nio/ByteBuffer;+0
>
> j
> jogamp.nativewindow.x11.X11Lib.XRenderFindVisualFormat(JJ)Ljogamp/nativewindow/x11/XRenderPictFormat;+2
>
> j
This looks pretty generic and quite 'fishy' ..
However it does involve a X11 native method it seems.
Pls be so kind an create a bug report w/ all the above information
incl. your attachement and my post here.
Thank you.
~Sven