GNOME Bugzilla – Bug 767001
[WAYLAND] Screen recording crashes the shell
Last modified: 2016-06-28 17:04:53 UTC
Triggering a screen record with Ctrl-Alt-Shift-r immediately crashes the shell. Somewhere inside Cogl it seems : [165599.594887] gnome-shell[17921]: segfault at 64 ip 00007f70a96bf800 sp 00007fffc11f39d8 error 4 in libcogl.so.20.4.1[7f70a9668000+b5000]
Created attachment 329225 [details] [review] shell-recorder: Ensure we remove the redraw timeout on finalize Otherwise we may end up using freed memory and crashing
Created attachment 329226 [details] [review] shell-recorder: Avoid a crash when the cursor texture is NULL When running as a wayland compositor, MetaCursorTracker might legitimately not have a displayed cursor because e.g. a client unsets the cursor surface. Nore that, under an X session, the assumption that the tracker always has a cursor texture is true because XFixesGetCursorImage() always returns data even if the cursor isn't visible. -- I think this is the crash reported here. The other patch fixes a crash I hit while debugging this one.
Review of attachment 329226 [details] [review]: OK
Review of attachment 329225 [details] [review]: LGTM
Thanks, pushed to master and gnome-3-20 Attachment 329225 [details] pushed as c91085c - shell-recorder: Ensure we remove the redraw timeout on finalize Attachment 329226 [details] pushed as 2a7f9f7 - shell-recorder: Avoid a crash when the cursor texture is NULL