Bug 336262 - digikam crashes very often
Summary: digikam crashes very often
Status: RESOLVED NOT A BUG
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-06-15 12:45 UTC by Mark Szentes-Wanner
Modified: 2022-01-14 14:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Szentes-Wanner 2014-06-15 12:45:25 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-19-generic i686
Distribution: Ubuntu Trusty Tahr (development branch)

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

simple operations like regenerating thumbnails crash digikam.

The crash can be reproduced sometimes.

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

Thread 8 (Thread 0xacedab40 (LWP 11835)):
#0  0xb7739424 in __kernel_vsyscall ()
#1  0xb4b437ab in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xada56442 in ?? () from /lib/i386-linux-gnu/libusb-1.0.so.0
#3  0xb3242f70 in start_thread (arg=0xacedab40) at pthread_create.c:312
#4  0xb4b5270e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 7 (Thread 0xa9c71b40 (LWP 11836)):
#0  0xb7739424 in __kernel_vsyscall ()
#1  0xb3246d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4b5f8ec in __pthread_cond_wait (cond=0x9fe3ec8, mutex=0x9fe3eb0) at forward.c:149
#3  0xb4e460f5 in wait (time=4294967295, this=0x9fe3eb0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x9fe3e24, mutex=mutex@entry=0x9fe3e20, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0820dd94 in Digikam::ScanController::run (this=0xa083980) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#6  0xb4e45b6f in QThreadPrivate::start (arg=0xa083980) at thread/qthread_unix.cpp:349
#7  0xb3242f70 in start_thread (arg=0xa9c71b40) at pthread_create.c:312
#8  0xb4b5270e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 6 (Thread 0xa92ffb40 (LWP 11837)):
#0  0xb324612e in __pthread_mutex_unlock_usercnt (mutex=0xa8900558, decr=1) at pthread_mutex_unlock.c:57
#1  0xb4b5fb34 in pthread_mutex_unlock (mutex=0xa8900558) at forward.c:194
#2  0xb2ebe140 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e78515 in g_main_context_release () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2e79390 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2e79528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb4f8795f in QEventDispatcherGlib::processEvents (this=0xa8900468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb4f56823 in QEventLoop::processEvents (this=this@entry=0xa92ff098, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4f56b49 in QEventLoop::exec (this=this@entry=0xa92ff098, flags=...) at kernel/qeventloop.cpp:204
#9  0xb4e4323d in QThread::exec (this=this@entry=0xa093980) at thread/qthread.cpp:537
#10 0xb4f36c44 in QInotifyFileSystemWatcherEngine::run (this=0xa093980) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb4e45b6f in QThreadPrivate::start (arg=0xa093980) at thread/qthread_unix.cpp:349
#12 0xb3242f70 in start_thread (arg=0xa92ffb40) at pthread_create.c:312
#13 0xb4b5270e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 5 (Thread 0xa88ffb40 (LWP 11840)):
#0  0xb7739424 in __kernel_vsyscall ()
#1  0xb3246d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4b5f8ec in __pthread_cond_wait (cond=0xa2b0510, mutex=0xa2b04f8) at forward.c:149
#3  0xb4e460f5 in wait (time=4294967295, this=0xa2b04f8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0xa2c4028, mutex=mutex@entry=0xa2c4024, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6a522b4 in Digikam::ParkingThread::run (this=0xa2c4018) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4e45b6f in QThreadPrivate::start (arg=0xa2c4018) at thread/qthread_unix.cpp:349
#7  0xb3242f70 in start_thread (arg=0xa88ffb40) at pthread_create.c:312
#8  0xb4b5270e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0xa70ffb40 (LWP 11841)):
#0  0xb7739424 in __kernel_vsyscall ()
#1  0xb4b60392 in __GI___clock_gettime (clock_id=1, tp=0xa70fee38) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb4ea08cc in do_gettime (frac=0xa70fee30, sec=0xa70fee28) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb4f892a2 in updateCurrentTime (this=0xa67020e4) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xa67020e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0xb4f8782b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa70fef2c) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb4f878bd in timerSourcePrepare (source=0xa67020b0, timeout=0xa70fef2c) at kernel/qeventdispatcher_glib.cpp:176
#8  0xb2e789b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb2e792df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb2e79528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb4f8795f in QEventDispatcherGlib::processEvents (this=0xa6700468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb4f56823 in QEventLoop::processEvents (this=this@entry=0xa70ff098, flags=...) at kernel/qeventloop.cpp:149
#13 0xb4f56b49 in QEventLoop::exec (this=this@entry=0xa70ff098, flags=...) at kernel/qeventloop.cpp:204
#14 0xb4e4323d in QThread::exec (this=this@entry=0xa51bd08) at thread/qthread.cpp:537
#15 0xb4f36c44 in QInotifyFileSystemWatcherEngine::run (this=0xa51bd08) at io/qfilesystemwatcher_inotify.cpp:265
#16 0xb4e45b6f in QThreadPrivate::start (arg=0xa51bd08) at thread/qthread_unix.cpp:349
#17 0xb3242f70 in start_thread (arg=0xa70ffb40) at pthread_create.c:312
#18 0xb4b5270e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0x9d0feb40 (LWP 11844)):
#0  0xb7739424 in __kernel_vsyscall ()
#1  0xb4b1c366 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2  0xb2ea119e in g_usleep () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xa722c30c in ?? () from /usr/lib/i386-linux-gnu/gstreamer-0.10/libgstxvimagesink.so
#4  0xb2e9f9ca in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb3242f70 in start_thread (arg=0x9d0feb40) at pthread_create.c:312
#6  0xb4b5270e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0x988f5b40 (LWP 12103)):
#0  0xb2ebdd2e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb2ebe0f8 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb2e789bd in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e792df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2e79528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4f8795f in QEventDispatcherGlib::processEvents (this=0xa897bf48, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb4f56823 in QEventLoop::processEvents (this=this@entry=0x988f5098, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4f56b49 in QEventLoop::exec (this=this@entry=0x988f5098, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6a51882 in Digikam::WorkerObjectRunnable::run (this=0x100bb140) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#9  0xb4e38f07 in QThreadPoolThread::run (this=0x9fb388c8) at concurrent/qthreadpool.cpp:108
#10 0xb4e45b6f in QThreadPrivate::start (arg=0x9fb388c8) at thread/qthread_unix.cpp:349
#11 0xb3242f70 in start_thread (arg=0x988f5b40) at pthread_create.c:312
#12 0xb4b5270e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xacf0d900 (LWP 11833)):
[KCrash Handler]
#7  0x00000001 in ?? ()
#8  0xae5e038e in sqlite3MemCompare (pMem1=pMem1@entry=0xbfbaa8d8, pMem2=<optimized out>, pColl=0xdb82518) at sqlite3.c:60484
#9  0xae5e0576 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0xa7dc992f, pPKey2=pPKey2@entry=0xbfbaab5c) at sqlite3.c:64162
#10 0xae5f5ba2 in sqlite3BtreeMovetoUnpacked (pCur=0x11c1f480, pIdxKey=0xbfbaab5c, intKey=0, biasRight=0, pRes=0xbfbaab50) at sqlite3.c:55077
#11 0xae620165 in sqlite3VdbeExec (p=p@entry=0xdbda980) at sqlite3.c:70168
#12 0xae628d8e in sqlite3Step (p=0xdbda980) at sqlite3.c:64828
#13 sqlite3_step (pStmt=0xdbda980) at sqlite3.c:64894
#14 0xa946ae9c in QSQLiteResultPrivate::fetchNext (this=this@entry=0xf8e5f98, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#15 0xa946bebd in QSQLiteResult::exec (this=0xda95fe0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#16 0xb76ede60 in QSqlQuery::exec (this=this@entry=0xbfbaafe8) at kernel/qsqlquery.cpp:949
#17 0xb6a06431 in Digikam::DatabaseCoreBackend::exec (this=0xa0ab828, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#18 0xb6a064ef in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0xa0ab828, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#19 0xb6a07453 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0xa0ab828, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#20 0xb6a074b7 in Digikam::DatabaseCoreBackend::execSql (this=0xa0ab828, sql=..., boundValue1=..., values=values@entry=0xbfbab04c, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#21 0xb65f2a51 in Digikam::AlbumDB::getSetting (this=this@entry=0xa0b7070, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#22 0xb65f33f8 in Digikam::AlbumDB::getFilterSettings (this=0xa0b7070, imageFilter=imageFilter@entry=0xbfbab150, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#23 0x08276999 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0xa0fcc50) at /build/buildd/digikam-3.5.0/core/digikam/utils/albumsettings.cpp:958
#24 0x08165c4a in Digikam::KipiInterface::hostSetting (this=0xae56b20, settingName=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:363
#25 0x081655a6 in Digikam::KipiInterface::currentAlbum (this=0xae56b20) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:110
#26 0xa714e61a in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0xf0f7b68, anyAlbum=true) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#27 0xb4f6d0f7 in QMetaObject::activate (sender=sender@entry=0xae56b20, m=0x85dee70 <KIPI::Interface::staticMetaObject>, m@entry=0xb6d746fc <KIPI::Interface::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfbab398) at kernel/qobject.cpp:3539
#28 0xb6d5e31d in KIPI::Interface::currentAlbumChanged (this=0xae56b20, _t1=true) at ./interface.moc:128
#29 0xb4f6d0f7 in QMetaObject::activate (sender=sender@entry=0xa08e298, m=m@entry=0x84918ac <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0xbfbab468) at kernel/qobject.cpp:3539
#30 0x081d979a in signalAlbumCurrentChanged (_t1=0xccc6478, this=0xa08e298) at /build/buildd/digikam-3.5.0/obj-i686-linux-gnu/core/digikam/albummanager.moc:267
#31 Digikam::AlbumManager::setCurrentAlbum (this=0xa08e298, album=0xccc6478) at /build/buildd/digikam-3.5.0/core/digikam/album/albummanager.cpp:1846
#32 0x08194c40 in Digikam::FindDuplicatesView::slotDuplicatesAlbumActived (this=0xa08e298, item=0xccc6478) at /build/buildd/digikam-3.5.0/core/utilities/fuzzysearch/findduplicatesview.cpp:310
#33 0x0819524a in Digikam::FindDuplicatesView::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-3.5.0/obj-i686-linux-gnu/core/digikam/findduplicatesview.moc:76
#34 0xb4f6d0f7 in QMetaObject::activate (sender=sender@entry=0xaa2a3e8, m=0x85deaa0 <QTreeWidget::staticMetaObject>, m@entry=0xb5e1c4b4 <QTreeWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfbab554) at kernel/qobject.cpp:3539
#35 0xb5ab9d8d in QTreeWidget::itemClicked (this=this@entry=0xaa2a3e8, _t1=0xcac0d48, _t2=_t2@entry=0) at .moc/release-shared/moc_qtreewidget.cpp:220
#36 0xb5ab9e01 in QTreeWidgetPrivate::_q_emitItemClicked (this=0xaa2adf0, index=...) at itemviews/qtreewidget.cpp:2241
#37 0xb5ac01d2 in QTreeWidget::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfbab678, _c=<optimized out>) at .moc/release-shared/moc_qtreewidget.cpp:126
#38 0xb4f6d0f7 in QMetaObject::activate (sender=sender@entry=0xaa2a3e8, m=m@entry=0xb5e1ae7c <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfbab678) at kernel/qobject.cpp:3539
#39 0xb5a3cea5 in QAbstractItemView::clicked (this=this@entry=0xaa2a3e8, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:347
#40 0xb5a3d117 in QAbstractItemView::mouseReleaseEvent (this=this@entry=0xaa2a3e8, event=event@entry=0xbfbabdd4) at itemviews/qabstractitemview.cpp:1814
#41 0xb5a8cab8 in QTreeView::mouseReleaseEvent (this=0xaa2a3e8, event=0xbfbabdd4) at itemviews/qtreeview.cpp:1841
#42 0xb550d3fa in QWidget::event (this=this@entry=0xaa2a3e8, event=event@entry=0xbfbabdd4) at kernel/qwidget.cpp:8376
#43 0xb591378c in QFrame::event (this=this@entry=0xaa2a3e8, e=e@entry=0xbfbabdd4) at widgets/qframe.cpp:557
#44 0xb59a1e48 in QAbstractScrollArea::viewportEvent (this=this@entry=0xaa2a3e8, e=e@entry=0xbfbabdd4) at widgets/qabstractscrollarea.cpp:1043
#45 0xb5a46ddc in QAbstractItemView::viewportEvent (this=this@entry=0xaa2a3e8, event=0xbfbabdd4) at itemviews/qabstractitemview.cpp:1644
#46 0xb5a8c606 in QTreeView::viewportEvent (this=0xaa2a3e8, event=0xbfbabdd4) at itemviews/qtreeview.cpp:1252
#47 0xb59a20c6 in viewportEvent (event=0xbfbabdd4, this=<optimized out>) at widgets/qabstractscrollarea_p.h:100
#48 QAbstractScrollAreaFilter::eventFilter (this=0xabe5b40, o=0xaa2b200, e=0xbfbabdd4) at widgets/qabstractscrollarea_p.h:116
#49 0xb4f57fbe in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x9f54408, receiver=receiver@entry=0xaa2b200, event=event@entry=0xbfbabdd4) at kernel/qcoreapplication.cpp:1063
#50 0xb54b37d1 in QApplicationPrivate::notify_helper (this=0x9f54408, receiver=receiver@entry=0xaa2b200, e=0xbfbabdd4) at kernel/qapplication.cpp:4563
#51 0xb54bbea0 in QApplication::notify (this=0xbfbac488, receiver=receiver@entry=0xaa2b200, e=e@entry=0xbfbabdd4) at kernel/qapplication.cpp:4110
#52 0xb60030a4 in KApplication::notify (this=0xbfbac488, receiver=0xaa2b200, event=0xbfbabdd4) at ../../kdeui/kernel/kapplication.cpp:311
#53 0xb4f57e4a in QCoreApplication::notifyInternal (this=0xbfbac488, receiver=receiver@entry=0xaa2b200, event=event@entry=0xbfbabdd4) at kernel/qcoreapplication.cpp:953
#54 0xb54b9b53 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#55 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xaa2b200, event=0xbfbabdd4, alienWidget=0xaa2b200, nativeWidget=0xa3d85e8, buttonDown=buttonDown@entry=0xb5e2ace4 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#56 0xb553d778 in QETWidget::translateMouseEvent (this=0xa3d85e8, event=event@entry=0xbfbabffc) at kernel/qapplication_x11.cpp:4634
#57 0xb553cec5 in QApplication::x11ProcessEvent (this=0xbfbac488, event=event@entry=0xbfbabffc) at kernel/qapplication_x11.cpp:3627
#58 0xb5568524 in x11EventSourceDispatch (s=0x9f54320, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#59 0xb2e791e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#60 0xb2e79468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#61 0xb2e79528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0xb4f8793b in QEventDispatcherGlib::processEvents (this=this@entry=0x9ec23d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#63 0xb55685de in QGuiEventDispatcherGlib::processEvents (this=0x9ec23d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0xb4f56823 in QEventLoop::processEvents (this=this@entry=0xbfbac2b8, flags=...) at kernel/qeventloop.cpp:149
#65 0xb4f56b49 in QEventLoop::exec (this=this@entry=0xbfbac2b8, flags=...) at kernel/qeventloop.cpp:204
#66 0xb4f5c8fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#67 0xb54b1a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#68 0x080bc190 in main (argc=1, argv=0xbfbac5c4) 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 336261.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-06-15 14:52:26 UTC
Already reported as bug 336260.