hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.94k stars 914 forks source link

crash on exec "wlrctl pointer move 33 77" #6072

Closed jheroy closed 4 months ago

jheroy commented 6 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0). Date: Sat May 4 15:42:32 2024 Tag: v0.40.0, commits: 4606 flags: (if any) System Information: System name: Linux Node name: archlinux Release: 6.6.30-2-lts Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:45:29 +0000 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070 Ti] [10de:1b82] (rev a1) (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: ```

Bug or Regression?

Bug

Description

XIO: fatal IO error 13 (Permission denied) on X server ":0"

How to reproduce

execute wlrctl pointer move 33 77 tiwice

Crash reports, logs, images, videos

No response

jheroy commented 6 months ago

By the way, using https://github.com/moverest/wl-kbptr to click the mouse also triggers the same crash effect. Suspecting it's the same bug.

vaxerski commented 6 months ago

can't repro. Try on git, plus, always post a crash report.

image

jheroy commented 6 months ago

hyprland.log

I have conducted further tests and found that the Hyprland does not crash when only one terminal is open. However, if I launch X11 programs that use Xwayland, and the wlrctl command use coordinates in an area where an X11 program is running, the system will crash. Additionally, my monitor arrangement is as follows:

monitor=DP-1,highres,auto,1
monitor=DP-2,highres,-2160x-1190,1,transform,1
amarakon commented 4 months ago

@vaxerski Have you tried reproducing the bug with more than one window open? I'm experiencing the same thing as @jheroy, where it works when only one terminal is open.

vaxerski commented 4 months ago

marking this for 0.42 if I will be able to reproduce

can one of you get a debug stacktrace? https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-debug-stacktrace

amarakon commented 4 months ago

I tried it on the latest git commit, and I still get this issue. Unfortunately, I can't get a debug stacktrace since I'm on OpenRC. Here's a log if it helps though. hyprland.log

vaxerski commented 4 months ago

can't repro, is this still a thing after #6608 was merged?

vaxerski commented 4 months ago

closing, no activity