Version: current 0.10 svn (using KDE 4.1.2) OS: Linux Installed from: Ubuntu Packages Hi after updating to current svn, digikam starts perfectly, but when changing albums, some work fine, some crash digikam here is the terminal output: digikam(6688) main: Root Album Path: "/media/E/DCIM" digikam(6688) main: Database Path: "/media/E/DCIM" digikam(6688) Digikam::SchemaUpdater::update: SchemaUpdater update digikam(6688) Digikam::SchemaUpdater::startUpdates: Have a database structure version "5" digikam(6688) Digikam::SchemaUpdater::makeUpdates: makeUpdates 5 to 5 digikam(6688) Digikam::CollectionManagerPrivate::actuallyListVolumes: listFromType digikam(6688) Digikam::CollectionManagerPrivate::actuallyListVolumes: got listFromType digikam(6688) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location "/DCIM" uuid "volumeid:?uuid=4848FA7148FA5D5E" digikam(6688) Digikam::CollectionManager::updateLocations: location for "/media/E/DCIM" is available true digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are initially" QRect(0,0 100x30) QRect(0,0 100x91) digikam(6688) Phonon::KdePlatformPlugin::createBackend: using backend: "GStreamer" digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " after inserting widgets" QRect(0,0 100x30) QRect(0,0 100x91) digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x30) QRect(0,0 100x91) digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x30) QRect(0,0 100x91) digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " after setPreviewMode" QRect(0,0 100x30) QRect(0,0 100x91) digikam(6688) Digikam::AlbumWidgetStack::readSettings: Saved sizes were (844, 0) digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " after readSettings" QRect(0,0 100x27) QRect(-101,-1 100x91) Starting to load Plugins. Files: "CompassFloatItem.so" Files: "MapScaleFloatItem.so" Files: "MarbleOverviewMap.so" Files: "MarbleStarsPlugin.so" === MarbleDirs: === Local Path: "/home/m/.marble/data" Plugin Local Path: "/home/m/.marble/plugins" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" Marble Plugin Path (Run Time) : "" Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble" System Path: "/usr/share/kde4/apps/marble/data" Plugin System Path: "/usr/lib/kde4/plugins/marble" =================== "CompassFloatItem.so" - "/usr/lib/kde4/plugins/marble/CompassFloatItem.so" "MapScaleFloatItem.so" - "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so" "MarbleOverviewMap.so" - "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so" "MarbleStarsPlugin.so" - "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so" Use workaround: 0 "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache" Style reset requested. "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache" Style reset requested. "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache" Style reset requested. "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache" Style reset requested. "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache" Style reset requested. loadMapTheme "earth/citylights/citylights.dgml" Succesfully parsed file! loadMapTheme "earth/bluemarble/bluemarble.dgml" Succesfully parsed file! MapThemeId "earth/srtm/srtm.dgml" loadMapTheme "earth/srtm/srtm.dgml" Succesfully parsed file! DGML2 Name : "Atlas" Style reset requested. THEME CHANGED: *** "earth/srtm/srtm.dgml" Starting to load Plugins. Files: "CompassFloatItem.so" Files: "MapScaleFloatItem.so" Files: "MarbleOverviewMap.so" Files: "MarbleStarsPlugin.so" === MarbleDirs: === Local Path: "/home/m/.marble/data" Plugin Local Path: "/home/m/.marble/plugins" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" Marble Plugin Path (Run Time) : "" Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble" System Path: "/usr/share/kde4/apps/marble/data" Plugin System Path: "/usr/lib/kde4/plugins/marble" =================== "CompassFloatItem.so" - "/usr/lib/kde4/plugins/marble/CompassFloatItem.so" "MapScaleFloatItem.so" - "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so" "MarbleOverviewMap.so" - "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so" "MarbleStarsPlugin.so" - "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so" Use workaround: 0 "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache" Style reset requested. "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache" Style reset requested. "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache" Style reset requested. "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache" Style reset requested. "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache" Style reset requested. loadMapTheme "earth/citylights/citylights.dgml" Succesfully parsed file! loadMapTheme "earth/bluemarble/bluemarble.dgml" Succesfully parsed file! MapThemeId "earth/srtm/srtm.dgml" loadMapTheme "earth/srtm/srtm.dgml" Succesfully parsed file! DGML2 Name : "Atlas" Style reset requested. THEME CHANGED: *** "earth/srtm/srtm.dgml" Object::connect: No such signal Digikam::GPSSearchWidget::regionSelected(QList<double>) digikam(6688) Digikam::AlbumManager::startScan: KDirWatch method = "INotify" Style reset requested. Style reset requested. Style reset requested. digikam(6688) Digikam::DigikamApp::slotKipiPluginPlug: Plugin ' "raw_converter_single" ' disabled. Style reset requested. digikam(6688) ImagePlugin_ColorFX::ImagePlugin_ColorFX: ImagePlugin_ColorFX plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Farbeffekte" digikam(6688) ImagePlugin_FilmGrain::ImagePlugin_FilmGrain: ImagePlugin_FilmGrain plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Filmkörnung" digikam(6688) ImagePlugin_FreeRotation::ImagePlugin_FreeRotation: ImagePlugin_FreeRotation plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_FreieRotation" digikam(6688) ImagePlugin_AdjustCurves::ImagePlugin_AdjustCurves: ImagePlugin_AdjustCurves plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Gradation" digikam(6688) ImagePlugin_Emboss::ImagePlugin_Emboss: ImagePlugin_Emboss plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Gravur" digikam(6688) ImagePlugin_HotPixels::ImagePlugin_HotPixels: ImagePlugin_HotPixels plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_HotPixels" digikam(6688) ImagePlugin_InPainting::ImagePlugin_InPainting: ImagePlugin_InPainting plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_InPainting" digikam(6688) ImagePlugin_Infrared::ImagePlugin_Infrared: ImagePlugin_Infrared plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Infrarot" digikam(6688) ImagePlugin_ChannelMixer::ImagePlugin_ChannelMixer: ImagePlugin_ChannelMixer plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_KanalMixer" digikam(6688) ImagePlugin_Core::ImagePlugin_Core: ImagePlugin_Core plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Kern" digikam(6688) ImagePlugin_Charcoal::ImagePlugin_Charcoal: ImagePlugin_Charcoal plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Kohlezeichnung" digikam(6688) ImagePlugin_LensCorrection::ImagePlugin_LensCorrection: ImagePlugin_LensCorrection plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Linsenkorrektur" digikam(6688) ImagePlugin_Perspective::ImagePlugin_Perspective: ImagePlugin_Perspective plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Perspektive" digikam(6688) ImagePlugin_Border::ImagePlugin_Border: ImagePlugin_Border plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Rahmen" digikam(6688) ImagePlugin_NoiseReduction::ImagePlugin_NoiseReduction: ImagePlugin_NoiseReduction plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Rauschunterdrückung" digikam(6688) ImagePlugin_RainDrop::ImagePlugin_RainDrop: ImagePlugin_RainDrop plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Regentropfen" digikam(6688) ImagePlugin_Restoration::ImagePlugin_Restoration: ImagePlugin_Restoration plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Restauration" digikam(6688) ImagePlugin_SuperImpose::ImagePlugin_SuperImpose: ImagePlugin_SuperImpose plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Schablone" digikam(6688) ImagePlugin_ShearTool::ImagePlugin_ShearTool: ImagePlugin_ShearTool plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Scheren" digikam(6688) ImagePlugin_InsertText::ImagePlugin_InsertText: ImagePlugin_InsertText plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_TextEinfügen" digikam(6688) ImagePlugin_Texture::ImagePlugin_Texture: ImagePlugin_Texture plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Textur" digikam(6688) ImagePlugin_AdjustLevels::ImagePlugin_AdjustLevels: ImagePlugin_AdjustLevels plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Tonwertkorrektur" digikam(6688) ImagePlugin_BlurFX::ImagePlugin_BlurFX: ImagePlugin_BlurFX plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Unschärfeeffekte" digikam(6688) ImagePlugin_DistortionFX::ImagePlugin_DistortionFX: ImagePlugin_DistortionFX plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Verzerrungseffekte" digikam(6688) ImagePlugin_WhiteBalance::ImagePlugin_WhiteBalance: ImagePlugin_WhiteBalance plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Weißabgleich" digikam(6688) ImagePlugin_OilPaint::ImagePlugin_OilPaint: ImagePlugin_OilPaint plugin loaded digikam(6688) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Ölgemälde" digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91) Style reset requested. digikam(6688) Digikam::ThemeEngine::loadTheme: Theme file loaded: "/usr/share/kde4/apps/digikam/themes/DLR" Style reset requested. digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91) digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91) digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91) Style reset requested. Style reset requested. Style reset requested. digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91) digikam(6688) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91) Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there. terminate called after throwing an instance of 'Exiv2::Error' what(): /media/E/DCIM/ghj/gimp/K20D8999.xcf: The file contains data of an unknown image type KCrash: Application 'digikam' crashing... sock_file=/home/m/.kde/socket-ubuntu/kdeinit4__0 digikam: Fatal IO error: client killed ** (<unknown>:6688): WARNING **: Serious fd usage error 31 ** (<unknown>:6688): WARNING **: Serious fd usage error 29 GThread-ERROR **: file /build/buildd/glib2.0-2.18.2/gthread/gthread-posix.c: line 385 (g_thread_join_posix_impl): error 'Resource deadlock avoided' during 'pthread_join (*(pthread_t*)thread, &ignore)' aborting... Unable to start Dr. Konqi best, mike
Look like Exiv2 as generated a C++ exception... Which Exiv2 shared library version you use ? Gilles Caulier
Hi I use exiv2 0.18-pre1 svn about two weeks old... best, mike
Changes have been done recently in Exiv2. Please update and try again. Gilles Caulier
Hi I checked now the exiv2 pre2 tarball and the latest exiv2 svn, both times the same... nor more folders work... when I go to the tag view, some albums still crash, like before... the end of the terminal output: digikam(28361) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Weißabgleich" digikam(28361) ImagePlugin_OilPaint::ImagePlugin_OilPaint: ImagePlugin_OilPaint plugin loaded digikam(28361) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin "Bildmodul_Ölgemälde" digikam(28361) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91) Style reset requested. digikam(28361) Digikam::ThemeEngine::loadTheme: Theme file loaded: "/usr/share/kde4/apps/digikam/themes/DLR" Style reset requested. digikam(28361) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91) digikam(28361) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91) Style reset requested. digikam(28361) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91) Style reset requested. Style reset requested. digikam(28361) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91) digikam(28361) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91) Style reset requested. digikam(28361) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91) digikam(28361) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91) Error: Failed to read Pentax IFD Makernote header. digikam: tiffvisitor.cpp:1122: virtual void Exiv2::Internal::TiffReader::visitDirectory(Exiv2::Internal::TiffDirectory*): Assertion `p >= pData_' failed. KCrash: Application 'digikam' crashing... sock_file=/home/m/.kde/socket-ubuntu/kdeinit4__0 digikam: Fatal IO error: client killed ** (<unknown>:28361): WARNING **: Serious fd usage error 31 ** (<unknown>:28361): WARNING **: Serious fd usage error 29 GThread-ERROR **: file /build/buildd/glib2.0-2.18.2/gthread/gthread-posix.c: line 385 (g_thread_join_posix_impl): error 'Resource deadlock avoided' during 'pthread_join (*(pthread_t*)thread, &ignore)' aborting... Unable to start Dr. Konqi best, mike
Andreas, This is another crash into Exiv2 from trunk... Gilles Caulier
ah ok, so what should I do now? best wishes, mike
Michael, Thanks for testing. The error you're seeing now with pre2 is different from the earlier one (which has been fixed). Can you please attach / send me (ahuggel at gmx dot net) one of the pictures that cause this problem: > Error: Failed to read Pentax IFD Makernote header. digikam: tiffvisitor.cpp:1122: virtual void > Exiv2::Internal::TiffReader::visitDirectory(Exiv2::Internal::TiffDirectory*): > Assertion `p >= pData_' failed. You can use the exiv2 command line tool to identify an image - it should fail the same way. Thanks, Andreas
Is that still the same bug or another one, because now I could get the output directly from KDE Anwendung: digiKam (digikam), Signal SIGABRT [Thread debugging using libthread_db enabled] [New Thread 0x7f6d0f7cd6f0 (LWP 9425)] [New Thread 0x42771950 (LWP 9426)] [KCrash handler] #5 0x00007f6d04338fd5 in raise () from /lib/libc.so.6 #6 0x00007f6d0433ab43 in abort () from /lib/libc.so.6 #7 0x00007f6d04331d49 in __assert_fail () from /lib/libc.so.6 #8 0x00007f6d0151072a in Exiv2::Internal::TiffReader::visitDirectory () from /usr/lib/libexiv2.so.5 #9 0x00007f6d01500626 in Exiv2::Internal::TiffDirectory::doAccept () from /usr/lib/libexiv2.so.5 #10 0x00007f6d014c6be6 in Exiv2::Internal::TiffIfdMakernote::doAccept () from /usr/lib/libexiv2.so.5 #11 0x00007f6d01500579 in Exiv2::Internal::TiffMnEntry::doAccept () from /usr/lib/libexiv2.so.5 #12 0x00007f6d01500654 in Exiv2::Internal::TiffDirectory::doAccept () from /usr/lib/libexiv2.so.5 #13 0x00007f6d01500601 in Exiv2::Internal::TiffSubIfd::doAccept () from /usr/lib/libexiv2.so.5 #14 0x00007f6d01500654 in Exiv2::Internal::TiffDirectory::doAccept () from /usr/lib/libexiv2.so.5 #15 0x00007f6d015063a1 in Exiv2::Internal::TiffParserWorker::parse () from /usr/lib/libexiv2.so.5 #16 0x00007f6d01506df4 in Exiv2::Internal::TiffParserWorker::decode () from /usr/lib/libexiv2.so.5 #17 0x00007f6d01506fc4 in Exiv2::TiffParser::decode () from /usr/lib/libexiv2.so.5 #18 0x00007f6d014b1c45 in Exiv2::ExifParser::decode () from /usr/lib/libexiv2.so.5 #19 0x00007f6d014c2b12 in Exiv2::JpegBase::readMetadata () from /usr/lib/libexiv2.so.5 #20 0x00007f6d051573ed in KExiv2Iface::KExiv2::load (this=0x42770590, filePath=@0x42770500) at /src/digikam/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp:241 #21 0x00007f6d0ec24b63 in Digikam::DMetadata::load (this=0x42770590, filePath=@0x42770500) at /src/digikam/graphics/digikam/libs/dmetadata/dmetadata.cpp:76 #22 0x00007f6d0f0ac915 in Digikam::ImageScanner::loadFromDisk ( this=0x42770580) at /src/digikam/graphics/digikam/libs/database/imagescanner.cpp:513 #23 0x00007f6d0f0b0644 in Digikam::ImageScanner::newFile (this=0x42770580, albumId=333) at /src/digikam/graphics/digikam/libs/database/imagescanner.cpp:89 #24 0x00007f6d0f0a2a10 in Digikam::CollectionScanner::scanNewFile ( this=0x427710a0, info=@0x20f8c18, albumId=333) at /src/digikam/graphics/digikam/libs/database/collectionscanner.cpp:557 #25 0x00007f6d0f0a5516 in Digikam::CollectionScanner::scanAlbum ( this=0x427710a0, location=@0x1ea16f0, album=@0x427709a0) at /src/digikam/graphics/digikam/libs/database/collectionscanner.cpp:510 #26 0x00007f6d0f0a5842 in Digikam::CollectionScanner::scanAlbum ( this=0x427710a0, location=@0x1ea16f0, album=@0x42770c90) at /src/digikam/graphics/digikam/libs/database/collectionscanner.cpp:521 #27 0x00007f6d0f0a5842 in Digikam::CollectionScanner::scanAlbum ( this=0x427710a0, location=@0x1ea16f0, album=@0x42770f50) at /src/digikam/graphics/digikam/libs/database/collectionscanner.cpp:521 #28 0x00007f6d0f0a5d94 in Digikam::CollectionScanner::scanAlbumRoot ( this=0x427710a0, location=@0x1ea16f0) at /src/digikam/graphics/digikam/libs/database/collectionscanner.cpp:314 #29 0x00007f6d0f0a671c in Digikam::CollectionScanner::completeScan ( this=0x427710a0) at /src/digikam/graphics/digikam/libs/database/collectionscanner.cpp:191 #30 0x00000000006995f6 in Digikam::ScanController::run (this=0x1e20c60) at /src/digikam/graphics/digikam/digikam/scancontroller.cpp:366 #31 0x00007f6d09eae362 in ?? () from /usr/lib/libQtCore.so.4 #32 0x00007f6d05cc73ea in start_thread () from /lib/libpthread.so.0 #33 0x00007f6d043ecc6d in clone () from /lib/libc.so.6 #34 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f6d0f7cd6f0 (LWP 9425)): #0 0x00007f6d05ccb2d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6d09eaf349 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4 #2 0x00007f6d09eae50c in QThread::wait () from /usr/lib/libQtCore.so.4 #3 0x000000000069873b in Digikam::ScanController::shutDown (this=0x1e20c60) at /src/digikam/graphics/digikam/digikam/scancontroller.cpp:226 #4 0x00000000006988d3 in ~ScanController (this=0x1e20c60) at /src/digikam/graphics/digikam/digikam/scancontroller.cpp:209 #5 0x000000000069aeb9 in ~ScanControllerCreator (this=0x1e20c60) at /src/digikam/graphics/digikam/digikam/scancontroller.cpp:163 #6 0x0000000000698a16 in destroy () at /src/digikam/graphics/digikam/digikam/scancontroller.cpp:164 #7 0x000000000060636b in ~KCleanUpGlobalStatic (this=0x996ed0) at /usr/include/kglobal.h:67 #8 0x00007f6d0433c66d in exit () from /lib/libc.so.6 #9 0x00007f6d07ba9b18 in ?? () from /usr/lib/libQtGui.so.4 #10 0x00007f6d0d52b9e8 in KApplication::xioErrhandler () from /usr/lib/libkdeui.so.5 #11 0x00007f6d08f658b4 in _XIOError () from /usr/lib/libX11.so.6 #12 0x00007f6d08f6d358 in ?? () from /usr/lib/libX11.so.6 #13 0x00007f6d08f6dad6 in _XEventsQueued () from /usr/lib/libX11.so.6 #14 0x00007f6d08f560a3 in XEventsQueued () from /usr/lib/libX11.so.6 #15 0x00007f6d07be1c5c in ?? () from /usr/lib/libQtGui.so.4 #16 0x00007f6d02bada9a in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #17 0x00007f6d02bae3f1 in ?? () from /usr/lib/libglib-2.0.so.0 #18 0x00007f6d02bae6cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #19 0x00007f6d09fbf17e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #20 0x00007f6d07be1a9f in ?? () from /usr/lib/libQtGui.so.4 #21 0x00007f6d09f95682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #22 0x00007f6d09f9580d in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #23 0x0000000000698529 in Digikam::ScanController::completeCollectionScan ( this=0x1e20c60, splash=0x1e270e0) at /src/digikam/graphics/digikam/digikam/scancontroller.cpp:288 #24 0x0000000000649fd9 in DigikamApp (this=0x1ef7820) at /src/digikam/graphics/digikam/digikam/digikamapp.cpp:161 #25 0x0000000000687f70 in main (argc=4, argv=0x7fff1781a208) at /src/digikam/graphics/digikam/digikam/main.cpp:162 #0 0x00007f6d05ccb2d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 best wishes, mike
It always crash in Exiv2. Are you able to identify which image file crash digiKam ? If yes, please test to read image content with Exiv2 command line tool ? Other question: Do you have more than one Exiv2 installed on your computer ? Gilles Caulier
I'm not sure if the bug in comment #8 and comment #4 is the same. Let me take a look at the picture that you sent me. -ahu.
Michael, Please retest with Exiv2 from SVN, rev 1669 or higher and let me know if you still get a crash. The sample you sent works fine for me now: ahuggel@mowgli> ./exiv2 -pt K20D0096.jpg Error: Failed to read Pentax IFD Makernote header. Exif.Image.Make Ascii 20 PENTAX Exif.Image.Model Ascii 20 PENTAX K20D Exif.Image.Orientation Short 1 top, left Exif.Image.Software Ascii 11 GIMP 2.6.2 Exif.Image.DateTime Ascii 20 2008:11:09 01:10:12 Exif.Image.ExifTag Long 1 158 Exif.Photo.ExposureTime Rational 1 1/250 s Exif.Photo.FNumber Rational 1 F8 Exif.Photo.ExposureProgram Short 1 Aperture priority Exif.Photo.ISOSpeedRatings Short 1 100 Exif.Photo.DateTimeOriginal Ascii 20 2008:10:18 08:56:39 Exif.Photo.DateTimeDigitized Ascii 20 2008:10:18 08:56:39 Exif.Photo.ExposureBiasValue SRational 1 -3/2 Exif.Photo.MeteringMode Short 1 Spot Exif.Photo.Flash Short 1 No, compulsory Exif.Photo.FocalLength Rational 1 31.0 mm Exif.Photo.MakerNote Undefined 0 Exif.Photo.SensingMethod Short 1 One-chip color area Exif.Photo.CFAPattern Undefined 8 0 2 0 2 2 1 1 0 Exif.Photo.CustomRendered Short 1 Normal process Exif.Photo.ExposureMode Short 1 Manual Exif.Photo.WhiteBalance Short 1 Manual Exif.Photo.FocalLengthIn35mmFilm Short 1 46.0 mm Exif.Photo.SceneCaptureType Short 1 Standard Exif.Photo.Contrast Short 1 Hard Exif.Photo.Saturation Short 1 Normal Exif.Photo.Sharpness Short 1 Hard Exif.Photo.SubjectDistanceRange Short 1 Distant view Exif.Thumbnail.ImageWidth Long 1 160 Exif.Thumbnail.ImageLength Long 1 120 Exif.Thumbnail.Compression Short 1 JPEG (old-style) Exif.Thumbnail.XResolution Rational 1 72 Exif.Thumbnail.YResolution Rational 1 72 Exif.Thumbnail.ResolutionUnit Short 1 inch The picture has an invalid (empty) makernote. -ahu.
Thank you for your help, it seems to work fine now... cheers, mike
Not reproducible with digiKam 7.3.0 and Exiv2 0.27.4