Bug 330645

Summary: Digikam crashed whilst advancing from one photo to the next in preview
Product: [Applications] digikam Reporter: Simon Brown <bugs>
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 3.4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.2.0
Sentry Crash Report:

Description Simon Brown 2014-02-01 20:02:57 UTC
Application: digikam (3.4.0)
KDE Platform Version: 4.12.1
Qt Version: 4.8.6
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
I was browsing an album in preview mode when the application crashed. I was using the arrows in the preview window to advance and on pressing next, the application crashed.

I have not managed to repeat the crash.

The crash does not seem to be reproducible.

-- 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 0x7f3b4b463a80 (LWP 4459))]

Thread 8 (Thread 0x7f3b28667700 (LWP 4460)):
#0  0x00007f3b44dbbf7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3b2def2198 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f3b40113f6e in start_thread (arg=0x7f3b28667700) at pthread_create.c:311
#3  0x00007f3b44dc89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f3b21d7d700 (LWP 4461)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3b45bab806 in wait (time=18446744073709551615, this=0xdd9fb0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xe0c490, mutex=mutex@entry=0xe0c488, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5c4e in Digikam::ScanController::run (this=0xddd7c0) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f3b45bab31f in QThreadPrivate::start (arg=0xddd7c0) at thread/qthread_unix.cpp:349
#5  0x00007f3b40113f6e in start_thread (arg=0x7f3b21d7d700) at pthread_create.c:311
#6  0x00007f3b44dc89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f3b2157c700 (LWP 4462)):
#0  0x00007f3b44dbbf7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3b3d6e66a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b3d6e67ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3b45cdaaf6 in QEventDispatcherGlib::processEvents (this=0x7f3b140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f3b45cac30f in QEventLoop::processEvents (this=this@entry=0x7f3b2157bab0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3b45cac605 in QEventLoop::exec (this=this@entry=0x7f3b2157bab0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3b45ba8c4f in QThread::exec (this=this@entry=0xe69200) at thread/qthread.cpp:537
#7  0x00007f3b45c8da33 in QInotifyFileSystemWatcherEngine::run (this=0xe69200) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f3b45bab31f in QThreadPrivate::start (arg=0xe69200) at thread/qthread_unix.cpp:349
#9  0x00007f3b40113f6e in start_thread (arg=0x7f3b2157c700) at pthread_create.c:311
#10 0x00007f3b44dc89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f3b20d7b700 (LWP 4464)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3b45bab806 in wait (time=18446744073709551615, this=0x1187f60) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1187bd0, mutex=mutex@entry=0x1187bc8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3b48a2b16a in Digikam::ParkingThread::run (this=0x1187bb0) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f3b45bab31f in QThreadPrivate::start (arg=0x1187bb0) at thread/qthread_unix.cpp:349
#5  0x00007f3b40113f6e in start_thread (arg=0x7f3b20d7b700) at pthread_create.c:311
#6  0x00007f3b44dc89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f3b13577700 (LWP 4465)):
#0  0x00007f3b44dbbf7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3b3d6e66a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b3d6e67ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3b45cdaaf6 in QEventDispatcherGlib::processEvents (this=0x7f3b0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f3b45cac30f in QEventLoop::processEvents (this=this@entry=0x7f3b13576ab0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3b45cac605 in QEventLoop::exec (this=this@entry=0x7f3b13576ab0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3b45ba8c4f in QThread::exec (this=this@entry=0x1608ac0) at thread/qthread.cpp:537
#7  0x00007f3b45c8da33 in QInotifyFileSystemWatcherEngine::run (this=0x1608ac0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f3b45bab31f in QThreadPrivate::start (arg=0x1608ac0) at thread/qthread_unix.cpp:349
#9  0x00007f3b40113f6e in start_thread (arg=0x7f3b13577700) at pthread_create.c:311
#10 0x00007f3b44dc89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f3aef7fe700 (LWP 4535)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f3b45ba9dc3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x10087e0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x10087e0, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f3b45ba6255 in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f3b48a1037a in Digikam::PreviewLoadingTask::execute (this=0x30bd650) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/previewtask.cpp:445
#5  0x00007f3b489ff436 in Digikam::LoadSaveThread::run (this=0x160a050) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/loadsavethread.cpp:136
#6  0x00007f3b48a2cfae in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x160a150) at /build/buildd/digikam-3.4.0/core/libs/threads/dynamicthread.cpp:186
#7  0x00007f3b45b9efce in QThreadPoolThread::run (this=0x2bc4ae0) at concurrent/qthreadpool.cpp:108
#8  0x00007f3b45bab31f in QThreadPrivate::start (arg=0x2bc4ae0) at thread/qthread_unix.cpp:349
#9  0x00007f3b40113f6e in start_thread (arg=0x7f3aef7fe700) at pthread_create.c:311
#10 0x00007f3b44dc89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f3a91ffb700 (LWP 4536)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f3b45ba9dc3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x10087e0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x10087e0, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f3b45ba6255 in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f3b48a0ff25 in Digikam::PreviewLoadingTask::execute (this=0x52d5070) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/previewtask.cpp:70
#5  0x00007f3b489ff436 in Digikam::LoadSaveThread::run (this=0x1609e40) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/loadsavethread.cpp:136
#6  0x00007f3b48a2cfae in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1609f40) at /build/buildd/digikam-3.4.0/core/libs/threads/dynamicthread.cpp:186
#7  0x00007f3b45b9efce in QThreadPoolThread::run (this=0x2bc01d0) at concurrent/qthreadpool.cpp:108
#8  0x00007f3b45bab31f in QThreadPrivate::start (arg=0x2bc01d0) at thread/qthread_unix.cpp:349
#9  0x00007f3b40113f6e in start_thread (arg=0x7f3a91ffb700) at pthread_create.c:311
#10 0x00007f3b44dc89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f3b4b463a80 (LWP 4459)):
[KCrash Handler]
#6  QList<Digikam::LoadingProcessListener*>::removeAll (this=0x30bd848, _t=@0x7fffcf725978: 0x30bd830) at /usr/include/qt4/QtCore/qlist.h:784
#7  0x00007f3b48a0d6da in Digikam::SharedLoadingTask::removeListener (this=<optimized out>, listener=0x30bd830) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/loadsavetask.cpp:413
#8  0x00007f3b48a0c9ac in Digikam::SharedLoadingTask::setStatus (this=0x30bd650, status=<optimized out>) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/loadsavetask.cpp:382
#9  0x00007f3b48a02756 in Digikam::ManagedLoadSaveThread::removeLoadingTasks (this=this@entry=0x160a050, description=..., filter=filter@entry=Digikam::ManagedLoadSaveThread::LoadingTaskFilterAll) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/managedloadsavethread.cpp:565
#10 0x00007f3b48a027e3 in Digikam::ManagedLoadSaveThread::stopLoading (this=0x160a050, filePath=..., filter=filter@entry=Digikam::ManagedLoadSaveThread::LoadingTaskFilterAll) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/managedloadsavethread.cpp:491
#11 0x00007f3b48ad6311 in Digikam::DImgPreviewItem::setPath (this=this@entry=0x1609ab0, path=..., rePreview=rePreview@entry=false) at /build/buildd/digikam-3.4.0/core/libs/widgets/graphicsview/dimgpreviewitem.cpp:158
#12 0x0000000000662d55 in setImageInfo (info=..., this=0x1609ab0) at /build/buildd/digikam-3.4.0/core/digikam/views/imagepreviewview.cpp:98
#13 Digikam::ImagePreviewView::setImageInfo (this=0x15fd4d0, info=..., previous=..., next=...) at /build/buildd/digikam-3.4.0/core/digikam/views/imagepreviewview.cpp:311
#14 0x00000000006594f6 in Digikam::StackedView::setPreviewItem (this=0x1348690, info=..., previous=..., next=...) at /build/buildd/digikam-3.4.0/core/digikam/views/stackedview.cpp:322
#15 0x000000000065eabd in Digikam::DigikamView::slotDispatchImageSelected (this=0x1336710) at /build/buildd/digikam-3.4.0/core/digikam/views/digikamview.cpp:1285
#16 0x0000000000661a20 in Digikam::DigikamView::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-3.4.0/obj-x86_64-linux-gnu/core/digikam/digikamview.moc:332
#17 0x00007f3b45cc1ae8 in QMetaObject::activate (sender=0x22f0430, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#18 0x00007f3b45cc5cb1 in QObject::event (this=0x22f0430, e=<optimized out>) at kernel/qobject.cpp:1156
#19 0x00007f3b4669fe7c in QApplicationPrivate::notify_helper (this=this@entry=0xd0e340, receiver=receiver@entry=0x22f0430, e=e@entry=0x7fffcf726290) at kernel/qapplication.cpp:4567
#20 0x00007f3b466a64f0 in QApplication::notify (this=this@entry=0x7fffcf726a30, receiver=receiver@entry=0x22f0430, e=e@entry=0x7fffcf726290) at kernel/qapplication.cpp:4353
#21 0x00007f3b473aac6a in KApplication::notify (this=0x7fffcf726a30, receiver=0x22f0430, event=0x7fffcf726290) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f3b45cad73d in QCoreApplication::notifyInternal (this=0x7fffcf726a30, receiver=0x22f0430, event=0x7fffcf726290) at kernel/qcoreapplication.cpp:953
#23 0x00007f3b45cdd5a3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QTimerInfoList::activateTimers (this=0xd0e770) at kernel/qeventdispatcher_unix.cpp:621
#25 0x00007f3b45cda8d9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#26 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#27 0x00007f3b3d6e63b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f3b3d6e6708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f3b3d6e67ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f3b45cdaad5 in QEventDispatcherGlib::processEvents (this=0xc6e180, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#31 0x00007f3b46741cb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f3b45cac30f in QEventLoop::processEvents (this=this@entry=0x7fffcf726510, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f3b45cac605 in QEventLoop::exec (this=this@entry=0x7fffcf726510, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f3b45cb1deb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#35 0x00007f3b4669e3cc in QApplication::exec () at kernel/qapplication.cpp:3828
#36 0x0000000000491ef3 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.4.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 307281.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-02-01 21:43:22 UTC

*** This bug has been marked as a duplicate of bug 307281 ***
Comment 2 caulier.gilles 2020-09-22 04:20:54 UTC
Fixed with #307281