Bug 335260 - digiKam random
Summary: digiKam random
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 3.5.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-23 23:33 UTC by ImpliedConsent
Modified: 2021-12-17 11:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ImpliedConsent 2014-05-23 23:33:40 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.0 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: - Just browsing the digiKam library, switching between folders and files. Nothing specific

-- 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 0x7f558d1a0ac0 (LWP 11781))]

Thread 6 (Thread 0x7f5566975700 (LWP 11782)):
#0  0x00007f5586bb9fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f556bd95248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f5581e49182 in start_thread (arg=0x7f5566975700) at pthread_create.c:312
#3  0x00007f5586bc730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f555c05d700 (LWP 11783)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f55879a8816 in wait (time=18446744073709551615, this=0x242f190) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2435130, mutex=mutex@entry=0x2435128, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x242f860) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f55879a832f in QThreadPrivate::start (arg=0x242f860) at thread/qthread_unix.cpp:349
#5  0x00007f5581e49182 in start_thread (arg=0x7f555c05d700) at pthread_create.c:312
#6  0x00007f5586bc730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f555b85c700 (LWP 11784)):
#0  0x00007f5586bb86bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5573ff8e41 in ?? () from /usr/lib/nvidia-331/tls/libnvidia-tls.so.331.38
#2  0x00007f557f6b1c20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f557f670b14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f557f670f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f557f6710ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f5587ad77be in QEventDispatcherGlib::processEvents (this=0x7f554c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007f5587aa90af in QEventLoop::processEvents (this=this@entry=0x7f555b85bae0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f5587aa93a5 in QEventLoop::exec (this=this@entry=0x7f555b85bae0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f55879a5c5f in QThread::exec (this=this@entry=0x2436f10) at thread/qthread.cpp:537
#10 0x00007f5587a8a823 in QInotifyFileSystemWatcherEngine::run (this=0x2436f10) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f55879a832f in QThreadPrivate::start (arg=0x2436f10) at thread/qthread_unix.cpp:349
#12 0x00007f5581e49182 in start_thread (arg=0x7f555b85c700) at pthread_create.c:312
#13 0x00007f5586bc730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f555b05b700 (LWP 11786)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f55879a8816 in wait (time=18446744073709551615, this=0x27d0880) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x24b4050, mutex=mutex@entry=0x24b4048, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f558a82179a in Digikam::ParkingThread::run (this=0x24b4030) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f55879a832f in QThreadPrivate::start (arg=0x24b4030) at thread/qthread_unix.cpp:349
#5  0x00007f5581e49182 in start_thread (arg=0x7f555b05b700) at pthread_create.c:312
#6  0x00007f5586bc730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f555986c700 (LWP 11787)):
#0  0x00007f557f66e3d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f557f67062b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f557f670f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f557f6710ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5587ad77be in QEventDispatcherGlib::processEvents (this=0x7f55440008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f5587aa90af in QEventLoop::processEvents (this=this@entry=0x7f555986bae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5587aa93a5 in QEventLoop::exec (this=this@entry=0x7f555986bae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f55879a5c5f in QThread::exec (this=this@entry=0x2b71a30) at thread/qthread.cpp:537
#8  0x00007f5587a8a823 in QInotifyFileSystemWatcherEngine::run (this=0x2b71a30) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f55879a832f in QThreadPrivate::start (arg=0x2b71a30) at thread/qthread_unix.cpp:349
#10 0x00007f5581e49182 in start_thread (arg=0x7f555986c700) at pthread_create.c:312
#11 0x00007f5586bc730d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f558d1a0ac0 (LWP 11781)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f5570299dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff1a72ac50, pMem2=<optimized out>, pColl=0x9852fc8) at sqlite3.c:60484
#8  0x00007f5570299f63 in sqlite3VdbeRecordCompare (nKey1=24, pKey1=0x7f555446aa1e, pPKey2=pPKey2@entry=0x7fff1a72af50) at sqlite3.c:64162
#9  0x00007f55702ae579 in sqlite3BtreeMovetoUnpacked (pCur=0x99dbd60, pIdxKey=0x7fff1a72af50, intKey=0, biasRight=<optimized out>, pRes=0x7fff1a72af40) at sqlite3.c:55077
#10 0x00007f55702d69c5 in sqlite3VdbeExec (p=p@entry=0x9747778) at sqlite3.c:70168
#11 0x00007f55702deed7 in sqlite3Step (p=0x9747778) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007f555a65611c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x95d2970, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007f555a656e48 in QSQLiteResult::exec (this=0x97879e0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007f558cdcdb7d in QSqlQuery::exec (this=this@entry=0x7fff1a72b488) at kernel/qsqlquery.cpp:949
#16 0x00007f558a7daa26 in Digikam::DatabaseCoreBackend::exec (this=0x246ec80, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007f558a7daaac in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x246ec80, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#18 0x00007f558a7dbb50 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x246ec80, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#19 0x00007f558a7dbb99 in Digikam::DatabaseCoreBackend::execSql (this=0x246ec80, sql=..., boundValue1=..., values=values@entry=0x7fff1a72b4d0, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#20 0x00007f558a19f42e in Digikam::AlbumDB::getSetting (this=this@entry=0x23faa70, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#21 0x00007f558a19fd5c in Digikam::AlbumDB::getFilterSettings (this=0x23faa70, imageFilter=imageFilter@entry=0x7fff1a72b710, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#22 0x000000000063a2c0 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0x276a420) at /build/buildd/digikam-3.5.0/core/digikam/utils/albumsettings.cpp:958
#23 0x0000000000533f42 in Digikam::KipiInterface::hostSetting (this=this@entry=0x2b730b0, settingName=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x00000000005339f4 in Digikam::KipiInterface::currentAlbum (this=0x2b730b0) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:110
#25 0x00007f550c172d94 in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0x54b3f70, anyAlbum=<optimized out>) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#26 0x00007f5587abe87a in QMetaObject::activate (sender=0x2b730b0, m=m@entry=0x7f558b331e60 <KIPI::Interface::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff1a72ba60) at kernel/qobject.cpp:3539
#27 0x00007f558b11e4c2 in KIPI::Interface::currentAlbumChanged (this=<optimized out>, _t1=true) at ./interface.moc:128
#28 0x00007f5587abe87a in QMetaObject::activate (sender=0x24e9ab0, m=m@entry=0x844e60 <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff1a72bb90) at kernel/qobject.cpp:3539
#29 0x00000000005a2e04 in signalAlbumCurrentChanged (_t1=0x52c3040, this=<optimized out>) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/digikam/albummanager.moc:267
#30 Digikam::AlbumManager::setCurrentAlbum (this=<optimized out>, album=album@entry=0x52c3040) at /build/buildd/digikam-3.5.0/core/digikam/album/albummanager.cpp:1846
#31 0x00000000005c81cd in Digikam::AbstractAlbumTreeView::mousePressEvent (this=0x32ef120, e=0x7fff1a72c400) at /build/buildd/digikam-3.5.0/core/digikam/album/albumtreeview.cpp:538
#32 0x00007f55884ec37b in QWidget::event (this=this@entry=0x32ef120, event=event@entry=0x7fff1a72c400) at kernel/qwidget.cpp:8372
#33 0x00007f558888dfce in QFrame::event (this=0x32ef120, e=0x7fff1a72c400) at widgets/qframe.cpp:557
#34 0x00007f558899d5b3 in QAbstractItemView::viewportEvent (this=this@entry=0x32ef120, event=event@entry=0x7fff1a72c400) at itemviews/qabstractitemview.cpp:1644
#35 0x00007f55889dc190 in QTreeView::viewportEvent (this=this@entry=0x32ef120, event=0x7fff1a72c400) at itemviews/qtreeview.cpp:1252
#36 0x00000000005c83d5 in Digikam::AbstractAlbumTreeView::viewportEvent (this=this@entry=0x32ef120, event=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/album/albumtreeview.cpp:683
#37 0x00000000005c05c0 in Digikam::AlbumSelectionTreeView::viewportEvent (this=0x32ef120, event=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/album/albumselectiontreeview.cpp:233
#38 0x00007f5587aaa646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x22cc3c0, receiver=receiver@entry=0x32ed240, event=event@entry=0x7fff1a72c400) at kernel/qcoreapplication.cpp:1063
#39 0x00007f558849ce0c in QApplicationPrivate::notify_helper (this=this@entry=0x22cc3c0, receiver=receiver@entry=0x32ed240, e=e@entry=0x7fff1a72c400) at kernel/qapplication.cpp:4563
#40 0x00007f55884a35dd in QApplication::notify (this=this@entry=0x7fff1a72d070, receiver=receiver@entry=0x32ed240, e=e@entry=0x7fff1a72c400) at kernel/qapplication.cpp:4110
#41 0x00007f55891a7baa in KApplication::notify (this=0x7fff1a72d070, receiver=0x32ed240, event=0x7fff1a72c400) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007f5587aaa4dd in QCoreApplication::notifyInternal (this=0x7fff1a72d070, receiver=receiver@entry=0x32ed240, event=event@entry=0x7fff1a72c400) at kernel/qcoreapplication.cpp:953
#43 0x00007f55884a2d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x32ed240, event=event@entry=0x7fff1a72c400, alienWidget=alienWidget@entry=0x32ed240, nativeWidget=nativeWidget@entry=0x29b76b0, buttonDown=buttonDown@entry=0x7f5588f82318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#45 0x00007f55885179cb in QETWidget::translateMouseEvent (this=this@entry=0x29b76b0, event=event@entry=0x7fff1a72c780) at kernel/qapplication_x11.cpp:4634
#46 0x00007f5588517269 in QApplication::x11ProcessEvent (this=0x7fff1a72d070, event=event@entry=0x7fff1a72c780) at kernel/qapplication_x11.cpp:3627
#47 0x00007f558853eb02 in x11EventSourceDispatch (s=0x22c8800, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0x00007f557f670e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f557f671048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f557f6710ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f5587ad77a1 in QEventDispatcherGlib::processEvents (this=0x21f0e70, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#52 0x00007f558853ebb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f5587aa90af in QEventLoop::processEvents (this=this@entry=0x7fff1a72cb50, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f5587aa93a5 in QEventLoop::exec (this=this@entry=0x7fff1a72cb50, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007f5587aaeb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#56 0x00007f558849b37c in QApplication::exec () at kernel/qapplication.cpp:3828
#57 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

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

Possible duplicates by query: bug 335234, bug 335226, bug 335136, bug 335059, bug 335055.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-05-24 00:37:13 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2021-12-17 11:50:59 UTC
Fixed with #329697