Closed mknj closed 2 years ago
Which distribution are you running the i3 window manager on?
I'll probably need to reproduce it locally to see what is going on as the core dump shown is on the JVM side and not very informative.
I am using ubuntu 21.04. The log file contains the below info.
--------------- S U M M A R Y ------------
Command Line: --add-modules=javafx.controls,javafx.graphics --module-path=/home/bob/.gradle/caches/modules-2/files-2.1/org.openjfx/javafx-controls/17/851a1896fbd8548fb3671aa689b305b2cfad956a/javafx-controls-17-linux.jar:/home/bob/.gradle/caches/modules-2/files-2.1/org.openjfx/javafx-graphics/17/88dc59568c14ec37ea1c42b3ba472d78b4b1030a/javafx-graphics-17-linux.jar:/home/bob/.gradle/caches/modules-2/files-2.1/org.openjfx/javafx-base/17/476c7640c2320244d3156edbbc19a7eda275c1ed/javafx-base-17-linux.jar -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant dev.villanueva.userland_utility.MainKt
Host: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 8 cores, 15G, Ubuntu 21.04
Time: Thu Dec 23 18:26:35 2021 CET elapsed time: 1.118097 seconds (0d 0h 0m 1s)
--------------- T H R E A D ---------------
Current thread (0x00007fa7f81c4800): JavaThread "JavaFX Application Thread" [_thread_in_native, id=24907, stack(0x00007fa7e58d4000,0x00007fa7e59d5000)]
Stack: [0x00007fa7e58d4000,0x00007fa7e59d5000], sp=0x00007fa7e59d2c88, free space=1019k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libpthread.so.0+0xb654] pthread_mutex_lock+0x4
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.glass.ui.gtk.GtkWindow._setCursorType(JI)V+0 javafx.graphics
j com.sun.glass.ui.gtk.GtkWindow._setCursor(JLcom/sun/glass/ui/Cursor;)V+22 javafx.graphics
j com.sun.glass.ui.Window.setCursor(Lcom/sun/glass/ui/Cursor;)V+9 javafx.graphics
j com.sun.javafx.tk.quantum.ViewScene.lambda$setCursor$1(Ljava/lang/Object;)V+34 javafx.graphics
j com.sun.javafx.tk.quantum.ViewScene$$Lambda$410.run()V+8 javafx.graphics
j com.sun.glass.ui.InvokeLaterDispatcher$Future.run()V+4 javafx.graphics
v ~StubRoutines::call_stub
j com.sun.glass.ui.gtk.GtkApplication._runLoop(Ljava/lang/Runnable;Z)V+0 javafx.graphics
j com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Ljava/lang/Runnable;Z)V+7 javafx.graphics
j com.sun.glass.ui.gtk.GtkApplication$$Lambda$85.run()V+12 javafx.graphics
j java.lang.Thread.run()V+11 java.base@11.0.13
v ~StubRoutines::call_stub
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000010
``
Its been a while since this ticket was opened but I have finally been able to try this out on the spare machine I was able to obtain. I installed Ubuntu 21.10, installed i3 window manager, installed my driver & gui through the DEB packages and tried running everything while under the i3 desktop.
I was not able to reproduce the error on my end. All functionality appears to be working.
If you have any further info on this, please feel free to re-open this ticket. I'll be closing it in the meantime.
problem
I am not able to start the ui under i3 window manager
workaround
use standard ubuntu window manager
side note
the examples from https://github.com/jjenkov/javafx-examples work with the i3 window manager. i.e.
./gradlew run --args="com.jenkov.javafx.webview.WebViewExample"