Comment 2 for bug 1403906

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : Re: Crash using gallery with new qtubuntu-camera and thumbnailer

From comment #2 of Jussi Pakanen in duplicate bug 1403643
"""
The reason this happens is that whoever is creating the images produces invalid image files. I have attached one to this bug and trying to open it with eog prints the following error (which is the same as what thumbnailer prints in the background):

Failed to load image '/home/phablet/Pictures/com.ubuntu.camera/image20141218_143650580.jpg': Error interpreting JPEG image file (Quantization table 0x00 was not defined)

When this happens, thumbnailer passes the original image to Qt. Presumably this causes it to then crash. If so, this would indicate a bug in Qt's image processing code.
"""