[cairo] Crashes when large images are opened

Anton Eliasson devel at antoneliasson.se
Thu Mar 14 09:25:14 PDT 2013

Using Arch Linux 64-bit, Eye of gnome 3.6.2 and cairo 1.12.14, Eog 
crashes with the following message:

     eog: cairo-mempool.c:160: get_buddy: Assertion `offset + (1 << 
bits) <= pool->num_blocks' failed.

     Program received signal SIGABRT, Aborted.

To reproduce: open one large image (>~5 Mpix) and flip to the next one 
in the same directory. I've been able to reproduce this using cairo 
version 1.12.10-2, 1.12.12-1 and 1.12.14-3 but not in 1.12.8-2 (or, 
presumably, earlier versions).

Downstream bug with gdb run and stacktrace: 
Bug report in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=912030
Discussion in an Ubuntu mailing list where a user has been able to 
reproduce this in Gthumb which also uses cairo (I think): 

Sample image files in case you don't have any large images at all: 

Med vänliga hälsningar
Anton Eliasson

More information about the cairo mailing list