Hyprland: segfault when unplugging monitor
Hyprland Version
Hyprland, built from branch main at commit 90c03e5bd2204ba6d1a0167c68f65b7a9231bef4 dirty (master: layout resize makes the wrong size changes (3064)). Tag: v0.28.0-89-g90c03e5b
Bug or Regression?
Regression
Description
Segfault when unplugging an external monitor
How to reproduce
Unplug the monitor
Crash reports, logs, images, videos
I can’t attach it, github says something went really wrong… pasting
--------------------------------------------
Hyprland Crash Report
--------------------------------------------
Well this is awkward.
Hyprland received signal 11 (Segmentation fault)
Version: 90c03e5bd2204ba6d1a0167c68f65b7a9231bef4
Tag: v0.28.0-89-g90c03e5b
System info:
System name: Linux
Node name: axion
Release: 6.4.11-arch2-1
Version: #1 SMP PREEMPT_DYNAMIC Sat, 19 Aug 2023 15:38:34 +0000
GPU:
00:02.0 VGA compatible controller [0300]: Intel Corporation Comet Lake UHD Graphics [8086:9bca] (rev 04) (prog-if 00 [VGA controller])
DeviceName: VGA compatible controller
os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
Backtrace:
#0 | Hyprland(_Z12getBacktracev+0x62) [0x55af1cbfa4d2]
??
??:0
#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x791) [0x55af1cbca651]
??
??:0
#2 | Hyprland(_Z25handleUnrecoverableSignali+0x44) [0x55af1cb5bf94]
??
??:0
#3 | /usr/lib/libc.so.6(+0x3e710) [0x7f675d63e710]
??
??:0
#4 | /usr/lib/libwlroots.so.12032(+0x9a269) [0x7f675e2e2269]
??
??:0
#5 | /usr/lib/libwayland-server.so.0(+0xb9ba) [0x7f675e2009ba]
??
??:0
#6 | /usr/lib/libwayland-server.so.0(wl_client_destroy+0xab) [0x7f675e2010db]
??
??:0
#7 | /usr/lib/libwayland-server.so.0(+0xc60e) [0x7f675e20160e]
??
??:0
#8 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f675e200ae2]
??
??:0
#9 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f675e2012d7]
??
??:0
#10 | Hyprland(main+0xac6) [0x55af1cb4b4f6]
??
??:0
#11 | /usr/lib/libc.so.6(+0x27cd0) [0x7f675d627cd0]
??
??:0
#12 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f675d627d8a]
??
??:0
#13 | Hyprland(_start+0x25) [0x55af1cb5be35]
??
??:0
Log tail:
[LOG] [hookSystem] New hook event registered: moveWorkspace
[LOG] Destroying workspace ID 3
[LOG] Removing monitor DP-1 from realMonitors
[LOG] Callback 55af1f0c20b8 -> 55af1f0c20b0, removed.
[LOG] Callback 55af1f0c2120 -> 55af1f0c2118, removed.
[LOG] Fading out a non-existent LS??
[LOG] LayerSurface 55af20323e80 unmapped
[LOG] Framebuffer created, status 36053
[LOG] Callback 55af203258e0 -> 55af203258d8, CWLSurface removed.
[LOG] CWLSurface 55af203258b0 called destroy()
[LOG] LayerSurface 55af20323e80 destroyed
[LOG] Callback 55af20325a98 -> 55af20325a90, layerSurface removed.
[LOG] Callback 55af20325960 -> 55af20325958, layerSurface removed.
[LOG] Callback 55af203259c8 -> 55af203259c0, layerSurface removed.
[LOG] Callback 55af20325a30 -> 55af20325a28, layerSurface removed.
[LOG] Callback 55af20325b00 -> 55af20325af8, layerSurface removed.
[LOG] LayerSurface 55af20261d70 arranged: x: 10000 y: 10000 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 waybar
[LOG] Process Created with pid 2386
[LOG] Hyprctl: dispatcher exec : waybar
[LOG] Window 55af2030da20 unmapped (class neomutt)
[LOG] Unregistered late callbacks XDG
[LOG] Callback 55af2030da48 -> 55af2030da40, XDG Window Late removed.
[LOG] Callback 55af2030dbe8 -> 55af2030dbe0, XDG Window Late removed.
[LOG] Callback 55af2030dd20 -> 55af2030dd18, XDG Window Late removed.
[LOG] Callback 55af2030de58 -> 55af2030de50, XDG Window Late removed.
[LOG] Callback 55af2030ddf0 -> 55af2030dde8, XDG Window Late removed.
[LOG] Callback 55af2030dd88 -> 55af2030dd80, XDG Window Late removed.
[LOG] Callback 55af2030dec0 -> 55af2030deb8, XDG Window Late removed.
[LOG] Callback 55af2030dcb8 -> 55af2030dcb0, XDG Window Late removed.
[LOG] Framebuffer created, status 36053
[LOG] Unmapped was not focused, ignoring a refocus.
[LOG] Destroying the SubSurface tree of unmapped window 55af2030da20
[LOG] Callback 55af203106b0 -> 55af203106a8, Subsurface removed.
[LOG] Callback 55af203105e0 -> 55af203105d8, Subsurface removed.
[LOG] Callback 55af20310648 -> 55af20310640, Subsurface removed.
[LOG] Callback 55af20310198 -> 55af20310190, SurfaceTreeNode removed.
[LOG] Callback 55af20310200 -> 55af203101f8, SurfaceTreeNode removed.
[LOG] Callback 55af20310130 -> 55af20310128, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Callback 55af2030e060 -> 55af2030e058, Toplevel removed.
[LOG] Callback 55af2030dff8 -> 55af2030dff0, Toplevel removed.
[LOG] Callback 55af2030e0c8 -> 55af2030e0c0, Toplevel removed.
[LOG] Callback 55af2030e270 -> 55af2030e268, CWLSurface removed.
[LOG] CWLSurface 55af2030e240 called destroy()
[LOG] Callback 55af2030db18 -> 55af2030db10, CWindow removed.
[LOG] Window 55af2030da20 destroyed, queueing. (class )
[LOG] Callback 55af2030dab0 -> 55af2030daa8, XDG Window removed.
[LOG] Callback 55af2030db80 -> 55af2030db78, XDG Window removed.
About this issue
- Original URL
- State: open
- Created 10 months ago
- Reactions: 2
- Comments: 19 (10 by maintainers)
it’s a regression and 100% reproducible. this does not happen on latest tag