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

Crash on send cancel to koreader(xwayland) #53

Closed
horriblename opened this issue Oct 16, 2023 · 3 comments
Closed

Crash on send cancel to koreader(xwayland) #53

horriblename opened this issue Oct 16, 2023 · 3 comments

Comments

@horriblename
Copy link
Owner

horriblename commented Oct 16, 2023

crashes on sending cancel events to xwayland surfaces

crash log
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Sorry, didn't mean to...

Hyprland received signal 11 (Segmentation fault)

Version: e4bcd2e2da3136fb55886c4f02dd4a01099e687b
Tag: 

Hyprland seems to be running with plugins. This crash might not be Hyprland's fault.
Plugins:
	hyprgrass (horriblename) 0.2


System info:
	System name: Linux
	Node name: fedora.fritz.box
	Release: 6.3.6-2.surface.fc38.x86_64
	Version: #1 SMP PREEMPT_DYNAMIC Fri Jun  9 17:33:07 UTC 2023

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) (prog-if 00 [VGA controller])


os-release:
	NAME="Fedora Linux"
	VERSION="38 (Workstation Edition)"
	ID=fedora
	VERSION_ID=38
	VERSION_CODENAME=""
	PLATFORM_ID="platform:f38"
	PRETTY_NAME="Fedora Linux 38 (Workstation Edition)"
	ANSI_COLOR="0;38;2;60;110;180"
	LOGO=fedora-logo-icon
	CPE_NAME="cpe:/o:fedoraproject:fedora:38"
	DEFAULT_HOSTNAME="fedora"
	HOME_URL="https://fedoraproject.org/"
	DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f38/system-administrators-guide/"
	SUPPORT_URL="https://ask.fedoraproject.org/"
	BUG_REPORT_URL="https://bugzilla.redhat.com/"
	REDHAT_BUGZILLA_PRODUCT="Fedora"
	REDHAT_BUGZILLA_PRODUCT_VERSION=38
	REDHAT_SUPPORT_PRODUCT="Fedora"
	REDHAT_SUPPORT_PRODUCT_VERSION=38
	SUPPORT_END=2024-05-14
	VARIANT="Workstation Edition"
	VARIANT_ID=workstation
	


Backtrace:
	#0 | /home/py/.nix-profile/bin/Hyprland(_Z12getBacktracev+0x48) [0x560048]
		_Z12getBacktracev
		??:?
	#1 | /home/py/.nix-profile/bin/Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x59f) [0x51d25f]
		_ZN13CrashReporter18createAndSaveCrashEi
		??:?
	#2 | /home/py/.nix-profile/bin/Hyprland(_Z25handleUnrecoverableSignali+0x3f) [0x496bcf]
		_Z25handleUnrecoverableSignali
		??:?
	#3 | /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6(+0x38d30) [0x7f673ed72d30]
		??
		??:0
	#4 | /nix/store/h49c512ci9m7bja7zhaz6y1ib38b9cs9-wayland-1.22.0/lib/libwayland-server.so.0(wl_resource_get_client+0) [0x7f673fa6c680]
		??
		??:0
	#5 | /nix/store/54wi6c222qw6hcq25qc2vzamxk6ks4nx-wlroots-hyprland-2023-10-04_3406c1b/lib/libwlroots.so.12(wlr_seat_touch_send_cancel+0xf) [0x7f673f9bda6f]
		??
		??:0
	#6 | /nix/store/54wi6c222qw6hcq25qc2vzamxk6ks4nx-wlroots-hyprland-2023-10-04_3406c1b/lib/libwlroots.so.12(wlr_seat_touch_notify_cancel+0x1f) [0x7f673f9bd32f]
		??
		??:0
	#7 | /nix/store/5qphs6zjnjm5ngqjzfvv5sv5nahrb4ga-hyprgrass-0.3.0/lib/libhyprgrass.so(_ZN9CGestures25sendCancelEventsToWindowsEv+0x36) [0x7f673c0d9376]
		??
		??:0
	#8 | /nix/store/5qphs6zjnjm5ngqjzfvv5sv5nahrb4ga-hyprgrass-0.3.0/lib/libhyprgrass.so(_ZN21MultiFingerDownAction12update_stateERKN2wf5touch15gesture_state_tERKNS1_15gesture_event_tE+0x72) [0x7f673c0ea4a2]
		??
		??:0
	#9 | /nix/store/5qphs6zjnjm5ngqjzfvv5sv5nahrb4ga-hyprgrass-0.3.0/lib/libhyprgrass.so(_ZN2wf5touch9gesture_t12update_stateERKNS0_15gesture_event_tE+0x12b) [0x7f673c0ed14b]
		??
		??:0
	#10 | /nix/store/5qphs6zjnjm5ngqjzfvv5sv5nahrb4ga-hyprgrass-0.3.0/lib/libhyprgrass.so(_ZN15IGestureManager14updateGesturesERKN2wf5touch15gesture_event_tE+0x3f) [0x7f673c0ea8ff]
		??
		??:0
	#11 | /nix/store/5qphs6zjnjm5ngqjzfvv5sv5nahrb4ga-hyprgrass-0.3.0/lib/libhyprgrass.so(_ZN15IGestureManager11onTouchDownERKN2wf5touch15gesture_event_tE+0x20) [0x7f673c0ea9a0]
		??
		??:0
	#12 | /nix/store/5qphs6zjnjm5ngqjzfvv5sv5nahrb4ga-hyprgrass-0.3.0/lib/libhyprgrass.so(_ZN9CGestures11onTouchDownEP20wlr_touch_down_event+0x1d8) [0x7f673c0da2b8]
		??
		??:0
	#13 | /nix/store/5qphs6zjnjm5ngqjzfvv5sv5nahrb4ga-hyprgrass-0.3.0/lib/libhyprgrass.so(_Z13hkOnTouchDownPvP20wlr_touch_down_event+0x1b) [0x7f673c0d48fb]
		??
		??:0
	#14 | /nix/store/h49c512ci9m7bja7zhaz6y1ib38b9cs9-wayland-1.22.0/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7c) [0x7f673fa6da1c]
		??
		??:0
	#15 | /nix/store/h49c512ci9m7bja7zhaz6y1ib38b9cs9-wayland-1.22.0/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7c) [0x7f673fa6da1c]
		??
		??:0
	#16 | /nix/store/54wi6c222qw6hcq25qc2vzamxk6ks4nx-wlroots-hyprland-2023-10-04_3406c1b/lib/libwlroots.so.12(+0x609b9) [0x7f673f9a49b9]
		??
		??:0
	#17 | /nix/store/54wi6c222qw6hcq25qc2vzamxk6ks4nx-wlroots-hyprland-2023-10-04_3406c1b/lib/libwlroots.so.12(+0x5df1b) [0x7f673f9a1f1b]
		??
		??:0
	#18 | /nix/store/h49c512ci9m7bja7zhaz6y1ib38b9cs9-wayland-1.22.0/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f673fa6f8f2]
		??
		??:0
	#19 | /nix/store/h49c512ci9m7bja7zhaz6y1ib38b9cs9-wayland-1.22.0/lib/libwayland-server.so.0(wl_display_run+0x25) [0x7f673fa6d455]
		??
		??:0
	#20 | /home/py/.nix-profile/bin/Hyprland(main+0xb29) [0x484149]
		main
		??:?
	#21 | /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6(+0x23ace) [0x7f673ed5dace]
		??
		??:0
	#22 | /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libc.so.6(__libc_start_main+0x89) [0x7f673ed5db89]
		??
		??:0
	#23 | /home/py/.nix-profile/bin/Hyprland(_start+0x25) [0x496a35]
		_start
		??:?


Log tail:
[LOG] Cleanup: destroyed a layersurface
[LOG] LayerSurface 3d97040 unmapped
[LOG] Framebuffer created, status 36053
[LOG] Callback 3d5d050 -> 3d5d048, CWLSurface removed.
[LOG] CWLSurface 3d5d020 called destroy()
[LOG] Set keyboard focus to surface 3d438a0, with [Window 3d88c50: title: "foot"]
[LOG] LayerSurface 3d97040 destroyed
[LOG] Callback 3d5d208 -> 3d5d200, layerSurface removed.
[LOG] Callback 3d5d0d0 -> 3d5d0c8, layerSurface removed.
[LOG] Callback 3d5d138 -> 3d5d130, layerSurface removed.
[LOG] Callback 3d5d1a0 -> 3d5d198, layerSurface removed.
[LOG] Callback 3d5d270 -> 3d5d268, layerSurface removed.
[LOG] LayerSurface 2b0f6f0 arranged: x: 0 y: 0 w: 46 h: 847 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 2b97130 arranged: x: 0 y: 0 w: 1270 h: 847 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 2b97138 arranged: x: 0 y: 0 w: 1270 h: 847 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-1 layers arranged: reserved: [46.00000, 0.00000] [0.00000, 0.00000]
[wlr] [types/wlr_compositor.c:689] New wlr_surface 0x3d8a590 (res 0x3d8b130)
[wlr] [types/wlr_compositor.c:689] New wlr_surface 0x3d82260 (res 0x3d82610)
[wlr] [types/wlr_compositor.c:689] New wlr_surface 0x3ddc410 (res 0x3ddc7c0)
[LOG] Cleanup: destroyed a layersurface
[wlr] [types/wlr_server_decoration.c:104] new server_decoration 0x3d65410 (res 0x3125730)
[wlr] [types/xdg_shell/wlr_xdg_surface.c:390] new xdg_surface 0x3d8c990 (res 0x30ada30)
[LOG] New XDG Surface created. (class: org.gnome.Logs)
[LOG] Registered signal for owner 3d8cb20: 3ddc6f0 -> 3d8cb88 (owner: XDG Window)
[LOG] Registered signal for owner 3d8cb20: 3d8ca38 -> 3d8cc58 (owner: XDG Window)
[wlr] [types/wlr_xdg_activation_v1.c:112] Rejecting token commit request: serial 0 was never given to client
[wlr] [types/wlr_xdg_activation_v1.c:306] Rejecting activate request: unknown token
[LOG] Registered signal for owner 3d8cb20: 2aa64e0 -> 3d8d138 (owner: Toplevel)
[LOG] Registered signal for owner 3d8cb20: 2aa64f0 -> 3d8d1a0 (owner: Toplevel)
[LOG] Registered signal for owner 3d8cb20: 2aa6500 -> 3d8d0d0 (owner: Toplevel)
[LOG] Registered signal for owner 3d8d340: 3ddc720 -> 3d8d348 (owner: CWLSurface)
[LOG] CWLSurface 3d8d340 called init()
[LOG] Registered signal for owner 3d8cb20: 3ddc700 -> 3d8cbf0 (owner: CWindow)
[LOG] Searching for matching rules for org.gnome.Logs (title: Logs)
[LOG] OPENINGON: [Node 3d968c0: workspace: 1, pos: [46.00, 0.00], size: [1224.00, 847.00], window: 3d88c50], Monitor: 0
[LOG] Set keyboard focus to surface 3ddc410, with [Window 3d8cb20: title: "Logs"]
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 3d8cb20: 3ddc6e0 -> 3d8cb20 (owner: XDG Window Late)
[LOG] Registered signal for owner 3d8cb20: 2807668 -> 3d8ccc0 (owner: XDG Window Late)
[LOG] Registered signal for owner 3d8cb20: 3d8ca58 -> 3d8cdf8 (owner: XDG Window Late)
[LOG] Registered signal for owner 3d8cb20: 28075f8 -> 3d8cf30 (owner: XDG Window Late)
[LOG] Registered signal for owner 3d8cb20: 2807618 -> 3d8cec8 (owner: XDG Window Late)
[LOG] Registered signal for owner 3d8cb20: 2807628 -> 3d8ce60 (owner: XDG Window Late)
[LOG] Registered signal for owner 3d8cb20: 2807638 -> 3d8cf98 (owner: XDG Window Late)
[LOG] Registered signal for owner 3d8cb20: 2807608 -> 3d8cd90 (owner: XDG Window Late)
[LOG] Registered signal for owner 2b215c0: 3ddc710 -> 2b21638 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 2b215c0: 3ddc6e0 -> 2b216a0 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 2b215c0: 3ddc720 -> 2b21708 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! [Window 3d8cb20: title: "Logs"]
[LOG] Map request dispatched, monitor eDP-1, window pos: [666.00000, 8.00000], window size: [596.00000, 831.00000]
@horriblename
Copy link
Owner Author

It's xwayland (of course it is)

@horriblename horriblename changed the title Crash on send cancel Crash on send cancel to xwayland surface Oct 16, 2023
@horriblename
Copy link
Owner Author

lol so only koreader is affected, other xwayland apps don't crash me

@horriblename horriblename changed the title Crash on send cancel to xwayland surface Crash on send cancel to koreader(xwayland) Oct 16, 2023
@horriblename
Copy link
Owner Author

doesn't happen anymore and too old to figure out what happened

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant