GNOME Bugzilla – Bug 676735
eog crashes when quickly clicking the Back button twice
Last modified: 2012-05-27 13:23:37 UTC
When quickly clicking two times on the Back button in eog (as fast as a double-click) in order to go back two images, eog always crashes: Core was generated by `eog /home/frederik/barcelona/DSC_4947.JPG'. Program terminated with signal 6, Aborted.
+ Trace 230267
Thread 1 (Thread 0x7f5dce37a940 (LWP 1375))
I'm using eog 3.4.1 on Debian Wheezy AMD64.
Could you also install the debug package for eog-plugins and attach the stacktrace again?
Unfortuantely Debian is missing an eog-plugins-dbg package. But I build eog and eog-plugins from source, and I got this when running in gdb: *** glibc detected *** /opt/eog/bin/eog: double free or corruption (!prev): 0x0000000000cade90 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x75b46)[0x7ffff36e7b46] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7ffff36ec87c] /opt/eog/lib/eog/plugins/libexif-display.so(+0x3505)[0x7fffec9d5505] /opt/eog/lib/eog/plugins/libexif-display.so(+0x417a)[0x7fffec9d617a] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x1173a)[0x7ffff494e73a] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x421)[0x7ffff4966fb1] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7ffff4967ab2] /opt/eog/bin/eog[0x425b2c] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x133)[0x7ffff3e75853] /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4aba0)[0x7ffff3e75ba0] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7ffff3e75c64] /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_application_run+0x1a4)[0x7ffff5c4a184] /opt/eog/bin/eog(main+0x207)[0x41efe7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7ffff3690ead] /opt/eog/bin/eog[0x41f0fd] ======= Memory map: ======== 00400000-00473000 r-xp 00000000 fe:00 791703 /opt/eog/bin/eog 00673000-00677000 rw-p 00073000 fe:00 791703 /opt/eog/bin/eog 00677000-00e2e000 rw-p 00000000 00:00 0 [heap] 7fffd93c2000-7fffdefce000 rw-p 00000000 00:00 0 7fffdefce000-7fffdefdf000 r--p 00000000 fe:00 150448 /usr/share/locale/en_GB/LC_MESSAGES/shotwell.mo 7fffdefdf000-7fffdeff8000 r--p 00000000 fe:00 134324 /usr/share/locale/en_GB/LC_MESSAGES/libexif-12.mo 7fffe1be8000-7fffe1bfd000 r-xp 00000000 fe:00 140819 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fffe1bfd000-7fffe1dfd000 ---p 00015000 fe:00 140819 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fffe1dfd000-7fffe1dfe000 rw-p 00015000 fe:00 140819 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fffe1dfe000-7fffe1e02000 r-xp 00000000 fe:00 263258 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so 7fffe1e02000-7fffe2002000 ---p 00004000 fe:00 263258 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so 7fffe2002000-7fffe2003000 r--p 00004000 fe:00 263258 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so 7fffe2003000-7fffe2004000 rw-p 00005000 fe:00 263258 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so 7fffe2004000-7fffe2006000 r-xp 00000000 fe:00 293431 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7fffe2006000-7fffe2205000 ---p 00002000 fe:00 293431 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7fffe2205000-7fffe2206000 r--p 00001000 fe:00 293431 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7fffe2206000-7fffe2207000 rw-p 00002000 fe:00 293431 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7fffe2207000-7fffe2216000 r--p 00000000 fe:00 272389 /usr/share/fonts/opentype/cantarell/Cantarell-Regular.otf 7fffe2216000-7fffe2217000 r--s 00000000 fe:00 397212 /var/cache/fontconfig/c05880de57d1f5e948fdfacc138775d9-le64.cache-3 7fffe2217000-7fffe2220000 r--s 00000000 fe:00 394104 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-3 7fffe2220000-7fffe2221000 r--s 00000000 fe:00 397210 /var/cache/fontconfig/617957603a337376ca8784972c6029f5-le64.cache-3 7fffe2221000-7fffe2226000 r--s 00000000 fe:00 397209 /var/cache/fontconfig/6eb3985aa4124903f6ff08ba781cd364-le64.cache-3 7fffe2226000-7fffe222f000 r--s 00000000 fe:00 397208 /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-le64.cache-3 7fffe222f000-7fffe2230000 r--s 00000000 fe:00 394775 /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-le64.cache-3 7fffe2230000-7fffe2233000 r--s 00000000 fe:00 393874 /var/cache/fontconfig/c57959a16110560c8d0fcea73374aeeb-le64.cache-3 7fffe2233000-7fffe2238000 r--s 00000000 fe:00 393839 /var/cache/fontconfig/3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-3 7fffe2238000-7fffe223b000 r--s 00000000 fe:00 393827 /var/cache/fontconfig/e49e89034d371f0f9de17aab02136486-le64.cache-3 7fffe223b000-7fffe223d000 r--s 00000000 fe:00 393825 /var/cache/fontconfig/4b14b093aebc79c320de5e86ae1d3314-le64.cache-3 7fffe223d000-7fffe224d000 r--s 00000000 fe:00 393821 /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-le64.cache-3 7fffe224d000-7fffe2254000 r--s 00000000 fe:00 393818 /var/cache/fontconfig/3f7329c5293ffd510edef78f73874cfd-le64.cache-3 7fffe2254000-7fffe2280000 r--s 00000000 fe:00 393816 /var/cache/fontconfig/198d8fcf01c96d0cf813f74fd759bdb7-le64.cache-3 7fffe2280000-7fffe228c000 r--s 00000000 fe:00 393809 /var/cache/fontconfig/53d14c92082a93e67d5078324eb314ca-le64.cache-3 7fffe228c000-7fffe228d000 r--s 00000000 fe:00 393805 /var/cache/fontconfig/62f91419b9ebdb6975e7e41ab6412357-le64.cache-3 7fffe228d000-7fffe2290000 r--s 00000000 fe:00 392725 /var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-le64.cache-3 7fffe2290000-7fffe2291000 r--p 00000000 fe:00 168351 /usr/share/locale/en_GB/LC_MESSAGES/eog-plugins.mo 7fffe2291000-7fffe2292000 r--p 00000000 fe:00 157510 /usr/share/locale/en/LC_MESSAGES/gtk30.mo 7fffe2292000-7fffe383d000 r--p 00000000 fe:00 132012 /usr/share/icons/hicolor/icon-theme.cache 7fffe383d000-7fffe8000000 r--p 00000000 fe:00 131017 /usr/share/icons/gnome/icon-theme.cache 7fffe8000000-7fffe8173000 rw-p 00000000 00:00 0 7fffe8173000-7fffec000000 ---p 00000000 00:00 0 7fffec181000-7fffec183000 r-xp 00000000 fe:00 297109 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so 7fffec183000-7fffec382000 ---p 00002000 fe:00 297109 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so 7fffec382000-7fffec383000 r--p 00001000 fe:00 297109 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so 7fffec383000-7fffec384000 rw-p 00002000 fe:00 297109 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so 7fffec384000-7fffec38f000 r--p 00000000 fe:00 272366 /usr/share/fonts/opentype/cantarell/Cantarell-Bold.otf 7fffec38f000-7fffec5cd000 r--p 00000000 fe:00 287754 /usr/share/icons/Tango/icon-theme.cache 7fffec5cd000-7fffec5cf000 r-xp 00000000 fe:00 791746 /opt/eog/lib/eog/plugins/libfullscreen.so 7fffec5cf000-7fffec7ce000 ---p 00002000 fe:00 791746 /opt/eog/lib/eog/plugins/libfullscreen.so 7fffec7ce000-7fffec7cf000 rw-p 00001000 fe:00 791746 /opt/eog/lib/eog/plugins/libfullscreen.so 7fffec7cf000-7fffec7d2000 r-xp 00000000 fe:00 791750 /opt/eog/lib/eog/plugins/libstatusbar-date.so 7fffec7d2000-7fffec9d1000 ---p 00003000 fe:00 791750 /opt/eog/lib/eog/plugins/libstatusbar-date.so 7fffec9d1000-7fffec9d2000 rw-p 00002000 fe:00 791750 /opt/eog/lib/eog/plugins/libstatusbar-date.so 7fffec9d2000-7fffec9d8000 r-xp 00000000 fe:00 798520 /opt/eog/lib/eog/plugins/libexif-display.so 7fffec9d8000-7fffecbd8000 ---p 00006000 fe:00 798520 /opt/eog/lib/eog/plugins/libexif-display.so 7fffecbd8000-7fffecbd9000 rw-p 00006000 fe:00 798520 /opt/eog/lib/eog/plugins/libexif-display.so 7fffecbd9000-7fffecbe2000 r--p 00000000 fe:00 791741 /opt/eog/lib/eog/girepository-1.0/Eog-3.0.typelib 7fffecbe2000-7fffecbf2000 r--p 00000000 fe:00 133256 /usr/lib/girepository-1.0/Atk-1.0.typelib 7fffecbf2000-7fffecc26000 r--p 00000000 fe:00 131980 /usr/lib/girepository-1.0/Gdk-3.0.typelib 7fffecc26000-7fffecc2a000 r--p 00000000 fe:00 168118 /usr/lib/girepository-1.0/GdkPixbuf-2.0.typelib 7fffecc2a000-7fffeccb4000 r--p 00000000 fe:00 131979 /usr/lib/girepository-1.0/Gtk-3.0.typelib 7fffeccb4000-7fffeccc1000 r--p 00000000 fe:00 131950 /usr/lib/girepository-1.0/Pango-1.0.typelib 7fffeccc1000-7fffeccea000 r--p 00000000 fe:00 142935 /usr/lib/girepository-1.0/GLib-2.0.typelib 7fffeccea000-7fffecd32000 r--p 00000000 fe:00 142940 /usr/lib/girepository-1.0/Gio-2.0.typelib 7fffecd32000-7fffecd33000 ---p 00000000 00:00 0 7fffecd33000-7fffed533000 rw-p 00000000 00:00 0 7fffed533000-7fffed590000 r--p 00000000 fe:00 560022 /usr/share/themes/Adwaita/gtk-3.0/gtk.gresource 7fffed590000-7fffed595000 r-xp 00000000 fe:00 263233 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so 7fffed595000-7fffed794000 ---p 00005000 fe:00 263233 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so 7fffed794000-7fffed795000 r--p 00004000 fe:00 263233 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so 7fffed795000-7fffed796000 rw-p 00005000 fe:00 263233 /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so 7fffed796000-7fffed7b0000 r--s 00000000 fe:00 138049 /usr/share/mime/mime.cache 7fffed7b0000-7fffed7b1000 ---p 00000000 00:00 0 7fffed7b1000-7fffedfb1000 rw-p 00000000 00:00 0 7fffedfb1000-7fffedfb8000 r-xp 00000000 fe:00 274437 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 7fffedfb8000-7fffee1b7000 ---p 00007000 fe:00 274437 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 7fffee1b7000-7fffee1b8000 r--p 00006000 fe:00 274437 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 7fffee1b8000-7fffee1b9000 rw-p 00007000 fe:00 274437 /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 7fffee1b9000-7fffee1e2000 r--p 00000000 fe:00 668432 /usr/share/glib-2.0/schemas/gschemas.compiled 7fffee1e2000-7fffee1e3000 ---p 00000000 00:00 0 7fffee1e3000-7fffee9e3000 rw-p 00000000 00:00 0 7fffee9e3000-7fffee9e7000 r-xp 00000000 fe:00 522389 /usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so 7fffee9e7000-7fffeebe7000 ---p 00004000 fe:00 522389 /usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so 7fffeebe7000-7fffeebe8000 r--p 00004000 fe:00 522389 /usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so 7fffeebe8000-7fffeebe9000 rw-p 00005000 fe:00 522389 /usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so 7fffeebe9000-7fffeec17000 r-xp 00000000 fe:00 142542 /usr/lib/x86_64-linux-gnu/libbluray.so.1.1.0 7fffeec17000-7fffeee17000 ---p 0002e000 fe:00 142542 /usr/lib/x86_64-linux-gnu/libbluray.so.1.1.0 7fffeee17000-7fffeee18000 r--p 0002e000 fe:00 142542 /usr/lib/x86_64-linux-gnu/libbluray.so.1.1.0 7fffeee18000-7fffeee19000 rw-p 0002f000 fe:00 142542 /usr/lib/x86_64-linux-gnu/libbluray.so.1.1.0 7fffeee19000-7fffeee1b000 r-xp 00000000 fe:00 154365 /lib/x86_64-linux-gnu/libutil-2.13.so 7fffeee1b000-7fffef01a000 ---p 00002000 fe:00 154365 /lib/x86_64-linux-gnu/libutil-2.13.so 7fffef01a000-7fffef01b000 r--p 00001000 fe:00 154365 /lib/x86_64-linux-gnu/libutil-2.13.so 7fffef01b000-7fffef01c000 rw-p 00002000 fe:00 154365 /lib/x86_64-linux-gnu/libutil-2.13.so 7fffef01c000-7fffef02a000 r-xp 00000000 fe:00 135259 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7fffef02a000-7fffef229000 ---p 0000e000 fe:00 135259 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7fffef229000-7fffef22a000 r--p 0000d000 fe:00 135259 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7fffef22a000-7fffef22b000 rw-p 0000e000 fe:00 135259 /lib/x86_64-linux-gnu/libudev.so.0.13.0 7fffef22b000-7fffef26f000 r-xp 00000000 fe:00 131358 /lib/x86_64-linux-gnu/libdbus-1.so.3.7.0 7fffef26f000-7fffef46f000 ---p 00044000 fe:00 131358 /lib/x86_64-linux-gnu/libdbus-1.so.3.7.0 7fffef46f000-7fffef470000 r--p 00044000 fe:00 131358 /lib/x86_64-linux-gnu/libdbus-1.so.3.7.0 7fffef470000-7fffef471000 rw-p 00045000 fe:00 131358 /lib/x86_64-linux-gnu/libdbus-1.so.3.7.0 7fffef471000-7fffef472000 r--p 00000000 fe:00 144626 /usr/lib/girepository-1.0/PeasGtk-1.0.typelib 7fffef472000-7fffef479000 r--p 00000000 fe:00 142941 /usr/lib/girepository-1.0/GIRepository-2.0.typelib 7fffef479000-7fffef486000 r--p 00000000 fe:00 142937 /usr/lib/girepository-1.0/GObject-2.0.typelib 7fffef486000-7fffef489000 r--p 00000000 fe:00 143547 /usr/lib/girepository-1.0/Peas-1.0.typelib 7fffef489000-7fffef491000 r--p 00000000 fe:02 160609996 /home/frederik/.config/dconf/user 7fffef491000-7fffef4a9000 r-xp 00000000 fe:00 283877 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7fffef4a9000-7fffef6a8000 ---p 00018000 fe:00 283877 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7fffef6a8000-7fffef6a9000 r--p 00017000 fe:00 283877 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7fffef6a9000-7fffef6aa000 rw-p 00018000 fe:00 283877 /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so 7fffef6aa000-7fffef6d3000 r-xp 00000000 fe:00 283892 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7fffef6d3000-7fffef8d3000 ---p 00029000 fe:00 283892 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7fffef8d3000-7fffef8d4000 r--p 00029000 fe:00 283892 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7fffef8d4000-7fffef8d5000 rw-p 0002a000 fe:00 283892 /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so 7fffef8d5000-7fffef932000 r--p 00000000 fe:00 560022 /usr/share/themes/Adwaita/gtk-3.0/gtk.gresource 7fffef932000-7fffef93d000 r-xp 00000000 fe:00 153675 /lib/x86_64-linux-gnu/libnss_files-2.13.so 7fffef93d000-7fffefb3c000 ---p 0000b000 fe:00 153675 /lib/x86_64-linux-gnu/libnss_files-2.13.so 7fffefb3c000-7fffefb3d000 r--p 0000a000 fe:00 153675 /lib/x86_64-linux-gnu/libnss_files-2.13.so Program received signal SIGABRT, Aborted. 0x00007ffff36a4475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) thread apply all bt
+ Trace 230271
Thread 1 (Thread 0x7ffff7fc1920 (LWP 7452))
Created attachment 215066 [details] [review] avoid double-free Thanks for the trace. It helped a lot. Parking the fix here until I get to a machine I can push it from.
And pushed it! It will be in eog-plugins-3.4.1. commit 146580e8cb8bc41da11ee727238fab3ce6d29f30 Author: Felix Riemann <> Date: Sat May 26 22:31:27 2012 +0200 exif-display: Correctly NULL-ify all pointers to the histogram data Fixes double-frees when skipping through images quickly. https://bugzilla.gnome.org/show_bug.cgi?id=676735 --- This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.