Bug 347340 - Digikam crashes on advanced slideshow with selected pictures
Summary: Digikam crashes on advanced slideshow with selected pictures
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 4.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-06 19:55 UTC by Otto Dämon
Modified: 2021-05-10 15:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Otto Dämon 2015-05-06 19:55:28 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-51-generic x86_64
Distribution: Ubuntu 14.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I opened an album with lots of pics, then selected approx. 100 or so and started advanced slideshow.
After some pics (3 - 10) digikam crashed.
This was reproducible and it was possible to go much further when starting  with advanced slideshow "All"

The crash can be reproduced every time.

-- 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 0x7f55edec3ac0 (LWP 5978))]

Thread 6 (Thread 0x7f55c124b700 (LWP 5994)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f55e8c75816 in wait (time=18446744073709551615, this=0x2929e00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2929d38, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005f1bc0 in ?? ()
#4  0x00007f55e8c7532f in QThreadPrivate::start (arg=0x28851b0) at thread/qthread_unix.cpp:349
#5  0x00007f55e2753754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f55e348e182 in start_thread (arg=0x7f55c124b700) at pthread_create.c:312
#7  0x00007f55e6f9c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f55c0a4a700 (LWP 5995)):
#0  0x00007f55e014961a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f55e0149979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55e0107a6c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55e0107f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f55e01080ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f55e8da47be in QEventDispatcherGlib::processEvents (this=0x7f55ac0008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f55e8d760af in QEventLoop::processEvents (this=this@entry=0x7f55c0a49a20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f55e8d763a5 in QEventLoop::exec (this=this@entry=0x7f55c0a49a20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f55e8c72c5f in QThread::exec (this=this@entry=0x295d800) at thread/qthread.cpp:537
#9  0x00007f55e8d57823 in QInotifyFileSystemWatcherEngine::run (this=0x295d800) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f55e8c7532f in QThreadPrivate::start (arg=0x295d800) at thread/qthread_unix.cpp:349
#11 0x00007f55e2753754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#12 0x00007f55e348e182 in start_thread (arg=0x7f55c0a4a700) at pthread_create.c:312
#13 0x00007f55e6f9c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f55bbfff700 (LWP 6015)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f55e8c75816 in wait (time=18446744073709551615, this=0x2bbd0b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b57498, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f55eb52edb1 in ?? () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#4  0x00007f55e8c7532f in QThreadPrivate::start (arg=0x2b57480) at thread/qthread_unix.cpp:349
#5  0x00007f55e2753754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f55e348e182 in start_thread (arg=0x7f55bbfff700) at pthread_create.c:312
#7  0x00007f55e6f9c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f55ba1cd700 (LWP 6016)):
#0  0x00007f55e3490569 in __GI___pthread_mutex_lock (mutex=0x7f55b0000a90) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007f55e0149981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f55e0107bc6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f55e0108048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f55e01080ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f55e8da47be in QEventDispatcherGlib::processEvents (this=0x7f55b00008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f55e8d760af in QEventLoop::processEvents (this=this@entry=0x7f55ba1cca20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f55e8d763a5 in QEventLoop::exec (this=this@entry=0x7f55ba1cca20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f55e8c72c5f in QThread::exec (this=this@entry=0x2d13230) at thread/qthread.cpp:537
#9  0x00007f55e8d57823 in QInotifyFileSystemWatcherEngine::run (this=0x2d13230) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f55e8c7532f in QThreadPrivate::start (arg=0x2d13230) at thread/qthread_unix.cpp:349
#11 0x00007f55e2753754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#12 0x00007f55e348e182 in start_thread (arg=0x7f55ba1cd700) at pthread_create.c:312
#13 0x00007f55e6f9c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f558fff7700 (LWP 6113)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f55e8c75816 in wait (time=18446744073709551615, this=0x7808170) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x78003b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f55985cf334 in KIPIPlugins::KPRawThumbThread::run() () from /usr/lib/digikam/libkipiplugins.so.4.0.0
#4  0x00007f55e8c7532f in QThreadPrivate::start (arg=0x7800840) at thread/qthread_unix.cpp:349
#5  0x00007f55e2753754 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f55e348e182 in start_thread (arg=0x7f558fff7700) at pthread_create.c:312
#7  0x00007f55e6f9c47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f55edec3ac0 (LWP 5978)):
[KCrash Handler]
#6  0x00007f55d27abda9 in sqlite3MemCompare (pMem1=pMem1@entry=0x7ffd4ea0ddb0, pMem2=<optimized out>, pColl=0x29fb8d8) at sqlite3.c:60484
#7  0x00007f55d27abf63 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7f55bc1684ab, pPKey2=pPKey2@entry=0x7ffd4ea0e0b0) at sqlite3.c:64162
#8  0x00007f55d27c0579 in sqlite3BtreeMovetoUnpacked (pCur=0x2b125a0, pIdxKey=0x7ffd4ea0e0b0, intKey=0, biasRight=<optimized out>, pRes=0x7ffd4ea0e0a0) at sqlite3.c:55077
#9  0x00007f55d27e89c5 in sqlite3VdbeExec (p=p@entry=0x83f27c8) at sqlite3.c:70168
#10 0x00007f55d27f0ed7 in sqlite3Step (p=0x83f27c8) at sqlite3.c:64828
#11 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#12 0x00007f55bb1e211c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x2b01a60, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007f55bb1e2e48 in QSQLiteResult::exec (this=0x296a0b0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007f55edafdb7d in QSqlQuery::exec (this=0x7ffd4ea0e5d8) at kernel/qsqlquery.cpp:949
#15 0x00007f55eb4e4461 in Digikam::DatabaseCoreBackend::exec(Digikam::SqlQuery&) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#16 0x00007f55eb4e6064 in Digikam::DatabaseCoreBackend::execQuery(Digikam::SqlQuery&, QVariant const&) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#17 0x00007f55eb4e60af in Digikam::DatabaseCoreBackend::execQuery(QString const&, QVariant const&) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#18 0x00007f55eb4e674d in Digikam::DatabaseCoreBackend::execSql(QString const&, QVariant const&, QList<QVariant>*, QVariant*) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#19 0x00007f55eae8556a in Digikam::AlbumDB::getSetting(QString const&) () from /usr/lib/digikam/libdigikamdatabase.so.4.0.0
#20 0x00007f55eae85d56 in Digikam::AlbumDB::getFilterSettings(QStringList*, QStringList*, QStringList*) () from /usr/lib/digikam/libdigikamdatabase.so.4.0.0
#21 0x00007f55eae95f9a in Digikam::CollectionScanner::loadNameFilters() () from /usr/lib/digikam/libdigikamdatabase.so.4.0.0
#22 0x00007f55eae96338 in Digikam::CollectionScanner::mainEntryPoint(bool) () from /usr/lib/digikam/libdigikamdatabase.so.4.0.0
#23 0x00007f55eae98363 in Digikam::CollectionScanner::scanFile(QFileInfo const&, int, long long, Digikam::CollectionScanner::FileScanMode) () from /usr/lib/digikam/libdigikamdatabase.so.4.0.0
#24 0x00007f55eae98597 in Digikam::CollectionScanner::scanFile(Digikam::ImageInfo const&, Digikam::CollectionScanner::FileScanMode) () from /usr/lib/digikam/libdigikamdatabase.so.4.0.0
#25 0x00000000005ee7ad in ?? ()
#26 0x0000000000538c3a in ?? ()
#27 0x000000000054518c in ?? ()
#28 0x00007f55985cb868 in KIPIPlugins::KPImageInfo::orientation() const () from /usr/lib/digikam/libkipiplugins.so.4.0.0
#29 0x00007f558e965823 in ?? () from /usr/lib/kde4/kipiplugin_advancedslideshow.so
#30 0x00007f558e95b9f6 in ?? () from /usr/lib/kde4/kipiplugin_advancedslideshow.so
#31 0x00007f558e95f5e9 in ?? () from /usr/lib/kde4/kipiplugin_advancedslideshow.so
#32 0x00007f55e8d8b87a in QMetaObject::activate (sender=0x77841f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#33 0x00007f55e8d8b87a in QMetaObject::activate (sender=sender@entry=0x83e5e90, m=m@entry=0x7f55e89692a0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd4ea0efa0) at kernel/qobject.cpp:3539
#34 0x00007f55e84e40d2 in QAbstractButton::clicked (this=this@entry=0x83e5e90, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#35 0x00007f55e82479d3 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x83e6ff0) at widgets/qabstractbutton.cpp:548
#36 0x00007f55e8248b43 in QAbstractButtonPrivate::click (this=this@entry=0x83e6ff0) at widgets/qabstractbutton.cpp:541
#37 0x00007f55e8248cf4 in QAbstractButton::timerEvent (this=0x83e5e90, e=<optimized out>) at widgets/qabstractbutton.cpp:1260
#38 0x00007f55e8d8fa31 in QObject::event (this=this@entry=0x83e5e90, e=e@entry=0x7ffd4ea0f490) at kernel/qobject.cpp:1156
#39 0x00007f55e7ee555b in QWidget::event (this=0x83e5e90, event=0x7ffd4ea0f490) at kernel/qwidget.cpp:8846
#40 0x00007f55e7e95e2c in QApplicationPrivate::notify_helper (this=this@entry=0x2772a80, receiver=receiver@entry=0x83e5e90, e=e@entry=0x7ffd4ea0f490) at kernel/qapplication.cpp:4567
#41 0x00007f55e7e9c4a0 in QApplication::notify (this=0x7ffd4ea0f880, receiver=0x83e5e90, e=0x7ffd4ea0f490) at kernel/qapplication.cpp:4353
#42 0x00007f55e97f0326 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#43 0x00007f55e8d774dd in QCoreApplication::notifyInternal (this=0x7ffd4ea0f880, receiver=0x83e5e90, event=0x7ffd4ea0f490) at kernel/qcoreapplication.cpp:953
#44 0x00007f55e8da7323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QTimerInfoList::activateTimers (this=0x2774920) at kernel/qeventdispatcher_unix.cpp:621
#46 0x00007f55e8da4629 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#47 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#48 0x00007f55e0107e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f55e0108048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f55e01080ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f55e8da47a1 in QEventDispatcherGlib::processEvents (this=0x2689410, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#52 0x00007f55e7f37bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f55e8d760af in QEventLoop::processEvents (this=this@entry=0x7ffd4ea0f700, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f55e8d763a5 in QEventLoop::exec (this=this@entry=0x7ffd4ea0f700, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007f55e8d7bb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#56 0x0000000000494440 in ?? ()
#57 0x00007f55e6ec3ec5 in __libc_start_main (main=0x4932d0, argc=5, argv=0x7ffd4ea100c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd4ea100b8) at libc-start.c:287
#58 0x00000000004968b1 in _start ()

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

Possible duplicates by query: bug 347054, bug 345907, bug 344587, bug 344216, bug 343243.

Reported using DrKonqi
Comment 1 caulier.gilles 2015-05-06 22:18:53 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2021-05-10 15:03:25 UTC
Fixed with #329697