After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 524715 - core dump on image rotated by Kipi plugin
core dump on image rotated by Kipi plugin
Status: RESOLVED NOTGNOME
Product: gthumb
Classification: Other
Component: general
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2008-03-27 20:57 UTC by joakim
Modified: 2008-04-08 05:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description joakim 2008-03-27 20:57:28 UTC
Gthumb 2.10 trunk rev 2309 as well as gthumb 2.9.3 core dumps on an image I rotated in digiKam. When run from console I got:

Floating point exception (core dumped)

and checking the image from exiftool I see that it is indeed trashed (se last) but gthumb should handle this. perhaps it is libexif that causes the crash so I upload the image for reference at http://bildrulle.nu/DSC_5364.JPG (yes, it is a picture of me in the 80:ies)

I use libexif.so.12.0.1

BR

Joakim

ExifTool Version Number         : 6.57
File Name                       : DSC_5364.JPG
File Size                       : 792 kB
File Modification Date/Time     : 2008:03:27 21:07:00
File Type                       : JPEG
MIME Type                       : image/jpeg
JFIF Version                    : 1.1
Make                            : NIKON CORPORATION
Camera Model Name               : NIKON D200
Orientation                     : Rotate 270 CW
X Resolution                    : 300
Y Resolution                    : 300
Resolution Unit                 : inches
Software                        : Kipi JPEGLossLess-0.1.3
Modify Date                     : 2008:03:24 13:57:22
Y Cb Cr Positioning             : Co-sited
Exposure Time                   : 1/13
F Number                        : 14.0
Exposure Program                : Aperture-priority AE
ISO                             : 800
Exif Version                    : 0221
Date/Time Original              : 2008:03:24 13:57:22
Create Date                     : 2008:03:24 13:57:22
Components Configuration        : YCbCr
Compressed Bits Per Pixel       : 4
Exposure Compensation           : 0
Max Aperture Value              : 5.7
Metering Mode                   : Multi-segment
Flash                           : No Flash
Focal Length                    : 50.0mm
Firmware Version                : 2.10
Color Mode                      : 잓�
Quality                         : e�H�.
White Balance                   : y�Av�����.�.�
Focus Mode                      : ��R55\�
Flash Setting                   : oW��}Inp�.�.
Flash Type                      : �����`�y1.�.2i�z.ƨ�
White Balance Fine Tune         : 0
Color Balance 1                 : 6.322902 0.8315731 54.25594 0.6164365
Program Shift                   : 0
Exposure Difference             : 0
Warning                         : Bad NikonPreview directory
Flash Exposure Compensation     : 0
ISO Setting                     : 800
Image Boundary                  : 63432 34181 59694 41803
Flash Exposure Bracket Value    : 0.0
Exposure Bracket Value          : -1.38
Crop Hi Speed                   : On (52526x53734 cropped to 6247x54108 at pixel 709,42402)
Serial Number                   : ��G�F
Tone Comp                       : ��Off
Lens Type                       : G
Lens                            : infmm f/inf
Flash Mode                      : Did Not Fire
AF Area Mode                    : Single Area
AF Point                        : Center
AF Points Used                  : Center
Shooting Mode                   : Single-Frame
Auto Bracket Release            : Manual Release
Lens F Stops                    : 5.33
Color Hue                       : 
Light Source                    : 
Hue Adjustment                  : 0
Noise Reduction                 : 
Color Balance Unknown           : .....6.....>.(........F...[...]
Lens Data Unknown               : Uvwxyzcdefghijstuvwxyz���������
Sensor Pixel Size               : 0.973334 x 0.9335006 um
Image Data Size                 : 1993167
Image Count                     : 6287
Deleted Image Count             : 0
Shutter Count                   : 6287
Image Optimization              : ��������������
High ISO Noise Reduction        : Normal
User Comment                    : 
Sub Sec Time                    : 00
Sub Sec Time Original           : 00
Sub Sec Time Digitized          : 00
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 1944
Exif Image Length               : 2896
Interoperability Index          : R98 - DCF basic file (sRGB)
Interoperability Version        : 0100
Sensing Method                  : One-chip color area
File Source                     : Digital Camera
Scene Type                      : Directly photographed
CFA Pattern                     : [Green,Red][Blue,Green]
Custom Rendered                 : Normal
Exposure Mode                   : Auto
Digital Zoom Ratio              : 1
Focal Length In 35mm Format     : 75
Scene Capture Type              : Standard
Gain Control                    : Low gain up
Contrast                        : Normal
Saturation                      : Normal
Sharpness                       : Normal
Subject Distance Range          : Unknown (0)
GPS Version ID                  : 2.2.0.0
Compression                     : JPEG (old-style)
Image Width                     : 2896
Image Height                    : 1944
Aperture                        : 14.0
Image Size                      : 2896x1944
Lens                            : infmm f/inf G
Scale Factor To 35mm Equivalent : 1.5
Shutter Speed                   : 1/13
Circle Of Confusion             : 0.020 mm
Focal Length                    : 50.0mm (35mm equivalent: 75.0mm)
Hyperfocal Distance             : 8.91 m
Light Value                     : 8.3
Date/Time Original              : 2008:03:24 13:57:22.00
Comment 1 Michael Chudobiak 2008-03-28 11:54:13 UTC
cc'ing Andreas Huggel, because this image is causing exiv2 to crash (floating point exception).

(Trunk uses exiv2 instead of libexif.)

- Mike
Comment 2 Andreas Huggel 2008-03-29 06:17:59 UTC
This is an exiv2 bug, thanks for reporting it. It's fixed in SVN.
http://dev.robotbattle.com/bugs/view.php?id=546
http://dev.robotbattle.com/cmtinfo_svn.php?r=10&v=1399

-ahu.
Comment 3 Andreas Huggel 2008-03-29 06:19:08 UTC
Appreciate if you can retry with the SVN version of Exiv2. Thanks!
-ahu.
Comment 4 joakim 2008-04-05 19:14:34 UTC
Sure, 

I did this 

 svn checkout svn://dev.robotbattle.com/exiv2/trunk
 cd trunk

and then after reading the README file:
 
 ./configure 
bash: ./configure: No such file or directory

The configure script is not included in the checkout I believe

// Joakim
Comment 5 Andreas Huggel 2008-04-07 01:33:29 UTC
That's right, it is not included. Please read just one more paragraph in the README file.

-ahu.
Comment 6 joakim 2008-04-07 19:29:54 UTC
Haha, u got me there, RTFM! Sorry, I got no excuse, I'm a lousy reader but I think I got it right now. I ran the gthumb executable directly from the src tree but did make install on the exiv2 trunk and the result was as follows:

-rwxr-xr-x 1 joakim joakim 6610 2008-04-07 21:09 src/gthumb
joakim@montecristo:~/work/gthumb/trunk$ src/gthumb
Warning: Makernote: Pointer to next IFD is out of bounds; ignored.
Warning: Failed to read thumbnail, rc = 1
Warning: Makernote: Pointer to next IFD is out of bounds; ignored.
Warning: Failed to read thumbnail, rc = 1
Warning: Makernote: Pointer to next IFD is out of bounds; ignored.
Warning: Failed to read thumbnail, rc = 1

I was also able to rotate the picture so I am all happy now. I saw digiKam uses both libexif and libexiv2. I suspect the Kipi plugin still uses the libexif trashing the MakerNotes as discussed previously here for gthumb.

Thx

Joakim 
Comment 7 Andreas Huggel 2008-04-08 05:36:20 UTC
Thanks for making the effort to retest!

-ahu.