Bug 335978 - Digikam crashes when using timeline
Summary: Digikam crashes when using timeline
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-TimeLine (show other bugs)
Version: 3.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-08 23:12 UTC by Hans Kristian Moen
Modified: 2019-12-24 18:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Kristian Moen 2014-06-08 23:12:45 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-29-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Browsing through photos using the weekly timeline view. Crashes when loading pictures from a given week.

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 0x7fdbaccafac0 (LWP 5368))]

Thread 6 (Thread 0x7fdb880a7700 (LWP 5369)):
#0  0x00007fdba666dfbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdb8ccc6248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fdba1898182 in start_thread (arg=0x7fdb880a7700) at pthread_create.c:312
#3  0x00007fdba667b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fdb81767700 (LWP 5370)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdba746b816 in wait (time=18446744073709551615, this=0x1b59c30) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1b59b40, mutex=mutex@entry=0x1b59b38, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x1b0ee00) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fdba746b32f in QThreadPrivate::start (arg=0x1b0ee00) at thread/qthread_unix.cpp:349
#5  0x00007fdba1898182 in start_thread (arg=0x7fdb81767700) at pthread_create.c:312
#6  0x00007fdba667b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fdb80f66700 (LWP 5371)):
#0  0x00007fdba666dfbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdb9f088fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdb9f0890ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdba759a7be in QEventDispatcherGlib::processEvents (this=0x7fdb740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fdba756c0af in QEventLoop::processEvents (this=this@entry=0x7fdb80f65ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdba756c3a5 in QEventLoop::exec (this=this@entry=0x7fdb80f65ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fdba7468c5f in QThread::exec (this=this@entry=0x1ae6c40) at thread/qthread.cpp:537
#7  0x00007fdba754d823 in QInotifyFileSystemWatcherEngine::run (this=0x1ae6c40) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fdba746b32f in QThreadPrivate::start (arg=0x1ae6c40) at thread/qthread_unix.cpp:349
#9  0x00007fdba1898182 in start_thread (arg=0x7fdb80f66700) at pthread_create.c:312
#10 0x00007fdba667b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fdb7bfff700 (LWP 5374)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdba746b816 in wait (time=18446744073709551615, this=0x1def9e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1e12930, mutex=mutex@entry=0x1e12928, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdbaa30479a in Digikam::ParkingThread::run (this=0x1e12910) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fdba746b32f in QThreadPrivate::start (arg=0x1e12910) at thread/qthread_unix.cpp:349
#5  0x00007fdba1898182 in start_thread (arg=0x7fdb7bfff700) at pthread_create.c:312
#6  0x00007fdba667b30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fdb7ac1f700 (LWP 5375)):
#0  0x00007fff9fa008c8 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdbaccafac0 (LWP 5368)):
[KCrash Handler]
#6  0x00007fdb3c0131a0 in ?? ()
#7  0x00007fdb91037dac in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#8  0x00007fdb91037f63 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#9  0x00007fdb9104c579 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#10 0x00007fdb910749c5 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#11 0x00007fdb9107ced7 in sqlite3_step () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#12 0x00007fdb8056011c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x549be40, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007fdb80560e48 in QSQLiteResult::exec (this=0x42b0640) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007fdbac8d8b7d in QSqlQuery::exec (this=this@entry=0x7fff9f9e66b8) at kernel/qsqlquery.cpp:949
#15 0x00007fdbaa2bda26 in Digikam::DatabaseCoreBackend::exec (this=0x1b390b0, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#16 0x00007fdbaa2bdaac in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1b390b0, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#17 0x00007fdbaa2beb50 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1b390b0, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#18 0x00007fdbaa2beb99 in Digikam::DatabaseCoreBackend::execSql (this=0x1b390b0, sql=..., boundValue1=..., values=values@entry=0x7fff9f9e6700, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#19 0x00007fdba9c8242e in Digikam::AlbumDB::getSetting (this=this@entry=0x1b7c0d0, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#20 0x00007fdba9c82d5c in Digikam::AlbumDB::getFilterSettings (this=0x1b7c0d0, imageFilter=imageFilter@entry=0x7fff9f9e6940, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#21 0x000000000063a2c0 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0x1dad8b0) at /build/buildd/digikam-3.5.0/core/digikam/utils/albumsettings.cpp:958
#22 0x0000000000533f42 in Digikam::KipiInterface::hostSetting (this=this@entry=0x30d1ea0, settingName=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:363
#23 0x00000000005339f4 in Digikam::KipiInterface::currentAlbum (this=0x30d1ea0) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:110
#24 0x00007fdb1d16ed94 in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0x416e3b0, anyAlbum=<optimized out>) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#25 0x00007fdba758187a in QMetaObject::activate (sender=0x30d1ea0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9f9e6c90) at kernel/qobject.cpp:3539
#26 0x00007fdbaac0c4c2 in KIPI::Interface::currentAlbumChanged(bool) () from /usr/lib/libkipi.so.11
#27 0x00007fdba758187a in QMetaObject::activate (sender=sender@entry=0x1b5c7d0, m=m@entry=0x844e60 <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff9f9e6e20) at kernel/qobject.cpp:3539
#28 0x00000000005a43e3 in signalAlbumCurrentChanged (_t1=0x2216ca0, this=0x1b5c7d0) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/digikam/albummanager.moc:267
#29 Digikam::AlbumManager::updateSAlbum (this=this@entry=0x1b5c7d0, album=album@entry=0x2216ca0, changedQuery=..., changedName=..., type=type@entry=Digikam::DatabaseSearch::TimeLineSearch) at /build/buildd/digikam-3.5.0/core/digikam/album/albummanager.cpp:2752
#30 0x00000000005a85e8 in Digikam::AlbumManager::createSAlbum (this=0x1b5c7d0, name=..., type=type@entry=Digikam::DatabaseSearch::TimeLineSearch, query=...) at /build/buildd/digikam-3.5.0/core/digikam/album/albummanager.cpp:2704
#31 0x0000000000656016 in Digikam::SearchModificationHelper::slotCreateTimeLineSearch (this=<optimized out>, desiredName=..., dateRanges=..., overwriteIfExisting=overwriteIfExisting@entry=true) at /build/buildd/digikam-3.5.0/core/digikam/utils/searchmodificationhelper.cpp:201
#32 0x000000000069d2fe in Digikam::TimelineSideBarWidget::slotUpdateCurrentDateSearchAlbum (this=0x2962d50) at /build/buildd/digikam-3.5.0/core/digikam/views/leftsidebarwidgets.cpp:713
#33 0x00007fdba758187a in QMetaObject::activate (sender=0x2962bb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#34 0x00007fdba7585a31 in QObject::event (this=0x2962bb0, e=<optimized out>) at kernel/qobject.cpp:1156
#35 0x00007fdba7f69e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1995b50, receiver=receiver@entry=0x2962bb0, e=e@entry=0x7fff9f9e7470) at kernel/qapplication.cpp:4567
#36 0x00007fdba7f704a0 in QApplication::notify (this=this@entry=0x7fff9f9e7c00, receiver=receiver@entry=0x2962bb0, e=e@entry=0x7fff9f9e7470) at kernel/qapplication.cpp:4353
#37 0x00007fdba8c79baa in KApplication::notify (this=0x7fff9f9e7c00, receiver=0x2962bb0, event=0x7fff9f9e7470) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x00007fdba756d4dd in QCoreApplication::notifyInternal (this=0x7fff9f9e7c00, receiver=0x2962bb0, event=0x7fff9f9e7470) at kernel/qcoreapplication.cpp:953
#39 0x00007fdba759d323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QTimerInfoList::activateTimers (this=0x1999da0) at kernel/qeventdispatcher_unix.cpp:621
#41 0x00007fdba759a629 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#42 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#43 0x00007fdb9f088e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fdb9f089048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fdb9f0890ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fdba759a7a1 in QEventDispatcherGlib::processEvents (this=0x18c6aa0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#47 0x00007fdba800bbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007fdba756c0af in QEventLoop::processEvents (this=this@entry=0x7fff9f9e76e0, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007fdba756c3a5 in QEventLoop::exec (this=this@entry=0x7fff9f9e76e0, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007fdba7571b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#51 0x00007fdba7f6837c in QApplication::exec () at kernel/qapplication.cpp:3828
#52 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 335847, bug 335685, bug 335684, bug 335667, bug 335630.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-06-09 00:40:23 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2019-12-24 18:43:27 UTC
Not reproducible with 7.0.0 beta1