The connection properties dialog box in Apache Directory Studio has no longer opens but now causes the application to crash since upgrading of gtk+ from 3.24.42-r1 to 3.24.48 or newer. The crash output log contains the line: # JRE version: OpenJDK Runtime Environment 11.0.26_p4 (11.0.26+4) (build 11.0.26+4) # Java VM: OpenJDK 64-Bit Server VM 11.0.26_p4 (11.0.26+4, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64) # Problematic frame: # C [libgdk-3.so.0+0x3e53d] gdk_window_get_screen+0x1d Changing the version of Apache Directory Studio, running with different versions of java all had no effect. Downgrading gtk+ to the version 3.24.42-r1, which includes libdfk-3.so fixed the issue. I upgraded to the newer 3.24.49, but this also has the same issue. The first google search I see for "gdk_window_get_screen+0x1d" - returns a link to a bug report from Dec about angryip/ipscan - issue no. 466, (url removed due to restrictions on new accounts) Which is a similar problem and also references Apache Directory Studio. The packaged working version of the library is libgtk-3.so.0.2410.32 Reproducible: Always Steps to Reproduce: 1. Upgrade gtk+ beyond 3.24.42-r1 2. Open the properties of a saved LDAP connection in Apache Directory Studio Actual Results: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f23f004f53d, pid=1357527, tid=1357530 # # JRE version: OpenJDK Runtime Environment 11.0.26_p4 (11.0.26+4) (build 11.0.26+4) # Java VM: OpenJDK 64-Bit Server VM 11.0.26_p4 (11.0.26+4, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64) # Problematic frame: # C [libgdk-3.so.0+0x3e53d] gdk_window_get_screen+0x1d # # Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to <path removed> # # An error report file with more information is saved as: # /home/dave/Downloads/apachedirectorystudio/ApacheDirectoryStudio/hs_err_pid1357527.log Compiled method (nm) 6825 6595 n 0 org.eclipse.swt.internal.gtk.GTK::gtk_im_context_set_client_window (native) total in heap [0x00007f23f849aa90,0x00007f23f849ae28] = 920 relocation [0x00007f23f849ac08,0x00007f23f849ac38] = 48 main code [0x00007f23f849ac40,0x00007f23f849ae20] = 480 oops [0x00007f23f849ae20,0x00007f23f849ae28] = 8 Compiled method (nm) 6826 6595 n 0 org.eclipse.swt.internal.gtk.GTK::gtk_im_context_set_client_window (native) total in heap [0x00007f23f849aa90,0x00007f23f849ae28] = 920 relocation [0x00007f23f849ac08,0x00007f23f849ac38] = 48 main code [0x00007f23f849ac40,0x00007f23f849ae20] = 480 oops [0x00007f23f849ae20,0x00007f23f849ae28] = 8 # # If you would like to submit a bug report, please visit: # <url removed> # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # Expected Results: The properties dialog box should appear.
Created attachment 922558 [details] core dump
Can you show us a full backtrace from `coredumpctl debug` please (may need to build openjdk + gtk with debugging symbols, maybe glib as well)?
(In reply to Sam James from comment #2) > Can you show us a full backtrace from `coredumpctl debug` please (may need > to build openjdk + gtk with debugging symbols, maybe glib as well)? Well, I hope this is useful - never done this before, and suspecting I've not got it quite right. Wondering what those final ?? at the bottom of the chain are and how to find them... Also attached in gdb.txt -- Core was generated by `/usr/lib64/openjdk-11/bin/java -Dosgi.requiredJavaVersion=11 -jar /opt/ApacheDi'. Program terminated with signal SIGABRT, Aborted. #0 0x00007ffff7e18bcc in ?? () from /usr/lib64/libc.so.6 [Current thread is 1 (Thread 0x7ffff6b1a6c0 (LWP 264808))] (gdb) bt #0 0x00007ffff7e18bcc in ??? () at /usr/lib64/libc.so.6 #1 0x00007ffff7dc35a6 in raise () at /usr/lib64/libc.so.6 #2 0x00007ffff7dab8fa in abort () at /usr/lib64/libc.so.6 #3 0x00007ffff6c0f07b in os::abort (dump_core=true, siginfo=<optimized out>, context=<optimized out>) at /usr/src/debug/dev-java/openjdk-11.0.26_p4/jdk11u-jdk-11.0.26-ga/src/hotspot/os/linux/os_linux.cpp:1651 #4 0x00007ffff7889bf8 in VMError::report_and_die (id=<optimized out>, message=message@entry=0x0, detail_fmt=0x7ffff7926abb "%s", detail_args=detail_args@entry=0x7ffff6b13968, thread=thread@entry=0x7ffff0028000, pc=pc@entry=0x7fffc4925a73 <gdk_window_get_screen+68> "H\213", siginfo=0x7ffff6b13cf0, context=0x7ffff6b13bc0, filename=0x0, lineno=0, size=0) at /usr/src/debug/dev-java/openjdk-11.0.26_p4/jdk11u-jdk-11.0.26-ga/src/hotspot/share/utilities/vmError.cpp:1630 #5 0x00007ffff788a71f in VMError::report_and_die (thread=thread@entry=0x7ffff0028000, sig=sig@entry=11, pc=pc@entry=0x7fffc4925a73 <gdk_window_get_screen+68> "H\213", siginfo=siginfo@entry=0x7ffff6b13cf0, context=context@entry=0x7ffff6b13bc0, detail_fmt=detail_fmt@entry=0x7ffff7926abb "%s") at /usr/src/debug/dev-java/openjdk-11.0.26_p4/jdk11u-jdk-11.0.26-ga/src/hotspot/share/utilities/vmError.cpp:1277 #6 0x00007ffff788a752 in VMError::report_and_die (thread=thread@entry=0x7ffff0028000, sig=sig@entry=11, pc=pc@entry=0x7fffc4925a73 <gdk_window_get_screen+68> "H\213", siginfo=siginfo@entry=0x7ffff6b13cf0, context=context@entry=0x7ffff6b13bc0) at /usr/src/debug/dev-java/openjdk-11.0.26_p4/jdk11u-jdk-11.0.26-ga/src/hotspot/share/utilities/vmError.cpp:1283 #7 0x00007ffff75c445c in JVM_handle_linux_signal (sig=11, info=0x7ffff6b13cf0, ucVoid=0x7ffff6b13bc0, abort_if_unrecognized=<optimized out>) at /usr/src/debug/dev-java/openjdk-11.0.26_p4/jdk11u-jdk-11.0.26-ga/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp:617 #8 0x00007ffff75b6c4c in signalHandler (sig=11, info=0x7ffff6b13cf0, uc=0x7ffff6b13bc0) at /usr/src/debug/dev-java/openjdk-11.0.26_p4/jdk11u-jdk-11.0.26-ga/src/hotspot/os/linux/os_linux.cpp:5011 #9 0x00007ffff7dc3650 in <signal handler called> () at /usr/lib64/libc.so.6 #10 0x00007fffc4925a73 in gdk_window_get_screen (window=0x7ffff1f4c8b0) at ../gtk-3.24.48/gdk/gdkwindow.c:2306 #11 0x00007fff8b08d8d9 in gtk_im_multicontext_set_client_window (context=0x7ffff1f48c60, window=0x0) at ../gtk-3.24.48/gtk/gtkimmulticontext.c:304 #12 0x00007fff8b087a11 in gtk_im_context_set_client_window (context=0x7ffff1f48c60, window=0x0) at ../gtk-3.24.48/gtk/gtkimcontext.c:466 #13 0x00007fff70845fbf in Java_org_eclipse_swt_internal_gtk_GTK_gtk_1im_1context_1set_1client_1window () at /home/dave/.eclipse/1591715926_linux_gtk_x86_64/configuration/org.eclipse.osgi/653/0/.cp/libswt-pi3-gtk-4940r23.so #14 0x00007fffe0527409 in ??? () #15 0x0000000000000000 in ??? () --
Created attachment 922803 [details] backtrace