Bug 345907

Summary: While downloading new pictures from the SD-card of my Canon EOS 650D digicam crashes.
Product: [Applications] digikam Reporter: Georg Schilling <bugs>
Component: Import-UMSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: bugs, caulier.gilles
Priority: NOR    
Version: 3.5.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:

Description Georg Schilling 2015-04-06 02:46:15 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-48-generic x86_64
Distribution: Ubuntu 14.04.2 LTS

-- Information about the crash:
While downloading new pictures from the SD-card of my Canon EOS 650D digicam crashes.

The crash can be reproduced sometimes.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f097da09ac0 (LWP 7615))]

Thread 7 (Thread 0x7f095909a700 (LWP 7617)):
#0  0x00007f097742112d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f095dc47248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f09726b1182 in start_thread (arg=0x7f095909a700) at pthread_create.c:312
#3  0x00007f097742e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f0952602700 (LWP 7618)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f097820f816 in wait (time=18446744073709551615, this=0x2aac520) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2aa5e20, mutex=mutex@entry=0x2aa5e18, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x2acbe60) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f097820f32f in QThreadPrivate::start (arg=0x2acbe60) at thread/qthread_unix.cpp:349
#5  0x00007f09726b1182 in start_thread (arg=0x7f0952602700) at pthread_create.c:312
#6  0x00007f097742e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f0951e01700 (LWP 7619)):
#0  0x00007f097742112d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f096fed8fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f096fed90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f097833e7be in QEventDispatcherGlib::processEvents (this=0x7f09440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f09783100af in QEventLoop::processEvents (this=this@entry=0x7f0951e00ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f09783103a5 in QEventLoop::exec (this=this@entry=0x7f0951e00ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f097820cc5f in QThread::exec (this=this@entry=0x2a51600) at thread/qthread.cpp:537
#7  0x00007f09782f1823 in QInotifyFileSystemWatcherEngine::run (this=0x2a51600) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f097820f32f in QThreadPrivate::start (arg=0x2a51600) at thread/qthread_unix.cpp:349
#9  0x00007f09726b1182 in start_thread (arg=0x7f0951e01700) at pthread_create.c:312
#10 0x00007f097742e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f0951600700 (LWP 7868)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f097820f816 in wait (time=18446744073709551615, this=0x3125b00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x3123930, mutex=mutex@entry=0x3123928, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f097b08879a in Digikam::ParkingThread::run (this=0x3123910) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f097820f32f in QThreadPrivate::start (arg=0x3123910) at thread/qthread_unix.cpp:349
#5  0x00007f09726b1182 in start_thread (arg=0x7f0951600700) at pthread_create.c:312
#6  0x00007f097742e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f093f9a8700 (LWP 7959)):
#0  0x00007f09726b3569 in __GI___pthread_mutex_lock (mutex=0x7f0938000a60) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007f096ff1a981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f096fed8699 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f096fed8f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f096fed90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f097833e7be in QEventDispatcherGlib::processEvents (this=0x7f09380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f09783100af in QEventLoop::processEvents (this=this@entry=0x7f093f9a7ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f09783103a5 in QEventLoop::exec (this=this@entry=0x7f093f9a7ae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f097820cc5f in QThread::exec (this=this@entry=0x3320d90) at thread/qthread.cpp:537
#9  0x00007f09782f1823 in QInotifyFileSystemWatcherEngine::run (this=0x3320d90) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f097820f32f in QThreadPrivate::start (arg=0x3320d90) at thread/qthread_unix.cpp:349
#11 0x00007f09726b1182 in start_thread (arg=0x7f093f9a8700) at pthread_create.c:312
#12 0x00007f097742e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f08ae900700 (LWP 8014)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f097820f816 in wait (time=18446744073709551615, this=0x7f08e0172170) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x7f08e01722c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f097820b95b in QSemaphore::acquire (this=this@entry=0x7f08ae8ff580, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f0978325cb2 in QMetaObject::activate (sender=sender@entry=0x5212950, m=m@entry=0x89c980 <Digikam::CameraController::staticMetaObject>, local_signal_index=local_signal_index@entry=18, argv=argv@entry=0x7f08ae8ff5d0) at kernel/qobject.cpp:3513
#5  0x00000000007b68b7 in Digikam::CameraController::signalInternalCheckRename (this=this@entry=0x5212950, _t1=..., _t2=..., _t3=..., _t4=..., _t5=...) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:319
#6  0x00000000007bb95f in Digikam::CameraController::executeCommand (this=this@entry=0x5212950, cmd=cmd@entry=0x7210080) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:690
#7  0x00000000007be766 in Digikam::CameraController::run (this=0x5212950) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:402
#8  0x00007f097820f32f in QThreadPrivate::start (arg=0x5212950) at thread/qthread_unix.cpp:349
#9  0x00007f09726b1182 in start_thread (arg=0x7f08ae900700) at pthread_create.c:312
#10 0x00007f097742e47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f097da09ac0 (LWP 7615)):
[KCrash Handler]
#6  0x00007f0961f48da9 in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff82020740, pMem2=<optimized out>, pColl=0x42cf848) at sqlite3.c:60484
#7  0x00007f0961f48f63 in sqlite3VdbeRecordCompare (nKey1=75, pKey1=0x7202c9d, pPKey2=pPKey2@entry=0x7fff82020a58) at sqlite3.c:64162
#8  0x00007f0961f5d579 in sqlite3BtreeMovetoUnpacked (pCur=0x70d6458, pIdxKey=0x7fff82020a58, intKey=0, biasRight=<optimized out>, pRes=0x7fff82020a40) at sqlite3.c:55077
#9  0x00007f0961f85848 in sqlite3VdbeExec (p=p@entry=0x7382ab8) at sqlite3.c:70345
#10 0x00007f0961f8ded7 in sqlite3Step (p=0x7382ab8) at sqlite3.c:64828
#11 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#12 0x00007f0950bfb11c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x5f34410, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007f0950bfbe48 in QSQLiteResult::exec (this=0x6f88480) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007f097d636b7d in QSqlQuery::exec (this=this@entry=0x7fff82020fb8) at kernel/qsqlquery.cpp:949
#15 0x00007f097b041a26 in Digikam::DatabaseCoreBackend::exec (this=0x2ac6530, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#16 0x00007f097b041cee in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2ac6530, query=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1085
#17 0x00007f097b042d95 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2ac6530, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1030
#18 0x00007f097b042de9 in Digikam::DatabaseCoreBackend::execSql (this=0x2ac6530, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=..., values=values@entry=0x0, lastInsertId=lastInsertId@entry=0x7fff82021030) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:928
#19 0x00007f097a9f4be5 in Digikam::AlbumDB::addToDownloadHistory (this=0x2aecd80, identifier=..., name=..., fileSize=fileSize@entry=22198025, date=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:3131
#20 0x00007f097aa42141 in Digikam::DownloadHistory::setDownloaded (identifier=..., name=..., fileSize=fileSize@entry=22198025, date=...) at /build/buildd/digikam-3.5.0/core/libs/database/downloadhistory.cpp:52
#21 0x00000000007aa998 in Digikam::ImportUI::slotDownloaded (this=0x67d8b50, folder=..., file=..., status=<optimized out>) at /build/buildd/digikam-3.5.0/core/utilities/importui/main/importui.cpp:1570
#22 0x00000000007ae721 in Digikam::ImportUI::qt_static_metacall (_o=0x67d8b50, _c=64, _id=118061224, _a=0x40) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/importui.moc:210
#23 0x00007f097832587a in QMetaObject::activate (sender=sender@entry=0x5212950, m=m@entry=0x89c980 <Digikam::CameraController::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fff82021470) at kernel/qobject.cpp:3539
#24 0x00000000007b6699 in Digikam::CameraController::signalDownloaded (this=this@entry=0x5212950, _t1=..., _t2=..., _t3=_t3@entry=1) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:257
#25 0x00000000007bea9d in Digikam::CameraController::slotCheckRename (this=0x5212950, folder=..., file=..., destination=..., temp=..., script=...) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:898
#26 0x00000000007bfb29 in Digikam::CameraController::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:141
#27 0x00007f0978329c1e in QObject::event (this=0x5212950, e=<optimized out>) at kernel/qobject.cpp:1194
#28 0x00007f0978d03e2c in QApplicationPrivate::notify_helper (this=this@entry=0x29537f0, receiver=receiver@entry=0x5212950, e=e@entry=0x7f08e00b2ef0) at kernel/qapplication.cpp:4567
#29 0x00007f0978d0a4a0 in QApplication::notify (this=this@entry=0x7fff82022320, receiver=receiver@entry=0x5212950, e=e@entry=0x7f08e00b2ef0) at kernel/qapplication.cpp:4353
#30 0x00007f0979a0ed1a in KApplication::notify (this=0x7fff82022320, receiver=0x5212950, event=0x7f08e00b2ef0) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f09783114dd in QCoreApplication::notifyInternal (this=0x7fff82022320, receiver=receiver@entry=0x5212950, event=event@entry=0x7f08e00b2ef0) at kernel/qcoreapplication.cpp:953
#32 0x00007f0978314b3d in sendEvent (event=0x7f08e00b2ef0, receiver=0x5212950) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x28d7d60) at kernel/qcoreapplication.cpp:1577
#34 0x00007f0978314fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#35 0x00007f097833ef83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=0x2952280) at kernel/qeventdispatcher_glib.cpp:287
#37 0x00007f096fed8e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f096fed9048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f096fed90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f097833e7a1 in QEventDispatcherGlib::processEvents (this=0x2880c00, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#41 0x00007f0978da5bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f09783100af in QEventLoop::processEvents (this=this@entry=0x7fff82021e00, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f09783103a5 in QEventLoop::exec (this=this@entry=0x7fff82021e00, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f0978315b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#45 0x00007f0978d0237c in QApplication::exec () at kernel/qapplication.cpp:3828
#46 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

The reporter indicates this bug may be a duplicate of or related to bug 329697.

Possible duplicates by query: bug 344587, bug 344216, bug 343243, bug 343014, bug 342802.
Comment 1 Georg Schilling 2015-04-06 02:47:52 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-48-generic x86_64
Distribution: Ubuntu 14.04.2 LTS

-- Information about the crash:
digikam crashed while downloading pictures from sdcard EOS 650D

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2278ecaac0 (LWP 16960))]

Thread 10 (Thread 0x7f225455b700 (LWP 16962)):
#0  0x00007f22728e212d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2259108248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f226db72182 in start_thread (arg=0x7f225455b700) at pthread_create.c:312
#3  0x00007f22728ef47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f224dac3700 (LWP 16965)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f22736cedd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x2044d30) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x2044d30, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f22736cb3bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f2275ef3a69 in Digikam::DatabaseAccess::DatabaseAccess (this=<optimized out>) at /build/buildd/digikam-3.5.0/core/libs/database/databaseaccess.cpp:101
#5  0x00007f2275eea4e4 in Digikam::CollectionManager::locationForAlbumRootPath (this=0x2057880, albumRootPath=...) at /build/buildd/digikam-3.5.0/core/libs/database/collectionmanager.cpp:1307
#6  0x00007f2275ee4a27 in Digikam::CollectionScanner::partialScan (this=this@entry=0x7f224dac2ae0, albumRoot=..., album=...) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:642
#7  0x00007f2275ee547c in Digikam::CollectionScanner::partialScan (this=this@entry=0x7f224dac2ae0, filePath=...) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:617
#8  0x00000000005d5e49 in Digikam::ScanController::run (this=0x20597c0) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:798
#9  0x00007f22736d032f in QThreadPrivate::start (arg=0x20597c0) at thread/qthread_unix.cpp:349
#10 0x00007f226db72182 in start_thread (arg=0x7f224dac3700) at pthread_create.c:312
#11 0x00007f22728ef47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f224d2c2700 (LWP 16966)):
#0  0x00007f22728e212d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f226b399fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f226b39a0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f22737ff7be in QEventDispatcherGlib::processEvents (this=0x7f22400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f22737d10af in QEventLoop::processEvents (this=this@entry=0x7f224d2c1ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f22737d13a5 in QEventLoop::exec (this=this@entry=0x7f224d2c1ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f22736cdc5f in QThread::exec (this=this@entry=0x203d030) at thread/qthread.cpp:537
#7  0x00007f22737b2823 in QInotifyFileSystemWatcherEngine::run (this=0x203d030) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f22736d032f in QThreadPrivate::start (arg=0x203d030) at thread/qthread_unix.cpp:349
#9  0x00007f226db72182 in start_thread (arg=0x7f224d2c2700) at pthread_create.c:312
#10 0x00007f22728ef47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f224cac1700 (LWP 17108)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f22736d0816 in wait (time=18446744073709551615, this=0x23b6ec0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x24ede60, mutex=mutex@entry=0x24ede58, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f227654979a in Digikam::ParkingThread::run (this=0x24ede40) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f22736d032f in QThreadPrivate::start (arg=0x24ede40) at thread/qthread_unix.cpp:349
#5  0x00007f226db72182 in start_thread (arg=0x7f224cac1700) at pthread_create.c:312
#6  0x00007f22728ef47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f223ae8b700 (LWP 17109)):
#0  0x00007f22728e082d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f226b3dac10 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f226b399b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f226b399f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f226b39a0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f22737ff7be in QEventDispatcherGlib::processEvents (this=0x7f22340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f22737d10af in QEventLoop::processEvents (this=this@entry=0x7f223ae8aae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f22737d13a5 in QEventLoop::exec (this=this@entry=0x7f223ae8aae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f22736cdc5f in QThread::exec (this=this@entry=0x2941200) at thread/qthread.cpp:537
#9  0x00007f22737b2823 in QInotifyFileSystemWatcherEngine::run (this=0x2941200) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f22736d032f in QThreadPrivate::start (arg=0x2941200) at thread/qthread_unix.cpp:349
#11 0x00007f226db72182 in start_thread (arg=0x7f223ae8b700) at pthread_create.c:312
#12 0x00007f22728ef47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f21b46f1700 (LWP 17253)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f22736d0816 in wait (time=18446744073709551615, this=0x7f21ac58ba20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x7f21acdfc5c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f22736cc95b in QSemaphore::acquire (this=this@entry=0x7f21b46f0580, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f22737e6cb2 in QMetaObject::activate (sender=sender@entry=0x5e34c10, m=m@entry=0x89c980 <Digikam::CameraController::staticMetaObject>, local_signal_index=local_signal_index@entry=18, argv=argv@entry=0x7f21b46f05d0) at kernel/qobject.cpp:3513
#5  0x00000000007b68b7 in Digikam::CameraController::signalInternalCheckRename (this=this@entry=0x5e34c10, _t1=..., _t2=..., _t3=..., _t4=..., _t5=...) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:319
#6  0x00000000007bb95f in Digikam::CameraController::executeCommand (this=this@entry=0x5e34c10, cmd=cmd@entry=0x6b62920) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:690
#7  0x00000000007be766 in Digikam::CameraController::run (this=0x5e34c10) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:402
#8  0x00007f22736d032f in QThreadPrivate::start (arg=0x5e34c10) at thread/qthread_unix.cpp:349
#9  0x00007f226db72182 in start_thread (arg=0x7f21b46f1700) at pthread_create.c:312
#10 0x00007f22728ef47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f2238fcf700 (LWP 17503)):
#0  __GI___pthread_mutex_lock (mutex=0x7f2220146d30) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007f226b3db981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f226b399ed5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f226b39a0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f22737ff7be in QEventDispatcherGlib::processEvents (this=0x7f2220095260, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f22737d10af in QEventLoop::processEvents (this=this@entry=0x7f2238fceaa0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f22737d13a5 in QEventLoop::exec (this=this@entry=0x7f2238fceaa0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f2276548e43 in Digikam::WorkerObjectRunnable::run (this=0x6bf1f60) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007f22736c3fee in QThreadPoolThread::run (this=0x3c308d0) at concurrent/qthreadpool.cpp:108
#9  0x00007f22736d032f in QThreadPrivate::start (arg=0x3c308d0) at thread/qthread_unix.cpp:349
#10 0x00007f226db72182 in start_thread (arg=0x7f2238fcf700) at pthread_create.c:312
#11 0x00007f22728ef47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f222e064700 (LWP 17506)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f22736cedd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x2044d30) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x2044d30, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f22736cb3bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f2275ef3a69 in Digikam::DatabaseAccess::DatabaseAccess (this=<optimized out>) at /build/buildd/digikam-3.5.0/core/libs/database/databaseaccess.cpp:101
#5  0x00007f2275eeb38a in Digikam::CollectionManager::locationForPath (this=this@entry=0x2057880, givenPath=...) at /build/buildd/digikam-3.5.0/core/libs/database/collectionmanager.cpp:1326
#6  0x00007f2275eeb72c in Digikam::CollectionManager::locationForUrl (this=0x2057880, fileUrl=...) at /build/buildd/digikam-3.5.0/core/libs/database/collectionmanager.cpp:1321
#7  0x00007f2275f11e79 in Digikam::ImageInfo::ImageInfo (this=0x7f222e0635e0, url=...) at /build/buildd/digikam-3.5.0/core/libs/database/imageinfo.cpp:320
#8  0x00007f2275f029ca in Digikam::DatabaseThumbnailInfoProvider::thumbnailInfo (this=<optimized out>, path=...) at /build/buildd/digikam-3.5.0/core/libs/database/databasethumbnailinfoprovider.cpp:45
#9  0x00007f2276531f74 in Digikam::ThumbnailCreator::makeThumbnailInfo (this=this@entry=0x27d2220, path=..., rect=...) at /build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:347
#10 0x00007f2276536241 in Digikam::ThumbnailCreator::load (this=0x27d2220, path=..., rect=..., pregenerate=pregenerate@entry=true) at /build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:228
#11 0x00007f2276536be0 in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, path=...) at /build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:183
#12 0x00007f2276545790 in Digikam::ThumbnailLoadingTask::execute (this=0x5b88d10) at /build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailtask.cpp:82
#13 0x00007f227651da96 in Digikam::LoadSaveThread::run (this=0x290be40) at /build/buildd/digikam-3.5.0/core/libs/threadimageio/loadsavethread.cpp:136
#14 0x00007f227654b5de in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x290f410) at /build/buildd/digikam-3.5.0/core/libs/threads/dynamicthread.cpp:186
#15 0x00007f22736c3fee in QThreadPoolThread::run (this=0x3c303e0) at concurrent/qthreadpool.cpp:108
#16 0x00007f22736d032f in QThreadPrivate::start (arg=0x3c303e0) at thread/qthread_unix.cpp:349
#17 0x00007f226db72182 in start_thread (arg=0x7f222e064700) at pthread_create.c:312
#18 0x00007f22728ef47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f222f373700 (LWP 17985)):
#0  0x00007f226db757ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f2228048050) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f2228048050) at pthread_mutex_unlock.c:310
#2  0x00007f226b3db9b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f226b3998f9 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f226b399f52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f226b39a0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f22737ff7be in QEventDispatcherGlib::processEvents (this=0x7f222809cff0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f22737d10af in QEventLoop::processEvents (this=this@entry=0x7f222f372aa0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f22737d13a5 in QEventLoop::exec (this=this@entry=0x7f222f372aa0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f2276548e43 in Digikam::WorkerObjectRunnable::run (this=0x6b71e10) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#10 0x00007f22736c3fee in QThreadPoolThread::run (this=0x3c34520) at concurrent/qthreadpool.cpp:108
#11 0x00007f22736d032f in QThreadPrivate::start (arg=0x3c34520) at thread/qthread_unix.cpp:349
#12 0x00007f226db72182 in start_thread (arg=0x7f222f373700) at pthread_create.c:312
#13 0x00007f22728ef47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f2278ecaac0 (LWP 16960)):
[KCrash Handler]
#6  0x00007f225d409da9 in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff55710e00, pMem2=<optimized out>, pColl=0x66c64a8) at sqlite3.c:60484
#7  0x00007f225d409f63 in sqlite3VdbeRecordCompare (nKey1=75, pKey1=0x6b678bd, pPKey2=pPKey2@entry=0x7fff55711118) at sqlite3.c:64162
#8  0x00007f225d41e579 in sqlite3BtreeMovetoUnpacked (pCur=0x6b01d68, pIdxKey=0x7fff55711118, intKey=0, biasRight=<optimized out>, pRes=0x7fff55711100) at sqlite3.c:55077
#9  0x00007f225d446848 in sqlite3VdbeExec (p=p@entry=0x6b8bff8) at sqlite3.c:70345
#10 0x00007f225d44eed7 in sqlite3Step (p=0x6b8bff8) at sqlite3.c:64828
#11 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#12 0x00007f224c0bc11c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x66ce000, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007f224c0bce48 in QSQLiteResult::exec (this=0x45b2780) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007f2278af7b7d in QSqlQuery::exec (this=this@entry=0x7fff55711678) at kernel/qsqlquery.cpp:949
#15 0x00007f2276502a26 in Digikam::DatabaseCoreBackend::exec (this=0x20f70f0, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#16 0x00007f2276502cee in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x20f70f0, query=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1085
#17 0x00007f2276503d95 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x20f70f0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1030
#18 0x00007f2276503de9 in Digikam::DatabaseCoreBackend::execSql (this=0x20f70f0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=..., values=values@entry=0x0, lastInsertId=lastInsertId@entry=0x7fff557116f0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:928
#19 0x00007f2275eb5be5 in Digikam::AlbumDB::addToDownloadHistory (this=0x20f7010, identifier=..., name=..., fileSize=fileSize@entry=22198025, date=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:3131
#20 0x00007f2275f03141 in Digikam::DownloadHistory::setDownloaded (identifier=..., name=..., fileSize=fileSize@entry=22198025, date=...) at /build/buildd/digikam-3.5.0/core/libs/database/downloadhistory.cpp:52
#21 0x00000000007aa998 in Digikam::ImportUI::slotDownloaded (this=0x5e3daf0, folder=..., file=..., status=<optimized out>) at /build/buildd/digikam-3.5.0/core/utilities/importui/main/importui.cpp:1570
#22 0x00000000007ae721 in Digikam::ImportUI::qt_static_metacall (_o=0x5e3daf0, _c=64, _id=112778728, _a=0x40) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/importui.moc:210
#23 0x00007f22737e687a in QMetaObject::activate (sender=sender@entry=0x5e34c10, m=m@entry=0x89c980 <Digikam::CameraController::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fff55711b30) at kernel/qobject.cpp:3539
#24 0x00000000007b6699 in Digikam::CameraController::signalDownloaded (this=this@entry=0x5e34c10, _t1=..., _t2=..., _t3=_t3@entry=1) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:257
#25 0x00000000007bea9d in Digikam::CameraController::slotCheckRename (this=0x5e34c10, folder=..., file=..., destination=..., temp=..., script=...) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:898
#26 0x00000000007bfb29 in Digikam::CameraController::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:141
#27 0x00007f22737eac1e in QObject::event (this=0x5e34c10, e=<optimized out>) at kernel/qobject.cpp:1194
#28 0x00007f22741c4e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1f767d0, receiver=receiver@entry=0x5e34c10, e=e@entry=0x7f21acdd3540) at kernel/qapplication.cpp:4567
#29 0x00007f22741cb4a0 in QApplication::notify (this=this@entry=0x7fff557129e0, receiver=receiver@entry=0x5e34c10, e=e@entry=0x7f21acdd3540) at kernel/qapplication.cpp:4353
#30 0x00007f2274ecfd1a in KApplication::notify (this=0x7fff557129e0, receiver=0x5e34c10, event=0x7f21acdd3540) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f22737d24dd in QCoreApplication::notifyInternal (this=0x7fff557129e0, receiver=receiver@entry=0x5e34c10, event=event@entry=0x7f21acdd3540) at kernel/qcoreapplication.cpp:953
#32 0x00007f22737d5b3d in sendEvent (event=0x7f21acdd3540, receiver=0x5e34c10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1efada0) at kernel/qcoreapplication.cpp:1577
#34 0x00007f22737d5fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#35 0x00007f22737fff83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=0x1f75260) at kernel/qeventdispatcher_glib.cpp:287
#37 0x00007f226b399e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f226b39a048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f226b39a0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f22737ff7a1 in QEventDispatcherGlib::processEvents (this=0x1ea3c00, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#41 0x00007f2274266bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f22737d10af in QEventLoop::processEvents (this=this@entry=0x7fff557124c0, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f22737d13a5 in QEventLoop::exec (this=this@entry=0x7fff557124c0, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f22737d6b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#45 0x00007f22741c337c in QApplication::exec () at kernel/qapplication.cpp:3828
#46 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

The reporter indicates this bug may be a duplicate of or related to bug 329697.

Possible duplicates by query: bug 344587, bug 344216, bug 343243, bug 343014, bug 342802.
Comment 2 Georg Schilling 2015-04-06 03:08:02 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-48-generic x86_64
Distribution: Ubuntu 14.04.2 LTS

-- Information about the crash:
a new try will fail also. as far as there where some downloads, it is not in context to the files

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd0ffe1cac0 (LWP 17993))]

Thread 8 (Thread 0x7fd0db4ad700 (LWP 17995)):
#0  0x00007fd0f983412d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd0e005a248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fd0f4ac4182 in start_thread (arg=0x7fd0db4ad700) at pthread_create.c:312
#3  0x00007fd0f984147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fd0d4a15700 (LWP 17996)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fd0fa620dd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x18f9e20) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x18f9e20, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007fd0fa61d3bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007fd0fce45a69 in Digikam::DatabaseAccess::DatabaseAccess (this=<optimized out>) at /build/buildd/digikam-3.5.0/core/libs/database/databaseaccess.cpp:101
#5  0x00007fd0fce3a300 in Digikam::CollectionManager::locationForAlbumRootId (this=0x19af010, id=id@entry=1) at /build/buildd/digikam-3.5.0/core/libs/database/collectionmanager.cpp:1287
#6  0x00007fd0fce33742 in Digikam::CollectionScanner::scanForStaleAlbums (this=this@entry=0x7fd0d4a14ae0, locationIdsToScan=...) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:876
#7  0x00007fd0fce36e5c in Digikam::CollectionScanner::partialScan (this=this@entry=0x7fd0d4a14ae0, albumRoot=..., album=...) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:677
#8  0x00007fd0fce3747c in Digikam::CollectionScanner::partialScan (this=this@entry=0x7fd0d4a14ae0, filePath=...) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:617
#9  0x00000000005d5e49 in Digikam::ScanController::run (this=0x19b1030) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:798
#10 0x00007fd0fa62232f in QThreadPrivate::start (arg=0x19b1030) at thread/qthread_unix.cpp:349
#11 0x00007fd0f4ac4182 in start_thread (arg=0x7fd0d4a15700) at pthread_create.c:312
#12 0x00007fd0f984147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fd0cffff700 (LWP 17997)):
#0  0x00007fd0f983412d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd0f22ebfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd0f22ec0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd0fa7517be in QEventDispatcherGlib::processEvents (this=0x7fd0c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fd0fa7230af in QEventLoop::processEvents (this=this@entry=0x7fd0cfffeae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd0fa7233a5 in QEventLoop::exec (this=this@entry=0x7fd0cfffeae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd0fa61fc5f in QThread::exec (this=this@entry=0x190f840) at thread/qthread.cpp:537
#7  0x00007fd0fa704823 in QInotifyFileSystemWatcherEngine::run (this=0x190f840) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fd0fa62232f in QThreadPrivate::start (arg=0x190f840) at thread/qthread_unix.cpp:349
#9  0x00007fd0f4ac4182 in start_thread (arg=0x7fd0cffff700) at pthread_create.c:312
#10 0x00007fd0f984147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fd0cf7fe700 (LWP 18122)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd0fa622816 in wait (time=18446744073709551615, this=0x1c90190) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x203d7d0, mutex=mutex@entry=0x203d7c8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd0fd49b79a in Digikam::ParkingThread::run (this=0x203d7b0) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fd0fa62232f in QThreadPrivate::start (arg=0x203d7b0) at thread/qthread_unix.cpp:349
#5  0x00007fd0f4ac4182 in start_thread (arg=0x7fd0cf7fe700) at pthread_create.c:312
#6  0x00007fd0f984147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fd0c5d95700 (LWP 18123)):
#0  0x00007fd0f983412d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd0f22ebfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd0f22ec0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd0fa7517be in QEventDispatcherGlib::processEvents (this=0x7fd0b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fd0fa7230af in QEventLoop::processEvents (this=this@entry=0x7fd0c5d94ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd0fa7233a5 in QEventLoop::exec (this=this@entry=0x7fd0c5d94ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd0fa61fc5f in QThread::exec (this=this@entry=0x22377e0) at thread/qthread.cpp:537
#7  0x00007fd0fa704823 in QInotifyFileSystemWatcherEngine::run (this=0x22377e0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fd0fa62232f in QThreadPrivate::start (arg=0x22377e0) at thread/qthread_unix.cpp:349
#9  0x00007fd0f4ac4182 in start_thread (arg=0x7fd0c5d95700) at pthread_create.c:312
#10 0x00007fd0f984147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fd0adffa700 (LWP 18959)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd0fa622816 in wait (time=18446744073709551615, this=0x7fd08c3de3b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x7fd08c3615c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd0fa61e95b in QSemaphore::acquire (this=this@entry=0x7fd0adff9580, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007fd0fa738cb2 in QMetaObject::activate (sender=sender@entry=0x3ea5f90, m=m@entry=0x89c980 <Digikam::CameraController::staticMetaObject>, local_signal_index=local_signal_index@entry=18, argv=argv@entry=0x7fd0adff95d0) at kernel/qobject.cpp:3513
#5  0x00000000007b68b7 in Digikam::CameraController::signalInternalCheckRename (this=this@entry=0x3ea5f90, _t1=..., _t2=..., _t3=..., _t4=..., _t5=...) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:319
#6  0x00000000007bb95f in Digikam::CameraController::executeCommand (this=this@entry=0x3ea5f90, cmd=cmd@entry=0x6553930) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:690
#7  0x00000000007be766 in Digikam::CameraController::run (this=0x3ea5f90) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:402
#8  0x00007fd0fa62232f in QThreadPrivate::start (arg=0x3ea5f90) at thread/qthread_unix.cpp:349
#9  0x00007fd0f4ac4182 in start_thread (arg=0x7fd0adffa700) at pthread_create.c:312
#10 0x00007fd0f984147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fd0bbde6700 (LWP 20685)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fd0fa620dd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x18f9e20) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x18f9e20, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007fd0fa61d3bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007fd0fce45a69 in Digikam::DatabaseAccess::DatabaseAccess (this=<optimized out>) at /build/buildd/digikam-3.5.0/core/libs/database/databaseaccess.cpp:101
#5  0x00007fd0fce3d38a in Digikam::CollectionManager::locationForPath (this=this@entry=0x19af010, givenPath=...) at /build/buildd/digikam-3.5.0/core/libs/database/collectionmanager.cpp:1326
#6  0x00007fd0fce3d72c in Digikam::CollectionManager::locationForUrl (this=0x19af010, fileUrl=...) at /build/buildd/digikam-3.5.0/core/libs/database/collectionmanager.cpp:1321
#7  0x00007fd0fce63e79 in Digikam::ImageInfo::ImageInfo (this=0x7fd0bbde55e0, url=...) at /build/buildd/digikam-3.5.0/core/libs/database/imageinfo.cpp:320
#8  0x00007fd0fce549ca in Digikam::DatabaseThumbnailInfoProvider::thumbnailInfo (this=<optimized out>, path=...) at /build/buildd/digikam-3.5.0/core/libs/database/databasethumbnailinfoprovider.cpp:45
#9  0x00007fd0fd483f74 in Digikam::ThumbnailCreator::makeThumbnailInfo (this=this@entry=0x20c7c70, path=..., rect=...) at /build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:347
#10 0x00007fd0fd488241 in Digikam::ThumbnailCreator::load (this=0x20c7c70, path=..., rect=..., pregenerate=pregenerate@entry=true) at /build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:228
#11 0x00007fd0fd488be0 in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, path=...) at /build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:183
#12 0x00007fd0fd497790 in Digikam::ThumbnailLoadingTask::execute (this=0x6465bd0) at /build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailtask.cpp:82
#13 0x00007fd0fd46fa96 in Digikam::LoadSaveThread::run (this=0x2201890) at /build/buildd/digikam-3.5.0/core/libs/threadimageio/loadsavethread.cpp:136
#14 0x00007fd0fd49d5de in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x2204e60) at /build/buildd/digikam-3.5.0/core/libs/threads/dynamicthread.cpp:186
#15 0x00007fd0fa615fee in QThreadPoolThread::run (this=0x2ba55c0) at concurrent/qthreadpool.cpp:108
#16 0x00007fd0fa62232f in QThreadPrivate::start (arg=0x2ba55c0) at thread/qthread_unix.cpp:349
#17 0x00007fd0f4ac4182 in start_thread (arg=0x7fd0bbde6700) at pthread_create.c:312
#18 0x00007fd0f984147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fd0ffe1cac0 (LWP 17993)):
[KCrash Handler]
#6  0x00007fd08c1ecba0 in ?? ()
#7  0x00007fd0e435be85 in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff6477c1c0, pMem2=0x6544d40, pColl=0x6517328) at sqlite3.c:60470
#8  0x00007fd0e435bf63 in sqlite3VdbeRecordCompare (nKey1=75, pKey1=0x599c69d, pPKey2=pPKey2@entry=0x7fff6477c4d8) at sqlite3.c:64162
#9  0x00007fd0e4370579 in sqlite3BtreeMovetoUnpacked (pCur=0x6b08998, pIdxKey=0x7fff6477c4d8, intKey=0, biasRight=<optimized out>, pRes=0x7fff6477c4c0) at sqlite3.c:55077
#10 0x00007fd0e4398848 in sqlite3VdbeExec (p=p@entry=0x5f1ac88) at sqlite3.c:70345
#11 0x00007fd0e43a0ed7 in sqlite3Step (p=0x5f1ac88) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007fd0d401011c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x3f724f0, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fd0d4010e48 in QSQLiteResult::exec (this=0x6511fc0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fd0ffa49b7d in QSqlQuery::exec (this=this@entry=0x7fff6477ca38) at kernel/qsqlquery.cpp:949
#16 0x00007fd0fd454a26 in Digikam::DatabaseCoreBackend::exec (this=0x19bdda0, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007fd0fd454cee in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x19bdda0, query=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1085
#18 0x00007fd0fd455d95 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x19bdda0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1030
#19 0x00007fd0fd455de9 in Digikam::DatabaseCoreBackend::execSql (this=0x19bdda0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=..., values=values@entry=0x0, lastInsertId=lastInsertId@entry=0x7fff6477cab0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:928
#20 0x00007fd0fce07be5 in Digikam::AlbumDB::addToDownloadHistory (this=0x19fd990, identifier=..., name=..., fileSize=fileSize@entry=22198025, date=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:3131
#21 0x00007fd0fce55141 in Digikam::DownloadHistory::setDownloaded (identifier=..., name=..., fileSize=fileSize@entry=22198025, date=...) at /build/buildd/digikam-3.5.0/core/libs/database/downloadhistory.cpp:52
#22 0x00000000007aa998 in Digikam::ImportUI::slotDownloaded (this=0x59bc2e0, folder=..., file=..., status=<optimized out>) at /build/buildd/digikam-3.5.0/core/utilities/importui/main/importui.cpp:1570
#23 0x00000000007ae721 in Digikam::ImportUI::qt_static_metacall (_o=0x59bc2e0, _c=32, _id=93963939, _a=0x20) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/importui.moc:210
#24 0x00007fd0fa73887a in QMetaObject::activate (sender=sender@entry=0x3ea5f90, m=m@entry=0x89c980 <Digikam::CameraController::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fff6477cef0) at kernel/qobject.cpp:3539
#25 0x00000000007b6699 in Digikam::CameraController::signalDownloaded (this=this@entry=0x3ea5f90, _t1=..., _t2=..., _t3=_t3@entry=1) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:257
#26 0x00000000007bea9d in Digikam::CameraController::slotCheckRename (this=0x3ea5f90, folder=..., file=..., destination=..., temp=..., script=...) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:898
#27 0x00000000007bfb29 in Digikam::CameraController::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:141
#28 0x00007fd0fa73cc1e in QObject::event (this=0x3ea5f90, e=<optimized out>) at kernel/qobject.cpp:1194
#29 0x00007fd0fb116e2c in QApplicationPrivate::notify_helper (this=this@entry=0x182b7f0, receiver=receiver@entry=0x3ea5f90, e=e@entry=0x7fd08c42a110) at kernel/qapplication.cpp:4567
#30 0x00007fd0fb11d4a0 in QApplication::notify (this=this@entry=0x7fff6477dda0, receiver=receiver@entry=0x3ea5f90, e=e@entry=0x7fd08c42a110) at kernel/qapplication.cpp:4353
#31 0x00007fd0fbe21d1a in KApplication::notify (this=0x7fff6477dda0, receiver=0x3ea5f90, event=0x7fd08c42a110) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007fd0fa7244dd in QCoreApplication::notifyInternal (this=0x7fff6477dda0, receiver=receiver@entry=0x3ea5f90, event=event@entry=0x7fd08c42a110) at kernel/qcoreapplication.cpp:953
#33 0x00007fd0fa727b3d in sendEvent (event=0x7fd08c42a110, receiver=0x3ea5f90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x17afd60) at kernel/qcoreapplication.cpp:1577
#35 0x00007fd0fa727fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#36 0x00007fd0fa751f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=0x182a280) at kernel/qeventdispatcher_glib.cpp:287
#38 0x00007fd0f22ebe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fd0f22ec048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fd0f22ec0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fd0fa7517a1 in QEventDispatcherGlib::processEvents (this=0x1758c00, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#42 0x00007fd0fb1b8bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007fd0fa7230af in QEventLoop::processEvents (this=this@entry=0x7fff6477d880, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fd0fa7233a5 in QEventLoop::exec (this=this@entry=0x7fff6477d880, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007fd0fa728b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#46 0x00007fd0fb11537c in QApplication::exec () at kernel/qapplication.cpp:3828
#47 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 345907, bug 344587, bug 344216, bug 343243, bug 343014.
Comment 3 caulier.gilles 2015-04-06 08:08:52 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 4 caulier.gilles 2021-12-17 11:50:50 UTC
Fixed with #329697