eclipse-platform / eclipse.platform.swt

Eclipse SWT
https://www.eclipse.org/swt/
Eclipse Public License 2.0
117 stars 135 forks source link

JDK crash on changing to classic theme #191

Open trancexpress opened 2 years ago

trancexpress commented 2 years ago

hs_err_pid49284.log

Describe the bug While importing projects from the EGit repository, I went to general preferences -> appearance and tried to change to classic theme (my system is on breeze dark theme, plasma KDE). Eclipse crashed. I've not tried to reproduce.

To Reproduce Doesn't seem readily reproducible. I was able to change the theme to classic on the next attempt.

Expected behavior No crash.

Screenshots https://user-images.githubusercontent.com/24752155/171923858-6ff226d7-461a-474d-8b27-8437e1185e5e.png

Environment:

ArchLinux

GTK 3.24.34-1

openjdk version "17.0.3" 2022-04-19 OpenJDK Runtime Environment (build 17.0.3+7) OpenJDK 64-Bit Server VM (build 17.0.3+7, mixed mode)

Version since Eclipse SDK Version: 2022-06 (4.24) Build id: I20220601-1800

trancexpress commented 2 years ago

bt:

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fe0eca8e3d3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fe0eca3e838 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007fe0eca28535 in __GI_abort () at abort.c:79
#4  0x00007fe0eb8505a8 in  () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#5  0x00007fe0ec51a3a5 in  () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#6  0x00007fe0ec51addf in  () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#7  0x00007fe0ec51ae12 in  () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#8  0x00007fe0ec3b9c06 in JVM_handle_linux_signal () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#9  0x00007fe0eca3e8e0 in <signal handler called> () at /usr/lib/libc.so.6
#10 0x00007fe0a06f5f95 in gtk_tree_model_get_valist
    (tree_model=tree_model@entry=0x7fe0e6484970, iter=iter@entry=0x7fe0e705b7a0, var_args=var_args@entry=0x7fe0eb5fcb80)
    at ../gtk/gtk/gtktreemodel.c:1812
#11 0x00007fe0a06f6328 in gtk_tree_model_get (tree_model=0x7fe0e6484970, iter=0x7fe0e705b7a0) at ../gtk/gtk/gtktreemodel.c:1774
#12 0x00007fdf68246c6d in Java_org_eclipse_swt_internal_gtk_GTK_gtk_1tree_1model_1get__JJI_3JI ()
    at /data/eclipses/eclipseSDK_424_m20220601/configuration/org.eclipse.osgi/232/0/.cp/libswt-pi3-gtk-4952r11.so
#13 0x00007fe0d5690a8c in  ()
#14 0x00000000ffffffff in  ()
#15 0x00007fe0e6484970 in  ()
#16 0x00007fe0eb5fcd00 in  ()
#17 0x00007fe0ec1ce6a9 in  () at /usr/lib/jvm/java-17-openjdk/lib/server/libjvm.so
#18 0x00007fe0d59188a4 in  ()
#19 0x0000000606a62b58 in  ()
#20 0x0000000606101f30 in  ()
#21 0x00007fe0e4012f80 in  ()
#22 0x00007fdf318188d0 in  ()
#23 0x0000000000000000 in  ()
akurtakov commented 2 years ago

This sounds like a call to remove Classic theme to me. Without easy way to reproduce the crash I don't have high hopes for this one.

iloveeclipse commented 2 years ago

I would guess another KDE theme issue, we had lot of troubles with "oxygen" in the past.