Bug 336260 - Digikam crashes very often
Summary: Digikam crashes very often
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-06-15 12:38 UTC by Mark Szentes-Wanner
Modified: 2021-12-17 11:50 UTC (History)
1 user (show)

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 Mark Szentes-Wanner 2014-06-15 12:38:29 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 0xacf5f900 (LWP 12658))]

Thread 8 (Thread 0xacf2cb40 (LWP 12659)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0xb4b957ab in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xadaa8442 in ?? () from /lib/i386-linux-gnu/libusb-1.0.so.0
#3  0xb3294f70 in start_thread (arg=0xacf2cb40) at pthread_create.c:312
#4  0xb4ba470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 7 (Thread 0xa9cc3b40 (LWP 12660)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0xb3298d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4bb18ec in __pthread_cond_wait (cond=0xa697ed8, mutex=0xa697ec0) at forward.c:149
#3  0xb4e980f5 in wait (time=4294967295, this=0xa697ec0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0xa697e34, mutex=mutex@entry=0xa697e30, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0820dd94 in Digikam::ScanController::run (this=0xa737990) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#6  0xb4e97b6f in QThreadPrivate::start (arg=0xa737990) at thread/qthread_unix.cpp:349
#7  0xb3294f70 in start_thread (arg=0xa9cc3b40) at pthread_create.c:312
#8  0xb4ba470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 6 (Thread 0xa92ffb40 (LWP 12661)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0xb4b957ab in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb2eda20b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2ecb3e8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2ecb528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4fd995f in QEventDispatcherGlib::processEvents (this=0xa8900468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb4fa8823 in QEventLoop::processEvents (this=this@entry=0xa92ff098, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4fa8b49 in QEventLoop::exec (this=this@entry=0xa92ff098, flags=...) at kernel/qeventloop.cpp:204
#8  0xb4e9523d in QThread::exec (this=this@entry=0xa747990) at thread/qthread.cpp:537
#9  0xb4f88c44 in QInotifyFileSystemWatcherEngine::run (this=0xa747990) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb4e97b6f in QThreadPrivate::start (arg=0xa747990) at thread/qthread_unix.cpp:349
#11 0xb3294f70 in start_thread (arg=0xa92ffb40) at pthread_create.c:312
#12 0xb4ba470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 5 (Thread 0xa88ffb40 (LWP 12669)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0xb3298d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4bb18ec in __pthread_cond_wait (cond=0xaa49e88, mutex=0xaa49e70) at forward.c:149
#3  0xb4e980f5 in wait (time=4294967295, this=0xaa49e70) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0xaa48628, mutex=mutex@entry=0xaa48624, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6aa42b4 in Digikam::ParkingThread::run (this=0xaa48618) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4e97b6f in QThreadPrivate::start (arg=0xaa48618) at thread/qthread_unix.cpp:349
#7  0xb3294f70 in start_thread (arg=0xa88ffb40) at pthread_create.c:312
#8  0xb4ba470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0xa7affb40 (LWP 12670)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0xb4b957ab in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb2eda20b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2ecb3e8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2ecb528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4fd995f in QEventDispatcherGlib::processEvents (this=0xa7100468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb4fa8823 in QEventLoop::processEvents (this=this@entry=0xa7aff098, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4fa8b49 in QEventLoop::exec (this=this@entry=0xa7aff098, flags=...) at kernel/qeventloop.cpp:204
#8  0xb4e9523d in QThread::exec (this=this@entry=0xabcfb60) at thread/qthread.cpp:537
#9  0xb4f88c44 in QInotifyFileSystemWatcherEngine::run (this=0xabcfb60) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb4e97b6f in QThreadPrivate::start (arg=0xabcfb60) at thread/qthread_unix.cpp:349
#11 0xb3294f70 in start_thread (arg=0xa7affb40) at pthread_create.c:312
#12 0xb4ba470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0x9d87cb40 (LWP 12673)):
#0  0xb778b424 in __kernel_vsyscall ()
#1  0xb4b6e366 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2  0xb2ef319e in g_usleep () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x9d88830c in ?? () from /usr/lib/i386-linux-gnu/gstreamer-0.10/libgstxvimagesink.so
#4  0xb2ef19ca in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb3294f70 in start_thread (arg=0x9d87cb40) at pthread_create.c:312
#6  0xb4ba470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xa0c75b40 (LWP 12676)):
#0  0xb2f0fd25 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb2f10138 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb2ecaa27 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2ecb2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2ecb528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4fd995f in QEventDispatcherGlib::processEvents (this=0xa0100468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb4fa8823 in QEventLoop::processEvents (this=this@entry=0xa0c75098, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4fa8b49 in QEventLoop::exec (this=this@entry=0xa0c75098, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6aa3882 in Digikam::WorkerObjectRunnable::run (this=0xe1d8e50) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#9  0xb4e8af07 in QThreadPoolThread::run (this=0xbabe2d0) at concurrent/qthreadpool.cpp:108
#10 0xb4e97b6f in QThreadPrivate::start (arg=0xbabe2d0) at thread/qthread_unix.cpp:349
#11 0xb3294f70 in start_thread (arg=0xa0c75b40) at pthread_create.c:312
#12 0xb4ba470e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xacf5f900 (LWP 12658)):
[KCrash Handler]
#7  0x085de127 in QVectorData::shared_null ()
#8  0xae63238e in sqlite3MemCompare (pMem1=pMem1@entry=0xbfede6a8, pMem2=<optimized out>, pColl=0xaac9f80) at sqlite3.c:60484
#9  0xae632576 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0xa7d75057, pPKey2=pPKey2@entry=0xbfede92c) at sqlite3.c:64162
#10 0xae647ba2 in sqlite3BtreeMovetoUnpacked (pCur=0xe0c0c58, pIdxKey=0xbfede92c, intKey=0, biasRight=0, pRes=0xbfede920) at sqlite3.c:55077
#11 0xae672165 in sqlite3VdbeExec (p=p@entry=0xabb7a18) at sqlite3.c:70168
#12 0xae67ad8e in sqlite3Step (p=0xabb7a18) at sqlite3.c:64828
#13 sqlite3_step (pStmt=0xabb7a18) at sqlite3.c:64894
#14 0xa94bce9c in QSQLiteResultPrivate::fetchNext (this=this@entry=0xd1c6078, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#15 0xa94bdebd in QSQLiteResult::exec (this=0xdc0cb68) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#16 0xb773fe60 in QSqlQuery::exec (this=this@entry=0xbfededb8) at kernel/qsqlquery.cpp:949
#17 0xb6a58431 in Digikam::DatabaseCoreBackend::exec (this=0xa764cf8, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#18 0xb6a584ef in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0xa764cf8, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#19 0xb6a59453 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0xa764cf8, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#20 0xb6a594b7 in Digikam::DatabaseCoreBackend::execSql (this=0xa764cf8, sql=..., boundValue1=..., values=values@entry=0xbfedee1c, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#21 0xb6644a51 in Digikam::AlbumDB::getSetting (this=this@entry=0xa76afb0, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#22 0xb66453f8 in Digikam::AlbumDB::getFilterSettings (this=0xa76afb0, imageFilter=imageFilter@entry=0xbfedef20, 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=0xa7cfdb0) at /build/buildd/digikam-3.5.0/core/digikam/utils/albumsettings.cpp:958
#24 0x08165c4a in Digikam::KipiInterface::hostSetting (this=0xaac3e98, settingName=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:363
#25 0x081655a6 in Digikam::KipiInterface::currentAlbum (this=0xaac3e98) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:110
#26 0x90d2161a in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0xd0e0688, anyAlbum=true) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#27 0xb4fbf0f7 in QMetaObject::activate (sender=sender@entry=0xaac3e98, m=0x85dee70 <KIPI::Interface::staticMetaObject>, m@entry=0xb6dc66fc <KIPI::Interface::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfedf168) at kernel/qobject.cpp:3539
#28 0xb6db031d in KIPI::Interface::currentAlbumChanged (this=0xaac3e98, _t1=true) at ./interface.moc:128
#29 0xb4fbf0f7 in QMetaObject::activate (sender=sender@entry=0xa7422a8, m=m@entry=0x84918ac <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0xbfedf238) at kernel/qobject.cpp:3539
#30 0x081d979a in signalAlbumCurrentChanged (_t1=0xc11bd68, this=0xa7422a8) at /build/buildd/digikam-3.5.0/obj-i686-linux-gnu/core/digikam/albummanager.moc:267
#31 Digikam::AlbumManager::setCurrentAlbum (this=0xa7422a8, album=0xc11bd68) at /build/buildd/digikam-3.5.0/core/digikam/album/albummanager.cpp:1846
#32 0x08194c40 in Digikam::FindDuplicatesView::slotDuplicatesAlbumActived (this=0xa7422a8, item=0xc11bd68) 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 0xb4fbf0f7 in QMetaObject::activate (sender=sender@entry=0xb0de1f8, m=0x85deaa0 <QTreeWidget::staticMetaObject>, m@entry=0xb5e6e4b4 <QTreeWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfedf324) at kernel/qobject.cpp:3539
#35 0xb5b0bd8d in QTreeWidget::itemClicked (this=this@entry=0xb0de1f8, _t1=0xc30a668, _t2=_t2@entry=0) at .moc/release-shared/moc_qtreewidget.cpp:220
#36 0xb5b0be01 in QTreeWidgetPrivate::_q_emitItemClicked (this=0xb0dec00, index=...) at itemviews/qtreewidget.cpp:2241
#37 0xb5b121d2 in QTreeWidget::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfedf448, _c=<optimized out>) at .moc/release-shared/moc_qtreewidget.cpp:126
#38 0xb4fbf0f7 in QMetaObject::activate (sender=sender@entry=0xb0de1f8, m=m@entry=0xb5e6ce7c <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfedf448) at kernel/qobject.cpp:3539
#39 0xb5a8eea5 in QAbstractItemView::clicked (this=this@entry=0xb0de1f8, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:347
#40 0xb5a8f117 in QAbstractItemView::mouseReleaseEvent (this=this@entry=0xb0de1f8, event=event@entry=0xbfedfba4) at itemviews/qabstractitemview.cpp:1814
#41 0xb5adeab8 in QTreeView::mouseReleaseEvent (this=0xb0de1f8, event=0xbfedfba4) at itemviews/qtreeview.cpp:1841
#42 0xb555f3fa in QWidget::event (this=this@entry=0xb0de1f8, event=event@entry=0xbfedfba4) at kernel/qwidget.cpp:8376
#43 0xb596578c in QFrame::event (this=this@entry=0xb0de1f8, e=e@entry=0xbfedfba4) at widgets/qframe.cpp:557
#44 0xb59f3e48 in QAbstractScrollArea::viewportEvent (this=this@entry=0xb0de1f8, e=e@entry=0xbfedfba4) at widgets/qabstractscrollarea.cpp:1043
#45 0xb5a98ddc in QAbstractItemView::viewportEvent (this=this@entry=0xb0de1f8, event=0xbfedfba4) at itemviews/qabstractitemview.cpp:1644
#46 0xb5ade606 in QTreeView::viewportEvent (this=0xb0de1f8, event=0xbfedfba4) at itemviews/qtreeview.cpp:1252
#47 0xb59f40c6 in viewportEvent (event=0xbfedfba4, this=<optimized out>) at widgets/qabstractscrollarea_p.h:100
#48 QAbstractScrollAreaFilter::eventFilter (this=0xb2999f8, o=0xb0df010, e=0xbfedfba4) at widgets/qabstractscrollarea_p.h:116
#49 0xb4fa9fbe in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0xa608408, receiver=receiver@entry=0xb0df010, event=event@entry=0xbfedfba4) at kernel/qcoreapplication.cpp:1063
#50 0xb55057d1 in QApplicationPrivate::notify_helper (this=0xa608408, receiver=receiver@entry=0xb0df010, e=0xbfedfba4) at kernel/qapplication.cpp:4563
#51 0xb550dea0 in QApplication::notify (this=0xbfee0258, receiver=receiver@entry=0xb0df010, e=e@entry=0xbfedfba4) at kernel/qapplication.cpp:4110
#52 0xb60550a4 in KApplication::notify (this=0xbfee0258, receiver=0xb0df010, event=0xbfedfba4) at ../../kdeui/kernel/kapplication.cpp:311
#53 0xb4fa9e4a in QCoreApplication::notifyInternal (this=0xbfee0258, receiver=receiver@entry=0xb0df010, event=event@entry=0xbfedfba4) at kernel/qcoreapplication.cpp:953
#54 0xb550bb53 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#55 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xb0df010, event=0xbfedfba4, alienWidget=0xb0df010, nativeWidget=0xaa8b560, buttonDown=buttonDown@entry=0xb5e7cce4 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#56 0xb558f778 in QETWidget::translateMouseEvent (this=0xaa8b560, event=event@entry=0xbfedfdcc) at kernel/qapplication_x11.cpp:4634
#57 0xb558eec5 in QApplication::x11ProcessEvent (this=0xbfee0258, event=event@entry=0xbfedfdcc) at kernel/qapplication_x11.cpp:3627
#58 0xb55ba524 in x11EventSourceDispatch (s=0xa608320, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#59 0xb2ecb1e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#60 0xb2ecb468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#61 0xb2ecb528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0xb4fd993b in QEventDispatcherGlib::processEvents (this=this@entry=0xa5763d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#63 0xb55ba5de in QGuiEventDispatcherGlib::processEvents (this=0xa5763d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0xb4fa8823 in QEventLoop::processEvents (this=this@entry=0xbfee0088, flags=...) at kernel/qeventloop.cpp:149
#65 0xb4fa8b49 in QEventLoop::exec (this=this@entry=0xbfee0088, flags=...) at kernel/qeventloop.cpp:204
#66 0xb4fae8fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#67 0xb5503a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#68 0x080bc190 in main (argc=1, argv=0xbfee0394) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

Reported using DrKonqi
Comment 1 caulier.gilles 2014-06-15 13:32:45 UTC

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