#766 crash in thumbnail view with some jpegs

1.2
closed-fixed
libfm (237)
7
2013-08-18
2013-08-05
alister.hood
No

Jpegs with an embedded thumbnail and a rotation specified in the exif tag crash pcmanfm when in thumbnail view.

I can do a debug build if that is necessary, otherwise see this:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xad38eb40 (LWP 7968)]
0xb7791a20 in gdk_pixbuf_rotate_simple () from /usr/lib/libgdk_pixbuf-2.0.so.0
(gdb) bt
#0 0xb7791a20 in gdk_pixbuf_rotate_simple ()
from /usr/lib/libgdk_pixbuf-2.0.so.0
#1 0xb7e4ad73 in ?? () from /usr/lib/libfm-gtk.so.4
#2 0xb771adfd in ?? () from /usr/lib/libfm.so.4
#3 0xb771b107 in ?? () from /usr/lib/libfm.so.4
#4 0xb74b59ca in ?? () from /usr/lib/libglib-2.0.so.0
#5 0xb7435cf0 in start_thread () from /usr/lib/libpthread.so.0
#6 0xb736b41e in clone () from /usr/lib/libc.so.6

Here is a sample photo (put it somewhere, browse to that directory, and then change to thumbnail view): http://db.tt/uCB0XuMQ

Discussion

  • alister.hood
    alister.hood
    2013-08-05

    Sorry, a correction. The jpeg does not need an embedded thumbnail. If you remove the thumbnail with gexif it still causes the crash.

     
    • priority: 5 --> 7
    • milestone: --> 1.2
    • labels: --> libfm
     
  • Thank you very much for the report. Try latest git sources, please. Fix for large thumbnails rotation was pushed into git 5 days ago. I hope your issue is fixed by now.

     
    • assigned_to: nobody --> lstranger
     
  • alister.hood
    alister.hood
    2013-08-18

    • status: open --> closed-fixed