Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apache-directory-studio: fix startup by creating /tmp/SWT-GDBusServer
Before: $ ./result/bin/ApacheDirectoryStudio SWT WebKitGDBus: error creating DBus server Error binding to address (GUnixSocketAddress): No such file or directory SWT WebKit: error initializing DBus server, dBusServer == 0 (Apache Directory Studio:1218305): GLib-GIO-CRITICAL **: 15:17:33.727: g_dbus_server_get_client_address: assertion 'G_IS_DBUS_SERVER (server)' failed # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fe033c36f48, pid=1218305, tid=1218306 # # JRE version: OpenJDK Runtime Environment (21.0.5+1) (build 21.0.5+1-nixos) # Java VM: OpenJDK 64-Bit Server VM (21.0.5+1-nixos, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64) # Problematic frame: # C [libswt-gtk-4940r23.so+0x36f48] Java_org_eclipse_swt_internal_C_strlen+0xf # # Core dump will be written. Default location: Core dumps may be processed with "/nix/store/jz45idky1nhvf3c9gz20ds2py19kdvgf-systemd/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /home/bf/nixpkgs/core.1218305) # # An error report file with more information is saved as: # /home/bf/nixpkgs/hs_err_pid1218305.log [2.073s][warning][os] Loading hsdis library failed # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # After: $ ./result/bin/ApacheDirectoryStudio ** (WebKitWebProcess:1221467): ERROR **: 15:18:35.064: Failed to create server: Error binding to address (GUnixSocketAddress): No such file or directory ...but the GUI opens and the application seems fine. Tested on NixOS with GNOME (Wayland). Fixes #333377. (cherry picked from commit b707af9)
- Loading branch information