Version: 0.10 (using KDE 4.2.3) OS: Linux Installed from: Debian stable Packages digikam always crash on startup/ what should i do? Application: digiKam (digikam), signal SIGABRT [Current thread is 0 (LWP 14002)] Thread 2 (Thread 0xb30edb90 (LWP 14003)): [KCrash Handler] #6 0xb7faf430 in __kernel_vsyscall () #7 0xb543c6d0 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb543e098 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb54355ce in __assert_fail () from /lib/tls/i686/cmov/libc.so.6 #10 0xb50d3781 in ?? () from /usr/lib/libexiv2.so.5 #11 0xb50e31e8 in ?? () from /usr/lib/libexiv2.so.5 #12 0xb50cdf28 in ?? () from /usr/lib/libexiv2.so.5 #13 0xb50cf15d in ?? () from /usr/lib/libexiv2.so.5 #14 0xb50cf32d in ?? () from /usr/lib/libexiv2.so.5 #15 0xb50cf15d in ?? () from /usr/lib/libexiv2.so.5 #16 0xb50cf2c9 in ?? () from /usr/lib/libexiv2.so.5 #17 0xb50cf15d in ?? () from /usr/lib/libexiv2.so.5 #18 0xb50cf32d in ?? () from /usr/lib/libexiv2.so.5 #19 0xb50cf15d in ?? () from /usr/lib/libexiv2.so.5 #20 0xb508bfba in ?? () from /usr/lib/libexiv2.so.5 #21 0xb50cf15d in ?? () from /usr/lib/libexiv2.so.5 #22 0xb50cf21f in ?? () from /usr/lib/libexiv2.so.5 #23 0xb50cf15d in ?? () from /usr/lib/libexiv2.so.5 #24 0xb50cf32d in ?? () from /usr/lib/libexiv2.so.5 #25 0xb50cf15d in ?? () from /usr/lib/libexiv2.so.5 #26 0xb50cf2c9 in ?? () from /usr/lib/libexiv2.so.5 #27 0xb50cf15d in ?? () from /usr/lib/libexiv2.so.5 #28 0xb50cf32d in ?? () from /usr/lib/libexiv2.so.5 #29 0xb50cf15d in ?? () from /usr/lib/libexiv2.so.5 #30 0xb50d5dfe in ?? () from /usr/lib/libexiv2.so.5 #31 0xb50d67ba in ?? () from /usr/lib/libexiv2.so.5 #32 0xb50d6985 in Exiv2::TiffParser::decode () from /usr/lib/libexiv2.so.5 #33 0xb5073288 in Exiv2::ExifParser::decode () from /usr/lib/libexiv2.so.5 #34 0xb5089364 in Exiv2::JpegBase::readMetadata () from /usr/lib/libexiv2.so.5 #35 0xb77e14ef in KExiv2Iface::KExiv2::load () from /usr/lib/libkexiv2.so.7 #36 0xb7176e5c in Digikam::DMetadata::load (this=0xb30ecc8c, filePath=@0xb30ecc18) at /build/buildd/digikam-0.10.0/libs/dmetadata/dmetadata.cpp:75 #37 0xb6feb121 in Digikam::ImageScanner::loadFromDisk (this=0xb30ecc84) at /build/buildd/digikam-0.10.0/libs/database/imagescanner.cpp:601 #38 0xb6ff2312 in Digikam::ImageScanner::newFile (this=0xb30ecc84, albumId=6) at /build/buildd/digikam-0.10.0/libs/database/imagescanner.cpp:89 #39 0xb6fe42ba in Digikam::CollectionScanner::scanNewFile (this=0xb30ed314, info=@0xb2547658, albumId=6) at /build/buildd/digikam-0.10.0/libs/database/collectionscanner.cpp:592 #40 0xb6fe584f in Digikam::CollectionScanner::scanAlbum (this=0xb30ed314, location=@0xa43bab8, album=@0xb30ecf24) at /build/buildd/digikam-0.10.0/libs/database/collectionscanner.cpp:545 #41 0xb6fe5758 in Digikam::CollectionScanner::scanAlbum (this=0xb30ed314, location=@0xa43bab8, album=@0xb30ed074) at /build/buildd/digikam-0.10.0/libs/database/collectionscanner.cpp:556 #42 0xb6fe5758 in Digikam::CollectionScanner::scanAlbum (this=0xb30ed314, location=@0xa43bab8, album=@0xb30ed1c4) at /build/buildd/digikam-0.10.0/libs/database/collectionscanner.cpp:556 #43 0xb6fe5758 in Digikam::CollectionScanner::scanAlbum (this=0xb30ed314, location=@0xa43bab8, album=@0xb30ed244) at /build/buildd/digikam-0.10.0/libs/database/collectionscanner.cpp:556 #44 0xb6fe62b7 in Digikam::CollectionScanner::scanAlbumRoot (this=0xb30ed314, location=@0xa43bab8) at /build/buildd/digikam-0.10.0/libs/database/collectionscanner.cpp:345 #45 0xb6fe655e in Digikam::CollectionScanner::completeScan (this=0xb30ed314) at /build/buildd/digikam-0.10.0/libs/database/collectionscanner.cpp:192 #46 0x0828f2d7 in Digikam::ScanController::run (this=0xa296040) at /build/buildd/digikam-0.10.0/digikam/scancontroller.cpp:432 #47 0xb56ef96e in QThreadPrivate::start (arg=0xa296040) at thread/qthread_unix.cpp:189 #48 0xb53fe4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #49 0xb54f549e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb46ab920 (LWP 14002)): #0 0xb7faf430 in __kernel_vsyscall () #1 0xb54020e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb55042ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb56f09b2 in QWaitCondition::wait (this=0xa2a0c00, mutex=0xa2a0bec, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb56efb13 in QThread::wait (this=0xa296040, time=4294967295) at thread/qthread_unix.cpp:485 #5 0x0828ef1e in Digikam::ScanController::shutDown (this=0xa296040) at /build/buildd/digikam-0.10.0/digikam/scancontroller.cpp:264 #6 0x08292671 in ~ScanController (this=0xa296040) at /build/buildd/digikam-0.10.0/digikam/scancontroller.cpp:247 #7 0x0829281a in destroy () at /build/buildd/digikam-0.10.0/digikam/scancontroller.cpp:188 #8 0xb543fbb9 in exit () from /lib/tls/i686/cmov/libc.so.6 #9 0xb5d1921b in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707 #10 0xb68d82fa in KApplication::xioErrhandler (this=0xbf9cc914, dpy=0xa1dfdc0) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:413 #11 0xb68d8336 in kde_xio_errhandler (dpy=0xa1dfdc0) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:130 #12 0xb528cf22 in _XIOError () from /usr/lib/libX11.so.6 #13 0xb5294743 in ?? () from /usr/lib/libX11.so.6 #14 0xb52950e5 in _XEventsQueued () from /usr/lib/libX11.so.6 #15 0xb527d7af in XEventsQueued () from /usr/lib/libX11.so.6 #16 0xb5d5652d in x11EventSourceCheck (s=0xa1cb968) at kernel/qguieventdispatcher_glib.cpp:87 #17 0xb4abc6f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #18 0xb4abcfdd in ?? () from /usr/lib/libglib-2.0.so.0 #19 0xb4abd268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #20 0xb580f438 in QEventDispatcherGlib::processEvents (this=0xa1b45c0, flags={i = -1080244488}) at kernel/qeventdispatcher_glib.cpp:323 #21 0xb5d56365 in QGuiEventDispatcherGlib::processEvents (this=0xa1b45c0, flags={i = -1080244440}) at kernel/qguieventdispatcher_glib.cpp:202 #22 0xb57e206a in QEventLoop::processEvents (this=0xa299f58, flags={i = -1080244376}) at kernel/qeventloop.cpp:149 #23 0xb57e24aa in QEventLoop::exec (this=0xa299f58, flags={i = -1080244324}) at kernel/qeventloop.cpp:200 #24 0x0828ed93 in Digikam::ScanController::completeCollectionScan (this=0xa296040, splash=0xa3a0638) at /build/buildd/digikam-0.10.0/digikam/scancontroller.cpp:326 #25 0x08252a9a in DigikamApp (this=0xa28eb40) at /build/buildd/digikam-0.10.0/digikam/digikamapp.cpp:164 #26 0x082b4be4 in main (argc=5, argv=0xbf9ccb74) at /build/buildd/digikam-0.10.0/digikam/main.cpp:167
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