thumbnailer crashes determining orientation

Bug #1294274 reported by Bill Filler
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thumbnailer (Ubuntu)
Fix Released
Jussi Pakkanen

Bug Description

libthumbnailer0 1.0+14.04.20140307-0ubuntu1
Nexus 4, latest build from proposed with gallery-app from this PPA:

The thumbnailer crashes when trying to get orientation data from a picture (attached) taken by the camera on the Nexus 4. The crash file is attached too and happens on the desktop as well as device.

Here is stack trace.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/".
Core was generated by `gallery-app --desktop_file_hint=/usr/share/applications/gallery-app.desktop'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xaef79c44 in fix_orientation (src=0xaa604690, infile=<optimized out>)
    at /build/buildd/thumbnailer-1.0+14.04.20140307/src/imagescaler.cpp:65
65 /build/buildd/thumbnailer-1.0+14.04.20140307/src/imagescaler.cpp: No such file or directory.

Seems that
 ExifEntry *e = exif_data_get_entry(ed, EXIF_TAG_ORIENTATION);
returns null and that is being used later.

Related branches

Revision history for this message
Bill Filler (bfiller) wrote :
Revision history for this message
Bill Filler (bfiller) wrote :
Changed in thumbnailer (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Jussi Pakkanen (jpakkane)
Changed in thumbnailer (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package thumbnailer - 1.0+14.04.20140319-0ubuntu1

thumbnailer (1.0+14.04.20140319-0ubuntu1) trusty; urgency=low

  [ Jussi Pakkanen ]
  * Prevent crash if exif entry is null. (LP: #1294274)
 -- Ubuntu daily release <email address hidden> Wed, 19 Mar 2014 20:16:40 +0000

Changed in thumbnailer (Ubuntu):
status: In Progress → Fix Released
Changed in gallery-app:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments