Bug 286641

Summary: Digikam crash while loading a new collection
Product: [Applications] digikam Reporter: Jim Shipman <JimShip>
Component: Metadata-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 7.1.0
Sentry Crash Report:

Description Jim Shipman 2011-11-15 00:55:32 UTC
Application: digikam (2.3.0)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.8.0
Operating System: Linux 3.1.0-7.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
I had just added a new collection of videos in the configure catalog and digikam was loading from the new collection.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fced744aa40 (LWP 20447))]

Thread 6 (Thread 0x7fcec7f96700 (LWP 20449)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003e8467c02b in wait (time=18446744073709551615, this=0x28ea1e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x28ea0d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005c5d30 in Digikam::ScanController::run (this=0x28e9e70) at /usr/src/debug/digikam-2.3.0/core/digikam/database/scancontroller.cpp:647
#4  0x0000003e8467bb1b in QThreadPrivate::start (arg=0x28e9e70) at thread/qthread_unix.cpp:298
#5  0x00007fced1bbfd90 in start_thread (arg=0x7fcec7f96700) at pthread_create.c:309
#6  0x00007fced15ff1dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fcec7795700 (LWP 20451)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003e8467c02b in wait (time=18446744073709551615, this=0x2b24380) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b240e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fced4d476a9 in Digikam::ParkingThread::run (this=0x2b240d0) at /usr/src/debug/digikam-2.3.0/core/libs/threads/threadmanager.cpp:119
#4  0x0000003e8467bb1b in QThreadPrivate::start (arg=0x2b240d0) at thread/qthread_unix.cpp:298
#5  0x00007fced1bbfd90 in start_thread (arg=0x7fcec7795700) at pthread_create.c:309
#6  0x00007fced15ff1dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fcea9576700 (LWP 20467)):
#0  0x0000003e78a19090 in g_ptr_array_set_size (farray=0x7fcea4001ac0, length=0) at garray.c:1041
#1  0x0000003e78a43f26 in g_main_context_prepare (context=0x7fce9c0009a0, priority=0x7fcea9575a18) at gmain.c:2717
#2  0x0000003e78a44e1d in g_main_context_iterate (context=0x7fce9c0009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#3  0x0000003e78a4544c in g_main_context_iteration (context=0x7fce9c0009a0, may_block=1) at gmain.c:3136
#4  0x0000003e847a6896 in QEventDispatcherGlib::processEvents (this=0x7fce9c0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003e84776c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003e84776ed7 in QEventLoop::exec (this=0x7fcea9575b40, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003e84678ad7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x0000003e8467bb1b in QThreadPrivate::start (arg=0x7fcea4002a30) at thread/qthread_unix.cpp:298
#9  0x00007fced1bbfd90 in start_thread (arg=0x7fcea9576700) at pthread_create.c:309
#10 0x00007fced15ff1dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fcea3fff700 (LWP 20539)):
#0  __GI_clock_gettime (clock_id=1, tp=0x7fcea3ffe850) at ../sysdeps/unix/clock_gettime.c:116
#1  0x0000003e846d2004 in do_gettime (frac=0x7fcea3ffe868, sec=0x7fcea3ffe860) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0000003e847a6f9d in QTimerInfoList::updateCurrentTime (this=0x7fce9808e3c0) at kernel/qeventdispatcher_unix.cpp:343
#4  0x0000003e847a72d3 in QTimerInfoList::timerWait (this=0x7fce9808e3c0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x0000003e847a5d6c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fcea3ffe94c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0000003e847a5e15 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0000003e78a44012 in g_main_context_prepare (context=0x7fce9808ea60, priority=0x7fcea3ffe9b8) at gmain.c:2746
#8  0x0000003e78a44e1d in g_main_context_iterate (context=0x7fce9808ea60, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#9  0x0000003e78a4544c in g_main_context_iteration (context=0x7fce9808ea60, may_block=1) at gmain.c:3136
#10 0x0000003e847a6896 in QEventDispatcherGlib::processEvents (this=0x7fce9809afb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#11 0x0000003e84776c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x0000003e84776ed7 in QEventLoop::exec (this=0x7fcea3ffeae0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007fced4d46cbe in Digikam::WorkerObjectRunnable::run (this=0x213373b0) at /usr/src/debug/digikam-2.3.0/core/libs/threads/threadmanager.cpp:196
#14 0x0000003e8466f492 in QThreadPoolThread::run (this=0x33cc6c20) at concurrent/qthreadpool.cpp:107
#15 0x0000003e8467bb1b in QThreadPrivate::start (arg=0x33cc6c20) at thread/qthread_unix.cpp:298
#16 0x00007fced1bbfd90 in start_thread (arg=0x7fcea3fff700) at pthread_create.c:309
#17 0x00007fced15ff1dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fcea27fc700 (LWP 20540)):
#0  0x00007fced15f6833 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003e78a44f88 in g_main_context_poll (n_fds=1, fds=0x7fce88335e50, priority=<optimized out>, timeout=-1, context=0x7fce883a0630) at gmain.c:3386
#2  g_main_context_iterate (context=0x7fce883a0630, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x0000003e78a4544c in g_main_context_iteration (context=0x7fce883a0630, may_block=1) at gmain.c:3136
#4  0x0000003e847a6896 in QEventDispatcherGlib::processEvents (this=0x7fce88010e90, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003e84776c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003e84776ed7 in QEventLoop::exec (this=0x7fcea27fbae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fced4d46cbe in Digikam::WorkerObjectRunnable::run (this=0x33d14540) at /usr/src/debug/digikam-2.3.0/core/libs/threads/threadmanager.cpp:196
#8  0x0000003e8466f492 in QThreadPoolThread::run (this=0x33ba6230) at concurrent/qthreadpool.cpp:107
#9  0x0000003e8467bb1b in QThreadPrivate::start (arg=0x33ba6230) at thread/qthread_unix.cpp:298
#10 0x00007fced1bbfd90 in start_thread (arg=0x7fcea27fc700) at pthread_create.c:309
#11 0x00007fced15ff1dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fced744aa40 (LWP 20447)):
[KCrash Handler]
#6  fontMetrics (this=<optimized out>) at /usr/include/QtGui/qwidget.h:982
#7  updateHeight (this=<optimized out>) at /usr/src/debug/digikam-2.3.0/core/digikam/album/albumtreeview.cpp:113
#8  Digikam::AbstractAlbumTreeView::albumSettingsChanged (this=<optimized out>) at /usr/src/debug/digikam-2.3.0/core/digikam/album/albumtreeview.cpp:1061
#9  0x00000000005bcc15 in Digikam::AbstractAlbumTreeView::qt_static_metacall (_o=0x33e54ab0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/digikam-2.3.0/x86_64-redhat-linux-gnu/core/digikam/albumtreeview.moc:101
#10 0x0000003e8478b7d1 in QMetaObject::activate (sender=0x29c0a20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3546
#11 0x00000000004d05fb in Digikam::Setup::okClicked (this=0x36478ae0) at /usr/src/debug/digikam-2.3.0/core/utilities/setup/setup.cpp:485
#12 0x00007fced2460ce4 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.7.3/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:167
#13 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdelibs-4.7.3/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:127
#14 0x0000003e8478b7d1 in QMetaObject::activate (sender=0x216a06a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff52925b70) at kernel/qobject.cpp:3546
#15 0x0000003e8479308e in QSignalMapper::mapped (this=<optimized out>, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:115
#16 0x0000003e8479362b in QSignalMapper::map (this=0x216a06a0, sender=0x207e7fa0) at kernel/qsignalmapper.cpp:266
#17 0x0000003e8478b7d1 in QMetaObject::activate (sender=0x207e7fa0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff52925d00) at kernel/qobject.cpp:3546
#18 0x0000003e8764c702 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#19 0x0000003e8738f36e in QAbstractButtonPrivate::emitClicked (this=0x34e52f50) at widgets/qabstractbutton.cpp:546
#20 0x0000003e873906ab in QAbstractButtonPrivate::click (this=0x34e52f50) at widgets/qabstractbutton.cpp:539
#21 0x0000003e8739091c in QAbstractButton::mouseReleaseEvent (this=0x207e7fa0, e=0x7fff529265d0) at widgets/qabstractbutton.cpp:1121
#22 0x0000003e87019d8a in QWidget::event (this=0x207e7fa0, event=0x7fff529265d0) at kernel/qwidget.cpp:8350
#23 0x0000003e86fc96f4 in notify_helper (e=0x7fff529265d0, receiver=0x207e7fa0, this=0x267e930) at kernel/qapplication.cpp:4518
#24 QApplicationPrivate::notify_helper (this=0x267e930, receiver=0x207e7fa0, e=0x7fff529265d0) at kernel/qapplication.cpp:4490
#25 0x0000003e86fcee43 in QApplication::notify (this=<optimized out>, receiver=0x207e7fa0, e=0x7fff529265d0) at kernel/qapplication.cpp:4061
#26 0x00007fced2508396 in KApplication::notify (this=0x7fff52928e40, receiver=0x207e7fa0, event=0x7fff529265d0) at /usr/src/debug/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#27 0x0000003e84777b4c in QCoreApplication::notifyInternal (this=0x7fff52928e40, receiver=0x207e7fa0, event=0x7fff529265d0) at kernel/qcoreapplication.cpp:876
#28 0x0000003e86fca6c2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#29 QApplicationPrivate::sendMouseEvent (receiver=0x207e7fa0, event=0x7fff529265d0, alienWidget=0x207e7fa0, nativeWidget=0x2b4a6b0, buttonDown=0x207e7fa0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3157
#30 0x0000003e87046045 in QETWidget::translateMouseEvent (this=0x2b4a6b0, event=<optimized out>) at kernel/qapplication_x11.cpp:4515
#31 0x0000003e87044f0a in QApplication::x11ProcessEvent (this=0x7fff52928e40, event=0x7fff52926e90) at kernel/qapplication_x11.cpp:3641
#32 0x0000003e8706c74c in x11EventSourceDispatch (s=0x2683600, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#33 0x0000003e78a44a7d in g_main_dispatch (context=0x2682440) at gmain.c:2425
#34 g_main_context_dispatch (context=0x2682440) at gmain.c:2995
#35 0x0000003e78a45278 in g_main_context_iterate (context=0x2682440, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#36 0x0000003e78a4544c in g_main_context_iteration (context=0x2682440, may_block=1) at gmain.c:3136
#37 0x0000003e847a682f in QEventDispatcherGlib::processEvents (this=0x267e650, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#38 0x0000003e8706c43e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#39 0x0000003e84776c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x0000003e84776ed7 in QEventLoop::exec (this=0x7fff52927260, flags=...) at kernel/qeventloop.cpp:204
#41 0x0000003e8748f556 in QDialog::exec (this=0x36478ae0) at dialogs/qdialog.cpp:552
#42 0x00000000004d0a80 in Digikam::Setup::exec (parent=0x2939750, page=Digikam::Setup::LastPageUsed) at /usr/src/debug/digikam-2.3.0/core/utilities/setup/setup.cpp:412
#43 0x000000000057c57a in Digikam::DigikamApp::qt_static_metacall (_o=0x2939750, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/digikam-2.3.0/x86_64-redhat-linux-gnu/core/digikam/digikamapp.moc:231
#44 0x0000003e8478b7d1 in QMetaObject::activate (sender=0x378f3e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff52927460) at kernel/qobject.cpp:3546
#45 0x0000003e86fc3512 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#46 0x0000003e86fc36ff in QAction::activate (this=0x378f3e0, event=<optimized out>) at kernel/qaction.cpp:1257
#47 0x0000003e8740c569 in QMenuPrivate::activateCausedStack (this=0x3a30740, causedStack=..., action=0x378f3e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#48 0x0000003e87412662 in QMenuPrivate::activateAction (this=0x3a30740, action=0x378f3e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#49 0x00007fced25c9860 in KMenu::mouseReleaseEvent (this=0x3a30450, e=0x7fff52928030) at /usr/src/debug/kdelibs-4.7.3/kdeui/widgets/kmenu.cpp:464
#50 0x0000003e87019d8a in QWidget::event (this=0x3a30450, event=0x7fff52928030) at kernel/qwidget.cpp:8350
#51 0x0000003e87413bfb in QMenu::event (this=0x3a30450, e=0x7fff52928030) at widgets/qmenu.cpp:2460
#52 0x0000003e86fc96f4 in notify_helper (e=0x7fff52928030, receiver=0x3a30450, this=0x267e930) at kernel/qapplication.cpp:4518
#53 QApplicationPrivate::notify_helper (this=0x267e930, receiver=0x3a30450, e=0x7fff52928030) at kernel/qapplication.cpp:4490
#54 0x0000003e86fcee43 in QApplication::notify (this=<optimized out>, receiver=0x3a30450, e=0x7fff52928030) at kernel/qapplication.cpp:4061
#55 0x00007fced2508396 in KApplication::notify (this=0x7fff52928e40, receiver=0x3a30450, event=0x7fff52928030) at /usr/src/debug/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#56 0x0000003e84777b4c in QCoreApplication::notifyInternal (this=0x7fff52928e40, receiver=0x3a30450, event=0x7fff52928030) at kernel/qcoreapplication.cpp:876
#57 0x0000003e86fca6c2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#58 QApplicationPrivate::sendMouseEvent (receiver=0x3a30450, event=0x7fff52928030, alienWidget=0x0, nativeWidget=0x3a30450, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3157
#59 0x0000003e870466f1 in QETWidget::translateMouseEvent (this=0x3a30450, event=<optimized out>) at kernel/qapplication_x11.cpp:4449
#60 0x0000003e87044f0a in QApplication::x11ProcessEvent (this=0x7fff52928e40, event=0x7fff529288f0) at kernel/qapplication_x11.cpp:3641
#61 0x0000003e8706c74c in x11EventSourceDispatch (s=0x2683600, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#62 0x0000003e78a44a7d in g_main_dispatch (context=0x2682440) at gmain.c:2425
#63 g_main_context_dispatch (context=0x2682440) at gmain.c:2995
#64 0x0000003e78a45278 in g_main_context_iterate (context=0x2682440, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#65 0x0000003e78a4544c in g_main_context_iteration (context=0x2682440, may_block=1) at gmain.c:3136
#66 0x0000003e847a682f in QEventDispatcherGlib::processEvents (this=0x267e650, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#67 0x0000003e8706c43e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#68 0x0000003e84776c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#69 0x0000003e84776ed7 in QEventLoop::exec (this=0x7fff52928cc0, flags=...) at kernel/qeventloop.cpp:204
#70 0x0000003e8477b8d5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#71 0x000000000048b93d in main (argc=5, argv=<optimized out>) at /usr/src/debug/digikam-2.3.0/core/digikam/main/main.cpp:232

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

Possible duplicates by query: bug 276999.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-11-15 09:58:31 UTC
Same backtrace than #276999. Look the story in this thread...

Gilles Caulier

*** This bug has been marked as a duplicate of bug 276999 ***
Comment 2 caulier.gilles 2020-08-30 15:47:42 UTC
Fixed with #276999