Summary: | digikam crash on startup | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | liad <anatiliadi> |
Component: | Metadata-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ahuggel, biggerben, caulier.gilles |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.1.0 | |
Sentry Crash Report: |
Description
liad
2009-05-23 01:17:34 UTC
Hi liad, Which version of exiv2 do you have installed? Andreas Liad, Please give us more informations ? We need to know if you use Exiv2 < 0.18.1. If yes, please update to 0.18.1 and try again... Gilles Caulier Andreas, libexiv2 crash with this call: http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2exif.cpp#563 when digiKam ask exif color space tag value from this call : http://lxr.kde.org/source/extragear/graphics/digikam/libs/dimg/loaders/dimgloader.cpp#196 and this one : http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp#371 I can reproduce with image provided by Sergei. The question is why Exiv2 crash when i try to convert this tag value to long. Look image content : [gilles@localhost test]$ exiv2 -pv BKO192085.jpeg 0x0112 Image Orientation Short 1 1 0x011a Image XResolution Rational 1 960000/10000 0x011b Image YResolution Rational 1 960000/10000 0x0128 Image ResolutionUnit Short 1 2 0x0131 Image Software Ascii 28 ACD Systems Digital Imaging 0x0132 Image DateTime Ascii 20 2008:12:22 23:02:48 0x0213 Image YCbCrPositioning Short 1 1 0x8769 Image ExifTag Long 1 174 0x9290 Photo SubSecTime Ascii 4 140 0xa001 Photo ColorSpace Short 0 0xa002 Photo PixelXDimension Long 1 850 0xa003 Photo PixelYDimension Long 1 680 0x0103 Thumbnail Compression Short 1 6 0x0201 Thumbnail JPEGInterchangeFormat Long 1 270 0x0202 Thumbnail JPEGInterchangeFormatLength Long 1 8313 [gilles@localhost test]$ ... or perhaps it's due to try to convert short value to long ??? Why... It's not illegal. And i use this function with other image without problem. It due because tag has a null value ? Gilles Caulier Oups, sorry, wrong copy and paste... Forget #3... Gilles Caulier liad, without more feedback, i will close this file... Gilles Caulier I get the same thing since upgrading to the latest beta from the ppa. it also crashes with a SIGABRT, I don't know if the trace is different though (mine is probably not useful anyway as I don't have any debugging stuff). I'm at exiv version 0.18.2 Here is the output: digikam(11598): Couldn't create index file "/var/tmp/kdecache-ben/kpc/kde-icon-cache.index" digikam(11598)/digikam (core) main: Database Path: "/home/ben/pictures/" digikam(11598)/digikam (core) Digikam::SchemaUpdater::update: SchemaUpdater update digikam(11598)/digikam (core) Digikam::SchemaUpdater::startUpdates: Have a database structure version "5" digikam(11598)/digikam (core) Digikam::SchemaUpdater::makeUpdates: makeUpdates 5 to 5 digikam(11598)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location "/ben/pictures" uuid "volumeid:?uuid=6f3d58aa-2147-4860-9e4d-02c6162b720b" digikam(11598)/digikam (core) Digikam::CollectionManager::updateLocations: location for "/home/ben/pictures" is available true digikam(11598)/digikam (core) Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnail db ready for use digikam(11598)/digikam (core) Digikam::AlbumManager::checkNepomukService: digikamnepomukservice is not available in NepomukServer digikam(11598)/digikam (core) Digikam::IccSettingsPriv::scanDirectories: () digikam(11598): Couldn't create index file "/var/tmp/kdecache-ben/kpc/kde-icon-cache.index" QFSFileEngine::open: No file name specified Cannot open file '', because: No file name specified Time elapsed: 15 ms Time elapsed: 5 ms Model: Time elapsed: 37 ms TextureColorizer: Time elapsed: 53 ms Time elapsed: 6 ms Time elapsed: 5 ms Model: Time elapsed: 13 ms *** glibc detected *** digikam: free(): invalid pointer: 0x0b632360 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0x13bbff1] /lib/tls/i686/cmov/libc.so.6(cfree+0xd6)[0x13c0806] /usr/lib/libQtCore.so.4(_Z5qFreePv+0x1d)[0x4b64a1d] /usr/lib/libQtCore.so.4(_ZN7QString4freeEPNS_4DataE+0x40)[0x4bb48e0] /usr/lib/libkdeui.so.5[0x6fbcfd9] /usr/lib/libkdeui.so.5(_ZNK10KIconTheme8iconPathERK7QStringiN11KIconLoader9MatchTypeE+0x121)[0x6fbd171] /usr/lib/libkdeui.so.5[0x6fb465c] /usr/lib/libkdeui.so.5[0x6fb7897] /usr/lib/libkdeui.so.5(_ZNK11KIconLoader8loadIconERK7QStringNS_5GroupEiiRK11QStringListPS0_b+0x513)[0x6fb8ca3] /usr/lib/libkdeui.so.5(_Z9SmallIconRK7QStringiiRK11QStringList+0x5f)[0x6fbac5f] digikam[0x82c73e4] digikam[0x82acc70] digikam[0x82bb4f9] digikam[0x83bb28a] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x1367b56] digikam[0x80a22d1] ======= Memory map: ======== 00110000-00120000 r-xp 00000000 08:01 27048 /usr/lib/libknotifyconfig.so.4.4.0 00120000-00121000 r--p 0000f000 08:01 27048 /usr/lib/libknotifyconfig.so.4.4.0 00121000-00122000 rw-p 00010000 08:01 27048 /usr/lib/libknotifyconfig.so.4.4.0 00123000-00124000 r-xp 00000000 00:00 0 [vdso] 00124000-00172000 r-xp 00000000 08:01 23237 /usr/lib/libkutils.so.4.4.0 00172000-00174000 r--p 0004e000 08:01 23237 /usr/lib/libkutils.so.4.4.0 00174000-00175000 rw-p 00050000 08:01 23237 /usr/lib/libkutils.so.4.4.0 00175000-00189000 r-xp 00000000 08:01 21667 /usr/lib/libkipi.so.6.1.0 00189000-0018a000 ---p 00014000 08:01 21667 /usr/lib/libkipi.so.6.1.0 0018a000-0018b000 r--p 00014000 08:01 21667 /usr/lib/libkipi.so.6.1.0 0018b000-0018c000 rw-p 00015000 08:01 21667 /usr/lib/libkipi.so.6.1.0 0018c000-00193000 r-xp 00000000 08:01 7577 /usr/lib/libgif.so.4.1.6 00193000-00194000 r--p 00006000 08:01 7577 /usr/lib/libgif.so.4.1.6 00194000-00195000 rw-p 00007000 08:01 7577 /usr/lib/libgif.so.4.1.6 00195000-00197000 r-xp 00000000 08:01 7344 /usr/lib/libXss.so.1.0.0 00197000-00199000 rw-p 00001000 08:01 7344 /usr/lib/libXss.so.1.0.0 0019a000-0079c000 r-xp 00000000 08:01 25789 /usr/lib/libkhtml.so.5.4.0 0079c000-007e2000 r--p 00602000 08:01 25789 /usr/lib/libkhtml.so.5.4.0 007e2000-007e5000 rw-p 00648000 08:01 25789 /usr/lib/libkhtml.so.5.4.0 007e5000-007e7000 rw-p 00000000 00:00 0 007e7000-00858000 r-xp 00000000 08:01 23253 /usr/lib/libsolid.so.4.4.0 00858000-0085f000 r--p 00070000 08:01 23253 /usr/lib/libsolid.so.4.4.0 0085f000-00860000 rw-p 00077000 08:01 23253 /usr/lib/libsolid.so.4.4.0 00860000-008a0000 r-xp 00000000 08:01 30762 /usr/lib/libkexiv2.so.7.3.0 008a0000-008a1000 r--p 0003f000 08:01 30762 /usr/lib/libkexiv2.so.7.3.0 008a1000-008a2000 rw-p 00040000 08:01 30762 /usr/lib/libkexiv2.so.7.3.0 008a2000-008df000 r-xp 00000000 08:01 2496 /usr/lib/libQtSql.so.4.6.0 008df000-008e0000 r--p 0003d000 08:01 2496 /usr/lib/libQtSql.so.4.6.0 008e0000-008e1000 rw-p 0003e000 08:01 2496 /usr/lib/libQtSql.so.4.6.0 008e1000-00bb3000 r-xp 00000000 08:01 29270 /usr/lib/libQt3Support.so.4.6.0 00bb3000-00bbf000 r--p 002d2000 08:01 29270 /usr/lib/libQt3Support.so.4.6.0 00bbf000-00bc1000 rw-p 002de000 08:01 29270 /usr/lib/libQt3Support.so.4.6.0 00bc1000-00bf1000 r-xp 00000000 08:01 8005 /usr/lib/liblcms.so.1.0.18 00bf1000-00bf2000 r--p 0002f000 08:01 8005 /usr/lib/liblcms.so.1.0.18 00bf2000-00bf3000 rw-p 00030000 08:01 8005 /usr/lib/liblcms.so.1.0.18 00bf3000-00bf5000 rw-p 00000000 00:00 0 00bf5000-00c0f000 r-xp 00000000 08:01 9258 /usr/lib/libgphoto2.so.2.4.0 00c0f000-00c10000 r--p 00019000 08:01 9258 /usr/lib/libgphoto2.so.2.4.0 00c10000-00c11000 rw-p 0001a000 08:01 9258 /usr/lib/libgphoto2.so.2.4.0 00c11000-00c71000 rw-p 00000000 00:00 0 00c71000-00c91000 r-xp 00000000 08:01 51496 /usr/lib/libkresources.so.4.4.0 00c91000-00c92000 r--p 00020000 08:01 51496 /usr/lib/libkresources.so.4.4.0 00c92000-00c93000 rw-p 00021000 08:01 51496 /usr/lib/libkresources.so.4.4.0 00c93000-00cb7000 r-xp 00000000 08:01 4883 /lib/tls/i686/cmov/libm-2.10.1.so 00cb7000-00cb8000 r--p 00023000 08:01 4883 /lib/tls/i686/cmov/libm-2.10.1.so 00cb8000-00cb9000 rw-p 00024000 08:01 4883 /lib/tls/i686/cmov/libm-2.10.1.so 00cb9000-00cbd000 r-xp 00000000 08:01 7348 /usr/lib/libXtst.so.6.1.0 00cbd000-00cbe000 r--p 00004000 08:01 7348 /usr/lib/libXtst.so.6.1.0 00cbe000-00cbf000 rw-p 00005000 08:01 7348 /usr/lib/libXtst.so.6.1.0 00cbf000-00cc1000 r-xp 00000000 08:01 7307 /usr/lib/libXau.so.6.0.0 00cc1000-00cc2000 r--p 00001000 08:01 7307 /usr/lib/libXau.so.6.0.0 00cc2000-00cc3000 rw-p 00002000 08:01 7307 /usr/lib/libXau.so.6.0.0 00cc3000-00cc5000 r-xp 00000000 08:01 7330 /usr/lib/libXinerama.so.1.0.0 00cc5000-00cc6000 rw-p 00001000 08:01 7330 /usr/lib/libXinerama.so.1.0.0 00cc6000-00d02000 r-xp 00000000 08:01 25837 /usr/lib/libkparts.so.4.4.0 00d02000-00d04000 r--p 0003c000 08:01 25837 /usr/lib/libkparts.so.4.4.0 00d04000-00d05000 rw-p 0003e000 08:01 25837 /usr/lib/libkparts.so.4.4.0 00d05000-00d21000 r-xp 00000000 08:01 41222 /lib/libgcc_s.so.1 00d21000-00d22000 r--p 0001b000 08:01 41222 /lib/libgcc_s.so.1 00d22000-00d23000 rw-p 0001c000 08:01 41222 /lib/libgcc_s.so.1 00d23000-00d2b000 r-xp 00000000 08:01 8016 /usr/lib/libltdl.so.7.2.0 00d2b000-00d2c000 r--p 00007000 08:01 8016 /usr/lib/libltdl.so.7.2.0 00d2c000-00d2d000 rw-p 00008000 08:01 8016 /usr/lib/libltdl.so.7.2.0 00d2d000-00d31000 r-xp 00000000 08:01 7318 /usr/lib/libXdmcp.so.6.0.0 00d31000-00d32000 rw-p 00003000 08:01 7318 /usr/lib/libXdmcp.so.6.0.0 00d32000-00d39000 r-xp 00000000 08:01 8251 /usr/lib/libgphoto2_port.so.0.8.0 00d39000-00d3a000 r--p 00006000 08:01 8251 /usr/lib/libgphoto2_port.so.0.8.0 00d3a000-00d3b000 rw-p 00007000 08:01 8251 /usr/lib/libgphoto2_port.so.0.8.0 00d3b000-00dc5000 r-xp 00000000 08:01 51550 /usr/lib/libkabc.so.4.4.0 00dc5000-00dc7000 r--p 00089000 08:01 51550 /usr/lib/libkabc.so.4.4.0 00dc7000-00dc8000 rw-p 0008b000 08:01 51550 /usr/lib/libkabc.so.4.4.0 00dc8000-00dc9000 rw-p 00000000 00:00 0 00dc9000-00e0b000 r-xp 00000000 08:01 29448 /usr/lib/libQtXml.so.4.6.0 00e0b000-00e0c000 ---p 00042000 08:01 29448 /usr/lib/libQtXml.so.4.6.0 00e0c000-00e0d000 r--p 00042000 08:01 29448 /usr/lib/libQtXml.so.4.6.0 00e0d000-00e0e000 rw-p 00043000 08:01 29448 /usr/lib/libQtXml.so.4.6.0 00e0e000-00e10000 r-xp 00000000 08:01 4882 /lib/tls/i686/cmov/libdl-2.10.1.so 00e10000-00e11000 r--p 00001000 08:01 4882 /lib/tls/i686/cmov/libdl-2.10.1.so 00e11000-00e12000 rw-p 00002000 08:01 4882 /lib/tls/i686/cmov/libdl-2.10.1.so 00e12000-00e2d000 r-xp 00000000 08:01 10096 /lib/ld-2.10.1.soKCrash: Application 'digikam' crashing... sock_file=/home/ben/.kde/socket-serenity/kdeinit4__0 [2] Exit 253 digikam oh, I forgot: $digikam --version Qt: 4.6.0 KDE: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1)) digiKam: rc..-rc The latest crash comes from KIconLoader when digikam loads an icon. Doesn't seem to be our code. digiKam 1.0.0 is out since few days... http://www.digikam.org/drupal/node/491 Please try with this version coming with more than 400 bug-fixes. Thanks in advance Gilles Caulier digiKam 1.1. release will be done in few days. Please check if this entry still valid. Thanks in advance Gilles Caulier works fine again with me! Thanks, i close this file now... Gilles Caulier |