Bug 329135

Summary: digiKam crases while editing tag information
Product: [Applications] digikam Reporter: Oleg <prcoder>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 3.5.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 7.4.0
Sentry Crash Report:

Description Oleg 2013-12-22 20:31:36 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.11.4
Qt Version: 4.8.5
Operating System: Linux 3.12.5-302.fc20.i686+PAE i686
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
digiKam crases while editing tag information

The crash can be reproduced sometimes.

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

Thread 9 (Thread 0xb48d2b40 (LWP 11788)):
#0  0xb7732424 in __kernel_vsyscall ()
#1  0x48dd07ac in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0x4edf0de5 in wait (time=4294967295, this=0x9225318) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=this@entry=0x922528c, mutex=mutex@entry=0x9225288, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x0821c41c in Digikam::ScanController::run (this=0x9226218) at /usr/src/debug/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#5  0x4edf081b in QThreadPrivate::start (arg=0x9226218) at thread/qthread_unix.cpp:338
#6  0x4d1670c1 in ?? () from /usr/lib/nvidia-304xx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0xb3effb40 (LWP 11789)):
#0  g_main_context_iterate (context=context@entry=0xb3500500, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3661
#1  0x4c6b69e9 in g_main_context_iteration (context=0xb3500500, may_block=1) at gmain.c:3774
#2  0x4ef3d62f in QEventDispatcherGlib::processEvents (this=0xb3500488, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#3  0x4ef0a3b0 in QEventLoop::processEvents (this=this@entry=0xb3efefb4, flags=...) at kernel/qeventloop.cpp:149
#4  0x4ef0a741 in QEventLoop::exec (this=this@entry=0xb3efefb4, flags=...) at kernel/qeventloop.cpp:204
#5  0x4ededd55 in QThread::exec (this=this@entry=0x9217290) at thread/qthread.cpp:536
#6  0x4eee91e1 in QInotifyFileSystemWatcherEngine::run (this=0x9217290) at io/qfilesystemwatcher_inotify.cpp:256
#7  0x4edf081b in QThreadPrivate::start (arg=0x9217290) at thread/qthread_unix.cpp:338
#8  0x4d1670c1 in ?? () from /usr/lib/nvidia-304xx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 0xb34ffb40 (LWP 11791)):
#0  0xb7732424 in __kernel_vsyscall ()
#1  0x48dd07ac in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0x4edf0de5 in wait (time=4294967295, this=0x9679910) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=this@entry=0x934cb58, mutex=mutex@entry=0x934cb54, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x44523a94 in Digikam::ParkingThread::run (this=0x934cb48) at /usr/src/debug/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#5  0x4edf081b in QThreadPrivate::start (arg=0x934cb48) at thread/qthread_unix.cpp:338
#6  0x4d1670c1 in ?? () from /usr/lib/nvidia-304xx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xa963ab40 (LWP 11799)):
#0  0xb7732424 in __kernel_vsyscall ()
#1  0x48cbbdd2 in __GI___clock_gettime (clock_id=1, tp=0xa9639d44) at ../sysdeps/unix/clock_gettime.c:115
#2  0x4ee4f5dd in do_gettime (frac=0xa9639d38, sec=0xa9639d30) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x4ef3f013 in updateCurrentTime (this=0xa8b1964) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xa8b1964, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x4ef3d42b in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa9639e38) at kernel/qeventdispatcher_glib.cpp:136
#7  0x4ef3d4dd in timerSourcePrepare (source=0xa8b1930, timeout=timeout@entry=0xa9639e38) at kernel/qeventdispatcher_glib.cpp:169
#8  0x4c6b5dbf in g_main_context_prepare (context=<optimized out>, context@entry=0xa8b04f0, priority=priority@entry=0xa9639e94) at gmain.c:3340
#9  0x4c6b6787 in g_main_context_iterate (context=context@entry=0xa8b04f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3693
#10 0x4c6b69e9 in g_main_context_iteration (context=0xa8b04f0, may_block=1) at gmain.c:3774
#11 0x4ef3d62f in QEventDispatcherGlib::processEvents (this=0xa8b0890, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#12 0x4ef0a3b0 in QEventLoop::processEvents (this=this@entry=0xa9639fb4, flags=...) at kernel/qeventloop.cpp:149
#13 0x4ef0a741 in QEventLoop::exec (this=this@entry=0xa9639fb4, flags=...) at kernel/qeventloop.cpp:204
#14 0x4452301e in Digikam::WorkerObjectRunnable::run (this=0xc7e6038) at /usr/src/debug/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#15 0x4ede2fc0 in QThreadPoolThread::run (this=0xa8afd50) at concurrent/qthreadpool.cpp:107
#16 0x4edf081b in QThreadPrivate::start (arg=0xa8afd50) at thread/qthread_unix.cpp:338
#17 0x4d1670c1 in ?? () from /usr/lib/nvidia-304xx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xa4ffdb40 (LWP 11806)):
#0  __GI___pthread_mutex_lock (mutex=0xa8c6cd0) at ../nptl/pthread_mutex_lock.c:163
#1  0x4c6fbff1 in g_mutex_lock (mutex=mutex@entry=0xa8d7048) at gthread-posix.c:213
#2  0x4c6b5dc9 in g_main_context_prepare (context=<optimized out>, context@entry=0xa8d7048, priority=priority@entry=0xa4ffce94) at gmain.c:3342
#3  0x4c6b6787 in g_main_context_iterate (context=context@entry=0xa8d7048, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3693
#4  0x4c6b69e9 in g_main_context_iteration (context=0xa8d7048, may_block=1) at gmain.c:3774
#5  0x4ef3d62f in QEventDispatcherGlib::processEvents (this=0xa8c6cc0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x4ef0a3b0 in QEventLoop::processEvents (this=this@entry=0xa4ffcfb4, flags=...) at kernel/qeventloop.cpp:149
#7  0x4ef0a741 in QEventLoop::exec (this=this@entry=0xa4ffcfb4, flags=...) at kernel/qeventloop.cpp:204
#8  0x4452301e in Digikam::WorkerObjectRunnable::run (this=0x818bf730) at /usr/src/debug/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#9  0x4ede2fc0 in QThreadPoolThread::run (this=0xa8b6438) at concurrent/qthreadpool.cpp:107
#10 0x4edf081b in QThreadPrivate::start (arg=0xa8b6438) at thread/qthread_unix.cpp:338
#11 0x4d1670c1 in ?? () from /usr/lib/nvidia-304xx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0x9dfefb40 (LWP 11899)):
#0  0xb7732424 in __kernel_vsyscall ()
#1  0x48cbbdd2 in __GI___clock_gettime (clock_id=1, tp=0x9dfeed44) at ../sysdeps/unix/clock_gettime.c:115
#2  0x4ee4f5dd in do_gettime (frac=0x9dfeed38, sec=0x9dfeed30) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x4ef3f013 in updateCurrentTime (this=0x808cd584) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x808cd584, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x4ef3d42b in timerSourcePrepareHelper (src=<optimized out>, timeout=0x9dfeee38) at kernel/qeventdispatcher_glib.cpp:136
#7  0x4ef3d4dd in timerSourcePrepare (source=0x808cd550, timeout=timeout@entry=0x9dfeee38) at kernel/qeventdispatcher_glib.cpp:169
#8  0x4c6b5dbf in g_main_context_prepare (context=<optimized out>, context@entry=0x7bd7d960, priority=priority@entry=0x9dfeee94) at gmain.c:3340
#9  0x4c6b6787 in g_main_context_iterate (context=context@entry=0x7bd7d960, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3693
#10 0x4c6b69e9 in g_main_context_iteration (context=0x7bd7d960, may_block=1) at gmain.c:3774
#11 0x4ef3d62f in QEventDispatcherGlib::processEvents (this=0x808dc4d8, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#12 0x4ef0a3b0 in QEventLoop::processEvents (this=this@entry=0x9dfeefb4, flags=...) at kernel/qeventloop.cpp:149
#13 0x4ef0a741 in QEventLoop::exec (this=this@entry=0x9dfeefb4, flags=...) at kernel/qeventloop.cpp:204
#14 0x4452301e in Digikam::WorkerObjectRunnable::run (this=0xdda8580) at /usr/src/debug/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#15 0x4ede2fc0 in QThreadPoolThread::run (this=0xa6afdb0) at concurrent/qthreadpool.cpp:107
#16 0x4edf081b in QThreadPrivate::start (arg=0xa6afdb0) at thread/qthread_unix.cpp:338
#17 0x4d1670c1 in ?? () from /usr/lib/nvidia-304xx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xa27f8b40 (LWP 11904)):
#0  0x4c6fbcba in g_mutex_get_impl (mutex=0x82f67310) at gthread-posix.c:124
#1  0x4c6fc029 in g_mutex_unlock (mutex=mutex@entry=0x82f67310) at gthread-posix.c:232
#2  0x4c6b6262 in g_main_context_check (context=context@entry=0x82f67310, max_priority=2147483647, fds=fds@entry=0x80d40150, n_fds=n_fds@entry=1) at gmain.c:3555
#3  0x4c6b6822 in g_main_context_iterate (context=context@entry=0x82f67310, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3710
#4  0x4c6b69e9 in g_main_context_iteration (context=0x82f67310, may_block=1) at gmain.c:3774
#5  0x4ef3d62f in QEventDispatcherGlib::processEvents (this=0xb2b504c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x4ef0a3b0 in QEventLoop::processEvents (this=this@entry=0xa27f7fb4, flags=...) at kernel/qeventloop.cpp:149
#7  0x4ef0a741 in QEventLoop::exec (this=this@entry=0xa27f7fb4, flags=...) at kernel/qeventloop.cpp:204
#8  0x4452301e in Digikam::WorkerObjectRunnable::run (this=0xe223010) at /usr/src/debug/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#9  0x4ede2fc0 in QThreadPoolThread::run (this=0xa6b348c8) at concurrent/qthreadpool.cpp:107
#10 0x4edf081b in QThreadPrivate::start (arg=0xa6b348c8) at thread/qthread_unix.cpp:338
#11 0x4d1670c1 in ?? () from /usr/lib/nvidia-304xx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa17f6b40 (LWP 11905)):
#0  0xb7732424 in __kernel_vsyscall ()
#1  0x48ca13ab in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0x4c6c5f9c in poll (__timeout=__timeout@entry=-1, __nfds=__nfds@entry=1, __fds=__fds@entry=0xb2b4ffe0) at /usr/include/bits/poll2.h:46
#3  g_poll (fds=fds@entry=0xb2b4ffe0, nfds=nfds@entry=1, timeout=timeout@entry=-1) at gpoll.c:132
#4  0x4c6b68a0 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0xb2b4ffe0, timeout=-1, context=0x882dd5a8) at gmain.c:4007
#5  g_main_context_iterate (context=context@entry=0x882dd5a8, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3708
#6  0x4c6b69e9 in g_main_context_iteration (context=0x882dd5a8, may_block=1) at gmain.c:3774
#7  0x4ef3d62f in QEventDispatcherGlib::processEvents (this=0x82f7da18, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#8  0x4ef0a3b0 in QEventLoop::processEvents (this=this@entry=0xa17f5fb4, flags=...) at kernel/qeventloop.cpp:149
#9  0x4ef0a741 in QEventLoop::exec (this=this@entry=0xa17f5fb4, flags=...) at kernel/qeventloop.cpp:204
#10 0x4452301e in Digikam::WorkerObjectRunnable::run (this=0xe330f48) at /usr/src/debug/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#11 0x4ede2fc0 in QThreadPoolThread::run (this=0xa8b5148) at concurrent/qthreadpool.cpp:107
#12 0x4edf081b in QThreadPrivate::start (arg=0xa8b5148) at thread/qthread_unix.cpp:338
#13 0x4d1670c1 in ?? () from /usr/lib/nvidia-304xx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb76c5940 (LWP 11778)):
[KCrash Handler]
#7  0x08260762 in data (arole=37, this=0xe384ef8) at /usr/include/QtCore/qabstractitemmodel.h:402
#8  Digikam::AssignNameOverlay::checkIndex (this=0x9859238, index=...) at /usr/src/debug/digikam-3.5.0/core/digikam/items/assignnameoverlay.cpp:239
#9  0x4457e30c in Digikam::AbstractWidgetDelegateOverlay::checkIndexOnEnter (this=0x9859238, index=...) at /usr/src/debug/digikam-3.5.0/core/libs/widgets/itemview/imagedelegateoverlay.cpp:282
#10 0x4457e3b8 in Digikam::PersistentWidgetDelegateOverlay::slotEntered (this=0x9859238, index=...) at /usr/src/debug/digikam-3.5.0/core/libs/widgets/itemview/imagedelegateoverlay.cpp:577
#11 0x4457e7c3 in Digikam::PersistentWidgetDelegateOverlay::setPersistent (this=0x9859238, persistent=false) at /usr/src/debug/digikam-3.5.0/core/libs/widgets/itemview/imagedelegateoverlay.cpp:536
#12 0x4457e964 in Digikam::PersistentWidgetDelegateOverlay::leavePersistentMode (this=this@entry=0x9859238) at /usr/src/debug/digikam-3.5.0/core/libs/widgets/itemview/imagedelegateoverlay.cpp:558
#13 0x082616e4 in Digikam::AssignNameOverlay::eventFilter (this=0x9859238, o=0xcef1740, e=0xbfd6721c) at /usr/src/debug/digikam-3.5.0/core/digikam/items/assignnameoverlay.cpp:349
#14 0x4ef0bbee in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x9091a60, receiver=receiver@entry=0xcef1740, event=event@entry=0xbfd6721c) at kernel/qcoreapplication.cpp:1059
#15 0x419f3062 in QApplicationPrivate::notify_helper (this=0x9091a60, receiver=0xcef1740, e=0xbfd6721c) at kernel/qapplication.cpp:4558
#16 0x419f9fdc in QApplication::notify (this=0xbfd67cd4, receiver=0xcef1740, e=e@entry=0xbfd6721c) at kernel/qapplication.cpp:4348
#17 0x4785ad40 in KApplication::notify (this=0xbfd67cd4, receiver=0xcef1740, event=0xbfd6721c) at /usr/src/debug/kdelibs-4.11.4/kdeui/kernel/kapplication.cpp:311
#18 0x4ef0ba76 in QCoreApplication::notifyInternal (this=0xbfd67cd4, receiver=receiver@entry=0xcef1740, event=event@entry=0xbfd6721c) at kernel/qcoreapplication.cpp:949
#19 0x419f7eac in sendEvent (event=0xbfd6721c, receiver=0xcef1740) at ../../src/corelib/kernel/qcoreapplication.h:231
#20 QApplicationPrivate::setFocusWidget (focus=focus@entry=0x9804d90, reason=reason@entry=Qt::MouseFocusReason) at kernel/qapplication.cpp:2263
#21 0x41a4b5c8 in QWidget::setFocus (this=this@entry=0x9804d90, reason=reason@entry=Qt::MouseFocusReason) at kernel/qwidget.cpp:6464
#22 0x419f17d8 in QApplicationPrivate::giveFocusAccordingToFocusPolicy (widget=0xbef1d40, focusPolicy=focusPolicy@entry=Qt::ClickFocus, focusReason=focusReason@entry=Qt::MouseFocusReason) at kernel/qapplication.cpp:5596
#23 0x419fb8b1 in QApplication::notify (this=0xbfd67cd4, receiver=0xbef1d40, e=e@entry=0xbfd67624) at kernel/qapplication.cpp:4062
#24 0x4785ad40 in KApplication::notify (this=0xbfd67cd4, receiver=0xbef1d40, event=0xbfd67624) at /usr/src/debug/kdelibs-4.11.4/kdeui/kernel/kapplication.cpp:311
#25 0x4ef0ba76 in QCoreApplication::notifyInternal (this=0xbfd67cd4, receiver=receiver@entry=0xbef1d40, event=event@entry=0xbfd67624) at kernel/qcoreapplication.cpp:949
#26 0x419f9782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#27 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xbef1d40, event=0xbfd67624, alienWidget=0xbef1d40, nativeWidget=0x9804d90, buttonDown=buttonDown@entry=0x423ab244 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#28 0x41a7f218 in QETWidget::translateMouseEvent (this=0x9804d90, event=event@entry=0xbfd6783c) at kernel/qapplication_x11.cpp:4538
#29 0x41a7d903 in QApplication::x11ProcessEvent (this=0xbfd67cd4, event=event@entry=0xbfd6783c) at kernel/qapplication_x11.cpp:3661
#30 0x41aa95eb in x11EventSourceDispatch (s=s@entry=0x9092740, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#31 0x4c6b6556 in g_main_dispatch (context=0x90913b8) at gmain.c:3066
#32 g_main_context_dispatch (context=context@entry=0x90913b8) at gmain.c:3642
#33 0x4c6b6920 in g_main_context_iterate (context=context@entry=0x90913b8, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#34 0x4c6b69e9 in g_main_context_iteration (context=0x90913b8, may_block=1) at gmain.c:3774
#35 0x4ef3d610 in QEventDispatcherGlib::processEvents (this=this@entry=0x9023e68, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#36 0x41aa97ac in QGuiEventDispatcherGlib::processEvents (this=0x9023e68, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#37 0x4ef0a3b0 in QEventLoop::processEvents (this=this@entry=0xbfd67b04, flags=...) at kernel/qeventloop.cpp:149
#38 0x4ef0a741 in QEventLoop::exec (this=this@entry=0xbfd67b04, flags=...) at kernel/qeventloop.cpp:204
#39 0x4ef103fb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#40 0x419f1395 in QApplication::exec () at kernel/qapplication.cpp:3823
#41 0x080bc4aa in main (argc=5, argv=0xbfd67e14) at /usr/src/debug/digikam-3.5.0/core/digikam/main/main.cpp:235

The reporter indicates this bug may be a duplicate of or related to bug 297558.

Possible duplicates by query: bug 326689, bug 315497.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-12-22 20:55:15 UTC

*** This bug has been marked as a duplicate of bug 297558 ***
Comment 2 caulier.gilles 2021-08-26 16:59:18 UTC
Fixed with #297558