To reproduce: open one large image (>~5 Mpix) and flip to the next one in the same directory. $ eog <image_more_5M>.jpg eog: cairo-mempool.c:160: get_buddy: Assertion `offset + (1 << bits) <= pool->num_blocks' failed. Aborted It was already reported upstream, http://lists.cairographics.org/archives/cairo/2013-March/024155.html and it has been fixed http://cgit.freedesktop.org/cairo/commit/src/cairo-mempool.c?id=01a8bf01c6508a4fea8d40371c3049e7a2f7908a It help me. Please, add this patch into x11-libs/cairo ebuild.
Fixed in 1.12.16