Description of problem: While trying to view bootgraph.svg generated by systemd-analyze plot > bootgraph.svg. Version-Release number of selected component: eog-3.6.2-1.fc18 Additional info: backtrace_rating: 4 cmdline: /usr/bin/eog /storage/backup1/bootgraph.svg crash_function: _cairo_mempool_init executable: /usr/bin/eog kernel: 3.6.10-4.fc18.x86_64 remote_result: NOTFOUND uid: 1000 var_log_messages: Jan 8 16:08:28 deiu abrt[23227]: Saved core dump of pid 23218 (/usr/bin/eog) to /var/spool/abrt/ccpp-2013-01-08-16:08:27-23218 (450351104 bytes) xsession_errors: eog: cairo-mempool.c:289: _cairo_mempool_init: Assertion `(((unsigned long) base) & ((1 << min_bits) - 1)) == 0' failed. Truncated backtrace: Thread no. 1 (10 frames) #4 _cairo_mempool_init at cairo-mempool.c:289 #5 _cairo_xlib_shm_pool_create at cairo-xlib-surface-shm.c:557 #6 _cairo_xlib_shm_info_create at cairo-xlib-surface-shm.c:595 #7 _cairo_xlib_shm_surface_create at cairo-xlib-surface-shm.c:764 #8 _cairo_xlib_surface_create_shm at cairo-xlib-surface-shm.c:1085 #9 draw_image_boxes at cairo-xlib-render-compositor.c:296 #10 upload_boxes at cairo-traps-compositor.c:1331 #11 clip_and_composite_boxes at cairo-traps-compositor.c:1725 #12 _cairo_traps_compositor_paint at cairo-traps-compositor.c:2036 #13 _cairo_compositor_paint at cairo-compositor.c:65
Created attachment 674862 [details] File: backtrace
Created attachment 674863 [details] File: cgroup
Created attachment 674864 [details] File: core_backtrace
Created attachment 674865 [details] File: dso_list
Created attachment 674866 [details] File: environ
Created attachment 674867 [details] File: limits
Created attachment 674868 [details] File: maps
Created attachment 674869 [details] File: open_fds
Created attachment 674870 [details] File: proc_pid_status
1. Installed systemd-analyze-197-1.fc18.1.x86_64 2. Ran systemd-analyze plot > bootchart.svg as a nonpriviledged user 3. Ran xdg-open bootchart.svg Please note that I have attached 'bootchart.svg'. Output on the terminal shows an assertion failed: eog: cairo-mempool.c:289: _cairo_mempool_init: Assertion `(((unsigned long) base) & ((1 << min_bits) - 1)) == 0' failed. backtrace_rating: 4 Package: eog-3.6.2-1.fc18 OS Release: Fedora release 18 (Spherical Cow)
Looks like a cairo issue. Reassigning.
I have seen the same issue on openSUSE 12.3: https://bugzilla.novell.com/show_bug.cgi?id=828074 It crashed on one machine on every image taken by Panasonic DMC-FS30 (but not from another camera) and even for them, it does not crash every time. It did not crash before, but now it crashes even after downgrade all libraries used by eog to the 12.3 GoldMaster versions. My graphic controller: Integrated on Intel DG45FC motherboard. Display Dell U2410 turned into AdobeRGB mode. Using GNOME color management, display profile is set to AdobeRGB1998.icc. I am not able to reproduce it on another openSUSE 12.3 machine with ATI RV620 LE [Radeon HD 3450] graphic card and color management turned off.
I just found a fix in the upstream git: a0fb1391315033de54368715a8855aedea258e67 https://build.opensuse.org/package/view_file/home:sbrabec:branches:openSUSE:12.3:Update/cairo.openSUSE_12.3_Update?expand=1&file=cairo-reduce-assertion.patch 10 of 10 attempts of previously crashing image in eog now succeeded.
Thanks Stanislav! Looks like it should already be fixed in Fedora: the patch was included in cairo 1.12.10 release and F18 and F19 are already at cairo 1.12.14.
Well, at least in openSUSE, there is another problem: The image now opens correctly, but pressing space (next image) causes another similar crash: eog: cairo-mempool.c:160: get_buddy: Assertion `offset + (1 << bits) <= pool->num_blocks' failed. Neúspěšně ukončen (SIGABRT) This time, the crash is reproducible with cs_CZ.UTF-8 locale, but not C locale.
In Fedora, we have a backported patch for that: http://pkgs.fedoraproject.org/cgit/cairo.git/tree/0003-mempool-Reduce-an-assert-into-an-error-return-for-ge.patch