Bug 330104

Summary: digiKam crash while browsing
Product: [Applications] digikam Reporter: Jim Shipman <JimShip>
Component: Database-SqliteAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 4.0.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 7.3.0
Sentry Crash Report:

Description Jim Shipman 2014-01-17 22:25:48 UTC
Application: digikam (4.0.0-beta2)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.12.6-300.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed:
I simply clicked on a folder in the left side.  I had just run a "find duplicates" from the left side but believe that it had completed already.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe621058ac0 (LWP 7650))]

Thread 9 (Thread 0x7fe61ab2a700 (LWP 7651)):
#0  0x000000319e4eaa91 in poll () from /usr/lib64/libc.so.6
#1  0x000000319660ebdc in linux_udev_event_thread_main () from /usr/lib64/libusb-1.0.so.0
#2  0x000000319f007f33 in start_thread () from /usr/lib64/libpthread.so.0
#3  0x000000319e4f4ead in clone () from /usr/lib64/libc.so.6

Thread 8 (Thread 0x7fe6157a1700 (LWP 7654)):
#0  0x000000319f00b226 in pthread_mutex_unlock () from /usr/lib64/libpthread.so.0
#1  0x00000031a148a5d1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00000031a1448690 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00000031a1449465 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#4  0x00000031a1449a3a in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#5  0x00000031876d0376 in gdbus_shared_thread_func () from /usr/lib64/libgio-2.0.so.0
#6  0x00000031a146ea45 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#7  0x000000319f007f33 in start_thread () from /usr/lib64/libpthread.so.0
#8  0x000000319e4f4ead in clone () from /usr/lib64/libc.so.6

Thread 7 (Thread 0x7fe614fa0700 (LWP 7655)):
#0  0x00000031a148a2ea in g_mutex_get_impl () from /usr/lib64/libglib-2.0.so.0
#1  0x00000031a148a5c9 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00000031a1448be0 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00000031a14494bb in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#4  0x00000031a14496dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00000031a1449729 in glib_worker_main () from /usr/lib64/libglib-2.0.so.0
#6  0x00000031a146ea45 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#7  0x000000319f007f33 in start_thread () from /usr/lib64/libpthread.so.0
#8  0x000000319e4f4ead in clone () from /usr/lib64/libc.so.6

Thread 6 (Thread 0x7fe60d0f9700 (LWP 7656)):
#0  0x000000319f00bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib64/libpthread.so.0
#1  0x00000031abc7c906 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x0000000000612067 in Digikam::ScanController::run (this=0x28d6d80) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/digikam/database/scancontroller.cpp:725
#3  0x00000031abc7c3df in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#4  0x000000319f007f33 in start_thread () from /usr/lib64/libpthread.so.0
#5  0x000000319e4f4ead in clone () from /usr/lib64/libc.so.6

Thread 5 (Thread 0x7fe60c8f8700 (LWP 7657)):
#0  0x000000319e4eaa8d in poll () from /usr/lib64/libc.so.6
#1  0x00000031a14495b4 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#2  0x00000031a14496dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00000031abdb31a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00000031abd8312f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00000031abd8347d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00000031abc79bdf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00000031abd63a93 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/libQtCore.so.4
#8  0x00000031abc7c3df in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#9  0x000000319f007f33 in start_thread () from /usr/lib64/libpthread.so.0
#10 0x000000319e4f4ead in clone () from /usr/lib64/libc.so.6

Thread 4 (Thread 0x7fe603fff700 (LWP 7659)):
#0  0x000000319f00bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib64/libpthread.so.0
#1  0x00000031abc7c906 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe621f6f7fd in Digikam::ParkingThread::run (this=0x2b61f50) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/libs/threads/threadmanager.cpp:119
#3  0x00000031abc7c3df in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#4  0x000000319f007f33 in start_thread () from /usr/lib64/libpthread.so.0
#5  0x000000319e4f4ead in clone () from /usr/lib64/libc.so.6

Thread 3 (Thread 0x7fe5f7b85700 (LWP 7660)):
#0  0x00000031a1446829 in g_source_iter_next () from /usr/lib64/libglib-2.0.so.0
#1  0x00000031a1448b8b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00000031a14494bb in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#3  0x00000031a14496dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00000031abdb31a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00000031abd8312f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00000031abd8347d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00000031abc79bdf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00000031abd63a93 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/libQtCore.so.4
#9  0x00000031abc7c3df in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#10 0x000000319f007f33 in start_thread () from /usr/lib64/libpthread.so.0
#11 0x000000319e4f4ead in clone () from /usr/lib64/libc.so.6

Thread 2 (Thread 0x7fe5d479d700 (LWP 7941)):
#0  0x00000031a148a2ed in g_mutex_get_impl () from /usr/lib64/libglib-2.0.so.0
#1  0x00000031a148a599 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00000031a1448650 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00000031a1449465 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#4  0x00000031a14496dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00000031abdb31a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00000031abd8312f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00000031abd8347d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007fe621f6ed6c in Digikam::WorkerObjectRunnable::run (this=0x36be5700) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/libs/threads/threadmanager.cpp:196
#9  0x00000031abc6f89e in QThreadPoolThread::run() () from /usr/lib64/libQtCore.so.4
#10 0x00000031abc7c3df in QThreadPrivate::start(void*) () from /usr/lib64/libQtCore.so.4
#11 0x000000319f007f33 in start_thread () from /usr/lib64/libpthread.so.0
#12 0x000000319e4f4ead in clone () from /usr/lib64/libc.so.6

Thread 1 (Thread 0x7fe621058ac0 (LWP 7650)):
[KCrash Handler]
#5  0x0000000100000000 in ?? ()
#6  0x00000031bb031edc in sqlite3MemCompare () from /usr/lib64/libsqlite3.so.0
#7  0x00000031bb0320a3 in sqlite3VdbeRecordCompare () from /usr/lib64/libsqlite3.so.0
#8  0x00000031bb046d59 in sqlite3BtreeMovetoUnpacked () from /usr/lib64/libsqlite3.so.0
#9  0x00000031bb06fa05 in sqlite3VdbeExec () from /usr/lib64/libsqlite3.so.0
#10 0x00000031bb077f37 in sqlite3_step () from /usr/lib64/libsqlite3.so.0
#11 0x00007fe6035f942c in QSQLiteResultPrivate::fetchNext(QVector<QVariant>&, int, bool) () from /usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so
#12 0x00007fe6035fa188 in QSQLiteResult::exec() () from /usr/lib64/qt4/plugins/sqldrivers/libqsqlite.so
#13 0x00000031afe10c5d in QSqlQuery::exec() () from /usr/lib64/libQtSql.so.4
#14 0x00007fe621f30ca3 in Digikam::DatabaseCoreBackend::exec (this=0x28b1e50, query=...) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/libs/database/core/databasecorebackend.cpp:1415
#15 0x00007fe621f2f364 in Digikam::DatabaseCoreBackend::execQuery (this=0x28b1e50, query=..., boundValue1=...) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/libs/database/core/databasecorebackend.cpp:1057
#16 0x00007fe621f2f09d in Digikam::DatabaseCoreBackend::execQuery (this=0x28b1e50, sql=..., boundValue1=...) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/libs/database/core/databasecorebackend.cpp:1006
#17 0x00007fe621f2eb57 in Digikam::DatabaseCoreBackend::execSql (this=0x28b1e50, sql=..., boundValue1=..., values=0x7fff0ae97730, lastInsertId=0x0) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/libs/database/core/databasecorebackend.cpp:903
#18 0x00007fe6218186ab in Digikam::AlbumDB::getSetting (this=0x28b6a30, keyword=...) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/libs/database/albumdb.cpp:972
#19 0x00007fe621818c12 in Digikam::AlbumDB::getFilterSettings (this=0x28b6a30, imageFilter=0x7fff0ae97960, videoFilter=0x0, audioFilter=0x0) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/libs/database/albumdb.cpp:1017
#20 0x000000000069d443 in Digikam::AlbumSettings::getRawFileFilter (this=0x2884bd0) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/digikam/utils/albumsettings.cpp:958
#21 0x000000000054d55b in Digikam::KipiInterface::hostSetting (this=0x48cf3c0, settingName=...) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/utilities/kipiiface/kipiinterface.cpp:363
#22 0x000000000054c024 in Digikam::KipiInterface::currentAlbum (this=0x48cf3c0) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/utilities/kipiiface/kipiinterface.cpp:110
#23 0x00007fe57990d3fb in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0x3eafd0d0, anyAlbum=true) at /home/shipman/Downloads/digikam-4.0.0-beta2/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#24 0x00007fe57990c69f in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::qt_static_metacall (_o=0x3eafd0d0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff0ae97e60) at /home/shipman/Downloads/digikam-4.0.0-beta2/build/extra/kipi-plugins/advancedslideshow/plugin_advancedslideshow.moc:53
#25 0x00000031abd98fa8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#26 0x00007fe6229444a8 in KIPI::Interface::currentAlbumChanged (this=0x48cf3c0, _t1=true) at /home/shipman/Downloads/digikam-4.0.0-beta2/build/extra/libkipi/libkipi/interface.moc:128
#27 0x000000000054d05a in Digikam::KipiInterface::slotCurrentAlbumChanged (this=0x48cf3c0, albums=...) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/utilities/kipiiface/kipiinterface.cpp:283
#28 0x000000000054bcba in Digikam::KipiInterface::qt_static_metacall (_o=0x48cf3c0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff0ae98010) at /home/shipman/Downloads/digikam-4.0.0-beta2/build/core/digikam/kipiinterface.moc:54
#29 0x00000031abd98fa8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#30 0x00000000005d3d85 in Digikam::AlbumManager::signalAlbumCurrentChanged (this=0x2879710, _t1=...) at /home/shipman/Downloads/digikam-4.0.0-beta2/build/core/digikam/albummanager.moc:267
#31 0x00000000005defe2 in Digikam::AlbumManager::setCurrentAlbums (this=0x2879710, albums=...) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/digikam/album/albummanager.cpp:1849
#32 0x00000000006026a8 in Digikam::AbstractAlbumTreeView::slotSelectionChanged (this=0x3986930) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/digikam/album/albumtreeview.cpp:558
#33 0x00000000005ffc3a in Digikam::AbstractAlbumTreeView::qt_static_metacall (_o=0x3986930, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff0ae98250) at /home/shipman/Downloads/digikam-4.0.0-beta2/build/core/digikam/albumtreeview.moc:99
#34 0x00000031abd98fa8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#35 0x00000031ae53ae87 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4
#36 0x00000031ae540907 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4
#37 0x00000031ae541133 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#38 0x00000031ae52c29a in QTreeViewPrivate::select(QModelIndex const&, QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#39 0x00000031ae52cc0c in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#40 0x00000031ae4ea13a in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#41 0x0000000000602991 in Digikam::AbstractAlbumTreeView::mousePressEvent (this=0x3986930, e=0x7fff0ae992f0) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/digikam/album/albumtreeview.cpp:601
#42 0x00000031ae01cd83 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00000031ae3d3bbe in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#44 0x00000031ae4efe13 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#45 0x00000031ae5310f0 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#46 0x000000000060301f in Digikam::AbstractAlbumTreeView::viewportEvent (this=0x3986930, event=0x7fff0ae992f0) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/digikam/album/albumtreeview.cpp:703
#47 0x00000000005fa24c in Digikam::AlbumSelectionTreeView::viewportEvent (this=0x3986930, event=0x7fff0ae992f0) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/digikam/album/albumselectiontreeview.cpp:233
#48 0x00000031abd84756 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#49 0x00000031adfc9ddc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#50 0x00000031adfd08e9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#51 0x000000344784a7da in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#52 0x00000031abd845ed in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#53 0x00000031adfd0017 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#54 0x00000031ae0457cb in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/libQtGui.so.4
#55 0x00000031ae04423c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#56 0x00000031ae06bc34 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQtGui.so.4
#57 0x00000031a14492a6 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#58 0x00000031a1449628 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#59 0x00000031a14496dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#60 0x00000031abdb3185 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#61 0x00000031ae06bdb6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtGui.so.4
#62 0x00000031abd8312f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#63 0x00000031abd8347d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#64 0x00000031abd889bb in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#65 0x000000000073d6ec in main (argc=1, argv=0x7fff0ae9a2f8) at /home/shipman/Downloads/digikam-4.0.0-beta2/core/digikam/main/main.cpp:236

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

Possible duplicates by query: bug 329697.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-01-18 05:40:39 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2021-04-04 07:48:29 UTC
Fixed with #329697