Bug 358488 - digiKam crashed after tag
Summary: digiKam crashed after tag
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 4.0.0
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-24 15:52 UTC by Mauro
Modified: 2020-07-26 12:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mauro 2016-01-24 15:52:35 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.19.0-32-generic x86_64
Distribution: Linux Mint 17.3 Rosa

-- Information about the crash:
- What I was doing when the application crashed:
I was tagging a photo after having scanned the faces of my collection of photos.

-- 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 0x7f14fd96aac0 (LWP 2366))]

Thread 8 (Thread 0x7f14da08f700 (LWP 2367)):
#0  0x00007f14f6ab912d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f14de7ef248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f14f2fa1182 in start_thread (arg=0x7f14da08f700) at pthread_create.c:312
#3  0x00007f14f6ac647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f14d372d700 (LWP 2368)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f14f879f816 in wait (time=18446744073709551615, this=0x1577dc0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1577cd0, mutex=mutex@entry=0x1577cc8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x1578b60) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f14f879f32f in QThreadPrivate::start (arg=0x1578b60) at thread/qthread_unix.cpp:349
#5  0x00007f14f2fa1182 in start_thread (arg=0x7f14d372d700) at pthread_create.c:312
#6  0x00007f14f6ac647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f14d2f2c700 (LWP 2369)):
#0  0x00007f14f6ab912d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f14efa9ffe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f14efaa00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f14f88ce7be in QEventDispatcherGlib::processEvents (this=0x7f14c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f14f88a00af in QEventLoop::processEvents (this=this@entry=0x7f14d2f2bae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f14f88a03a5 in QEventLoop::exec (this=this@entry=0x7f14d2f2bae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f14f879cc5f in QThread::exec (this=this@entry=0x1645d80) at thread/qthread.cpp:537
#7  0x00007f14f8881823 in QInotifyFileSystemWatcherEngine::run (this=0x1645d80) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f14f879f32f in QThreadPrivate::start (arg=0x1645d80) at thread/qthread_unix.cpp:349
#9  0x00007f14f2fa1182 in start_thread (arg=0x7f14d2f2c700) at pthread_create.c:312
#10 0x00007f14f6ac647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f14d272b700 (LWP 2373)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f14f879f816 in wait (time=18446744073709551615, this=0x18a1170) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x19a30f0, mutex=mutex@entry=0x19a30e8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f14fafdf8aa in Digikam::ParkingThread::run (this=0x19a30d0) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f14f879f32f in QThreadPrivate::start (arg=0x19a30d0) at thread/qthread_unix.cpp:349
#5  0x00007f14f2fa1182 in start_thread (arg=0x7f14d272b700) at pthread_create.c:312
#6  0x00007f14f6ac647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f14d0df2700 (LWP 2374)):
#0  0x00007f14f6ab912d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f14efa9ffe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f14efaa00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f14f88ce7be in QEventDispatcherGlib::processEvents (this=0x7f14bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f14f88a00af in QEventLoop::processEvents (this=this@entry=0x7f14d0df1ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f14f88a03a5 in QEventLoop::exec (this=this@entry=0x7f14d0df1ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f14f879cc5f in QThread::exec (this=this@entry=0x1bd1dd0) at thread/qthread.cpp:537
#7  0x00007f14f8881823 in QInotifyFileSystemWatcherEngine::run (this=0x1bd1dd0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f14f879f32f in QThreadPrivate::start (arg=0x1bd1dd0) at thread/qthread_unix.cpp:349
#9  0x00007f14f2fa1182 in start_thread (arg=0x7f14d0df2700) at pthread_create.c:312
#10 0x00007f14f6ac647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f149d7fa700 (LWP 2726)):
#0  0x00007f14efa9f57c in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f14efa9ff03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f14efaa00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f14f88ce7be in QEventDispatcherGlib::processEvents (this=0x7f146c089280, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f14f88a00af in QEventLoop::processEvents (this=this@entry=0x7f149d7f9aa0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f14f88a03a5 in QEventLoop::exec (this=this@entry=0x7f149d7f9aa0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f14fafdef73 in Digikam::WorkerObjectRunnable::run (this=0x4fbb760) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f14f8792fee in QThreadPoolThread::run (this=0x3003790) at concurrent/qthreadpool.cpp:108
#8  0x00007f14f879f32f in QThreadPrivate::start (arg=0x3003790) at thread/qthread_unix.cpp:349
#9  0x00007f14f2fa1182 in start_thread (arg=0x7f149d7fa700) at pthread_create.c:312
#10 0x00007f14f6ac647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f14897fa700 (LWP 2727)):
#0  0x00007f14efa9d3ef in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f14efa9f9bb in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f14efa9ff7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f14efaa00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f14f88ce7be in QEventDispatcherGlib::processEvents (this=0x7f1434013ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f14f88a00af in QEventLoop::processEvents (this=this@entry=0x7f14897f9aa0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f14f88a03a5 in QEventLoop::exec (this=this@entry=0x7f14897f9aa0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f14fafdef73 in Digikam::WorkerObjectRunnable::run (this=0x5953400) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:196
#8  0x00007f14f8792fee in QThreadPoolThread::run (this=0x3008230) at concurrent/qthreadpool.cpp:108
#9  0x00007f14f879f32f in QThreadPrivate::start (arg=0x3008230) at thread/qthread_unix.cpp:349
#10 0x00007f14f2fa1182 in start_thread (arg=0x7f14897fa700) at pthread_create.c:312
#11 0x00007f14f6ac647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f14fd96aac0 (LWP 2366)):
[KCrash Handler]
#6  0x0000000002734520 in ?? ()
#7  0x00007f14e2af0e5c in sqlite3MemCompare (pMem1=pMem1@entry=0x7ffc24f6dc70, pMem2=<optimized out>, pColl=0x5f969c8) at sqlite3.c:60495
#8  0x00007f14e2af1013 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7f14cc05479f, pPKey2=pPKey2@entry=0x7ffc24f6df70) at sqlite3.c:64173
#9  0x00007f14e2b056b9 in sqlite3BtreeMovetoUnpacked (pCur=0x54e0c70, pIdxKey=0x7ffc24f6df70, intKey=0, biasRight=<optimized out>, pRes=0x7ffc24f6df60) at sqlite3.c:55088
#10 0x00007f14e2b2da75 in sqlite3VdbeExec (p=p@entry=0x51c1828) at sqlite3.c:70179
#11 0x00007f14e2b35f87 in sqlite3Step (p=0x51c1828) at sqlite3.c:64839
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64905
#13 0x00007f14d1d2611c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x5718580, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007f14d1d26e48 in QSQLiteResult::exec (this=0x55da020) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007f14fd595b7d in QSqlQuery::exec (this=this@entry=0x7ffc24f6e4a8) at kernel/qsqlquery.cpp:949
#16 0x00007f14faf98a46 in Digikam::DatabaseCoreBackend::exec (this=0x15cd530, query=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1415
#17 0x00007f14faf98acc in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x15cd530, query=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1057
#18 0x00007f14faf99b70 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x15cd530, sql=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1006
#19 0x00007f14faf99bb9 in Digikam::DatabaseCoreBackend::execSql (this=0x15cd530, sql=..., boundValue1=..., values=values@entry=0x7ffc24f6e4f0, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:903
#20 0x00007f14fa95ae2e in Digikam::AlbumDB::getSetting (this=this@entry=0x161f2c0, keyword=...) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:972
#21 0x00007f14fa95b75c in Digikam::AlbumDB::getFilterSettings (this=0x161f2c0, imageFilter=imageFilter@entry=0x7ffc24f6e730, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:1017
#22 0x00000000006581a0 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0x16253e0) at /build/buildd/digikam-4.0.0/core/digikam/utils/albumsettings.cpp:962
#23 0x000000000053dc62 in Digikam::KipiInterface::hostSetting (this=this@entry=0x221b650, settingName=...) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x000000000053ea87 in Digikam::KipiInterface::currentAlbum (this=0x221b650) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:110
#25 0x00007f14785e7d94 in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0x3987b10, anyAlbum=<optimized out>) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#26 0x00007f14f88b587a in QMetaObject::activate (sender=0x221b650, m=m@entry=0x7f14fbae7e60 <KIPI::Interface::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc24f6ea80) at kernel/qobject.cpp:3539
#27 0x00007f14fb8d44c2 in KIPI::Interface::currentAlbumChanged (this=<optimized out>, _t1=true) at ./interface.moc:128
#28 0x000000000053e9c6 in slotCurrentAlbumChanged (albums=..., this=<optimized out>) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:283
#29 Digikam::KipiInterface::qt_static_metacall (_o=0x221b650, _c=28, _id=86599784, _a=0x28) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/kipiinterface.moc:54
#30 0x00007f14f88b587a in QMetaObject::activate (sender=sender@entry=0x15d2450, m=m@entry=0x86cbc0 <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffc24f6ebe0) at kernel/qobject.cpp:3539
#31 0x00000000005b64d5 in signalAlbumCurrentChanged (_t1=..., this=0x15d2450) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/albummanager.moc:267
#32 Digikam::AlbumManager::setCurrentAlbums (this=0x15d2450, albums=...) at /build/buildd/digikam-4.0.0/core/digikam/album/albummanager.cpp:1849
#33 0x00000000005d3bfc in Digikam::AbstractAlbumTreeView::slotSelectionChanged (this=0x2733210) at /build/buildd/digikam-4.0.0/core/digikam/album/albumtreeview.cpp:582
#34 0x00000000005d59b5 in Digikam::AbstractAlbumTreeView::qt_static_metacall (_o=0x2676510, _c=28, _id=86599784, _a=0x28) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/albumtreeview.moc:99
#35 0x00007f14f88b587a in QMetaObject::activate (sender=sender@entry=0x2681700, m=m@entry=0x7f14f8486fc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc24f6edb0) at kernel/qobject.cpp:3539
#36 0x00007f14f7f088f7 in QItemSelectionModel::selectionChanged (this=this@entry=0x2681700, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:165
#37 0x00007f14f7f0df17 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x2681700, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#38 0x00007f14f7f0e723 in QItemSelectionModel::select (this=0x2681700, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#39 0x00007f14f7efa71a in QTreeViewPrivate::select (this=this@entry=0x26765a0, topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3683
#40 0x00007f14f7efb01c in QTreeView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qtreeview.cpp:2293
#41 0x00007f14f7ebae1a in QAbstractItemView::mousePressEvent (this=this@entry=0x2676510, event=event@entry=0x7ffc24f6fc40) at itemviews/qabstractitemview.cpp:1690
#42 0x00007f14f7eff5f5 in QTreeView::mousePressEvent (this=this@entry=0x2676510, event=event@entry=0x7ffc24f6fc40) at itemviews/qtreeview.cpp:1831
#43 0x00000000005d5e3f in Digikam::AbstractAlbumTreeView::mousePressEvent (this=0x2676510, e=0x7ffc24f6fc40) at /build/buildd/digikam-4.0.0/core/digikam/album/albumtreeview.cpp:624
#44 0x00007f14f7a0f38b in QWidget::event (this=this@entry=0x2676510, event=event@entry=0x7ffc24f6fc40) at kernel/qwidget.cpp:8372
#45 0x00007f14f7db104e in QFrame::event (this=0x2676510, e=0x7ffc24f6fc40) at widgets/qframe.cpp:557
#46 0x00007f14f7ec0633 in QAbstractItemView::viewportEvent (this=this@entry=0x2676510, event=event@entry=0x7ffc24f6fc40) at itemviews/qabstractitemview.cpp:1644
#47 0x00007f14f7eff230 in QTreeView::viewportEvent (this=0x2676510, event=0x7ffc24f6fc40) at itemviews/qtreeview.cpp:1252
#48 0x00007f14f88a1646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x149aaf0, receiver=receiver@entry=0x2676ca0, event=event@entry=0x7ffc24f6fc40) at kernel/qcoreapplication.cpp:1063
#49 0x00007f14f79bfe0c in QApplicationPrivate::notify_helper (this=this@entry=0x149aaf0, receiver=receiver@entry=0x2676ca0, e=e@entry=0x7ffc24f6fc40) at kernel/qapplication.cpp:4563
#50 0x00007f14f79c65dd in QApplication::notify (this=this@entry=0x7ffc24f708b0, receiver=receiver@entry=0x2676ca0, e=e@entry=0x7ffc24f6fc40) at kernel/qapplication.cpp:4110
#51 0x00007f14f92ebcca in KApplication::notify (this=0x7ffc24f708b0, receiver=0x2676ca0, event=0x7ffc24f6fc40) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f14f88a14dd in QCoreApplication::notifyInternal (this=0x7ffc24f708b0, receiver=receiver@entry=0x2676ca0, event=event@entry=0x7ffc24f6fc40) at kernel/qcoreapplication.cpp:953
#53 0x00007f14f79c5d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2676ca0, event=event@entry=0x7ffc24f6fc40, alienWidget=alienWidget@entry=0x2676ca0, nativeWidget=nativeWidget@entry=0x199fa80, buttonDown=buttonDown@entry=0x7f14f84a5318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#55 0x00007f14f7a3a9eb in QETWidget::translateMouseEvent (this=this@entry=0x199fa80, event=event@entry=0x7ffc24f6ffc0) at kernel/qapplication_x11.cpp:4634
#56 0x00007f14f7a3a289 in QApplication::x11ProcessEvent (this=0x7ffc24f708b0, event=event@entry=0x7ffc24f6ffc0) at kernel/qapplication_x11.cpp:3627
#57 0x00007f14f7a61b32 in x11EventSourceDispatch (s=0x1491c50, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0x00007f14efa9fe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f14efaa0048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f14efaa00ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f14f88ce7a1 in QEventDispatcherGlib::processEvents (this=0x13dced0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#62 0x00007f14f7a61be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007f14f88a00af in QEventLoop::processEvents (this=this@entry=0x7ffc24f70390, flags=...) at kernel/qeventloop.cpp:149
#64 0x00007f14f88a03a5 in QEventLoop::exec (this=this@entry=0x7ffc24f70390, flags=...) at kernel/qeventloop.cpp:204
#65 0x00007f14f88a5b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#66 0x00007f14f79be37c in QApplication::exec () at kernel/qapplication.cpp:3828
#67 0x00000000004948f0 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.0.0/core/digikam/main/main.cpp:236

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

Possible duplicates by query: bug 358356, bug 358337, bug 356598, bug 356282, bug 355903.

Reported using DrKonqi
Comment 1 caulier.gilles 2016-01-24 15:55:09 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2020-07-26 12:46:25 UTC
Fixed with #329697