[Digikam-devel] [Bug 234594] New: Digikam crashes when scanning tags
yann LE HIR
yann.lehir at gmail.com
Sat Apr 17 07:03:46 BST 2010
https://bugs.kde.org/show_bug.cgi?id=234594
Summary: Digikam crashes when scanning tags
Product: digikam
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: digikam-devel at kde.org
ReportedBy: yann.lehir at gmail.com
Version: SVN r1115586 (using KDE 4.4.2)
Compiler: gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5)
OS: Linux
Installed from: Gentoo Packages
Digikam crashes at start when scanning for new images, or if there is some
modifications on the hdd.
I traced it back to "libs/database/tagscache.cpp" l77
I noted the existance of some booleans like "needUpdateInfos" and
"needUpdateHash" that where never put to false, even after an update.
So i added "needUpdateInfos = false;" line 79
and "needUpdateHash = false;" line 94.
Anyway the crash moved to an other function. Here is the backrace :
#0 0xb5211095 in QMutex::lock() () from /usr/lib/qt4/libQtCore.so.4
#1 0xb5211f70 in QReadWriteLock::lockForRead() () from
/usr/lib/qt4/libQtCore.so.4
#2 0xb6d50164 in QReadLocker::relock (this=0xb15b8b38) at
/usr/include/qt4/QtCore/qreadwritelock.h:111
#3 0xb6d501dc in QReadLocker (this=0xb15b8b38, areadWriteLock=0x86951d4) at
/usr/include/qt4/QtCore/qreadwritelock.h:133
#4 0xb6d4e579 in Digikam::TagsCache::tagForPath (this=0x8688ab0, tagPath=...)
at /home/build/graphics/digikam/libs/database/tagscache.cpp:232
#5 0xb6d4e8f6 in Digikam::TagsCache::getOrCreateTag (this=0x8688ab0,
tagPath=...)
at /home/build/graphics/digikam/libs/database/tagscache.cpp:388
#6 0xb6d4e974 in Digikam::TagsCache::getOrCreateTags (this=0x8688ab0,
tagPaths=...)
at /home/build/graphics/digikam/libs/database/tagscache.cpp:381
#7 0xb6d2d6ec in Digikam::ImageScanner::scanTags (this=0xb15b8cbc)
at /home/build/graphics/digikam/libs/database/imagescanner.cpp:479
#8 0xb6d2eee2 in Digikam::ImageScanner::scanFile (this=0xb15b8cbc,
mode=Digikam::ImageScanner::NewScan)
at /home/build/graphics/digikam/libs/database/imagescanner.cpp:247
#9 0xb6d2faa0 in Digikam::ImageScanner::newFile (this=0xb15b8cbc, albumId=21)
at /home/build/graphics/digikam/libs/database/imagescanner.cpp:102
#10 0xb6cd67f5 in Digikam::CollectionScanner::scanNewFile (this=0xb15b9304,
info=..., albumId=21)
at /home/build/graphics/digikam/libs/database/collectionscanner.cpp:756
#11 0xb6cd9cd6 in Digikam::CollectionScanner::scanAlbum (this=0xb15b9304,
location=..., album=...)
at /home/build/graphics/digikam/libs/database/collectionscanner.cpp:665
#12 0xb6cda013 in Digikam::CollectionScanner::scanAlbum (this=0xb15b9304,
location=..., album=...)
at /home/build/graphics/digikam/libs/database/collectionscanner.cpp:683
#13 0xb6cda013 in Digikam::CollectionScanner::scanAlbum (this=0xb15b9304,
location=..., album=...)
at /home/build/graphics/digikam/libs/database/collectionscanner.cpp:683
#14 0xb6cda013 in Digikam::CollectionScanner::scanAlbum (this=0xb15b9304,
location=..., album=...)
at /home/build/graphics/digikam/libs/database/collectionscanner.cpp:683
#15 0xb6cda618 in Digikam::CollectionScanner::scanAlbumRoot (this=0xb15b9304,
location=...)
at /home/build/graphics/digikam/libs/database/collectionscanner.cpp:479
#16 0xb6cdaf88 in Digikam::CollectionScanner::completeScan (this=0xb15b9304)
at /home/build/graphics/digikam/libs/database/collectionscanner.cpp:250
#17 0x0838dd9f in Digikam::ScanController::run (this=0x866e178)
at /home/build/graphics/digikam/digikam/scancontroller.cpp:541
#18 0xb521673f in ?? () from /usr/lib/qt4/libQtCore.so.4
#19 0xb51748df in start_thread () from /lib/libpthread.so.0
--
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