Bug 893071 - [abrt] eog-3.6.2-1.fc18: _cairo_mempool_init: Process /usr/bin/eog was killed by signal 6 (SIGABRT)
Summary: [abrt] eog-3.6.2-1.fc18: _cairo_mempool_init: Process /usr/bin/eog was killed...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cairo
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Benjamin Otte
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a1c1e6020569a731be0e734181f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-08 14:14 UTC by Andrei Amuraritei
Modified: 2013-07-05 18:19 UTC (History)
5 users (show)

Fixed In Version: cairo-1.12.14-2.fc18
Clone Of:
Environment:
Last Closed: 2013-07-05 09:25:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (43.85 KB, text/plain)
2013-01-08 14:14 UTC, Andrei Amuraritei
no flags Details
File: cgroup (130 bytes, text/plain)
2013-01-08 14:14 UTC, Andrei Amuraritei
no flags Details
File: core_backtrace (3.56 KB, text/plain)
2013-01-08 14:14 UTC, Andrei Amuraritei
no flags Details
File: dso_list (10.17 KB, text/plain)
2013-01-08 14:14 UTC, Andrei Amuraritei
no flags Details
File: environ (1.93 KB, text/plain)
2013-01-08 14:14 UTC, Andrei Amuraritei
no flags Details
File: limits (1.29 KB, text/plain)
2013-01-08 14:14 UTC, Andrei Amuraritei
no flags Details
File: maps (48.85 KB, text/plain)
2013-01-08 14:14 UTC, Andrei Amuraritei
no flags Details
File: open_fds (551 bytes, text/plain)
2013-01-08 14:14 UTC, Andrei Amuraritei
no flags Details
File: proc_pid_status (922 bytes, text/plain)
2013-01-08 14:14 UTC, Andrei Amuraritei
no flags Details

Description Andrei Amuraritei 2013-01-08 14:14:15 UTC
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

Comment 1 Andrei Amuraritei 2013-01-08 14:14:22 UTC
Created attachment 674862 [details]
File: backtrace

Comment 2 Andrei Amuraritei 2013-01-08 14:14:27 UTC
Created attachment 674863 [details]
File: cgroup

Comment 3 Andrei Amuraritei 2013-01-08 14:14:32 UTC
Created attachment 674864 [details]
File: core_backtrace

Comment 4 Andrei Amuraritei 2013-01-08 14:14:35 UTC
Created attachment 674865 [details]
File: dso_list

Comment 5 Andrei Amuraritei 2013-01-08 14:14:37 UTC
Created attachment 674866 [details]
File: environ

Comment 6 Andrei Amuraritei 2013-01-08 14:14:40 UTC
Created attachment 674867 [details]
File: limits

Comment 7 Andrei Amuraritei 2013-01-08 14:14:42 UTC
Created attachment 674868 [details]
File: maps

Comment 8 Andrei Amuraritei 2013-01-08 14:14:44 UTC
Created attachment 674869 [details]
File: open_fds

Comment 9 Andrei Amuraritei 2013-01-08 14:14:46 UTC
Created attachment 674870 [details]
File: proc_pid_status

Comment 10 rob.kleingunnewiek 2013-02-16 07:07:09 UTC
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)

Comment 11 Kalev Lember 2013-02-16 12:00:53 UTC
Looks like a cairo issue. Reassigning.

Comment 12 Stanislav Brabec 2013-07-04 16:21:04 UTC
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.

Comment 13 Stanislav Brabec 2013-07-04 20:45:49 UTC
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.

Comment 14 Kalev Lember 2013-07-05 09:25:20 UTC
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.

Comment 15 Stanislav Brabec 2013-07-05 18:02:50 UTC
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.

Comment 16 Kalev Lember 2013-07-05 18:19:37 UTC
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


Note You need to log in before you can comment on or make changes to this bug.