Confirmed, this bug is still around and Frits' fix (comment #4) worked for me on Linux Mint 17.3: $ gdb --args eog IMG_9458_stitch.jpg GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from eog...(no debugging symbols found)...done. (gdb) r Starting program: /usr/bin/eog IMG_9458_stitch.jpg [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named 'libstdcxx' [New Thread 0x7fffec3be700 (LWP 24975)] [New Thread 0x7fffebbbd700 (LWP 24976)] [New Thread 0x7fffeb1af700 (LWP 24977)] [New Thread 0x7fffea9ae700 (LWP 24978)] (eog:24971): EOG-WARNING **: Couldn't load icon: Error writing eog: /build/buildd/cairo-1.13.0~20140204/src/cairo-xlib-surface-shm.c:619: _cairo_xlib_shm_pool_create: Assertion `*ptr != ((void *)0)' failed. Program received signal SIGABRT, Aborted. 0x00007ffff3bbccc9 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff3bbccc9 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff3bc00d8 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007ffff3bb5b86 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #3 0x00007ffff3bb5c32 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6 #4 0x00007ffff5165873 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2 #5 0x00007ffff51661e7 in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2 #6 0x00007ffff516627c in ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2 #7 0x00007ffff5135d8d in cairo_surface_create_similar_image () from /usr/lib/x86_64-linux-gnu/libcairo.so.2 #8 0x00007ffff5baafec in gdk_cairo_set_source_pixbuf () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #9 0x000000000044ae0d in ?? () #10 0x000000000044d4fb in eog_scroll_view_set_image () #11 0x0000000000435e61 in ?? () #12 0x000000000043698b in ?? () #13 0x00007ffff469a5e7 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #14 0x00007ffff46b3088 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #15 0x00007ffff46b3ce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #16 0x0000000000425e9c in ?? () #17 0x00007ffff43cace5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #18 0x00007ffff43cb048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007ffff43cb0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #20 0x00007ffff5698b9c in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #21 0x000000000041e6cb in main ()