Latest Ubuntu says version 1.14.6-1 cairo-xlib-surface-shm.c:619 should check for NULL and return an error code. Gnome Image Viewer is asserting (and then stopping) 3.18.2 because of this code. Best practice is to check and return an error code so application can handle their issue (that they are calling your API with NULL)
The crash is caused by a 14MB panorama JPG, let me know if you would like me to upload it on your server.
Created attachment 135163 [details] stack
Created attachment 135164 [details] stack 2
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/334.
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.