Bug 986

Summary: Crash using MESA drivers on VirtualBox OpenSuse
Product: [JogAmp] Jogl Reporter: eban <ivan.boelle>
Component: x11Assignee: Sven Gothel <sgothel>
Status: UNCONFIRMED ---    
Severity: normal CC: ivan.boelle
Priority: ---    
Version: 2   
Hardware: All   
OS: linux   
Type: --- SCM Refs:
Workaround: ---
Attachments: Hs_error log
test,sh output
OS infos
Display infos

Description eban 2014-02-25 19:05:58 CET
Created attachment 601 [details]
Hs_error log

Running test.sh crashes on this configuration:
OpenSUSE 13.1, with VBox 3D acceleration enabled.  
Mesa version is 9.2.3-61.9.1.x86_64
Comment 1 eban 2014-02-25 19:06:19 CET
Created attachment 602 [details]
test,sh output
Comment 2 eban 2014-02-25 19:06:37 CET
Created attachment 603 [details]
OS infos
Comment 3 eban 2014-02-25 19:06:55 CET
Created attachment 604 [details]
Display infos
Comment 4 eban 2014-02-25 19:07:37 CET
Sven Gothel comment: (http://forum.jogamp.org/Crash-using-MESA-drivers-td4031717.html)

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
> #
... [show rest of quote]
«  [hide part of quote]
...

> 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
... [show rest of quote]
This looks pretty generic and quite 'fishy' ..
«  [hide part of quote]
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
Comment 5 eban 2014-02-25 19:08:24 CET
(In reply to comment #0)
> Created attachment 601 [details]
> Hs_error log
> 
> Running test.sh crashes on this configuration:
> OpenSUSE 13.1, with VBox 3D acceleration enabled.  
> Mesa version is 9.2.3-61.9.1.x86_64

Note that the crash was not occuring in version 2.1.2
Comment 6 eban 2014-02-25 20:27:39 CET
VBox version is 4.3.6 r91406
Comment 7 Sven Gothel 2014-03-10 22:04:02 CET
virtualbox-4.3_4.3.8-92456
  - Host Debian 8 (Jessie)
    - Host GPU: NV w/ NV proprietary driver

  - Guest Debian 7 (Wheezy)
    - Mesa 8.0.5 LLVM:
        - Onscreen: OK
        - FBO: OK
        - FBO.MSAA: NO
        - PBuffer: OK
        - Bitmap: OK

    - 3D Accel (Chromium 1.9):
        - Onscreen: OK
        - FBO: NO
        - FBO.MSAA: NO
        - PBuffer: NO
        - Bitmap: NO

Testing w/ Debian 8 (Jessie) now ..
Comment 8 eban 2014-03-11 15:20:49 CET
Have you reproduced it so far ?