Bug 363736 - crash when changing folders
Summary: crash when changing folders
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-05-31 11:46 UTC by fishbay
Modified: 2020-07-26 12:52 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 fishbay 2016-05-31 11:46:55 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-37-generic x86_64
Distribution: Linux Mint 17.1 Rebecca

-- Information about the crash:
- What I was doing when the application crashed:
When I change folders to view another picture DK crashes quiet often.

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 0x7fbd03d66ac0 (LWP 19738))]

Thread 6 (Thread 0x7fbcde787700 (LWP 19757)):
#0  0x00007fbcfce5cfdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbce2f56248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fbcf92f0184 in start_thread (arg=0x7fbcde787700) at pthread_create.c:312
#3  0x00007fbcfce6a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fbcd3b97700 (LWP 19770)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbcfeb5b816 in wait (time=18446744073709551615, this=0x2d1a280) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2c8f820, mutex=mutex@entry=0x2c8f818, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x2d01b60) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fbcfeb5b32f in QThreadPrivate::start (arg=0x2d01b60) at thread/qthread_unix.cpp:349
#5  0x00007fbcf92f0184 in start_thread (arg=0x7fbcd3b97700) at pthread_create.c:312
#6  0x00007fbcfce6a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fbcd3396700 (LWP 19777)):
#0  0x00007fbcfce5cfdd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbcf5ce8fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbcf5ce90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbcfec8a7be in QEventDispatcherGlib::processEvents (this=0x7fbcc40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fbcfec5c0af in QEventLoop::processEvents (this=this@entry=0x7fbcd3395ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbcfec5c3a5 in QEventLoop::exec (this=this@entry=0x7fbcd3395ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbcfeb58c5f in QThread::exec (this=this@entry=0x2d0d4e0) at thread/qthread.cpp:537
#7  0x00007fbcfec3d823 in QInotifyFileSystemWatcherEngine::run (this=0x2d0d4e0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fbcfeb5b32f in QThreadPrivate::start (arg=0x2d0d4e0) at thread/qthread_unix.cpp:349
#9  0x00007fbcf92f0184 in start_thread (arg=0x7fbcd3396700) at pthread_create.c:312
#10 0x00007fbcfce6a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fbcd2b95700 (LWP 20242)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbcfeb5b816 in wait (time=18446744073709551615, this=0x3055400) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x304c3e0, mutex=mutex@entry=0x304c3d8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fbd013af8aa in Digikam::ParkingThread::run (this=0x304c3c0) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fbcfeb5b32f in QThreadPrivate::start (arg=0x304c3c0) at thread/qthread_unix.cpp:349
#5  0x00007fbcf92f0184 in start_thread (arg=0x7fbcd2b95700) at pthread_create.c:312
#6  0x00007fbcfce6a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fbcd1317700 (LWP 20243)):
#0  0x00007fbcf92f2558 in __GI___pthread_mutex_lock (mutex=0x7fbcbc000a80) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007fbcf5d2a981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbcf5ce8699 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbcf5ce8f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbcf5ce90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbcfec8a7be in QEventDispatcherGlib::processEvents (this=0x7fbcbc0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fbcfec5c0af in QEventLoop::processEvents (this=this@entry=0x7fbcd1316ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fbcfec5c3a5 in QEventLoop::exec (this=this@entry=0x7fbcd1316ae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fbcfeb58c5f in QThread::exec (this=this@entry=0x33e60a0) at thread/qthread.cpp:537
#9  0x00007fbcfec3d823 in QInotifyFileSystemWatcherEngine::run (this=0x33e60a0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fbcfeb5b32f in QThreadPrivate::start (arg=0x33e60a0) at thread/qthread_unix.cpp:349
#11 0x00007fbcf92f0184 in start_thread (arg=0x7fbcd1317700) at pthread_create.c:312
#12 0x00007fbcfce6a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fbd03d66ac0 (LWP 19738)):
[KCrash Handler]
#6  0x000000000535c650 in ?? ()
#7  0x00007fbce74cfe5c in sqlite3MemCompare (pMem1=pMem1@entry=0x7fffd2a46ff0, pMem2=<optimized out>, pColl=0x64b6398) at sqlite3.c:60495
#8  0x00007fbce74d0013 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7fbccc2d5f6f, pPKey2=pPKey2@entry=0x7fffd2a472f0) at sqlite3.c:64173
#9  0x00007fbce74e46b9 in sqlite3BtreeMovetoUnpacked (pCur=0x6a78610, pIdxKey=0x7fffd2a472f0, intKey=0, biasRight=<optimized out>, pRes=0x7fffd2a472e0) at sqlite3.c:55088
#10 0x00007fbce750ca75 in sqlite3VdbeExec (p=p@entry=0x7ab32d8) at sqlite3.c:70179
#11 0x00007fbce7514f87 in sqlite3Step (p=0x7ab32d8) at sqlite3.c:64839
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64905
#13 0x00007fbcd219011c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x6929c20, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fbcd2190e48 in QSQLiteResult::exec (this=0x6859d30) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fbd03990b7d in QSqlQuery::exec (this=this@entry=0x7fffd2a47828) at kernel/qsqlquery.cpp:949
#16 0x00007fbd01368a46 in Digikam::DatabaseCoreBackend::exec (this=0x2d185d0, query=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1415
#17 0x00007fbd01368acc in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2d185d0, query=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1057
#18 0x00007fbd01369b70 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2d185d0, sql=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1006
#19 0x00007fbd01369bb9 in Digikam::DatabaseCoreBackend::execSql (this=0x2d185d0, sql=..., boundValue1=..., values=values@entry=0x7fffd2a47870, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:903
#20 0x00007fbd00d2ae2e in Digikam::AlbumDB::getSetting (this=this@entry=0x2cbdf60, keyword=...) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:972
#21 0x00007fbd00d2b75c in Digikam::AlbumDB::getFilterSettings (this=0x2cbdf60, imageFilter=imageFilter@entry=0x7fffd2a47ab0, 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=0x2b488b0) at /build/buildd/digikam-4.0.0/core/digikam/utils/albumsettings.cpp:962
#23 0x000000000053dc62 in Digikam::KipiInterface::hostSetting (this=this@entry=0x3afabb0, settingName=...) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x000000000053ea87 in Digikam::KipiInterface::currentAlbum (this=0x3afabb0) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:110
#25 0x00007fbc6c5e6d94 in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0x3459b00, anyAlbum=<optimized out>) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#26 0x00007fbcfec7187a in QMetaObject::activate (sender=0x3afabb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd2a47e00) at kernel/qobject.cpp:3539
#27 0x00007fbd01cb44c2 in KIPI::Interface::currentAlbumChanged(bool) () from /usr/lib/libkipi.so.11
#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=0x3afabb0, _c=28, _id=122493480, _a=0x28) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/kipiinterface.moc:54
#30 0x00007fbcfec7187a in QMetaObject::activate (sender=sender@entry=0x2d0c2a0, m=m@entry=0x86cbc0 <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fffd2a47f60) at kernel/qobject.cpp:3539
#31 0x00000000005b64d5 in signalAlbumCurrentChanged (_t1=..., this=0x2d0c2a0) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/albummanager.moc:267
#32 Digikam::AlbumManager::setCurrentAlbums (this=0x2d0c2a0, albums=...) at /build/buildd/digikam-4.0.0/core/digikam/album/albummanager.cpp:1849
#33 0x00000000005d3bfc in Digikam::AbstractAlbumTreeView::slotSelectionChanged (this=0x535c650) at /build/buildd/digikam-4.0.0/core/digikam/album/albumtreeview.cpp:582
#34 0x00000000005d59b5 in Digikam::AbstractAlbumTreeView::qt_static_metacall (_o=0x3ccc8b0, _c=28, _id=122493480, _a=0x28) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/albumtreeview.moc:99
#35 0x00007fbcfec7187a in QMetaObject::activate (sender=sender@entry=0x3cd0ed0, m=m@entry=0x7fbcfe838fc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffd2a48130) at kernel/qobject.cpp:3539
#36 0x00007fbcfe2ba8f7 in QItemSelectionModel::selectionChanged (this=this@entry=0x3cd0ed0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:165
#37 0x00007fbcfe2bff17 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x3cd0ed0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#38 0x00007fbcfe2c0723 in QItemSelectionModel::select (this=0x3cd0ed0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#39 0x00007fbcfe2ac71a in QTreeViewPrivate::select (this=this@entry=0x3cca310, topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3683
#40 0x00007fbcfe2ad01c in QTreeView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qtreeview.cpp:2293
#41 0x00007fbcfe26ce1a in QAbstractItemView::mousePressEvent (this=this@entry=0x3ccc8b0, event=event@entry=0x7fffd2a490b0) at itemviews/qabstractitemview.cpp:1690
#42 0x00007fbcfe2b15f5 in QTreeView::mousePressEvent (this=this@entry=0x3ccc8b0, event=event@entry=0x7fffd2a490b0) at itemviews/qtreeview.cpp:1831
#43 0x00000000005d5e3f in Digikam::AbstractAlbumTreeView::mousePressEvent (this=0x3ccc8b0, e=0x7fffd2a490b0) at /build/buildd/digikam-4.0.0/core/digikam/album/albumtreeview.cpp:624
#44 0x00007fbcfddc138b in QWidget::event (this=this@entry=0x3ccc8b0, event=event@entry=0x7fffd2a490b0) at kernel/qwidget.cpp:8372
#45 0x00007fbcfe16304e in QFrame::event (this=0x3ccc8b0, e=0x7fffd2a490b0) at widgets/qframe.cpp:557
#46 0x00007fbcfe272633 in QAbstractItemView::viewportEvent (this=this@entry=0x3ccc8b0, event=event@entry=0x7fffd2a490b0) at itemviews/qabstractitemview.cpp:1644
#47 0x00007fbcfe2b1230 in QTreeView::viewportEvent (this=this@entry=0x3ccc8b0, event=0x7fffd2a490b0) at itemviews/qtreeview.cpp:1252
#48 0x00000000005d60c5 in Digikam::AbstractAlbumTreeView::viewportEvent (this=this@entry=0x3ccc8b0, event=<optimized out>) at /build/buildd/digikam-4.0.0/core/digikam/album/albumtreeview.cpp:725
#49 0x00000000005cd780 in Digikam::AlbumSelectionTreeView::viewportEvent (this=0x3ccc8b0, event=<optimized out>) at /build/buildd/digikam-4.0.0/core/digikam/album/albumselectiontreeview.cpp:233
#50 0x00007fbcfec5d646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x2b500b0, receiver=receiver@entry=0x3cca9e0, event=event@entry=0x7fffd2a490b0) at kernel/qcoreapplication.cpp:1063
#51 0x00007fbcfdd71e0c in QApplicationPrivate::notify_helper (this=this@entry=0x2b500b0, receiver=receiver@entry=0x3cca9e0, e=e@entry=0x7fffd2a490b0) at kernel/qapplication.cpp:4563
#52 0x00007fbcfdd785dd in QApplication::notify (this=this@entry=0x7fffd2a49d20, receiver=receiver@entry=0x3cca9e0, e=e@entry=0x7fffd2a490b0) at kernel/qapplication.cpp:4110
#53 0x00007fbcff6b1cca in KApplication::notify (this=0x7fffd2a49d20, receiver=0x3cca9e0, event=0x7fffd2a490b0) at ../../kdeui/kernel/kapplication.cpp:311
#54 0x00007fbcfec5d4dd in QCoreApplication::notifyInternal (this=0x7fffd2a49d20, receiver=receiver@entry=0x3cca9e0, event=event@entry=0x7fffd2a490b0) at kernel/qcoreapplication.cpp:953
#55 0x00007fbcfdd77d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#56 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x3cca9e0, event=event@entry=0x7fffd2a490b0, alienWidget=alienWidget@entry=0x3cca9e0, nativeWidget=nativeWidget@entry=0x32d45f0, buttonDown=buttonDown@entry=0x7fbcfe857318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#57 0x00007fbcfddec9eb in QETWidget::translateMouseEvent (this=this@entry=0x32d45f0, event=event@entry=0x7fffd2a49430) at kernel/qapplication_x11.cpp:4634
#58 0x00007fbcfddec289 in QApplication::x11ProcessEvent (this=0x7fffd2a49d20, event=event@entry=0x7fffd2a49430) at kernel/qapplication_x11.cpp:3627
#59 0x00007fbcfde13b32 in x11EventSourceDispatch (s=0x2b3f6e0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00007fbcf5ce8e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007fbcf5ce9048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007fbcf5ce90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007fbcfec8a7a1 in QEventDispatcherGlib::processEvents (this=0x2a92c80, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#64 0x00007fbcfde13be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007fbcfec5c0af in QEventLoop::processEvents (this=this@entry=0x7fffd2a49800, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007fbcfec5c3a5 in QEventLoop::exec (this=this@entry=0x7fffd2a49800, flags=...) at kernel/qeventloop.cpp:204
#67 0x00007fbcfec61b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#68 0x00007fbcfdd7037c in QApplication::exec () at kernel/qapplication.cpp:3828
#69 0x00000000004948f0 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.0.0/core/digikam/main/main.cpp:236

Possible duplicates by query: bug 360665, bug 359977, bug 359540, bug 358832, bug 358829.

Reported using DrKonqi
Comment 1 caulier.gilles 2016-05-31 11:53:59 UTC

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