Bug 334350 - digikam crashed while downloading photos
Summary: digikam crashed while downloading photos
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 3.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-04 21:30 UTC by mmrakk
Modified: 2021-12-17 11:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mmrakk 2014-05-04 21:30:08 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

- sd card inserted
- choosed to download images via digikam
- digikam opened and window wit thmubnails of images from sd card
- I choosed to download all (227 JPGs + 1 MOV) - option to create subdirs by date (ISO)
- after digikam donloaded all it crashed

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 0x7fc7e7b1cac0 (LWP 15087))]

Thread 7 (Thread 0x7fc7c1b6d700 (LWP 15091)):
#0  0x00007fc7e1537fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc7c6718248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fc7dc7c7182 in start_thread (arg=0x7fc7c1b6d700) at pthread_create.c:312
#3  0x00007fc7e154530d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fc7b6d69700 (LWP 15092)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc7e2326816 in wait (time=18446744073709551615, this=0x1bb7260) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1bb7170, mutex=mutex@entry=0x1bb7168, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x1bb6ee0) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fc7e232632f in QThreadPrivate::start (arg=0x1bb6ee0) at thread/qthread_unix.cpp:349
#5  0x00007fc7dc7c7182 in start_thread (arg=0x7fc7b6d69700) at pthread_create.c:312
#6  0x00007fc7e154530d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fc7b6568700 (LWP 15093)):
#0  0x00007fc7dc7ca7ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7fc7a8000a80) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7fc7a8000a80) at pthread_mutex_unlock.c:310
#2  0x00007fc7da0309c1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc7d9feea20 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc7d9feef7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc7d9fef0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fc7e24557be in QEventDispatcherGlib::processEvents (this=0x7fc7a80008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007fc7e24270af in QEventLoop::processEvents (this=this@entry=0x7fc7b6567ae0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fc7e24273a5 in QEventLoop::exec (this=this@entry=0x7fc7b6567ae0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fc7e2323c5f in QThread::exec (this=this@entry=0x1add5c0) at thread/qthread.cpp:537
#10 0x00007fc7e2408823 in QInotifyFileSystemWatcherEngine::run (this=0x1add5c0) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007fc7e232632f in QThreadPrivate::start (arg=0x1add5c0) at thread/qthread_unix.cpp:349
#12 0x00007fc7dc7c7182 in start_thread (arg=0x7fc7b6568700) at pthread_create.c:312
#13 0x00007fc7e154530d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fc7b5d67700 (LWP 15096)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc7e2326816 in wait (time=18446744073709551615, this=0x1a30070) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x213ad30, mutex=mutex@entry=0x213ad28, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc7e519f79a in Digikam::ParkingThread::run (this=0x213ad10) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fc7e232632f in QThreadPrivate::start (arg=0x213ad10) at thread/qthread_unix.cpp:349
#5  0x00007fc7dc7c7182 in start_thread (arg=0x7fc7b5d67700) at pthread_create.c:312
#6  0x00007fc7e154530d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fc7b4b1d700 (LWP 15097)):
#0  0x00007fffe19fea1f in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc75e10e700 (LWP 15142)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc7e2326816 in wait (time=18446744073709551615, this=0x7fc7a84affa0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x7fc7a8523ae0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc7e232295b in QSemaphore::acquire (this=this@entry=0x7fc75e10d580, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007fc7e243ccb2 in QMetaObject::activate (sender=sender@entry=0x477c010, m=m@entry=0x89c980 <Digikam::CameraController::staticMetaObject>, local_signal_index=local_signal_index@entry=18, argv=argv@entry=0x7fc75e10d5d0) at kernel/qobject.cpp:3513
#5  0x00000000007b68b7 in Digikam::CameraController::signalInternalCheckRename (this=this@entry=0x477c010, _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=0x477c010, cmd=cmd@entry=0x6569e10) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:690
#7  0x00000000007be766 in Digikam::CameraController::run (this=0x477c010) at /build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:402
#8  0x00007fc7e232632f in QThreadPrivate::start (arg=0x477c010) at thread/qthread_unix.cpp:349
#9  0x00007fc7dc7c7182 in start_thread (arg=0x7fc75e10e700) at pthread_create.c:312
#10 0x00007fc7e154530d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc7e7b1cac0 (LWP 15087)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fc7cac1cdac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fffe1944f20, pMem2=<optimized out>, pColl=0x1f2a9f8) at sqlite3.c:60484
#8  0x00007fc7cac1cf63 in sqlite3VdbeRecordCompare (nKey1=74, pKey1=0x2047c9f, pPKey2=pPKey2@entry=0x7fffe1945238) at sqlite3.c:64162
#9  0x00007fc7cac31579 in sqlite3BtreeMovetoUnpacked (pCur=0x787ccf8, pIdxKey=0x7fffe1945238, intKey=0, biasRight=<optimized out>, pRes=0x7fffe1945220) at sqlite3.c:55077
#10 0x00007fc7cac59848 in sqlite3VdbeExec (p=p@entry=0x6542598) at sqlite3.c:70345
#11 0x00007fc7cac61ed7 in sqlite3Step (p=0x6542598) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007fc7b536211c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x1c38090, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fc7b5362e48 in QSQLiteResult::exec (this=0x6566ae0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fc7e774bb7d in QSqlQuery::exec (this=this@entry=0x7fffe1945798) at kernel/qsqlquery.cpp:949
#16 0x00007fc7e5158a26 in Digikam::DatabaseCoreBackend::exec (this=0x1bbd1b0, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007fc7e5158cee in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1bbd1b0, query=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1085
#18 0x00007fc7e5159d95 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1bbd1b0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1030
#19 0x00007fc7e5159de9 in Digikam::DatabaseCoreBackend::execSql (this=0x1bbd1b0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=..., values=values@entry=0x0, lastInsertId=lastInsertId@entry=0x7fffe1945810) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:928
#20 0x00007fc7e4b0bbe5 in Digikam::AlbumDB::addToDownloadHistory (this=0x1bba7a0, identifier=..., name=..., fileSize=fileSize@entry=610549212, date=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:3131
#21 0x00007fc7e4b59141 in Digikam::DownloadHistory::setDownloaded (identifier=..., name=..., fileSize=fileSize@entry=610549212, date=...) at /build/buildd/digikam-3.5.0/core/libs/database/downloadhistory.cpp:52
#22 0x00000000007aa998 in Digikam::ImportUI::slotDownloaded (this=0x512f6a0, 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=0x512f6a0, _c=64, _id=30542152, _a=0x40) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/importui.moc:210
#24 0x00007fc7e243c87a in QMetaObject::activate (sender=sender@entry=0x477c010, m=m@entry=0x89c980 <Digikam::CameraController::staticMetaObject>, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fffe1945c50) at kernel/qobject.cpp:3539
#25 0x00000000007b6699 in Digikam::CameraController::signalDownloaded (this=this@entry=0x477c010, _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=0x477c010, 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 0x00007fc7e2440c1e in QObject::event (this=0x477c010, e=<optimized out>) at kernel/qobject.cpp:1194
#29 0x00007fc7e2e1ae2c in QApplicationPrivate::notify_helper (this=this@entry=0x1a29bd0, receiver=receiver@entry=0x477c010, e=e@entry=0x7fc7a8596ef0) at kernel/qapplication.cpp:4567
#30 0x00007fc7e2e214a0 in QApplication::notify (this=this@entry=0x7fffe1946b00, receiver=receiver@entry=0x477c010, e=e@entry=0x7fc7a8596ef0) at kernel/qapplication.cpp:4353
#31 0x00007fc7e3b25baa in KApplication::notify (this=0x7fffe1946b00, receiver=0x477c010, event=0x7fc7a8596ef0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007fc7e24284dd in QCoreApplication::notifyInternal (this=0x7fffe1946b00, receiver=receiver@entry=0x477c010, event=event@entry=0x7fc7a8596ef0) at kernel/qcoreapplication.cpp:953
#33 0x00007fc7e242bb3d in sendEvent (event=0x7fc7a8596ef0, receiver=0x477c010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1994fa0) at kernel/qcoreapplication.cpp:1577
#35 0x00007fc7e242bfe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#36 0x00007fc7e2455f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=0x1a296d0) at kernel/qeventdispatcher_glib.cpp:287
#38 0x00007fc7d9feee04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fc7d9fef048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fc7d9fef0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fc7e24557a1 in QEventDispatcherGlib::processEvents (this=0x1951c40, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#42 0x00007fc7e2ebcbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007fc7e24270af in QEventLoop::processEvents (this=this@entry=0x7fffe19465e0, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fc7e24273a5 in QEventLoop::exec (this=this@entry=0x7fffe19465e0, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007fc7e242cb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#46 0x00007fc7e2e1937c 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 334344, bug 334189, bug 334186, bug 334105, bug 334042.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-05-05 01:13:25 UTC

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