Bug 356598 - change folder view
Summary: change folder view
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: 2015-12-13 13:38 UTC by meckis1st
Modified: 2020-07-26 12:42 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 meckis1st 2015-12-13 13:38:53 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-38-generic x86_64
Distribution: Linux Mint 17.2 Rafaela

-- Information about the crash:
- What I was doing when the application crashed:
change folder view 
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
KCrash: Connect sock_file=/home/stephan/.kde/socket-rechenknecht/kdeinit4__0

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 0x7f9d5291dac0 (LWP 5809))]

Thread 6 (Thread 0x7f9d2f076700 (LWP 5810)):
#0  0x00007f9d4ba7012d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9d337d6248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f9d47f58182 in start_thread (arg=0x7f9d2f076700) at pthread_create.c:312
#3  0x00007f9d4ba7d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f9d285bb700 (LWP 5811)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9d4d756816 in wait (time=18446744073709551615, this=0x1efc060) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1efbc70, mutex=mutex@entry=0x1efbc68, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x1ee7420) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f9d4d75632f in QThreadPrivate::start (arg=0x1ee7420) at thread/qthread_unix.cpp:349
#5  0x00007f9d47f58182 in start_thread (arg=0x7f9d285bb700) at pthread_create.c:312
#6  0x00007f9d4ba7d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f9d27dba700 (LWP 5812)):
#0  0x00007f9d44ac4617 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9d44ac49a9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9d44a82fd9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9d44a830ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9d4d8857be in QEventDispatcherGlib::processEvents (this=0x7f9d180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f9d4d8570af in QEventLoop::processEvents (this=this@entry=0x7f9d27db9ae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9d4d8573a5 in QEventLoop::exec (this=this@entry=0x7f9d27db9ae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9d4d753c5f in QThread::exec (this=this@entry=0x1ee3870) at thread/qthread.cpp:537
#8  0x00007f9d4d838823 in QInotifyFileSystemWatcherEngine::run (this=0x1ee3870) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f9d4d75632f in QThreadPrivate::start (arg=0x1ee3870) at thread/qthread_unix.cpp:349
#10 0x00007f9d47f58182 in start_thread (arg=0x7f9d27dba700) at pthread_create.c:312
#11 0x00007f9d4ba7d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f9d275b9700 (LWP 5814)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9d4d756816 in wait (time=18446744073709551615, this=0x21abd20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x21a8de0, mutex=mutex@entry=0x21a8dd8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9d4ff968aa in Digikam::ParkingThread::run (this=0x21a8dc0) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f9d4d75632f in QThreadPrivate::start (arg=0x21a8dc0) at thread/qthread_unix.cpp:349
#5  0x00007f9d47f58182 in start_thread (arg=0x7f9d275b9700) at pthread_create.c:312
#6  0x00007f9d4ba7d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9d15858700 (LWP 5815)):
#0  0x00007f9d47f5b7ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f9d10000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f9d10000a60) at pthread_mutex_unlock.c:310
#2  0x00007f9d44ac49b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9d44a82718 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9d44a82f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9d44a830ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f9d4d8857be in QEventDispatcherGlib::processEvents (this=0x7f9d100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f9d4d8570af in QEventLoop::processEvents (this=this@entry=0x7f9d15857ae0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f9d4d8573a5 in QEventLoop::exec (this=this@entry=0x7f9d15857ae0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f9d4d753c5f in QThread::exec (this=this@entry=0x25b6310) at thread/qthread.cpp:537
#10 0x00007f9d4d838823 in QInotifyFileSystemWatcherEngine::run (this=0x25b6310) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f9d4d75632f in QThreadPrivate::start (arg=0x25b6310) at thread/qthread_unix.cpp:349
#12 0x00007f9d47f58182 in start_thread (arg=0x7f9d15858700) at pthread_create.c:312
#13 0x00007f9d4ba7d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f9d5291dac0 (LWP 5809)):
[KCrash Handler]
#6  0x0000000002f60650 in ?? ()
#7  0x00007f9d37ad7e5c in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff36a440d0, pMem2=<optimized out>, pColl=0xac9fa98) at sqlite3.c:60495
#8  0x00007f9d37ad8013 in sqlite3VdbeRecordCompare (nKey1=19, pKey1=0x7f9d20151383, pPKey2=pPKey2@entry=0x7fff36a443d0) at sqlite3.c:64173
#9  0x00007f9d37aec6b9 in sqlite3BtreeMovetoUnpacked (pCur=0xb8d96c0, pIdxKey=0x7fff36a443d0, intKey=0, biasRight=<optimized out>, pRes=0x7fff36a443c0) at sqlite3.c:55088
#10 0x00007f9d37b14a75 in sqlite3VdbeExec (p=p@entry=0x1fc43c8) at sqlite3.c:70179
#11 0x00007f9d37b1cf87 in sqlite3Step (p=0x1fc43c8) at sqlite3.c:64839
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64905
#13 0x00007f9d2656c11c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x42bc290, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007f9d2656ce48 in QSQLiteResult::exec (this=0xb7b75b0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007f9d5254cb7d in QSqlQuery::exec (this=this@entry=0x7fff36a44908) at kernel/qsqlquery.cpp:949
#16 0x00007f9d4ff4fa46 in Digikam::DatabaseCoreBackend::exec (this=0x1ef3c60, query=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1415
#17 0x00007f9d4ff4facc in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1ef3c60, query=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1057
#18 0x00007f9d4ff50b70 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1ef3c60, sql=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1006
#19 0x00007f9d4ff50bb9 in Digikam::DatabaseCoreBackend::execSql (this=0x1ef3c60, sql=..., boundValue1=..., values=values@entry=0x7fff36a44950, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:903
#20 0x00007f9d4f911e2e in Digikam::AlbumDB::getSetting (this=this@entry=0x1f09eb0, keyword=...) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:972
#21 0x00007f9d4f91275c in Digikam::AlbumDB::getFilterSettings (this=0x1f09eb0, imageFilter=imageFilter@entry=0x7fff36a44b90, 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=0x1fe4e00) at /build/buildd/digikam-4.0.0/core/digikam/utils/albumsettings.cpp:962
#23 0x000000000053dc62 in Digikam::KipiInterface::hostSetting (this=this@entry=0x7cf8b90, settingName=...) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x000000000053ea87 in Digikam::KipiInterface::currentAlbum (this=0x7cf8b90) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:110
#25 0x00007f9ccb3c1d94 in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0x7d423e0, anyAlbum=<optimized out>) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#26 0x00007f9d4d86c87a in QMetaObject::activate (sender=0x7cf8b90, m=m@entry=0x7f9d50a9ee60 <KIPI::Interface::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff36a44ee0) at kernel/qobject.cpp:3539
#27 0x00007f9d5088b4c2 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=0x7cf8b90, _c=28, _id=191082312, _a=0x28) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/kipiinterface.moc:54
#30 0x00007f9d4d86c87a in QMetaObject::activate (sender=sender@entry=0x1f02f90, m=m@entry=0x86cbc0 <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff36a45040) at kernel/qobject.cpp:3539
#31 0x00000000005b64d5 in signalAlbumCurrentChanged (_t1=..., this=0x1f02f90) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/albummanager.moc:267
#32 Digikam::AlbumManager::setCurrentAlbums (this=0x1f02f90, albums=...) at /build/buildd/digikam-4.0.0/core/digikam/album/albummanager.cpp:1849
#33 0x00000000005d3bfc in Digikam::AbstractAlbumTreeView::slotSelectionChanged (this=0x2f7aae0) at /build/buildd/digikam-4.0.0/core/digikam/album/albumtreeview.cpp:582
#34 0x00000000005d59b5 in Digikam::AbstractAlbumTreeView::qt_static_metacall (_o=0x2cc2800, _c=28, _id=191082312, _a=0x28) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/albumtreeview.moc:99
#35 0x00007f9d4d86c87a in QMetaObject::activate (sender=sender@entry=0x2cc6e20, m=m@entry=0x7f9d4d43dfc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff36a45210) at kernel/qobject.cpp:3539
#36 0x00007f9d4cebf8f7 in QItemSelectionModel::selectionChanged (this=this@entry=0x2cc6e20, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:165
#37 0x00007f9d4cec4f17 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x2cc6e20, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#38 0x00007f9d4cec5723 in QItemSelectionModel::select (this=0x2cc6e20, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#39 0x00007f9d4ceb171a in QTreeViewPrivate::select (this=this@entry=0x2cc0260, topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3683
#40 0x00007f9d4ceb201c in QTreeView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qtreeview.cpp:2293
#41 0x00007f9d4ce71e1a in QAbstractItemView::mousePressEvent (this=this@entry=0x2cc2800, event=event@entry=0x7fff36a46190) at itemviews/qabstractitemview.cpp:1690
#42 0x00007f9d4ceb65f5 in QTreeView::mousePressEvent (this=this@entry=0x2cc2800, event=event@entry=0x7fff36a46190) at itemviews/qtreeview.cpp:1831
#43 0x00000000005d5e3f in Digikam::AbstractAlbumTreeView::mousePressEvent (this=0x2cc2800, e=0x7fff36a46190) at /build/buildd/digikam-4.0.0/core/digikam/album/albumtreeview.cpp:624
#44 0x00007f9d4c9c638b in QWidget::event (this=this@entry=0x2cc2800, event=event@entry=0x7fff36a46190) at kernel/qwidget.cpp:8372
#45 0x00007f9d4cd6804e in QFrame::event (this=0x2cc2800, e=0x7fff36a46190) at widgets/qframe.cpp:557
#46 0x00007f9d4ce77633 in QAbstractItemView::viewportEvent (this=this@entry=0x2cc2800, event=event@entry=0x7fff36a46190) at itemviews/qabstractitemview.cpp:1644
#47 0x00007f9d4ceb6230 in QTreeView::viewportEvent (this=this@entry=0x2cc2800, event=0x7fff36a46190) at itemviews/qtreeview.cpp:1252
#48 0x00000000005d60c5 in Digikam::AbstractAlbumTreeView::viewportEvent (this=this@entry=0x2cc2800, event=<optimized out>) at /build/buildd/digikam-4.0.0/core/digikam/album/albumtreeview.cpp:725
#49 0x00000000005cd780 in Digikam::AlbumSelectionTreeView::viewportEvent (this=0x2cc2800, event=<optimized out>) at /build/buildd/digikam-4.0.0/core/digikam/album/albumselectiontreeview.cpp:233
#50 0x00007f9d4d858646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1d51070, receiver=receiver@entry=0x2cc0930, event=event@entry=0x7fff36a46190) at kernel/qcoreapplication.cpp:1063
#51 0x00007f9d4c976e0c in QApplicationPrivate::notify_helper (this=this@entry=0x1d51070, receiver=receiver@entry=0x2cc0930, e=e@entry=0x7fff36a46190) at kernel/qapplication.cpp:4563
#52 0x00007f9d4c97d5dd in QApplication::notify (this=this@entry=0x7fff36a46e00, receiver=receiver@entry=0x2cc0930, e=e@entry=0x7fff36a46190) at kernel/qapplication.cpp:4110
#53 0x00007f9d4e2a2cca in KApplication::notify (this=0x7fff36a46e00, receiver=0x2cc0930, event=0x7fff36a46190) at ../../kdeui/kernel/kapplication.cpp:311
#54 0x00007f9d4d8584dd in QCoreApplication::notifyInternal (this=0x7fff36a46e00, receiver=receiver@entry=0x2cc0930, event=event@entry=0x7fff36a46190) at kernel/qcoreapplication.cpp:953
#55 0x00007f9d4c97cd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#56 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2cc0930, event=event@entry=0x7fff36a46190, alienWidget=alienWidget@entry=0x2cc0930, nativeWidget=nativeWidget@entry=0x249d1d0, buttonDown=buttonDown@entry=0x7f9d4d45c318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#57 0x00007f9d4c9f19eb in QETWidget::translateMouseEvent (this=this@entry=0x249d1d0, event=event@entry=0x7fff36a46510) at kernel/qapplication_x11.cpp:4634
#58 0x00007f9d4c9f1289 in QApplication::x11ProcessEvent (this=0x7fff36a46e00, event=event@entry=0x7fff36a46510) at kernel/qapplication_x11.cpp:3627
#59 0x00007f9d4ca18b32 in x11EventSourceDispatch (s=0x1d41870, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00007f9d44a82e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f9d44a83048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f9d44a830ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f9d4d8857a1 in QEventDispatcherGlib::processEvents (this=0x1ca5100, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#64 0x00007f9d4ca18be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007f9d4d8570af in QEventLoop::processEvents (this=this@entry=0x7fff36a468e0, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007f9d4d8573a5 in QEventLoop::exec (this=this@entry=0x7fff36a468e0, flags=...) at kernel/qeventloop.cpp:204
#67 0x00007f9d4d85cb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#68 0x00007f9d4c97537c 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 356282, bug 355903, bug 351521, bug 351374, bug 350130.

Reported using DrKonqi
Comment 1 caulier.gilles 2015-12-13 16:16:26 UTC

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