Bug 335847 - Digikam crashes on slideshow function
Summary: Digikam crashes on slideshow function
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (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-05 17:21 UTC by qeldroma
Modified: 2021-12-17 11:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qeldroma 2014-06-05 17:21:52 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-27-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I tried two ways of slideshow:
- One time I just opened a subfolder and clicked on slideshow, after some fotos it crashed
- Matching the attached crash report and reproducable is:
* Take a large subfolderstructure, one level deep put thousands of fotos
* Click on "Extended diashow.."
* start it
* again: Crash....

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 0x7f49ac47aac0 (LWP 8850))]

Thread 7 (Thread 0x7f49864c4700 (LWP 8852)):
#0  0x00007f49a5e90fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f498b06f248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f49a1120182 in start_thread (arg=0x7f49864c4700) at pthread_create.c:312
#3  0x00007f49a5e9e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f497b9bc700 (LWP 8853)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f49a6c7f816 in wait (time=18446744073709551615, this=0x1655920) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1655830, mutex=mutex@entry=0x1655828, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x16555a0) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f49a6c7f32f in QThreadPrivate::start (arg=0x16555a0) at thread/qthread_unix.cpp:349
#5  0x00007f49a1120182 in start_thread (arg=0x7f497b9bc700) at pthread_create.c:312
#6  0x00007f49a5e9e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f497b1bb700 (LWP 8854)):
#0  0x00007f499e94769d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f499e947f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f499e9480ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f49a6dae7be in QEventDispatcherGlib::processEvents (this=0x7f496c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f49a6d800af in QEventLoop::processEvents (this=this@entry=0x7f497b1baae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f49a6d803a5 in QEventLoop::exec (this=this@entry=0x7f497b1baae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f49a6c7cc5f in QThread::exec (this=this@entry=0x1781f40) at thread/qthread.cpp:537
#7  0x00007f49a6d61823 in QInotifyFileSystemWatcherEngine::run (this=0x1781f40) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f49a6c7f32f in QThreadPrivate::start (arg=0x1781f40) at thread/qthread_unix.cpp:349
#9  0x00007f49a1120182 in start_thread (arg=0x7f497b1bb700) at pthread_create.c:312
#10 0x00007f49a5e9e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f497a9b2700 (LWP 8857)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f49a6c7f816 in wait (time=18446744073709551615, this=0x1ae49e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1ca63d0, mutex=mutex@entry=0x1ca63c8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f49a9af879a in Digikam::ParkingThread::run (this=0x1ca63b0) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f49a6c7f32f in QThreadPrivate::start (arg=0x1ca63b0) at thread/qthread_unix.cpp:349
#5  0x00007f49a1120182 in start_thread (arg=0x7f497a9b2700) at pthread_create.c:312
#6  0x00007f49a5e9e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f4979072700 (LWP 8858)):
#0  0x00007f49a5e90fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f499e947fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f499e9480ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f49a6dae7be in QEventDispatcherGlib::processEvents (this=0x7f49640008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f49a6d800af in QEventLoop::processEvents (this=this@entry=0x7f4979071ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f49a6d803a5 in QEventLoop::exec (this=this@entry=0x7f4979071ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f49a6c7cc5f in QThread::exec (this=this@entry=0x1e64a80) at thread/qthread.cpp:537
#7  0x00007f49a6d61823 in QInotifyFileSystemWatcherEngine::run (this=0x1e64a80) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f49a6c7f32f in QThreadPrivate::start (arg=0x1e64a80) at thread/qthread_unix.cpp:349
#9  0x00007f49a1120182 in start_thread (arg=0x7f4979072700) at pthread_create.c:312
#10 0x00007f49a5e9e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f48e705e700 (LWP 8901)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f49a6c7f816 in wait (time=18446744073709551615, this=0x58785f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x58778d0, mutex=mutex@entry=0x58778c8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f495c358c3d in KIPIPlugins::KPRawThumbThread::run (this=0x5877d50) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007f49a6c7f32f in QThreadPrivate::start (arg=0x5877d50) at thread/qthread_unix.cpp:349
#5  0x00007f49a1120182 in start_thread (arg=0x7f48e705e700) at pthread_create.c:312
#6  0x00007f49a5e9e30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f49ac47aac0 (LWP 8850)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f498f573dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fffe1a41500, pMem2=<optimized out>, pColl=0x1a9eec8) at sqlite3.c:60484
#8  0x00007f498f573f63 in sqlite3VdbeRecordCompare (nKey1=24, pKey1=0x7f497401e06d, pPKey2=pPKey2@entry=0x7fffe1a41800) at sqlite3.c:64162
#9  0x00007f498f588579 in sqlite3BtreeMovetoUnpacked (pCur=0x8a57e68, pIdxKey=0x7fffe1a41800, intKey=0, biasRight=<optimized out>, pRes=0x7fffe1a417f0) at sqlite3.c:55077
#10 0x00007f498f5b09c5 in sqlite3VdbeExec (p=p@entry=0x404d988) at sqlite3.c:70168
#11 0x00007f498f5b8ed7 in sqlite3Step (p=0x404d988) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007f4979fa511c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x8c63bc0, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007f4979fa5e48 in QSQLiteResult::exec (this=0x8c61060) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007f49ac0a4b7d in QSqlQuery::exec (this=this@entry=0x7fffe1a41d68) at kernel/qsqlquery.cpp:949
#16 0x00007f49a9ab1a26 in Digikam::DatabaseCoreBackend::exec (this=0x1657ad0, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007f49a9ab1c11 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1657ad0, query=..., boundValue1=..., boundValue2=..., boundValue3=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1074
#18 0x00007f49a9ab2cd0 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1657ad0, sql=..., boundValue1=..., boundValue2=..., boundValue3=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1021
#19 0x00007f49a9ab2d1a in Digikam::DatabaseCoreBackend::execSql (this=0x1657ad0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., values=values@entry=0x7fffe1a41dd0, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:919
#20 0x00007f49a94667aa in Digikam::AlbumDB::getItemShortInfo (this=0x16598e0, albumRootId=albumRootId@entry=1, relativePath=..., name=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1474
#21 0x00007f49a94c1308 in Digikam::ImageInfo::ImageInfo (this=0x7fffe1a42010, url=...) at /build/buildd/digikam-3.5.0/core/libs/database/imageinfo.cpp:339
#22 0x00000000005d523b in Digikam::ScanController::scannedInfo (this=0x16555a0, filePath=...) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:551
#23 0x000000000052a30a in Digikam::KipiImageInfo::KipiImageInfo (this=0x18a46b0, interface=<optimized out>, url=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiimageinfo.cpp:85
#24 0x000000000053324e in Digikam::KipiInterface::info (this=0x24537f0, url=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:175
#25 0x00007f495c35406b in attribute (name=..., this=0x5e25ca0) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:73
#26 KIPIPlugins::KPImageInfo::orientation (this=this@entry=0x7fffe1a421e0) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:338
#27 0x00007f49185e5465 in KIPIAdvancedSlideshowPlugin::SlideShowLoader::next (this=0x8c09630) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/advancedslideshow/plugin/slideshowloader.cpp:201
#28 0x00007f49185db9d6 in KIPIAdvancedSlideshowPlugin::SlideShowGL::advanceFrame (this=this@entry=0x8a6f140) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/advancedslideshow/widgets/slideshowgl.cpp:420
#29 0x00007f49185e1821 in KIPIAdvancedSlideshowPlugin::SlideShowGL::slotTimeOut (this=0x8a6f140) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/advancedslideshow/widgets/slideshowgl.cpp:779
#30 0x00007f49a6d9587a in QMetaObject::activate (sender=0x8c61e30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#31 0x00007f49a6d99a31 in QObject::event (this=0x8c61e30, e=<optimized out>) at kernel/qobject.cpp:1156
#32 0x00007f49a7773e2c in QApplicationPrivate::notify_helper (this=this@entry=0x157a350, receiver=receiver@entry=0x8c61e30, e=e@entry=0x7fffe1a42780) at kernel/qapplication.cpp:4567
#33 0x00007f49a777a4a0 in QApplication::notify (this=this@entry=0x7fffe1a42f10, receiver=receiver@entry=0x8c61e30, e=e@entry=0x7fffe1a42780) at kernel/qapplication.cpp:4353
#34 0x00007f49a847ebaa in KApplication::notify (this=0x7fffe1a42f10, receiver=0x8c61e30, event=0x7fffe1a42780) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f49a6d814dd in QCoreApplication::notifyInternal (this=0x7fffe1a42f10, receiver=0x8c61e30, event=0x7fffe1a42780) at kernel/qcoreapplication.cpp:953
#36 0x00007f49a6db1323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QTimerInfoList::activateTimers (this=0x158c330) at kernel/qeventdispatcher_unix.cpp:621
#38 0x00007f49a6dae629 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#39 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#40 0x00007f499e947e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f499e948048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f499e9480ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f49a6dae7a1 in QEventDispatcherGlib::processEvents (this=0x14a0a90, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#44 0x00007f49a7815bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f49a6d800af in QEventLoop::processEvents (this=this@entry=0x7fffe1a429f0, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f49a6d803a5 in QEventLoop::exec (this=this@entry=0x7fffe1a429f0, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007f49a6d85b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#48 0x00007f49a777237c in QApplication::exec () at kernel/qapplication.cpp:3828
#49 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 335685, bug 335684, bug 335667, bug 335630, bug 335622.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-06-05 18:12:16 UTC

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