jzy3d / jogl

Mirror of https://jogamp.org/cgit/jogl.git/
Other
6 stars 2 forks source link

WorldWind get a JVM crash on Debian 5.10 #22

Open jzy3d opened 2 years ago

jzy3d commented 2 years ago

Sonicblow said on Jogamp forum

i did try to use JOGL-2.4.0-rc4 with my worldwind app, but there are constantly jvm crashes on debian 5.10 and integrated video from i5-10210U

Mesa Intel(R) UHD Graphics (CML GT2) 4.6 (Compatibility Profile) Mesa 20.3.3

some version of 2.4.0 jars from worldwind github works fine (https://github.com/NASAWorldWind/WorldWindJava)

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000730ec7fb6764, pid=6935, tid=6971
#
# JRE version: OpenJDK Runtime Environment (17.0.2+9) (build 17.0.2+9-LTS)
# Java VM: OpenJDK 64-Bit Server VM (17.0.2+9-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libc.so.6+0x15c764]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   https://bell-sw.com/support
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -XX:MinRAMPercentage=15 -XX:MaxRAMPercentage=75 -XX:+UseGCOverheadLimit -XX:+CrashOnOutOfMemoryError -Dfile.encoding=UTF8 --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED --add-opens=java.desktop/java.awt.geom=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.beans=ALL-UNNAMED --add-opens=java.desktop/javax.swing.table=ALL-UNNAMED --add-opens=java.desktop/com.sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.swing=ALL-UNNAMED --add-opens=java.desktop/sun.font=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED --add-opens=java.desktop/com.apple.laf=ALL-UNNAMED 

Host: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz, 8 cores, 15G, Debian 5.10 x86-64
Time: Fri Jan 28 10:26:42 2022 MSK elapsed time: 47.761481 seconds (0d 0h 0m 47s)

---------------  T H R E A D  ---------------

Current thread (0x0000730eb8c04e60):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=6971, stack(0x0000730e3603b000,0x0000730e3613c000)]

Stack: [0x0000730e3603b000,0x0000730e3613c000],  sp=0x0000730e36138a28,  free space=1014k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x15c764]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 7883  jogamp.opengl.gl4.GL4bcImpl.dispatch_glReadPixels1(IIIIIILjava/lang/Object;IZJ)V (0 bytes) @ 0x0000730ea7edcc21 [0x0000730ea7edcba0+0x0000000000000081]
J 7881 c1 jogamp.opengl.gl4.GL4bcImpl.glReadPixels(IIIIIILjava/nio/Buffer;)V (121 bytes) @ 0x0000730ea1477a54 [0x0000730ea1477000+0x0000000000000a54]
J 7880 c1 gov.nasa.worldwind.render.DrawContextImpl.getPickColorAtPoint(Ljava/awt/Point;)I (177 bytes) @ 0x0000730ea1475314 [0x0000730ea1474600+0x0000000000000d14]
J 8017 c1 gov.nasa.worldwind.pick.PickSupport.getTopObject(Lgov/nasa/worldwind/render/DrawContext;Ljava/awt/Point;)Lgov/nasa/worldwind/pick/PickedObject; (53 bytes) @ 0x0000730ea14dac44 [0x0000730ea14da860+0x00000000000003e4]
J 8531 c1 gov.nasa.worldwind.terrain.SectorGeometryList.pick(Lgov/nasa/worldwind/render/DrawContext;Ljava/util/List;)Ljava/util/List; (577 bytes) @ 0x0000730ea1670e64 [0x0000730ea166f0c0+0x0000000000001da4]
j  gov.nasa.worldwind.AbstractSceneController.pickTerrain(Lgov/nasa/worldwind/render/DrawContext;)V+120
j  gov.nasa.worldwind.AbstractSceneController.pick(Lgov/nasa/worldwind/render/DrawContext;)V+26
j  gov.nasa.worldwind.BasicSceneController.doNormalRepaint(Lgov/nasa/worldwind/render/DrawContext;)V+27
j  gov.nasa.worldwind.BasicSceneController.doRepaint(Lgov/nasa/worldwind/render/DrawContext;)V+44
J 9240 c1 gov.nasa.worldwind.AbstractSceneController.repaint()I (408 bytes) @ 0x0000730ea1888504 [0x0000730ea1887f60+0x00000000000005a4]
J 9237 c1 gov.nasa.worldwind.WorldWindowGLAutoDrawable.display(Lcom/jogamp/opengl/GLAutoDrawable;)V (540 bytes) @ 0x0000730ea187bf8c [0x0000730ea187a020+0x0000000000001f6c]
J 9236 c1 jogamp.opengl.GLDrawableHelper.displayImpl(Lcom/jogamp/opengl/GLAutoDrawable;)V (86 bytes) @ 0x0000730ea187889c [0x0000730ea1878060+0x000000000000083c]
J 8961 c1 com.jogamp.opengl.awt.GLCanvas$11.run()V (122 bytes) @ 0x0000730ea17a435c [0x0000730ea17a3d60+0x00000000000005fc]
J 10430 c1 jogamp.opengl.GLDrawableHelper.invokeGLImpl(Lcom/jogamp/opengl/GLDrawable;Lcom/jogamp/opengl/GLContext;Ljava/lang/Runnable;Ljava/lang/Runnable;)V (579 bytes) @ 0x0000730ea1311084 [0x0000730ea1310560+0x0000000000000b24]
J 10429 c1 jogamp.opengl.GLDrawableHelper.invokeGL(Lcom/jogamp/opengl/GLDrawable;Lcom/jogamp/opengl/GLContext;Ljava/lang/Runnable;Ljava/lang/Runnable;)V (76 bytes) @ 0x0000730ea097287c [0x0000730ea09727c0+0x00000000000000bc]
J 10425 c1 com.jogamp.opengl.awt.GLCanvas$12.run()V (126 bytes) @ 0x0000730ea08e3954 [0x0000730ea08e3400+0x0000000000000554]
J 9235 c1 com.jogamp.opengl.awt.GLCanvas.display()V (68 bytes) @ 0x0000730ea18779b4 [0x0000730ea1877640+0x0000000000000374]
J 9233 c1 com.jogamp.opengl.awt.GLCanvas.paint(Ljava/awt/Graphics;)V (141 bytes) @ 0x0000730ea187606c [0x0000730ea1875380+0x0000000000000cec]
J 9232 c1 gov.nasa.worldwind.awt.WorldWindowGLCanvas.paint(Ljava/awt/Graphics;)V (13 bytes) @ 0x0000730ea1874e04 [0x0000730ea1874d40+0x00000000000000c4]
J 10453 c1 com.jogamp.opengl.awt.GLCanvas.update(Ljava/awt/Graphics;)V (6 bytes) @ 0x0000730ea0f1bbbc [0x0000730ea0f1bac0+0x00000000000000fc]
J 10451 c1 sun.awt.X11.XRepaintArea.updateComponent(Ljava/awt/Component;Ljava/awt/Graphics;)V java.desktop@17.0.2 (11 bytes) @ 0x0000730ea0932b7c [0x0000730ea09329c0+0x00000000000001bc]
J 9069 c1 sun.awt.RepaintArea.paint(Ljava/lang/Object;Z)V java.desktop@17.0.2 (354 bytes) @ 0x0000730ea17fffec [0x0000730ea17ff0e0+0x0000000000000f0c]
J 7812 c1 sun.awt.X11.XComponentPeer.handleEvent(Ljava/awt/AWTEvent;)V java.desktop@17.0.2 (245 bytes) @ 0x0000730ea144afac [0x0000730ea14495e0+0x00000000000019cc]
J 7438 c1 java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V java.desktop@17.0.2 (777 bytes) @ 0x0000730ea134639c [0x0000730ea1341160+0x000000000000523c]
J 9873 c2 java.awt.EventQueue$4.run()Ljava/lang/Object; java.desktop@17.0.2 (5 bytes) @ 0x0000730ea804fbcc [0x0000730ea804f6e0+0x00000000000004ec]
J 9713 c2 java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V java.desktop@17.0.2 (80 bytes) @ 0x0000730ea801cd6c [0x0000730ea801c8e0+0x000000000000048c]
J 10953 c2 java.awt.EventDispatchThread.pumpOneEventForFilters(I)V java.desktop@17.0.2 (113 bytes) @ 0x0000730ea81715e0 [0x0000730ea81711e0+0x0000000000000400]
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35 java.desktop@17.0.2
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 java.desktop@17.0.2
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 java.desktop@17.0.2
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 java.desktop@17.0.2
j  java.awt.EventDispatchThread.run()V+9 java.desktop@17.0.2
v  ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000730dcc6de268

Register to memory mapping:

RAX=0x0000730e14d6f908 points into unknown readable memory: 0x0000730e140006c0 | c0 06 00 14 0e 73 00 00
RBX=0x0000000000000200 is an unknown value
RCX=0x0 is NULL
RDX=0x0000000000000004 is an unknown value
RSP=0x0000730e36138a28 is pointing into the stack for thread: 0x0000730eb8c04e60
RBP=0x000000000000006c is an unknown value
RSI=0x0000730dcc6de268 is an unknown value
RDI=0x0000730e14d6f908 points into unknown readable memory: 0x0000730e140006c0 | c0 06 00 14 0e 73 00 00
R8 =0x0000000000000001 is an unknown value
R9 =0x0000000000000400 is an unknown value
R10=0x0000730e14d6f8a0 points into unknown readable memory: 0x00000000b2da2033 | 33 20 da b2 00 00 00 00
R11=0x0000000000000062 is an unknown value
R12=0x000000000000006c is an unknown value
R13=0x0000730dcc6de000 is an unknown value
R14=0x000000000000006c is an unknown value
R15=0x0000730e14d6f8a0 points into unknown readable memory: 0x00000000b2da2033 | 33 20 da b2 00 00 00 00

Registers:
RAX=0x0000730e14d6f908, RBX=0x0000000000000200, RCX=0x0000000000000000, RDX=0x0000000000000004
RSP=0x0000730e36138a28, RBP=0x000000000000006c, RSI=0x0000730dcc6de268, RDI=0x0000730e14d6f908
R8 =0x0000000000000001, R9 =0x0000000000000400, R10=0x0000730e14d6f8a0, R11=0x0000000000000062
R12=0x000000000000006c, R13=0x0000730dcc6de000, R14=0x000000000000006c, R15=0x0000730e14d6f8a0
RIP=0x0000730ec7fb6764, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x0000730e36138a28)
0x0000730e36138a28:   0000730ddeecc696 0000000000000046
0x0000730e36138a38:   0000000000000068 0000000000000000
0x0000730e36138a48:   0000730d00000400 0000000000001400
0x0000730e36138a58:   0000000000000000 0000000000000068 

Instructions: (pc=0x0000730ec7fb6764)
0x0000730ec7fb6664:   82 c7 c2 fa ff 0f 1f 80 00 00 00 00 48 89 f8 48
0x0000730ec7fb6674:   83 fa 20 0f 82 a5 00 00 00 48 83 fa 40 0f 87 08
0x0000730ec7fb6684:   01 00 00 c5 fe 6f 06 c5 fe 6f 4c 16 e0 c5 fe 7f
0x0000730ec7fb6694:   07 c5 fe 7f 4c 17 e0 c5 f8 77 c3 90 48 39 d1 0f
0x0000730ec7fb66a4:   82 87 c2 fa ff 0f 1f 80 00 00 00 00 48 89 f8 48
0x0000730ec7fb66b4:   01 d0 eb 1b 0f 1f 84 00 00 00 00 00 48 39 d1 0f
0x0000730ec7fb66c4:   82 67 c2 fa ff 0f 1f 80 00 00 00 00 48 89 f8 48
0x0000730ec7fb66d4:   83 fa 20 72 49 48 83 fa 40 0f 87 9f 00 00 00 c5
0x0000730ec7fb66e4:   fe 6f 06 c5 fe 6f 4c 16 e0 c5 fe 7f 07 c5 fe 7f
0x0000730ec7fb66f4:   4c 17 e0 c5 f8 77 c3 48 3b 15 76 3d 06 00 0f 83
0x0000730ec7fb6704:   25 01 00 00 48 39 f7 72 0f 74 12 4c 8d 0c 16 4c
0x0000730ec7fb6714:   39 cf 0f 82 c5 01 00 00 48 89 d1 f3 a4 c3 80 fa
0x0000730ec7fb6724:   10 73 17 80 fa 08 73 27 80 fa 04 73 33 80 fa 01
0x0000730ec7fb6734:   77 3b 72 05 0f b6 0e 88 0f c3 c5 fa 6f 06 c5 fa
0x0000730ec7fb6744:   6f 4c 16 f0 c5 fa 7f 07 c5 fa 7f 4c 17 f0 c3 48
0x0000730ec7fb6754:   8b 4c 16 f8 48 8b 36 48 89 4c 17 f8 48 89 37 c3
0x0000730ec7fb6764:   8b 4c 16 fc 8b 36 89 4c 17 fc 89 37 c3 0f b7 4c
0x0000730ec7fb6774:   16 fe 0f b7 36 66 89 4c 17 fe 66 89 37 c3 48 81
0x0000730ec7fb6784:   fa 00 10 00 00 0f 87 6c ff ff ff 48 81 fa 00 01
0x0000730ec7fb6794:   00 00 0f 87 91 00 00 00 48 81 fa 80 00 00 00 72
0x0000730ec7fb67a4:   5a c5 fe 6f 06 c5 fe 6f 4e 20 c5 fe 6f 56 40 c5
0x0000730ec7fb67b4:   fe 6f 5e 60 c5 fe 6f 64 16 e0 c5 fe 6f 6c 16 c0
0x0000730ec7fb67c4:   c5 fe 6f 74 16 a0 c5 fe 6f 7c 16 80 c5 fe 7f 07
0x0000730ec7fb67d4:   c5 fe 7f 4f 20 c5 fe 7f 57 40 c5 fe 7f 5f 60 c5
0x0000730ec7fb67e4:   fe 7f 64 17 e0 c5 fe 7f 6c 17 c0 c5 fe 7f 74 17
0x0000730ec7fb67f4:   a0 c5 fe 7f 7c 17 80 c5 f8 77 c3 c5 fe 6f 06 c5
0x0000730ec7fb6804:   fe 6f 4e 20 c5 fe 6f 54 16 e0 c5 fe 6f 5c 16 c0
0x0000730ec7fb6814:   c5 fe 7f 07 c5 fe 7f 4f 20 c5 fe 7f 54 17 e0 c5
0x0000730ec7fb6824:   fe 7f 5c 17 c0 c5 f8 77 c3 48 39 f7 0f 87 ab 00
0x0000730ec7fb6834:   00 00 0f 84 e5 fe ff ff c5 fe 6f 26 c5 fe 6f 6c
0x0000730ec7fb6844:   16 e0 c5 fe 6f 74 16 c0 c5 fe 6f 7c 16 a0 c5 7e
0x0000730ec7fb6854:   6f 44 16 80 49 89 fb 48 8d 4c 17 e0 49 89 f8 49 

Stack slot to memory mapping:
stack at sp + 0 slots: 0x0000730ddeecc696: <offset 0x0000000000e28696> in /usr/lib/x86_64-linux-gnu/dri/iris_dri.so at 0x0000730dde0a4000
stack at sp + 1 slots: 0x0000000000000046 is an unknown value
stack at sp + 2 slots: 0x0000000000000068 is an unknown value
stack at sp + 3 slots: 0x0 is NULL
stack at sp + 4 slots: 0x0000730d00000400 is an unknown value
stack at sp + 5 slots: 0x0000000000001400 is an unknown value
stack at sp + 6 slots: 0x0 is NULL
stack at sp + 7 slots: 0x0000000000000068 is an unknown value