We have the following setup:
- a custom QtWaylandCompositor
- a client application that provides several QWindows, thus using the QWayland QPA (-platform wayland)
- one window contains a QQuickFramebuffer object, in which we have a very simple rendering of a square (for testing purposes)
In this setup, we can quite reproducible create a crash by often setting the window visibility between false and true, via QWindow:.setVisible. Please have a look at the attached ASAN report for the issue.