We are seeing crashes in our Wayland client applications. Our applications open and close multiple windows throughout their lifecycle and it appears that the Vivante driver does not destroy the Wayland buffer proxy objects with wl_buffer_destroy, so they still get release events when they are already destroyed
We were able to replicate this crash with a small modifiication to simple-egl.c, running under Weston. Attached is the patch to simple-egl.c and the backtrace of the crash, collected on a SabreSD board running fsl-yocto-3.10.53-1.1.0 BSP.
Is our code incorrect, or is this a bug? If it is a bug, is there a workaround?
Original Attachment has been moved to: simple-egl.c.patch.zip
Original Attachment has been moved to: wl_buffer_release-crash-bt.txt.zip