[Digikam-devel] [Bug 186837] New: libexiv2 crashes on certain JPGs
Mahmoud Hashemi
makuro at gmail.com
Wed Mar 11 07:38:50 GMT 2009
https://bugs.kde.org/show_bug.cgi?id=186837
Summary: libexiv2 crashes on certain JPGs
Product: digikam
Version: 0.10.0-rc2
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: digikam-devel at kde.org
ReportedBy: makuro at gmail.com
Version: 0.10.0-rc2 (using KDE 4.2.1)
Compiler: gcc 3.1.2 x86_64
OS: Linux
Installed from: Gentoo Packages
This bug seems similar to a few of the ones marked as resolved, but bear with
me. Basically, an exiv2 call when importing an image seems to crash digikam.
When running the exiv2 command line utility, it works without error. There's
nothing remarkable about the JPGs, except perhaps that it was taken with an
older digital camera.
Here is the backtrace. Like I said, it probably looks familiar:
Application: digiKam (digikam), signal SIGABRT
from /lib/libpthread.so.0
[Current thread is 0 (LWP 4846)]
Thread 9 (Thread 0x2ab565ac6950 (LWP 4847)):
[KCrash Handler]
#5 0x00002ab557a7b205 in raise () from /lib/libc.so.6
#6 0x00002ab557a7c57e in abort () from /lib/libc.so.6
#7 0x00002ab557a7462f in __assert_fail () from /lib/libc.so.6
#8 0x00002ab559d00ce3 in ?? () from /usr/lib64/libexiv2.so.5
#9 0x00002ab559d00ea5 in ?? () from /usr/lib64/libexiv2.so.5
#10 0x00002ab559d047e6 in ?? () from /usr/lib64/libexiv2.so.5
#11 0x00002ab559d02a64 in ?? () from /usr/lib64/libexiv2.so.5
#12 0x00002ab559d013c0 in ?? () from /usr/lib64/libexiv2.so.5
#13 0x00002ab559d04918 in ?? () from /usr/lib64/libexiv2.so.5
#14 0x00002ab559d07c7b in ?? () from /usr/lib64/libexiv2.so.5
#15 0x00002ab559d07e03 in Exiv2::TiffParser::encode () from
/usr/lib64/libexiv2.so.5
#16 0x00002ab559cae592 in Exiv2::ExifParser::encode () from
/usr/lib64/libexiv2.so.5
#17 0x00002ab552b5a77b in KExiv2Iface::KExiv2::getExif () from
/usr/lib64/libkexiv2.so.7
#18 0x00002ab5542cd0e8 in Digikam::ImageScanner::loadFromDisk () from
/usr/lib64/libdigikamdatabase.so.1
#19 0x00002ab5542d43c8 in Digikam::ImageScanner::newFile () from
/usr/lib64/libdigikamdatabase.so.1
#20 0x00002ab5542c78ad in Digikam::CollectionScanner::scanNewFile () from
/usr/lib64/libdigikamdatabase.so.1
#21 0x00002ab5542c9129 in Digikam::CollectionScanner::scanAlbum () from
/usr/lib64/libdigikamdatabase.so.1
#22 0x00002ab5542ca4dc in Digikam::CollectionScanner::partialScan () from
/usr/lib64/libdigikamdatabase.so.1
#23 0x00002ab5542ca758 in Digikam::CollectionScanner::partialScan () from
/usr/lib64/libdigikamdatabase.so.1
#24 0x0000000000644c5b in ?? ()
#25 0x00002ab555cc1d00 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00002ab556097097 in start_thread () from /lib/libpthread.so.0
#27 0x00002ab557b1077d in clone () from /lib/libc.so.6
#28 0x0000000000000000 in ?? ()
(and some unrelated threads)
============================
Running exiv2 (0.18) yields:
File name : unl0805_1.jpg
File size : 60409 Bytes
MIME type : image/jpeg
Image size : 480 x 640
Camera make : Hewlett-Packard
Camera model : Photosmart M407
Image timestamp : 2005:08:16 09:09:00
Image number :
Exposure time : 1/90 s
Aperture : F2.9
Exposure bias : 0
Flash : No, auto
Flash bias :
Focal length : 6.2 mm
Subject distance: 5.00 m
ISO speed : 200
Exposure mode : Auto
Metering mode : Average
Macro mode :
Image quality :
Exif Resolution : 480 x 640
White balance :
Thumbnail : image/jpeg, 4073 Bytes
Copyright : Copyright 2003-2004
Exif comment :
===========================
Perhaps most importantly, here is a file with which you can reproduce the
error.
1) Download http://makuro.org/~makuro/unl0805_1.jpg
2) Drag and drop it into an album/folder monitored by digikam.
3) If your digikam is like mine, it will close almost immediately with a
SIGABRT
4) removing or chmod 000ing the file will allow your digikam to open again.
As far as I can tell, I'm running the latest releases of all software involved.
Please let me know if there's any additional info I can provide.
Thanks,
Mahmoud
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list