Bug 358829 - digiKam crash when clicking on thumbnail
Summary: digiKam crash when clicking on thumbnail
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-31 17:23 UTC by PMO
Modified: 2020-07-26 12:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PMO 2016-01-31 17:23:14 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-76-generic x86_64
Distribution: Linux Mint 17.3 Rosa

-- Information about the crash:
- What I was doing when the application crashed:
I was browsing a folder, DK was generating thumbmail because it was the first time i explore this folder. And suddenly DK crashed.

- Custom settings of the application:

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 0x7f999de44ac0 (LWP 4773))]

Thread 6 (Thread 0x7f997236d700 (LWP 4784)):
#0  0x00007f9996f9012d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f998feebfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f998feec30a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f997f4c9336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f998ff10f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9992509754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f9993478182 in start_thread (arg=0x7f997236d700) at pthread_create.c:312
#7  0x00007f9996f9d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f9971b6c700 (LWP 4785)):
#0  0x00007f999347a569 in __GI___pthread_mutex_lock (mutex=0x1c6eea0) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007f998ff2d981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f998feebfca in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f998feec0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f998feec129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f998ff10f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f9992509754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#7  0x00007f9993478182 in start_thread (arg=0x7f9971b6c700) at pthread_create.c:312
#8  0x00007f9996f9d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f9960eb8700 (LWP 4789)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9998c76816 in wait (time=18446744073709551615, this=0x1d6be00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1d72430, mutex=mutex@entry=0x1d72428, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x1d721a0) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f9998c7632f in QThreadPrivate::start (arg=0x1d721a0) at thread/qthread_unix.cpp:349
#5  0x00007f9992509754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f9993478182 in start_thread (arg=0x7f9960eb8700) at pthread_create.c:312
#7  0x00007f9996f9d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f9957fff700 (LWP 4790)):
#0  0x00007f998ff2d9a4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f998feebbda in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f998feec048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f998feec0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9998da57be in QEventDispatcherGlib::processEvents (this=0x7f99500008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f9998d770af in QEventLoop::processEvents (this=this@entry=0x7f9957ffea20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9998d773a5 in QEventLoop::exec (this=this@entry=0x7f9957ffea20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9998c73c5f in QThread::exec (this=this@entry=0x1d73b30) at thread/qthread.cpp:537
#8  0x00007f9998d58823 in QInotifyFileSystemWatcherEngine::run (this=0x1d73b30) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f9998c7632f in QThreadPrivate::start (arg=0x1d73b30) at thread/qthread_unix.cpp:349
#10 0x00007f9992509754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#11 0x00007f9993478182 in start_thread (arg=0x7f9957fff700) at pthread_create.c:312
#12 0x00007f9996f9d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9970b6a700 (LWP 4845)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9998c76816 in wait (time=18446744073709551615, this=0x209c410) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2193a30, mutex=mutex@entry=0x2193a28, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f999b4b68aa in Digikam::ParkingThread::run (this=0x2193a10) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f9998c7632f in QThreadPrivate::start (arg=0x2193a10) at thread/qthread_unix.cpp:349
#5  0x00007f9992509754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f9993478182 in start_thread (arg=0x7f9970b6a700) at pthread_create.c:312
#7  0x00007f9996f9d47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f999de44ac0 (LWP 4773)):
[KCrash Handler]
#6  0x00007f9981fbae59 in sqlite3MemCompare (pMem1=pMem1@entry=0x7ffdc41386f0, pMem2=<optimized out>, pColl=0x3f9e708) at sqlite3.c:60495
#7  0x00007f9981fbb013 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7f9958198b1f, pPKey2=pPKey2@entry=0x7ffdc41389f0) at sqlite3.c:64173
#8  0x00007f9981fcf6b9 in sqlite3BtreeMovetoUnpacked (pCur=0x5229320, pIdxKey=0x7ffdc41389f0, intKey=0, biasRight=<optimized out>, pRes=0x7ffdc41389e0) at sqlite3.c:55088
#9  0x00007f9981ff7a75 in sqlite3VdbeExec (p=p@entry=0x51f6928) at sqlite3.c:70179
#10 0x00007f9981ffff87 in sqlite3Step (p=0x51f6928) at sqlite3.c:64839
#11 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64905
#12 0x00007f99604b311c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x4af7d30, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007f99604b3e48 in QSQLiteResult::exec (this=0x4fca780) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007f999da6cb7d in QSqlQuery::exec (this=this@entry=0x7ffdc4138f28) at kernel/qsqlquery.cpp:949
#15 0x00007f999b46fa46 in Digikam::DatabaseCoreBackend::exec (this=0x1dad320, query=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1415
#16 0x00007f999b46facc in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1dad320, query=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1057
#17 0x00007f999b470b70 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1dad320, sql=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1006
#18 0x00007f999b470bb9 in Digikam::DatabaseCoreBackend::execSql (this=0x1dad320, sql=..., boundValue1=..., values=values@entry=0x7ffdc4138f70, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:903
#19 0x00007f999ae31e2e in Digikam::AlbumDB::getSetting (this=this@entry=0x1dad6b0, keyword=...) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:972
#20 0x00007f999ae3275c in Digikam::AlbumDB::getFilterSettings (this=0x1dad6b0, imageFilter=imageFilter@entry=0x7ffdc41391b0, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:1017
#21 0x00000000006581a0 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0x1f95cd0) at /build/buildd/digikam-4.0.0/core/digikam/utils/albumsettings.cpp:962
#22 0x000000000053dc62 in Digikam::KipiInterface::hostSetting (this=this@entry=0x2c1dc60, settingName=...) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:363
#23 0x000000000053ea87 in Digikam::KipiInterface::currentAlbum (this=0x2c1dc60) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:110
#24 0x00007f992008dd94 in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0x3917f30, anyAlbum=<optimized out>) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#25 0x00007f9998d8c87a in QMetaObject::activate (sender=0x2c1dc60, m=m@entry=0x7f999bfbee60 <KIPI::Interface::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdc4139500) at kernel/qobject.cpp:3539
#26 0x00007f999bdab4c2 in KIPI::Interface::currentAlbumChanged (this=<optimized out>, _t1=true) at ./interface.moc:128
#27 0x000000000053e9c6 in slotCurrentAlbumChanged (albums=..., this=<optimized out>) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:283
#28 Digikam::KipiInterface::qt_static_metacall (_o=0x2c1dc60, _c=28, _id=59548616, _a=0x28) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/kipiinterface.moc:54
#29 0x00007f9998d8c87a in QMetaObject::activate (sender=sender@entry=0x1d67090, m=m@entry=0x86cbc0 <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffdc4139660) at kernel/qobject.cpp:3539
#30 0x00000000005b64d5 in signalAlbumCurrentChanged (_t1=..., this=0x1d67090) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/albummanager.moc:267
#31 Digikam::AlbumManager::setCurrentAlbums (this=0x1d67090, albums=...) at /build/buildd/digikam-4.0.0/core/digikam/album/albummanager.cpp:1849
#32 0x00000000005d3bfc in Digikam::AbstractAlbumTreeView::slotSelectionChanged (this=0x67006900642e80) at /build/buildd/digikam-4.0.0/core/digikam/album/albumtreeview.cpp:582
#33 0x00000000005d59b5 in Digikam::AbstractAlbumTreeView::qt_static_metacall (_o=0x2a46820, _c=28, _id=59548616, _a=0x28) at /build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/albumtreeview.moc:99
#34 0x00007f9998d8c87a in QMetaObject::activate (sender=sender@entry=0x2a4df30, m=m@entry=0x7f999895dfc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdc4139830) at kernel/qobject.cpp:3539
#35 0x00007f99983df8f7 in QItemSelectionModel::selectionChanged (this=this@entry=0x2a4df30, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:165
#36 0x00007f99983e4f17 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x2a4df30, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#37 0x00007f99983e5723 in QItemSelectionModel::select (this=0x2a4df30, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#38 0x00007f99983d171a in QTreeViewPrivate::select (this=this@entry=0x2a468b0, topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3683
#39 0x00007f99983d201c in QTreeView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qtreeview.cpp:2293
#40 0x00007f9998391e1a in QAbstractItemView::mousePressEvent (this=this@entry=0x2a46820, event=event@entry=0x7ffdc413a6c0) at itemviews/qabstractitemview.cpp:1690
#41 0x00007f99983d65f5 in QTreeView::mousePressEvent (this=this@entry=0x2a46820, event=event@entry=0x7ffdc413a6c0) at itemviews/qtreeview.cpp:1831
#42 0x00000000005d5e3f in Digikam::AbstractAlbumTreeView::mousePressEvent (this=0x2a46820, e=0x7ffdc413a6c0) at /build/buildd/digikam-4.0.0/core/digikam/album/albumtreeview.cpp:624
#43 0x00007f9997ee638b in QWidget::event (this=this@entry=0x2a46820, event=event@entry=0x7ffdc413a6c0) at kernel/qwidget.cpp:8372
#44 0x00007f999828804e in QFrame::event (this=0x2a46820, e=0x7ffdc413a6c0) at widgets/qframe.cpp:557
#45 0x00007f9998397633 in QAbstractItemView::viewportEvent (this=this@entry=0x2a46820, event=event@entry=0x7ffdc413a6c0) at itemviews/qabstractitemview.cpp:1644
#46 0x00007f99983d6230 in QTreeView::viewportEvent (this=0x2a46820, event=0x7ffdc413a6c0) at itemviews/qtreeview.cpp:1252
#47 0x00007f9998d78646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1ad3fa0, receiver=receiver@entry=0x2a46f80, event=event@entry=0x7ffdc413a6c0) at kernel/qcoreapplication.cpp:1063
#48 0x00007f9997e96e0c in QApplicationPrivate::notify_helper (this=this@entry=0x1ad3fa0, receiver=receiver@entry=0x2a46f80, e=e@entry=0x7ffdc413a6c0) at kernel/qapplication.cpp:4563
#49 0x00007f9997e9d5dd in QApplication::notify (this=this@entry=0x7ffdc413b330, receiver=receiver@entry=0x2a46f80, e=e@entry=0x7ffdc413a6c0) at kernel/qapplication.cpp:4110
#50 0x00007f99997c2cca in KApplication::notify (this=0x7ffdc413b330, receiver=0x2a46f80, event=0x7ffdc413a6c0) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007f9998d784dd in QCoreApplication::notifyInternal (this=0x7ffdc413b330, receiver=receiver@entry=0x2a46f80, event=event@entry=0x7ffdc413a6c0) at kernel/qcoreapplication.cpp:953
#52 0x00007f9997e9cd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2a46f80, event=event@entry=0x7ffdc413a6c0, alienWidget=alienWidget@entry=0x2a46f80, nativeWidget=nativeWidget@entry=0x1e762c0, buttonDown=buttonDown@entry=0x7f999897c318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#54 0x00007f9997f119eb in QETWidget::translateMouseEvent (this=this@entry=0x1e762c0, event=event@entry=0x7ffdc413aa40) at kernel/qapplication_x11.cpp:4634
#55 0x00007f9997f11289 in QApplication::x11ProcessEvent (this=0x7ffdc413b330, event=event@entry=0x7ffdc413aa40) at kernel/qapplication_x11.cpp:3627
#56 0x00007f9997f38b32 in x11EventSourceDispatch (s=0x1ad30e0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007f998feebe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f998feec048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f998feec0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f9998da57a1 in QEventDispatcherGlib::processEvents (this=0x19f78a0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#61 0x00007f9997f38be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f9998d770af in QEventLoop::processEvents (this=this@entry=0x7ffdc413ae10, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f9998d773a5 in QEventLoop::exec (this=this@entry=0x7ffdc413ae10, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007f9998d7cb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#65 0x00007f9997e9537c in QApplication::exec () at kernel/qapplication.cpp:3828
#66 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 358337.

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

Reported using DrKonqi
Comment 1 caulier.gilles 2016-01-31 19:01:15 UTC

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