Bug 305288

Summary: Crash in digiKam when editing shortcuts
Product: [Applications] digikam Reporter: Andrei ILIE <andrei.ilie>
Component: Usability-KeyboardAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.7.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 6.3.0
Sentry Crash Report:

Description Andrei ILIE 2012-08-16 20:26:20 UTC
Application: digikam (2.7.0)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.2
Operating System: Linux 3.5.1-1.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

I was assigning a keyboard shortcut to a tag when the crash happened.

-- 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 0x7f21f1464a80 (LWP 8566))]

Thread 5 (Thread 0x7f21e6c8c700 (LWP 8567)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000037f2a7baeb in wait (time=18446744073709551615, this=0x2f7c7f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2f7c6e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005c8d38 in ?? ()
#4  0x00000037f2a7b5eb in QThreadPrivate::start (arg=0x2f7c480) at thread/qthread_unix.cpp:307
#5  0x00007f21f2cd9d14 in start_thread (arg=0x7f21e6c8c700) at pthread_create.c:309
#6  0x00007f21f2a0ad2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f21e648b700 (LWP 8568)):
#0  timerSourceCheckHelper (src=0x7f21d8002600) at kernel/qeventdispatcher_glib.cpp:146
#1  0x00000037e8e4747b in g_main_context_check (context=context@entry=0x7f21d80009a0, max_priority=2147483647, fds=fds@entry=0x7f21d8002a00, n_fds=n_fds@entry=1) at gmain.c:3023
#2  0x00000037e8e47902 in g_main_context_iterate (context=context@entry=0x7f21d80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3143
#3  0x00000037e8e47a84 in g_main_context_iteration (context=0x7f21d80009a0, may_block=1) at gmain.c:3207
#4  0x00000037f2ba4506 in QEventDispatcherGlib::processEvents (this=0x7f21d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00000037f2b7513f in QEventLoop::processEvents (this=this@entry=0x7f21e648aaf0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000037f2b753c8 in QEventLoop::exec (this=0x7f21e648aaf0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00000037f2a78650 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00000037f2b55b4f in QInotifyFileSystemWatcherEngine::run (this=0x2f62710) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00000037f2a7b5eb in QThreadPrivate::start (arg=0x2f62710) at thread/qthread_unix.cpp:307
#10 0x00007f21f2cd9d14 in start_thread (arg=0x7f21e648b700) at pthread_create.c:309
#11 0x00007f21f2a0ad2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f21e5c8a700 (LWP 8570)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000037f2a7baeb in wait (time=18446744073709551615, this=0x315d570) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2fba008, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000033bdf377a9 in ?? () from /lib64/libdigikamcore.so.2
#4  0x00000037f2a7b5eb in QThreadPrivate::start (arg=0x2fb9ff0) at thread/qthread_unix.cpp:307
#5  0x00007f21f2cd9d14 in start_thread (arg=0x7f21e5c8a700) at pthread_create.c:309
#6  0x00007f21f2a0ad2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f21d1733700 (LWP 8654)):
#0  0x00007fffec1ff827 in clock_gettime ()
#1  0x00007f21f1acb10d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00000037f2ad14a4 in do_gettime (frac=0x7f21d1732828, sec=0x7f21d1732820) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00000037f2ba4d0d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f21b8331410) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00000037f2ba5053 in QTimerInfoList::timerWait (this=0x7f21b8331410, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00000037f2ba3bcc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f21d173291c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00000037f2ba3c75 in timerSourcePrepare (source=source@entry=0x7f21b83313b0, timeout=timeout@entry=0x7f21d173291c) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00000037e8e4719f in g_main_context_prepare (context=context@entry=0x7f21b8064640, priority=priority@entry=0x7f21d1732968) at gmain.c:2836
#9  0x00000037e8e4788b in g_main_context_iterate (context=context@entry=0x7f21b8064640, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3126
#10 0x00000037e8e47a84 in g_main_context_iteration (context=0x7f21b8064640, may_block=1) at gmain.c:3207
#11 0x00000037f2ba4506 in QEventDispatcherGlib::processEvents (this=0x7f21b82d5c50, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00000037f2b7513f in QEventLoop::processEvents (this=this@entry=0x7f21d1732ac0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00000037f2b753c8 in QEventLoop::exec (this=0x7f21d1732ac0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00000033bdf36e0b in ?? () from /lib64/libdigikamcore.so.2
#15 0x00000037f2a6f27d in QThreadPoolThread::run (this=0x737ca50) at concurrent/qthreadpool.cpp:107
#16 0x00000037f2a7b5eb in QThreadPrivate::start (arg=0x737ca50) at thread/qthread_unix.cpp:307
#17 0x00007f21f2cd9d14 in start_thread (arg=0x7f21d1733700) at pthread_create.c:309
#18 0x00007f21f2a0ad2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f21f1464a80 (LWP 8566)):
[KCrash Handler]
#6  0x00000033ae1eeb53 in QKeySequence::isEmpty (this=0x33aec9dcd0) at kernel/qkeysequence.cpp:1064
#7  0x00000033ae1c5f19 in QAction::shortcuts (this=<optimized out>) at kernel/qaction.cpp:508
#8  0x00007f21f352d7e1 in KAction::shortcut (this=0xbd79270, type=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/actions/kaction.cpp:193
#9  0x00007f21f358e988 in KShortcutsEditorItem::updateModified (this=this@entry=0x814fcf0) at /usr/src/debug/kdelibs-4.8.5/kdeui/dialogs/kshortcutseditoritem.cpp:260
#10 0x00007f21f358ec9f in KShortcutsEditorItem::setKeySequence (this=0x814fcf0, column=1, seq=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/dialogs/kshortcutseditoritem.cpp:233
#11 0x00007f21f359051d in changeKeyShortcut (capture=..., column=1, item=0x814fcf0, this=0x7e50d80) at /usr/src/debug/kdelibs-4.8.5/kdeui/dialogs/kshortcutseditor.cpp:438
#12 KShortcutsEditorPrivate::changeKeyShortcut (this=0x7e50d80, item=0x814fcf0, column=1, capture=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/dialogs/kshortcutseditor.cpp:431
#13 0x00007f21f359102d in KShortcutsEditorPrivate::capturedShortcut (this=0x7e50d80, newShortcut=..., index=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/dialogs/kshortcutseditor.cpp:423
#14 0x00000037f2b8cb9f in QMetaObject::activate (sender=0x9bb4780, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffec1d62e0) at kernel/qobject.cpp:3547
#15 0x00007f21f3595ba7 in KShortcutsEditorDelegate::shortcutChanged (this=<optimized out>, _t1=..., _t2=...) at /usr/src/debug/kdelibs-4.8.5/x86_64-redhat-linux-gnu/kdeui/kshortcutsdialog_p.moc:121
#16 0x00007f21f358c764 in KShortcutsEditorDelegate::keySequenceChanged (this=0x9bb4780, seq=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/dialogs/kshortcutseditordelegate.cpp:324
#17 0x00007f21f3595c19 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/x86_64-redhat-linux-gnu/kdeui/kshortcutsdialog_p.moc:70
#18 KShortcutsEditorDelegate::qt_static_metacall (_o=0x9bb4780, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdelibs-4.8.5/x86_64-redhat-linux-gnu/kdeui/kshortcutsdialog_p.moc:59
#19 0x00000037f2b8cb9f in QMetaObject::activate (sender=0x8aabf20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffec1d64c0) at kernel/qobject.cpp:3547
#20 0x00007f21f3595d92 in ShortcutEditWidget::keySequenceChanged (this=<optimized out>, _t1=...) at /usr/src/debug/kdelibs-4.8.5/x86_64-redhat-linux-gnu/kdeui/kshortcutsdialog_p.moc:276
#21 0x00007f21f358bf0a in ShortcutEditWidget::setCustom (this=0x8aabf20, seq=...) at /usr/src/debug/kdelibs-4.8.5/kdeui/dialogs/kshortcuteditwidget.cpp:168
#22 0x00000037f2b8cb9f in QMetaObject::activate (sender=0xbe5f140, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffec1d6620) at kernel/qobject.cpp:3547
#23 0x00007f21f36ac012 in KKeySequenceWidget::keySequenceChanged (this=<optimized out>, _t1=...) at /usr/src/debug/kdelibs-4.8.5/x86_64-redhat-linux-gnu/kdeui/kkeysequencewidget.moc:168
#24 0x00007f21f36ae0d2 in KKeySequenceWidgetPrivate::doneRecording (this=0x8181c20, validate=true) at /usr/src/debug/kdelibs-4.8.5/kdeui/widgets/kkeysequencewidget.cpp:473
#25 0x00000037f2b8cb9f in QMetaObject::activate (sender=0x8181c50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#26 0x00000037f2b8ab1c in QObject::event (this=0x8181c50, e=<optimized out>) at kernel/qobject.cpp:1157
#27 0x00000033ae1ca37c in QApplicationPrivate::notify_helper (this=this@entry=0x2e1e350, receiver=receiver@entry=0x8181c50, e=e@entry=0x7fffec1d6de0) at kernel/qapplication.cpp:4551
#28 0x00000033ae1ce7fa in QApplication::notify (this=0x7fffec1d8fa0, receiver=0x8181c50, e=0x7fffec1d6de0) at kernel/qapplication.cpp:4412
#29 0x00007f21f36052b6 in KApplication::notify (this=0x7fffec1d8fa0, receiver=0x8181c50, event=0x7fffec1d6de0) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#30 0x00000037f2b763ee in QCoreApplication::notifyInternal (this=0x7fffec1d8fa0, receiver=0x8181c50, event=0x7fffec1d6de0) at kernel/qcoreapplication.cpp:915
#31 0x00000037f2ba6d52 in sendEvent (event=0x7fffec1d6de0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#32 QTimerInfoList::activateTimers (this=0x2e21640) at kernel/qeventdispatcher_unix.cpp:611
#33 0x00000037f2ba3e84 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#34 timerSourceDispatch (source=source@entry=0x2e215e0) at kernel/qeventdispatcher_glib.cpp:180
#35 0x00000037e8e47695 in g_main_dispatch (context=0x2e1ec00) at gmain.c:2539
#36 g_main_context_dispatch (context=context@entry=0x2e1ec00) at gmain.c:3075
#37 0x00000037e8e479c8 in g_main_context_iterate (context=context@entry=0x2e1ec00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#38 0x00000037e8e47a84 in g_main_context_iteration (context=0x2e1ec00, may_block=1) at gmain.c:3207
#39 0x00000037f2ba44e6 in QEventDispatcherGlib::processEvents (this=0x2dba530, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00000033ae26a2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#41 0x00000037f2b7513f in QEventLoop::processEvents (this=this@entry=0x7fffec1d7060, flags=...) at kernel/qeventloop.cpp:149
#42 0x00000037f2b753c8 in QEventLoop::exec (this=0x7fffec1d7060, flags=...) at kernel/qeventloop.cpp:204
#43 0x00000033ae67d2c8 in QDialog::exec (this=0x7fffec1d7110) at dialogs/qdialog.cpp:554
#44 0x00007f21f3595b38 in KShortcutsDialog::configure (this=0x7fffec1d7110, saveSettings=true) at /usr/src/debug/kdelibs-4.8.5/kdeui/dialogs/kshortcutsdialog.cpp:173
#45 0x0000000000575053 in ?? ()
#46 0x000000000058d37a in ?? ()
#47 0x00000037f2b8cb9f in QMetaObject::activate (sender=0x45ffa30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffec1d72d0) at kernel/qobject.cpp:3547
#48 0x00000033ae1c41c2 in QAction::triggered (this=this@entry=0x45ffa30, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#49 0x00000033ae1c43b0 in QAction::activate (this=0x45ffa30, event=<optimized out>) at kernel/qaction.cpp:1257
#50 0x00000033ae5fd1a3 in QMenuPrivate::activateCausedStack (this=this@entry=0x30fd120, causedStack=..., action=action@entry=0x45ffa30, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1028
#51 0x00000033ae6034b9 in QMenuPrivate::activateAction (this=0x30fd120, action=0x45ffa30, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#52 0x00007f21f36be750 in KMenu::mouseReleaseEvent (this=0x30fbe40, e=0x7fffec1d7e70) at /usr/src/debug/kdelibs-4.8.5/kdeui/widgets/kmenu.cpp:464
#53 0x00000033ae219b50 in QWidget::event (this=0x30fbe40, event=0x7fffec1d7e70) at kernel/qwidget.cpp:8371
#54 0x00000033ae60476b in QMenu::event (this=0x30fbe40, e=0x7fffec1d7e70) at widgets/qmenu.cpp:2469
#55 0x00000033ae1ca37c in QApplicationPrivate::notify_helper (this=this@entry=0x2e1e350, receiver=receiver@entry=0x30fbe40, e=e@entry=0x7fffec1d7e70) at kernel/qapplication.cpp:4551
#56 0x00000033ae1cf05b in QApplication::notify (this=<optimized out>, receiver=0x30fbe40, e=0x7fffec1d7e70) at kernel/qapplication.cpp:4094
#57 0x00007f21f36052b6 in KApplication::notify (this=0x7fffec1d8fa0, receiver=0x30fbe40, event=0x7fffec1d7e70) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#58 0x00000037f2b763ee in QCoreApplication::notifyInternal (this=0x7fffec1d8fa0, receiver=0x30fbe40, event=0x7fffec1d7e70) at kernel/qcoreapplication.cpp:915
#59 0x00000033ae1cb1bb in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#60 QApplicationPrivate::sendMouseEvent (receiver=0x30fbe40, event=0x7fffec1d7e70, alienWidget=0x0, nativeWidget=0x30fbe40, buttonDown=0x33aec9dd68, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#61 0x00000033ae24575c in QETWidget::translateMouseEvent (this=this@entry=0x30fbe40, event=event@entry=0x7fffec1d85e0) at kernel/qapplication_x11.cpp:4457
#62 0x00000033ae244621 in QApplication::x11ProcessEvent (this=0x7fffec1d8fa0, event=0x7fffec1d85e0) at kernel/qapplication_x11.cpp:3646
#63 0x00000033ae26a60c in x11EventSourceDispatch (s=s@entry=0x2e1d740, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#64 0x00000037e8e47695 in g_main_dispatch (context=0x2e1ec00) at gmain.c:2539
#65 g_main_context_dispatch (context=context@entry=0x2e1ec00) at gmain.c:3075
#66 0x00000037e8e479c8 in g_main_context_iterate (context=context@entry=0x2e1ec00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#67 0x00000037e8e47a84 in g_main_context_iteration (context=0x2e1ec00, may_block=1) at gmain.c:3207
#68 0x00000037f2ba44e6 in QEventDispatcherGlib::processEvents (this=0x2dba530, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#69 0x00000033ae26a2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#70 0x00000037f2b7513f in QEventLoop::processEvents (this=this@entry=0x7fffec1d89b0, flags=...) at kernel/qeventloop.cpp:149
#71 0x00000037f2b753c8 in QEventLoop::exec (this=0x7fffec1d89b0, flags=...) at kernel/qeventloop.cpp:204
#72 0x00000037f2b7a1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#73 0x000000000048f63e in ?? ()
#74 0x00007f21f293b735 in __libc_start_main (main=0x48e550, argc=5, ubp_av=0x7fffec1d91d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffec1d91c8) at libc-start.c:226
#75 0x0000000000490d21 in _start ()

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

Possible duplicates by query: bug 303186.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-08-17 13:53:48 UTC

*** This bug has been marked as a duplicate of bug 303186 ***
Comment 2 caulier.gilles 2019-08-13 16:57:11 UTC
Fixed with bug #303186