Follow

Any wayland experienced developers can help out diagnose a crash in libwayland-client?

clone github.com/falkTX/wayland-audi
make && ./test-crash

(needs quite a few deps because its a test repo, should be obvious to any developer)

valgrind reports in the attached picture.

I suspect the load, unload and load again to be the issue.

Well nevermind, fixed it in github.com/falkTX/wayland-audi

(with some other little cleanup too)

basically I need to call "eglMakeCurrent(display, NULL, NULL, NULL);" to invalidate the GL context before deleting it.

everything works fine if this is the last thing the app does. crash happens if we create a new context after we delete one without "clearing" it first.

@dvzrv I think I solved the issue now, but doing some stress testing first...

seems we need to clear the GL context before destroying it. if not the next GL context creation fails badly.

Sign in to participate in the conversation
falkTX Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!