After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 708141 - Kms winsys crashes when resizing framebuffer
Kms winsys crashes when resizing framebuffer
Status: RESOLVED FIXED
Product: cogl
Classification: Platform
Component: EGL
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Cogl maintainer(s)
Cogl maintainer(s)
wayland
Depends on:
Blocks:
 
 
Reported: 2013-09-16 08:25 UTC by Giovanni Campagna
Modified: 2014-04-11 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Giovanni Campagna 2013-09-16 08:25:14 UTC
If I resize the framebuffer using the cogl_kms_display_set_layout() API, I get a crash at the next swap event, because gbm_surface_lock_front_buffer() returns NULL.

I think the problem is we still attempt to draw to the old surface, so the new one doesn't have a back buffer yet.
This is just my guess, and I don't how to fix it.
Comment 1 Matthias Clasen 2014-04-11 19:02:58 UTC
probably not relevant anymore