swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.53k stars 1.11k forks source link

GTK4 apps crashing on first mouseover #8216

Open tokyovigilante opened 3 months ago

tokyovigilante commented 3 months ago

https://gist.github.com/tokyovigilante/bce2706aed5cea8bdda268605a06097d

00:00:04.505 [ERROR] [wlr] [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface 0x205a5e20 seems relevant.

emersion commented 3 months ago

Can you provide a WAYLAND_DEBUG=1 log of your client?

WAYLAND_DEBUG=1 your-client >client.log 2>&1
# Then reproduce the bug
tokyovigilante commented 3 months ago

Thanks for reviewing, WAYLAND_DEBUG log attached. client.log

emersion commented 3 months ago

Weird, the stack trace indicates a crash triggered by wl_abort() but the error message is nowhere to be seen.

danielcb commented 3 months ago

Same issue, same error message. Also on fedora rawhide.

tokyovigilante commented 3 months ago

I saw #8115 and #8232 and thought that PR may have helped, but can still reproduce this with current HEAD (818ea173) which includes this fix.

tokyovigilante commented 3 months ago

Have just updated Fedora (including libadwaita) and GTK4 applications are no longer crashing, so presumably this was a GTK bug which has been fixed, although I didn't see anything in Bugzilla about it. @danielcb if you could also update and confirm resolution I will close this.

danielcb commented 3 months ago

Yep, I can confirm that after the recent updates the bug disappeared.