Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Assertion failed: (resource && wlr_resource_is_buffer(resource)), function wlr_buffer_from_resource, file types/wlr_buffer.c, line 198. #3173

Closed
jbeich opened this issue Sep 7, 2021 · 4 comments · Fixed by #3174

Comments

@jbeich
Copy link
Contributor

jbeich commented Sep 7, 2021

Regressed by ba0525c. Steps to reproduce:

$ echo "exec sleep 0.3 && foot -d none -c /dev/null sh -c 'sleep 0.3 && exit'" >/tmp/sway.conf
$ sway -c /tmp/sway.conf
Assertion failed: (resource && wlr_resource_is_buffer(resource)), function wlr_buffer_from_resource, file types/wlr_buffer.c, line 198.

See also debug log

@emersion
Copy link
Member

emersion commented Sep 7, 2021

For some reason I'm not able to reproduce. Can you try #3174?

@tsdh
Copy link

tsdh commented Sep 7, 2021

@emersion Your commit 913dcdc fixes the issue for me. Sway starts again.

@jbeich
Copy link
Contributor Author

jbeich commented Sep 7, 2021

I confirm, sway doesn't crash after applying #3174.

emersion added a commit that referenced this issue Sep 7, 2021
Fixes: ba0525c ("surface: drop wlr_surface_state.buffer_resource")
Closes: #3173
@emersion
Copy link
Member

emersion commented Sep 7, 2021

Thanks for testing!

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

Successfully merging a pull request may close this issue.

3 participants