Hi I reported this crash to kde team, a developer said can be a bug with mesa. See the link to my bug report in kde bug tracker please, it contains some debug info. https://bugs.kde.org/show_bug.cgi?id=381702
What GPU are you using, and what version of mesa?
gpu intel hd 4000 mesa 12.0.6 My bug report in kde tracker is about neon developer unstable edition, but this crash also happens on Arch running mesa 17.1.4 on the same hardware. On both systems the crash happens only under Wayland session.
Crash is still happening on Arch Linux running mesa 17.3.3-2.
Since it crashed inside Wayland client lets move this bug there to start with.
Sorry, but please bounce this bug back to KDE. What is happening is that there is an asynchronous thread calling eglSwapBuffers(), using the wl_egl_window + wl_surface objects passed to EGL. KDE/Qt destroy the wl_surface too early and eglSwapBuffers tries to access now-freed memory. It must destroy the EGLSurface (and stop rendering to it!) before it destroys the wl_surface.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.