| 
 | 
 
I am runing a heavy Java GUI program with Eclipse SWT GUI package. But program hangs and crashes randomly. I think it's X11 related. It happens on both Orange Pi's Ubuntu and Debian. Note that this does not happen on Armbian. It runs perfectly without a problem.  
Java runtime dump is as follows; 
 
 
 
- #
 
 - # A fatal error has been detected by the Java Runtime Environment:
 
 - #
 
 - #  SIGSEGV (0xb) at pc=0x0000007fa14bcd34, pid=14063, tid=14064
 
 - #
 
 - # JRE version: OpenJDK Runtime Environment Temurin-21.0.1+12 (21.0.1+12) (build 21.0.1+12-LTS)
 
 - # Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (21.0.1+12-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
 
 - # Problematic frame:
 
 - # C  [libc.so.6+0x3cd34]
 
 - #
 
 
  Copy code- ---------------  T H R E A D  ---------------
 
  
- Current thread (0x0000007f98028160):  JavaThread "main"             [_thread_in_native, id=14064, stack(0x0000007f9fdc2000,0x0000007f9ffc0000) (2040K)]
 
  
- Stack: [0x0000007f9fdc2000,0x0000007f9ffc0000],  sp=0x0000007f9ffb79c0,  free space=2006k
 
 - Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
 
 - C  [libc.so.6+0x3cd34]
 
 - C  [libc.so.6+0x3cf0c]
 
 - C  [libX11.so.6+0x3cc30]  _XDefaultIOError+0x0
 
 - C  [libX11.so.6+0x40010]  _XIOError+0x70
 
 - C  [libX11.so.6+0x44e3c]  _XReply+0x3bc
 
 - C  [libX11.so.6+0x44fcc]  XSync+0x5c
 
 - C  [libcairo.so.2+0x9d298]
 
 - C  [libcairo.so.2+0x9e194]
 
 - C  [libcairo.so.2+0x9b494]
 
 - C  [libcairo.so.2+0x6f470]
 
 - C  [libcairo.so.2+0x34f98]
 
 - C  [libcairo.so.2+0x35454]
 
 - C  [libcairo.so.2+0x62f94]
 
 - C  [libcairo.so.2+0x636e0]
 
 - C  [libcairo.so.2+0x2434c]
 
 - C  [libcairo.so.2+0x6f770]
 
 - C  [libcairo.so.2+0x2bf24]
 
 - C  [libcairo.so.2+0x7d514]  cairo_paint+0x24
 
 - C  [libswt-cairo-gtk-4963r5.so+0x6b00]  Java_org_eclipse_swt_internal_cairo_Cairo_cairo_1paint+0x10
 
 - J 2148  org.eclipse.swt.internal.cairo.Cairo.cairo_paint(J)V (0 bytes) @ 0x0000007f8845e3e4 [0x0000007f8845e340+0x00000000000000a4]
 
 - C  0x0000007f9ffb9310
 
 - Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
 
 - J 2148  org.eclipse.swt.internal.cairo.Cairo.cairo_paint(J)V (0 bytes) @ 0x0000007f8845e3e4 [0x0000007f8845e340+0x00000000000000a4]
 
 - J 2082 c2 org.eclipse.swt.graphics.Image.getImageDataAtCurrentZoom()Lorg/eclipse/swt/graphics/ImageData; (468 bytes) @ 0x0000007f8842a274 [0x0000007f8842a040+0x0000000000000234]
 
 
  Copy code 
 
 
 |   
This thread contains more resources
You need to Log in to download or view,No account?   
  Register  
 
x
 
 
 
 
 |