[Digikam-devel] [Bug 167139] New: crash if Exif.GPSInfo.GPSAltitude is empty

Stéphane Pontier shadow.walker at free.fr
Mon Jul 21 13:29:56 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=167139         
           Summary: crash if Exif.GPSInfo.GPSAltitude is empty
           Product: digikam
           Version: unspecified
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: shadow.walker free fr


Version:           digikam-0.10.0-0.824037.2mdv2009.0 (using KDE 3.5.9)
Installed from:    Mandriva RPMs
OS:                Linux

When launching digikam, it scan my pictures folder and crash when reading picture with an empty Exif.GPSInfo.GPSAltitude value. If I open the file with showfoto, showfoto crash only when I open de marble(geolocation) tab.

If i try to get exif data with exiv2(0.17.1) I get:
- this picture is loaded fine:
[shad2 azrael Pictures]$ exiv2 -p t  "IMG_6260.JPG" |grep GPS
Exif.Image.GPSTag                            Long        1  1982
Exif.GPSInfo.GPSVersionID                    Byte        4  2.0.0.0
Exif.GPSInfo.GPSLatitudeRef                  Ascii       2  Nord
Exif.GPSInfo.GPSLatitude                     Rational    3  43deg 17.67780'
Exif.GPSInfo.GPSLongitudeRef                 Ascii       2  Est
Exif.GPSInfo.GPSLongitude                    Rational    3  5deg 21.51370'
Exif.GPSInfo.GPSAltitudeRef                  Byte        1  Au dessus du niveau de la mer
Exif.GPSInfo.GPSAltitude                     Rational    1  41.2 m
Exif.GPSInfo.GPSMapDatum                     Ascii       7  WGS-84

- this one make digikam or showfoto crash

[shad2 azrael Pictures]$ exiv2 -p t  "IMG_6264.JPG" |grep GPS
Exif.Image.GPSTag                            Long        1  1982
Exif.GPSInfo.GPSVersionID                    Byte        4  2.0.0.0
Exif.GPSInfo.GPSLatitudeRef                  Ascii       2  Nord
Exif.GPSInfo.GPSLatitude                     Rational    3  43deg 17.34840'
Exif.GPSInfo.GPSLongitudeRef                 Ascii       2  Est
Exif.GPSInfo.GPSLongitude                    Rational    3  5deg 21.29920'
Exif.GPSInfo.GPSAltitudeRef                  Byte        1  Au dessus du niveau de la mer
Exif.GPSInfo.GPSAltitude                     Rational    0
Exif.GPSInfo.GPSMapDatum                     Ascii       7  WGS-84



More information about the Digikam-devel mailing list