got a fatal error when using jogl

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

got a fatal error when using jogl

george2008
got a fatal error when using jogl, see my attached file [hs_err_pid1732.log].

any help will be appreciated.

hs_err_pid1732.log

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd2ec34abaf, pid=1732, tid=140545088489216
#
# JRE version: Java(TM) SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.20-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libGLX_nvidia.so.0+0x57baf]

Stack: [0x00007fd334030000,0x00007fd334131000],  sp=0x00007fd33412d1c0,  free space=1012k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libGLX_nvidia.so.0+0x57baf]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 7266  jogamp.opengl.x11.glx.GLX.dispatch_glXMakeContextCurrent0(JJJJJ)Z (0 bytes) @ 0x00007fd3de51ddce [0x00007fd3de51dd80+0x4e]
J 12757 C2 jogamp.opengl.x11.glx.X11GLXContext.glXMakeContextCurrent(JJJJ)Z (159 bytes) @ 0x00007fd3de9bfc78 [0x00007fd3de9bfbe0+0x98]
j  jogamp.opengl.x11.glx.X11GLXContext.createContextARBImpl(JZIII)J+461
j  jogamp.opengl.GLContextImpl.createContextARB(JZ)J+333
j  jogamp.opengl.x11.glx.X11GLXContext.createImpl(J)Z+611
J 12945 C2 jogamp.opengl.GLContextImpl.makeCurrentWithinLock(I)I (795 bytes) @ 0x00007fd3df3750b4 [0x00007fd3df374d80+0x334]
J 12644 C2 jogamp.opengl.GLContextImpl.makeCurrent(Z)I (1020 bytes) @ 0x00007fd3df622620 [0x00007fd3df622300+0x320]
J 12652 C2 jogamp.opengl.GLContextImpl.makeCurrent()I (6 bytes) @ 0x00007fd3de0d2cd4 [0x00007fd3de0d2ca0+0x34]
j  com.jogamp.opengl.awt.GLJPanel$OffscreenBackend.initialize()V+402
j  com.jogamp.opengl.awt.GLJPanel.initializeBackendImpl()Z+358
J 12975 C2 com.jogamp.opengl.awt.GLJPanel.paintComponent(Ljava/awt/Graphics;)V (250 bytes) @ 0x00007fd3de985110 [0x00007fd3de984bc0+0x550]
J 7709 C2 javax.swing.JComponent.paint(Ljava/awt/Graphics;)V (409 bytes) @ 0x00007fd3dd9f031c [0x00007fd3dd9ef880+0xa9c]
J 12697 C2 com.sz.uiapp.shared.imagedisplay.BMCanvas.paint(Ljava/awt/Graphics;)V (37 bytes) @ 0x00007fd3de0f5e5c [0x00007fd3de0f5e20+0x3c]
J 12542 C2 javax.swing.JComponent._paintImmediately(IIII)V (891 bytes) @ 0x00007fd3df5bd0c8 [0x00007fd3df5bb380+0x1d48]
J 9354 C2 javax.swing.JComponent.paintImmediately(IIII)V (155 bytes) @ 0x00007fd3deab5c40 [0x00007fd3deab59e0+0x260]
J 9743 C2 javax.swing.RepaintManager$4.run()Ljava/lang/Object; (5 bytes) @ 0x00007fd3de39bb18 [0x00007fd3de39b920+0x1f8]
v  ~StubRoutines::call_stub
Reply | Threaded
Open this post in threaded view
|

Re: got a fatal error when using jogl

gouessej
Administrator
Hi

If you really want to get some help, please provide a lot more information, a small test case, some information about your configuration.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: got a fatal error when using jogl

george2008
this is a occasional issue, cannot reproduce easily.

when drag/move rectangle edges (drawing by jogl) on GLJPanel, my app disappear suddenly.  That log is the only thing I can find.
Reply | Threaded
Open this post in threaded view
|

Re: got a fatal error when using jogl

gouessej
Administrator
If we can't reproduce your bug, we can't fix it. Please provide a test case, indicate which JRE you use, your operating system, etc:
http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: got a fatal error when using jogl

george2008
cannot find any version but java. maybe my steps are wrong, how to run this script "test.sh"?

2018-01-16_155437.png
Reply | Threaded
Open this post in threaded view
|

Re: got a fatal error when using jogl

gouessej
Administrator
Thank you. Please use JOGL 2.3.2. You seem to be using JOGL 2.3.1.
Julien Gouesse | Personal blog | Website