Bug 304412

Summary: digiKam crashes when I starts an "Advanced slideshow"
Product: [Applications] digikam Reporter: Xavier Ribes <xavier.ribes>
Component: Plugin-Generic-PresentationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.7.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Xavier Ribes 2012-08-02 00:52:01 UTC
Application: digikam (2.7.0)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: I tried to start an "Advanced Slideshow" with only 5 selected images (each of them is about 20 Mb in size), no transition effects, no soundtrack... the most basic.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xaed0b780 (LWP 2711))]

Thread 8 (Thread 0xac7c7b40 (LWP 2714)):
#0  0xb7744424 in __kernel_vsyscall ()
#1  0xb47b6380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb3041a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30340ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb303456b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xac7d5134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#6  0xb30576b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb33dbd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb47c4ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0xabdffb40 (LWP 2715)):
#0  0xb7744424 in __kernel_vsyscall ()
#1  0xb47b6380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb3041a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30340ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb303456b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xad4b41ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb30576b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb33dbd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb47c4ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xa9e80b40 (LWP 2717)):
#0  0xb7744424 in __kernel_vsyscall ()
#1  0xb33df96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb47d23dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a97350 in wait (time=4294967295, this=0x9dd4aa0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9dd4a0c, mutex=0x9dd4a08, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0820fa6e in Digikam::ScanController::run (this=0x9d47ab0) at /build/buildd/digikam-2.7.0/core/digikam/database/scancontroller.cpp:698
#6  0xb4a96de0 in QThreadPrivate::start (arg=0x9d47ab0) at thread/qthread_unix.cpp:298
#7  0xb33dbd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb47c4ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xa94ffb40 (LWP 2718)):
#0  0xb33dec84 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb47d2634 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb3073410 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb303409b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3034201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4bde8e7 in QEventDispatcherGlib::processEvents (this=0xa8b00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb4baa50d in QEventLoop::processEvents (this=0xa94ff200, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4baa7a9 in QEventLoop::exec (this=0xa94ff200, flags=...) at kernel/qeventloop.cpp:204
#8  0xb4a9394c in QThread::exec (this=0x9dd57a8) at thread/qthread.cpp:501
#9  0xb4b87b5d in QInotifyFileSystemWatcherEngine::run (this=0x9dd57a8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb4a96de0 in QThreadPrivate::start (arg=0x9dd57a8) at thread/qthread_unix.cpp:298
#11 0xb33dbd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb47c4ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa8affb40 (LWP 2720)):
#0  0xb7744424 in __kernel_vsyscall ()
#1  0xb33df96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb47d23dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a97350 in wait (time=4294967295, this=0xa33a430) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa338ba0, mutex=0xa338b9c, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6a668cc in Digikam::ParkingThread::run (this=0xa338b90) at /build/buildd/digikam-2.7.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4a96de0 in QThreadPrivate::start (arg=0xa338b90) at thread/qthread_unix.cpp:298
#7  0xb33dbd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb47c4ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0x8effdb40 (LWP 2757)):
#0  0xb7744424 in __kernel_vsyscall ()
#1  0xb33df96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb47d23dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a97350 in wait (time=4294967295, this=0xbdeccb8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xbdecc04, mutex=0xbdecc00, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x9da7bab2 in KIPIPlugins::KPRawThumbThread::run (this=0xbdecf48) at /build/buildd/digikam-2.7.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:107
#6  0xb4a96de0 in QThreadPrivate::start (arg=0xbdecf48) at thread/qthread_unix.cpp:298
#7  0xb33dbd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb47c4ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0x9e411b40 (LWP 2759)):
#0  0xb7744424 in __kernel_vsyscall ()
#1  0xb33df96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb47d23dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4a97350 in wait (time=4294967295, this=0xc9c0690) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xc9bfed4, mutex=0xc9bfed0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x9da7bab2 in KIPIPlugins::KPRawThumbThread::run (this=0xc9c0208) at /build/buildd/digikam-2.7.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:107
#6  0xb4a96de0 in QThreadPrivate::start (arg=0xc9c0208) at thread/qthread_unix.cpp:298
#7  0xb33dbd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb47c4ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xaed0b780 (LWP 2711)):
[KCrash Handler]
#7  isEmpty (this=0x1) at /usr/include/qt4/QtCore/qstring.h:705
#8  KUrl::KUrl (this=0xbf9ce55c, str=...) at ../../kdecore/io/kurl.cpp:403
#9  0x9bcc7271 in KIPIAdvancedSlideshowPlugin::SlideShowLoader::checkIsIn (this=0xcf1f248, index=-1) at /build/buildd/digikam-2.7.0/extra/kipi-plugins/advancedslideshow/plugin/slideshowloader.cpp:279
#10 0x9bcc7830 in KIPIAdvancedSlideshowPlugin::SlideShowLoader::getCurrent (this=0xcf1f248) at /build/buildd/digikam-2.7.0/extra/kipi-plugins/advancedslideshow/plugin/slideshowloader.cpp:256
#11 0x9bcb49be in KIPIAdvancedSlideshowPlugin::SlideShow::loadNextImage (this=0xb1de608) at /build/buildd/digikam-2.7.0/extra/kipi-plugins/advancedslideshow/widgets/slideshow.cpp:334
#12 0x9bcb8d98 in KIPIAdvancedSlideshowPlugin::SlideShow::slotTimeOut (this=0xb1de608) at /build/buildd/digikam-2.7.0/extra/kipi-plugins/advancedslideshow/widgets/slideshow.cpp:266
#13 0x9bcb8f4d in KIPIAdvancedSlideshowPlugin::SlideShow::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-2.7.0/obj-i686-linux-gnu/extra/kipi-plugins/advancedslideshow/slideshow.moc:58
#14 0xb4bc26b1 in QMetaObject::activate (sender=0xccd0ab8, m=0xb4d094d8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#15 0xb4c15625 in QTimer::timeout (this=0xccd0ab8) at .moc/release-shared/moc_qtimer.cpp:148
#16 0xb4bcb566 in QTimer::timerEvent (this=0xccd0ab8, e=0xbf9ced4c) at kernel/qtimer.cpp:280
#17 0xb4bc6ac4 in QObject::event (this=0xccd0ab8, e=0xbf9ced4c) at kernel/qobject.cpp:1157
#18 0xb5118ed4 in notify_helper (e=0xbf9ced4c, receiver=0xccd0ab8, this=0x9bc0bc0) at kernel/qapplication.cpp:4559
#19 QApplicationPrivate::notify_helper (this=0x9bc0bc0, receiver=0xccd0ab8, e=0xbf9ced4c) at kernel/qapplication.cpp:4531
#20 0xb511e30d in QApplication::notify (this=0xbf9ced4c, receiver=0xccd0ab8, e=0xbf9ced4c) at kernel/qapplication.cpp:4288
#21 0xb5c9e401 in KApplication::notify (this=0xbf9cf0d0, receiver=0xccd0ab8, event=0xbf9ced4c) at ../../kdeui/kernel/kapplication.cpp:311
#22 0xb4bab97e in QCoreApplication::notifyInternal (this=0xbf9cf0d0, receiver=0xccd0ab8, event=0xbf9ced4c) at kernel/qcoreapplication.cpp:876
#23 0xb4be0990 in sendEvent (event=0xbf9ced4c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QTimerInfoList::activateTimers (this=0x9bc1cac) at kernel/qeventdispatcher_unix.cpp:611
#25 0xb4bde0f8 in timerSourceDispatch (source=0x9bc1c78) at kernel/qeventdispatcher_glib.cpp:186
#26 timerSourceDispatch (source=0x9bc1c78) at kernel/qeventdispatcher_glib.cpp:180
#27 0xb3033d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb3034125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb3034201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0xb4bde887 in QEventDispatcherGlib::processEvents (this=0x9b77828, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0xb51d1aaa in QGuiEventDispatcherGlib::processEvents (this=0x9b77828, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0xb4baa50d in QEventLoop::processEvents (this=0xbf9cefb4, flags=...) at kernel/qeventloop.cpp:149
#33 0xb4baa7a9 in QEventLoop::exec (this=0xbf9cefb4, flags=...) at kernel/qeventloop.cpp:204
#34 0xb4bafeba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#35 0xb5116a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#36 0x080b9620 in main (argc=217180384, argv=0xb487b470) at /build/buildd/digikam-2.7.0/core/digikam/main/main.cpp:232

This bug may be a duplicate of or related to bug 299191.

Possible duplicates by query: bug 299191.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-08-02 05:04:05 UTC

*** This bug has been marked as a duplicate of bug 299191 ***
Comment 2 caulier.gilles 2022-01-17 05:40:26 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=299191