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

Hyprland Crashes when disconnecting monitors on v0.47.1 #9244

Closed
4 of 6 tasks
Flat opened this issue Jan 30, 2025 · 10 comments
Closed
4 of 6 tasks

Hyprland Crashes when disconnecting monitors on v0.47.1 #9244

Flat opened this issue Jan 30, 2025 · 10 comments
Labels
bug Something isn't working

Comments

@Flat
Copy link

Flat commented Jan 30, 2025

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Definitely a regression - something broke after update (requires bisect)

System Info and Hyprland Version

System/Version info
Hyprland 0.47.1 built from branch  at commit 75dff7205f6d2bd437abfb4196f700abee92581a  (version: bump to 0.47.1).
Date: Wed Jan 29 23:19:39 2025
Tag: v0.47.1, commits: 5756
built against:
 aquamarine 0.7.2
 hyprlang 0.6.0
 hyprutils 0.5.0
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


no flags were set


System Information:
System name: Linux
Node name: isekai
Release: 6.12.10-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 20 Jan 2025 14:03:36 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD103 [GeForce RTX 4080 SUPER] [10de:2702] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  565.77  Wed Nov 27 23:33:08 UTC 2024


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://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:
  split-monitor-workspaces by Duckonaut ver 1.2.0


Description

When disconnecting monitors from Hyprland, it now segfaults, after an indeterminate amount of time.

How to reproduce

  1. Unplug monitors or activate KVM switch without edid emulation (dumb switch effectively pulling the plug)
  2. Hyprland will crash at some point.

Attach not paste

  • I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam

Checklist of files to include below

  • Hyprland config - hyprctl systeminfo -c (always include)
  • Crash report (always include in case of crash)
  • Video (always include in case of a visual bug)
  • Logs (might contain useful info such as errors)

Additional info & File uploads

I've tried to bisect, however it is inconsistent. If absolutely needed I will attempt to bisect this weekend. Attached is a full backtrace from the coredump. Hyprland did not produce any crash reports.

hyprland_config_dump.txt

gdb.txt

@Flat Flat added the bug Something isn't working label Jan 30, 2025
@BlueZeeKing
Copy link
Contributor

I am also getting this issue when waking from suspend. I'll try to bisect

@BlueZeeKing
Copy link
Contributor

The first bad commit is 5642ed3

@BlueZeeKing
Copy link
Contributor

This seems to be caused by a layer surface being created on a non existent monitor, which prevents the full constructor from running, so when the layer surface is destroyed, accessing the fade in animation segfaults because it is null.

hyprlandd.log

@vaxerski
Copy link
Member

fixed by #9247

@Flat
Copy link
Author

Flat commented Feb 3, 2025

Still get a segfault on 47.2, at a different location. Should I open a new issue, or should this one be reused?

gdb.txt

@vaxerski
Copy link
Member

vaxerski commented Feb 3, 2025

that one comes from split-monitor-workspaces, not hyprland.

@Flat
Copy link
Author

Flat commented Feb 3, 2025

@vaxerski same crash without plugins.

gdb.txt

@vaxerski
Copy link
Member

vaxerski commented Feb 3, 2025

check git

@Flat
Copy link
Author

Flat commented Feb 3, 2025

That seems to have fixed it. Thank you!

@Flat
Copy link
Author

Flat commented Feb 5, 2025

Another one

gdb.txt

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