thumbnailer crashes determining orientation

Bug #1294274 reported by Bill Filler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gallery-app
Invalid
Undecided
Unassigned
thumbnailer (Ubuntu)
Fix Released
Critical
Jussi Pakkanen

Bug Description

libthumbnailer0 1.0+14.04.20140307-0ubuntu1
Nexus 4, latest build from proposed with gallery-app from this PPA:
https://launchpad.net/~ci-train-ppa-service/+archive/landing-015/

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/libthread_db.so.1".
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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.