Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirroring displays crashes Hyprland, with different errorlog than previous other bugs #1281

Open
mistersmee opened this issue Dec 25, 2022 · 12 comments
Labels
bug Something isn't working

Comments

@mistersmee
Copy link

I don't know if this is exclusive to me or others have same bug, but when I connect a second monitor to my laptop, and use hyprctl to mirror the display, or set specific rules in the hyprland.conf, Hyprland straightup crashes.

Steps to reproduce, at least for me:

  1. Have the following lines in hyprland.conf
  2. Connect display

Expected outcome:
Hyprland shouldn't crash, and both monitors should have mirrored output.

Noted outcome:
Hyprland crashes back to the tty login prompt immediately.

My hyprland.conf has these two lines to configure the monitor, as per the hyprland wiki documentation:

monitor=eDP-1,preferred,auto,1
monitor=HDMI-A-1,preferred,auto,1,mirror,eDP-1

The relevant hyprland.log is:

[LOG] Instance Signature: 111d209bff5448c3a55e07f344cf89715536bba4_1671961322
[LOG] Hyprland PID: 1668
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: agneya
[LOG] Release: 6.1.1-zen1-1-zen
[LOG] Version: #1 ZEN SMP PREEMPT_DYNAMIC Wed, 21 Dec 2022 22:27:59 +0000
[LOG] GPU information:
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lucienne [1002:164c] (rev c1) (prog-if 00 [VGA controller])
[LOG] 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
[LOG] ========================
[INFO] If you are crashing, or encounter any bugs, please consult https://github.com/hyprwm/Hyprland/wiki/Crashing-and-bugs
[LOG]
Current splash: Save your mercy for someone who needs it more
[LOG] Hyprland init finished.
[LOG] Creating the CHyprError!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 22.24µs. Estimated average calc time: 0.00µs.
[LOG] Creating the LayoutManager!
[LOG] Creating the ConfigManager!
[LOG] Creating the ThreadManager!
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 6.68µs. Estimated average calc time: 0.00µs.
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 6.72µs. Estimated average calc time: 0.00µs.
[LOG] Registered dynamic var "$mainMod" -> SUPER
[LOG] Hypr socket started at /tmp/hypr/111d209bff5448c3a55e07f344cf89715536bba4_1671961322/.socket.sock
[LOG] Creating the InputManager!
[LOG] Creating the CHyprOpenGLImpl!
[LOG] Creating the Hypr OpenGL Renderer!
[LOG] Using: OpenGL ES 3.2 Mesa 22.3.1
[LOG] Vendor: AMD
[LOG] Renderer: AMD Radeon Graphics (renoir, LLVM 14.0.6, DRM 3.49, 6.1.1-zen1-1-zen)
[LOG] Supported extensions size: 148
[LOG] Creating the HyprRenderer!
[LOG] Creating the XWaylandManager!
[LOG] Registered signal for owner 3812b600: 3812b640 -> 360afd00 (owner: XWayland Manager)
[LOG] Registered signal for owner 3812b600: 3812b650 -> 360afce0 (owner: XWayland Manager)
[LOG] CHyprXWaylandManager started on display :0
[LOG] Creating the ProtocolManager!
[LOG] ToplevelExportManager started successfully!
[LOG] Creating the EventManager!
[LOG] Creating the HyprDebugOverlay!
[LOG] Registered signal for owner 378353a0: 378353c8 -> 360afc80 (owner: Backend)
[LOG] Registered signal for owner 38121d80: 38121dd0 -> 360afc20 (owner: XDG Shell)
[LOG] Registered signal for owner 38121e50: 38121e68 -> 360afbe0 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121e78 -> 360afbc0 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121e88 -> 360afba0 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121e98 -> 360afb80 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121ea8 -> 360afb60 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121eb8 -> 360af940 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121ec8 -> 360af900 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121ed8 -> 360af920 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121ee8 -> 360af8e0 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121ef8 -> 360af8c0 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121f08 -> 360af8a0 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121f48 -> 360af800 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121f38 -> 360af7e0 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121f58 -> 360af7c0 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121f78 -> 360af7a0 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121f18 -> 360af780 (owner: WLRCursor)
[LOG] Registered signal for owner 38121e50: 38121f28 -> 360af760 (owner: WLRCursor)
[LOG] Registered signal for owner 378353a0: 378353b8 -> 360afb40 (owner: Backend)
[LOG] Registered signal for owner 37833080: 38277fb8 -> 360afae0 (owner: Seat)
[LOG] Registered signal for owner 37833080: 38277fc8 -> 360afac0 (owner: Seat)
[LOG] Registered signal for owner 37833080: 38278008 -> 360afa40 (owner: Seat)
[LOG] Registered signal for owner 37833080: 38278018 -> 360afa20 (owner: Seat)
[LOG] Registered signal for owner 37833080: 38277fc8 -> 360afac0 (owner: Seat)
[LOG] Registered signal for owner 37833080: 38277fe8 -> 360afaa0 (owner: Seat)
[LOG] Registered signal for owner 38278270: 38278290 -> 360afc40 (owner: LayerShell)
[LOG] Registered signal for owner 38121c50: 38121c70 -> 360afca0 (owner: OutputLayout)
[LOG] Registered signal for owner 38136230: 38136268 -> 360afa80 (owner: OutputMgr)
[LOG] Registered signal for owner 38136230: 38136278 -> 360afa60 (owner: OutputMgr)
[LOG] Registered signal for owner 38136310: 38136340 -> 360afa00 (owner: InhibitMgr)
[LOG] Registered signal for owner 38136310: 38136350 -> 360af9e0 (owner: InhibitMgr)
[LOG] Registered signal for owner 381364d0: 381364e8 -> 360afb00 (owner: PointerConstraints)
[LOG] Registered signal for owner 382783e0: 38278410 -> 360af9c0 (owner: XDGDecoMgr)
[LOG] Registered signal for owner 381366d0: 38136700 -> 360afb20 (owner: VirtPtrMgr)
[LOG] Registered signal for owner 38136620: 38136650 -> 360af820 (owner: VKeyboardMgr)
[LOG] Registered signal for owner 37a2dbf0: 37a2dbf0 -> 360af9a0 (owner: WLRRenderer)
[LOG] Registered signal for owner 38136aa0: 38136ad0 -> 360af980 (owner: WLRIdleInhibitMgr)
[LOG] Registered signal for owner 38118370: 381183a0 -> 360af880 (owner: PowerMgr)
[LOG] Registered signal for owner 38136f20: 38136f50 -> 360af860 (owner: IMEMgr)
[LOG] Registered signal for owner 38136e70: 38136ea0 -> 360af840 (owner: TextInputMgr)
[LOG] Registered signal for owner 38136fd0: 38136ff8 -> 360afc00 (owner: ActivationV1)
[LOG] Registered signal for owner 37832df0: 38136870 -> 360afc60 (owner: DRM)
[LOG] Registered signal for owner 37835430: 37835590 -> 360af960 (owner: Session)
[LOG] Hypr socket 2 started at /tmp/hypr/111d209bff5448c3a55e07f344cf89715536bba4_1671961322/.socket2.sock
[LOG] Running on WAYLAND_DISPLAY: wayland-1
[LOG] Attached a keyboard with name Power Button
[LOG] Registered signal for owner 38309b40: 3830cf50 -> 38309b48 (owner: Keyboard)
[LOG] Registered signal for owner 38309b40: 3830cf40 -> 38309bb0 (owner: Keyboard)
[LOG] Registered signal for owner 38309b40: 3830ce20 -> 38309c80 (owner: Keyboard)
[LOG] Registered signal for owner 38309b40: 3830cf60 -> 38309c18 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "power-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Power Button"
[LOG] New keyboard created, pointers Hypr: 38309b40 and WLR: 3830ce08
[LOG] Attached a keyboard with name Video Bus
[LOG] Registered signal for owner 383128f0: 3830fe60 -> 383128f8 (owner: Keyboard)
[LOG] Registered signal for owner 383128f0: 3830fe50 -> 38312960 (owner: Keyboard)
[LOG] Registered signal for owner 383128f0: 3830fd30 -> 38312a30 (owner: Keyboard)
[LOG] Registered signal for owner 383128f0: 3830fe70 -> 383129c8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "video-bus", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Video Bus"
[LOG] New keyboard created, pointers Hypr: 383128f0 and WLR: 3830fd18
[LOG] Attached a keyboard with name Power Button
[LOG] Registered signal for owner 383043e0: 383b4340 -> 383043e8 (owner: Keyboard)
[LOG] Registered signal for owner 383043e0: 383b4330 -> 38304450 (owner: Keyboard)
[LOG] Registered signal for owner 383043e0: 383b4210 -> 38304520 (owner: Keyboard)
[LOG] Registered signal for owner 383043e0: 383b4350 -> 383044b8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "power-button-1", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Power Button"
[LOG] New keyboard created, pointers Hypr: 383043e0 and WLR: 383b41f8
[LOG] Attached a switch device with name Lid Switch
[LOG] New switch with name "Lid Switch" added
[LOG] Registered signal for owner 38314810: 383f4e48 -> 38314818 (owner: SwitchDevice)
[LOG] Registered signal for owner 38314810: 383f4e68 -> 38314880 (owner: SwitchDevice)
[LOG] Attached a keyboard with name Sleep Button
[LOG] Registered signal for owner 38303330: 383f5210 -> 38303338 (owner: Keyboard)
[LOG] Registered signal for owner 38303330: 383f5200 -> 383033a0 (owner: Keyboard)
[LOG] Registered signal for owner 38303330: 383f50e0 -> 38303470 (owner: Keyboard)
[LOG] Registered signal for owner 38303330: 383f5220 -> 38303408 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "sleep-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Sleep Button"
[LOG] New keyboard created, pointers Hypr: 38303330 and WLR: 383f50c8
[LOG] Attached a keyboard with name Integrated Camera: Integrated C
[LOG] Registered signal for owner 38250340: 3842f1e0 -> 38250348 (owner: Keyboard)
[LOG] Registered signal for owner 38250340: 3842f1d0 -> 382503b0 (owner: Keyboard)
[LOG] Registered signal for owner 38250340: 3842f0b0 -> 38250480 (owner: Keyboard)
[LOG] Registered signal for owner 38250340: 3842f1f0 -> 38250418 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "integrated-camera:-integrated-c", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Integrated Camera: Integrated C"
[LOG] New keyboard created, pointers Hypr: 38250340 and WLR: 3842f098
[LOG] Attached a keyboard with name Integrated Camera: Integrated I
[LOG] Registered signal for owner 38468eb0: 38468ac0 -> 38468eb8 (owner: Keyboard)
[LOG] Registered signal for owner 38468eb0: 38468ab0 -> 38468f20 (owner: Keyboard)
[LOG] Registered signal for owner 38468eb0: 38468990 -> 38468ff0 (owner: Keyboard)
[LOG] Registered signal for owner 38468eb0: 38468ad0 -> 38468f88 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "integrated-camera:-integrated-i", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Integrated Camera: Integrated I"
[LOG] New keyboard created, pointers Hypr: 38468eb0 and WLR: 38468978
[LOG] Attached a keyboard with name AT Translated Set 2 keyboard
[LOG] Registered signal for owner 384a2d90: 384a29a0 -> 384a2d98 (owner: Keyboard)
[LOG] Registered signal for owner 384a2d90: 384a2990 -> 384a2e00 (owner: Keyboard)
[LOG] Registered signal for owner 384a2d90: 384a2870 -> 384a2ed0 (owner: Keyboard)
[LOG] Registered signal for owner 384a2d90: 384a29b0 -> 384a2e68 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "at-translated-set-2-keyboard", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "AT Translated Set 2 keyboard"
[LOG] New keyboard created, pointers Hypr: 384a2d90 and WLR: 384a2858
[LOG] Attached a mouse with name ETPS/2 Elantech TrackPoint
[LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 2 (2)
[LOG] Applied config to mouse etps/2-elantech-trackpoint, sens 0.00
[LOG] Registered signal for owner 3846a480: 384dc550 -> 3846a540 (owner: Mouse)
[LOG] New mouse created, pointer WLR: 384dc538
[LOG] Attached a mouse with name ETPS/2 Elantech Touchpad
[LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 2 (2)
[LOG] Applied config to mouse etps/2-elantech-trackpoint, sens 0.00
[LOG] Applied config to mouse etps/2-elantech-touchpad, sens 0.00
[LOG] Registered signal for owner 38394630: 384dccf0 -> 383946f0 (owner: Mouse)
[LOG] New mouse created, pointer WLR: 384dccd8
[LOG] Attached a keyboard with name ThinkPad Extra Buttons
[LOG] Registered signal for owner 384dd830: 384dd440 -> 384dd838 (owner: Keyboard)
[LOG] Registered signal for owner 384dd830: 384dd430 -> 384dd8a0 (owner: Keyboard)
[LOG] Registered signal for owner 384dd830: 384dd310 -> 384dd970 (owner: Keyboard)
[LOG] Registered signal for owner 384dd830: 384dd450 -> 384dd908 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "thinkpad-extra-buttons", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "ThinkPad Extra Buttons"
[LOG] New keyboard created, pointers Hypr: 384dd830 and WLR: 384dd2f8
[LOG] Adding completely new monitor.
[LOG] Registered signal for owner 38517970: 38517010 -> 38517ac0 (owner: )
[LOG] Registered signal for owner 38517970: 385170a0 -> 38517b28 (owner: )
[LOG] Registered signal for owner 38517970: 38517090 -> 38517b90 (owner: )
[LOG] Applying monitor rule for eDP-1
[LOG] Setting preferred mode for eDP-1
[LOG] Monitor eDP-1 -> destroyed all render data
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Added new monitor with name eDP-1 at 0,0 with size 1920x1080, pointer 38516ed0
[LOG] New monitor: WORKSPACEID 1, exists: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Adding completely new monitor.
[LOG] Registered signal for owner 38566a30: 38517340 -> 38566b80 (owner: )
[LOG] Registered signal for owner 38566a30: 385173d0 -> 38566be8 (owner: )
[LOG] Registered signal for owner 38566a30: 385173c0 -> 38566c50 (owner: )
[LOG] Applying monitor rule for HDMI-A-1
[LOG] Setting preferred mode for HDMI-A-1
[LOG] Monitor HDMI-A-1 -> destroyed all render data
[LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Added new monitor with name HDMI-A-1 at 1920,0 with size 1920x1080, pointer 38517200
[LOG] New monitor: WORKSPACEID 2, exists: 0
[LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Hyprland is ready, running the event loop!
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 waybar --config ~/.config/waybar/config-hypr --style ~/.config/waybar/style-hypr.css &
[LOG] Process Created with pid 1716
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 swaybg -i find $HOME/pix/wallpapers -type f | shuf -n 1 -m fill &
[LOG] Process Created with pid 1719
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 autostart-wlnd &
[LOG] Process Created with pid 1725
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 swayidle -w timeout 150 'swaylock -Ffe --screenshots --effect-blur=7x5' timeout 300 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -Ffe --screenshots --effect-blur=7x5' &
[LOG] Process Created with pid 1739
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 sway-audio-idle-inhibit &
[LOG] Process Created with pid 1756
[LOG] ApplyConfigToKeyboard for "power-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Power Button"
[LOG] ApplyConfigToKeyboard for "video-bus", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Video Bus"
[LOG] ApplyConfigToKeyboard for "power-button-1", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Power Button"
[LOG] ApplyConfigToKeyboard for "sleep-button", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Sleep Button"
[LOG] ApplyConfigToKeyboard for "integrated-camera:-integrated-c", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Integrated Camera: Integrated C"
[LOG] ApplyConfigToKeyboard for "integrated-camera:-integrated-i", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "Integrated Camera: Integrated I"
[LOG] ApplyConfigToKeyboard for "at-translated-set-2-keyboard", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "AT Translated Set 2 keyboard"
[LOG] ApplyConfigToKeyboard for "thinkpad-extra-buttons", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:escape)
[LOG] Set the keyboard layout to us and variant to for keyboard "ThinkPad Extra Buttons"
[LOG] Applied config to mouse etps/2-elantech-trackpoint, sens 0.00
[LOG] Applied config to mouse etps/2-elantech-touchpad, sens 0.00
[LOG] Applying monitor rule for eDP-1
[LOG] Setting preferred mode for eDP-1
[LOG] Monitor eDP-1 -> destroyed all render data
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[ERR] Error in getMonitorFromString: no such monitor
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Applying monitor rule for HDMI-A-1
[LOG] Setting preferred mode for HDMI-A-1
[LOG] Monitor HDMI-A-1 -> destroyed all render data
[LOG] Monitor HDMI-A-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] moveWorkspaceToMonitor: Moving 2 to monitor 0
[LOG] moveWorkspaceToMonitor: Plugging gap with new 3
[LOG] moveWorkspaceToMonitor: Plugging gap with existing 3
[LOG] Changed to workspace 2
[LOG] Changed to workspace 3
[LOG] moveWorkspaceToMonitor: SWITCHINGISACTIVE, active 1 -> 2
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor eDP-1
[LOG] Shaders initialized successfully.

while the coredump is:

Stack trace of thread 941:
#0 0x000055caf446d5c3 n/a (Hyprland + 0x405c3)
#1 0x000055caf4501b96 n/a (Hyprland + 0xd4b96)
#2 0x000055caf44d270f n/a (Hyprland + 0xa570f)
#3 0x000055caf44ef78c n/a (Hyprland + 0xc278c)
#4 0x00007f70cd613f6e wl_signal_emit_mutable (libwayland-server.so.0 + 0x9f6e)
#5 0x00007f70cd615923 wl_event_loop_dispatch_idle (libwayland-server.so.0 + 0xb923)
#6 0x00007f70cd615a3d wl_event_loop_dispatch (libwayland-server.so.0 + 0xba3d)
#7 0x00007f70cd616197 wl_display_run (libwayland-server.so.0 + 0xc197)
#8 0x000055caf4460c61 n/a (Hyprland + 0x33c61)
#9 0x00007f70ccb54290 n/a (libc.so.6 + 0x23290)
#10 0x00007f70ccb5434a __libc_start_main (libc.so.6 + 0x2334a)
#11 0x000055caf4469605 n/a (Hyprland + 0x3c605)
Stack trace of thread 1037:
#0 0x00007f70ccbb44b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f70ccbb6cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f70ca50c50e n/a (radeonsi_dri.so + 0x10c50e)
#3 0x00007f70ca4bc89c n/a (radeonsi_dri.so + 0xbc89c)
#4 0x00007f70ca50c43c n/a (radeonsi_dri.so + 0x10c43c)
#5 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 1036:
#0 0x00007f70ccbb44b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f70ccbb6cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f70ca50c50e n/a (radeonsi_dri.so + 0x10c50e)
#3 0x00007f70ca4bc89c n/a (radeonsi_dri.so + 0xbc89c)
#4 0x00007f70ca50c43c n/a (radeonsi_dri.so + 0x10c43c)
#5 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 1042:
#0 0x00007f70ccbb44b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f70ccbb6cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f70ca50c50e n/a (radeonsi_dri.so + 0x10c50e)
#3 0x00007f70ca4bc89c n/a (radeonsi_dri.so + 0xbc89c)
#4 0x00007f70ca50c43c n/a (radeonsi_dri.so + 0x10c43c)
#5 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 1035:
#0 0x00007f70ccbb44b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f70ccbb6cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f70ca50c50e n/a (radeonsi_dri.so + 0x10c50e)
#3 0x00007f70ca4bc89c n/a (radeonsi_dri.so + 0xbc89c)
#4 0x00007f70ca50c43c n/a (radeonsi_dri.so + 0x10c43c)
#5 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 1038:
#0 0x00007f70ccbb44b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f70ccbb6cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f70ca50c50e n/a (radeonsi_dri.so + 0x10c50e)
#3 0x00007f70ca4bc89c n/a (radeonsi_dri.so + 0xbc89c)
#4 0x00007f70ca50c43c n/a (radeonsi_dri.so + 0x10c43c)
#5 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 1041:
#0 0x00007f70ccbb44b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f70ccbb6cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f70ca50c50e n/a (radeonsi_dri.so + 0x10c50e)
#3 0x00007f70ca4bc89c n/a (radeonsi_dri.so + 0xbc89c)
#4 0x00007f70ca50c43c n/a (radeonsi_dri.so + 0x10c43c)
#5 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 1039:
#0 0x00007f70ccbb44b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f70ccbb6cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f70ca50c50e n/a (radeonsi_dri.so + 0x10c50e)
#3 0x00007f70ca4bc89c n/a (radeonsi_dri.so + 0xbc89c)
#4 0x00007f70ca50c43c n/a (radeonsi_dri.so + 0x10c43c)
#5 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 1043:
#0 0x00007f70ccbb44b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f70ccbb6cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f70ca50c50e n/a (radeonsi_dri.so + 0x10c50e)
#3 0x00007f70ca4bc89c n/a (radeonsi_dri.so + 0xbc89c)
#4 0x00007f70ca50c43c n/a (radeonsi_dri.so + 0x10c43c)
#5 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 1158:
#0 0x00007f70ccbb44b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f70ccbb6cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f70ca50c50e n/a (radeonsi_dri.so + 0x10c50e)
#3 0x00007f70ca4bc89c n/a (radeonsi_dri.so + 0xbc89c)
#4 0x00007f70ca50c43c n/a (radeonsi_dri.so + 0x10c43c)
#5 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 1157:
#0 0x00007f70ccbb44b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f70ccbb6cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f70ca50c50e n/a (radeonsi_dri.so + 0x10c50e)
#3 0x00007f70ca4bc89c n/a (radeonsi_dri.so + 0xbc89c)
#4 0x00007f70ca50c43c n/a (radeonsi_dri.so + 0x10c43c)
#5 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 1044:
#0 0x00007f70ccc3a8af accept (libc.so.6 + 0x1098af)
#1 0x000055caf450a1b3 n/a (Hyprland + 0xdd1b3)
#2 0x00007f70cced62f3 execute_native_thread_routine (libstdc++.so.6 + 0xd62f3)
#3 0x00007f70ccbb78fd n/a (libc.so.6 + 0x868fd)
#4 0x00007f70ccc39a60 n/a (libc.so.6 + 0x108a60)
ELF object binary architecture: AMD x86-64

@mistersmee mistersmee added the bug Something isn't working label Dec 25, 2022
@vaxerski
Copy link
Member

firstly, attach stuff not paste ffs.

secondly, the coredump is unusable. get a debug one.

@mistersmee
Copy link
Author

mistersmee commented Dec 26, 2022

firstly, attach stuff not paste ffs.

Sorry dude, I searched other issues and they pasted too. Nevermind, noted. Anyway,

secondly, the coredump is unusable. get a debug one.

Here you go:

debugtrace.txt

Here's a second one I took:

debugtrace2.txt

Are they any better?

@vaxerski
Copy link
Member

check with 545e63d

@mistersmee
Copy link
Author

check with 545e63d

No dice, same result.

Here's coredump:
debugtrace.txt
hyprlandd.log

@vaxerski
Copy link
Member

can you try this patch

patch.txt

@mistersmee
Copy link
Author

can you try this patch

patch.txt

Still nothing, sorry.

debugcoredump.txt
hyprlandd.conf.txt
hyprlandd.log

@vaxerski
Copy link
Member

it's weird that you get only a coredump. Can you build with ASan? if you are on -git it should automatically build with it if in debug.

See https://github.com/hyprwm/Hyprland/blob/main/docs/ISSUE_GUIDELINES.md I've updated them a day or two ago.

@mistersmee
Copy link
Author

it's weird that you get only a coredump. Can you build with ASan? if you are on -git it should automatically build with it if in debug.

See https://github.com/hyprwm/Hyprland/blob/main/docs/ISSUE_GUIDELINES.md I've updated them a day or two ago.

Alright, I got the ASan log. Curiously, when I tried to get it, the coredump logs didn't get collected for coredumpctl at all, there's no entry for that segfault at all. Not sure if that's by design or I'm doing something wrong.

Anyway, here you go:
asan.log.2301.txt
hyprlandd.log

@vaxerski
Copy link
Member

yes with ASan no coredump is created.

The log tho... how the fuck... this is a headache

@vaxerski
Copy link
Member

patch.txt

please try this patch

@mistersmee
Copy link
Author

patch.txt

please try this patch

Still nothing
asan.log.1779.txt
hyprlandd.log

@romanstingler
Copy link
Contributor

does it still crash with the latest -git version??
It works on my 3 systems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants