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

hyprctl crash when /run/user/1000/hypr not exists #8579

Open
1 task done
ssqzr opened this issue Nov 25, 2024 · 1 comment
Open
1 task done

hyprctl crash when /run/user/1000/hypr not exists #8579

ssqzr opened this issue Nov 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ssqzr
Copy link

ssqzr commented Nov 25, 2024

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

No

System Info and Version

System/Version info
[archlinux@test-bsos bsos]$ Hyprland --systeminfo
lspci: Unable to load libkmod resources: error -2
Hyprland 0.45.2 built from branch  at commit 12f9a0d0b93f691d4d9923716557154d74777b0a  ([gha] Nix: update inputs).
Date: Tue Nov 19 21:47:18 2024
Tag: v0.45.2, commits: 5451
built against aquamarine 0.5.0


flags set:
debug


System Information:
System name: Linux
Node name: test-bsos
Release: 6.11.9-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Sun, 17 Nov 2024 16:06:17 +0000


GPU information:
00:01.0 VGA compatible controller [0300]: Red Hat, Inc. QXL paravirtual graphic card [1b36:0100] (rev 05) (prog-if 00 [VGA 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://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:
        unknown: not runtime

Description

[archlinux@test]$ hyprctl instances
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: directory iterator cannot open directory: No such file or directory [/run/user/1000/hypr]
已中止(核心已转储)

Hyprland never run once. Naturally /run/user/1000/hypr not exists.

I don't think an error should be reported in this case.

How to reproduce

# Hyprland not running..
rm -rf /run/user/1000/hypr
hyprctl instances

Crash reports, logs, images, videos

No response

@ssqzr ssqzr added the bug Something isn't working label Nov 25, 2024
@vaxerski
Copy link
Member

try now

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

2 participants