Skip to content

xfdesktop segfault in g_str_hash()

Issue Description

I use a KVM to switch to a laptop, then back to the PC and am presented with a blank screen.

I run a short script to restore visibility, when a crash is recorded.

Steps to Reproduce Issue

I have a KVM.

  1. Switch to the laptop (as5) connection.

  2. Switch back to the PC (e7).

    Screen remains blank, system does not switch to the display that was restored.

  3. I run (blindly) a script ('x') I created for this:

xrandr --display ":0" --output "HDMI-1" --mode 3840x2160

sleep 1

xrandr --display ":0" --output "HDMI1" --mode 3840x2160

sleep 1

Expected Behavior

I expect the PC display to show up when the monitor is connected.

Otherwise, I expect it to show after running my script 'x'.

I expect no crash when 'x' runs.

Additional Information

This problem (blank screen) also happens if I unplug then plug the (HDMI) monitor.

The name of the monitor depends of which X driver is used. I now use modesetting and the monitor is listed as HDMI-1.

Environment & Versions

  • OS distribution and version:
  • up-to-date fedora 42, kernel 6.17.13-200.fc42.x86_64
  • Overall Xfce version:
  • dnf shows: gtk-xfce-engine.x86_64 3.2.0-23.fc42 fedora libxfce4ui.x86_64 4.20.2-1.fc42 updates libxfce4util.x86_64 4.20.1-1.fc42 updates libxfce4windowing.x86_64 4.20.2-2.fc42 updates xfce-polkit.x86_64 0.3-15.fc42 fedora xfce4-appfinder.x86_64 4.20.0-2.fc42 fedora xfce4-panel.x86_64 4.20.5-1.fc42 updates xfce4-power-manager.x86_64 4.20.0-2.fc42 fedora xfce4-pulseaudio-plugin.x86_64 0.4.9-3.fc42 fedora xfce4-session.x86_64 4.20.3-1.fc42 updates xfce4-settings.x86_64 4.20.2-1.fc42 updates xfce4-terminal.x86_64 1.1.5-1.fc42 fedora
  • xfdesktop version (git hash if not a release): xfdesktop.x86_64 4.20.1-1.fc42 fedora
  • thunar version (if issue related to file/launcher icons):
  • Windowing system (X11/Wayland): X11
  • Compositor and version (if Wayland):
  • GTK Theme:
  • Icon Theme:
  • UI Scale Factor:
Edited by eyaleb