-
Notifications
You must be signed in to change notification settings - Fork 341
Crash with chromium ozone #2056
Comments
It'll be very hard to understand what's going on without a stack trace. |
Any idea why it's not being created? |
No, sorry. Attaching with GDB via SSH may be a workaround. |
Or just running Sway in GDB in Sway, since it's not DRM-related. |
Here's a trace. |
This comment has been minimized.
This comment has been minimized.
Seems like it hits this assert: wlroots/types/xdg_shell/wlr_xdg_surface.c Line 360 in 8d2e8d8
|
Here's my stacktrace. https://github.com/swaywm/wlroots/blob/0.10.1/types/xdg_shell/wlr_xdg_toplevel.c#L182
|
Just hit the |
Or, wait, this is weird — there is a couple of early returns in between I'm especially not sure about the "xdg-surface has already been constructed" one. That check looks like it should happen before everything else. The other ones are |
A fix has been merged to send a protocol error instead of dying on an assert. |
Hm, looking at it again, #2318 just swaps two function calls that send protocol errors. So it should have zero impact, shouldn't have merged it? |
Does My thinking was, in the original code it could be that |
Yes. Line 712 in 58df3ed
Former behaviour:
New behaviour after #2318
|
Reopen if the bug is not fixed? |
I confirm that this bug is still reproducible on
|
Weird, it seems like |
Wait, so is this bug related to the linked issues? |
I can reproduce this crash with pcmanfm 0.15.1 and QT 5.15.0. The crash sometimes happens when pcmanfm creates a popup when you hover over icons. The backtrace is the same as the originally reported backtrace, but I can post it again.
|
I am using sway 1.4 with wlroots 0.10.0 and I notice that wlroots crashes when chromium (v80) ozone creates too many popups.
The issue can be reproduced by creating nested bookmarks (ie: bookmark folders inside the bookmarks toolbar) and then navigating to the nested bookmark and clicking on the bookmark. This bug is not 100% reproducible (sometimes chromium will crash and sway will still work). Chromium will be running in the background after sway crashes.
Here is the debug log of sway when it crashes (using a vanilla config).
Stacktrace is here.
wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2056
The text was updated successfully, but these errors were encountered: