Bug 276981 - Crash while adding custom shortcut.
Summary: Crash while adding custom shortcut.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (show other bugs)
Version: 1.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
: 198544 301958 310234 325708 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-03 03:37 UTC by Yasha B.-K.
Modified: 2020-12-26 19:42 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.16 KB, text/plain)
2020-12-26 19:42 UTC, Patrick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yasha B.-K. 2011-07-03 03:37:01 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38.8-32.fc15.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I was adding and configuring a custom shortcut in system settings, and then hit cancel because I had made a mistake.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[KCrash Handler]
#7  QKeySequence::operator= (this=0xa042af8, other=...) at kernel/qkeysequence.cpp:1520
#8  0x00cce438 in KShortcut::KShortcut (this=0xbfa72844, other=...) at /usr/src/debug/kdelibs-4.6.3/kdeui/shortcuts/kshortcut.cpp:76
#9  0x03e11e37 in KHotKeys::ShortcutTrigger::shortcut (this=0xa112070) at /usr/src/debug/kdebase-workspace-4.6.3/khotkeys/libkhotkeysprivate/triggers/shortcut_trigger.cpp:194
#10 0x080da815 in ShortcutTriggerWidget::isChanged (this=0xa0d9838) at /usr/src/debug/kdebase-workspace-4.6.3/khotkeys/kcm_hotkeys/triggers/shortcut_trigger_widget.cpp:90
#11 0x080e4bcd in SimpleActionDataWidget::isChanged (this=0x9e3d9b0) at /usr/src/debug/kdebase-workspace-4.6.3/khotkeys/kcm_hotkeys/simple_action_data_widget.cpp:49
#12 0x080c7c6f in KCMHotkeysPrivate::maybeShowWidget (this=0x9e25c68, nextIndex=...) at /usr/src/debug/kdebase-workspace-4.6.3/khotkeys/kcm_hotkeys/kcm_hotkeys.cpp:341
#13 0x080c7f8d in KCMHotkeys::currentChanged (this=0x9e254a8, pCurrent=..., pPrevious=...) at /usr/src/debug/kdebase-workspace-4.6.3/khotkeys/kcm_hotkeys/kcm_hotkeys.cpp:167
#14 0x080c85e2 in KCMHotkeys::qt_metacall (this=0x9e254a8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfa72ae4) at /usr/src/debug/kdebase-workspace-4.6.3/i686-redhat-linux-gnu/khotkeys/kcm_hotkeys/moc_kcm_hotkeys.cpp:84
#15 0x0426ec2e in metacall (argv=0xbfa72ae4, idx=38, cl=QMetaObject::InvokeMetaMethod, object=0x9e254a8) at kernel/qmetaobject.cpp:237
#16 QMetaObject::metacall (object=0x9e254a8, cl=QMetaObject::InvokeMetaMethod, idx=38, argv=0xbfa72ae4) at kernel/qmetaobject.cpp:232
#17 0x0427cafa in QMetaObject::activate (sender=0x9e65468, m=0x193dcc8, local_signal_index=1, argv=0xbfa72ae4) at kernel/qobject.cpp:3278
#18 0x015dfa7e in QItemSelectionModel::currentChanged (this=0x9e65468, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#19 0x015dfbfd in QItemSelectionModel::setCurrentIndex (this=0x9e65468, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1169
#20 0x01585d06 in QAbstractItemView::mousePressEvent (this=0x9e25518, event=0xbfa73544) at itemviews/qabstractitemview.cpp:1666
#21 0x015d4504 in QTreeView::mousePressEvent (this=0x9e25518, event=0xbfa73544) at itemviews/qtreeview.cpp:1818
#22 0x0104d6f6 in QWidget::event (this=0x9e25518, event=0xbfa73544) at kernel/qwidget.cpp:8255
#23 0x0144dd66 in QFrame::event (this=0x9e25518, e=0xbfa73544) at widgets/qframe.cpp:557
#24 0x014e0772 in QAbstractScrollArea::viewportEvent (this=0x9e25518, e=0xbfa73544) at widgets/qabstractscrollarea.cpp:1043
#25 0x015831ec in QAbstractItemView::viewportEvent (this=0x9e25518, event=0xbfa73544) at itemviews/qabstractitemview.cpp:1628
#26 0x015ce097 in QTreeView::viewportEvent (this=0x9e25518, event=0xbfa73544) at itemviews/qtreeview.cpp:1256
#27 0x014e2ef6 in viewportEvent (this=<optimized out>, event=0xbfa73544) at widgets/qabstractscrollarea_p.h:100
#28 eventFilter (e=0xbfa73544, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#29 QAbstractScrollAreaFilter::eventFilter (this=0x9e279e0, o=0x9e25500, e=0xbfa73544) at widgets/qabstractscrollarea_p.h:115
#30 0x042685f6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9c4b1f8, receiver=0x9e25500, event=0xbfa73544) at kernel/qcoreapplication.cpp:846
#31 0x00ff23f3 in notify_helper (e=0xbfa73544, receiver=0x9e25500, this=0x9c4b1f8) at kernel/qapplication.cpp:4458
#32 QApplicationPrivate::notify_helper (this=0x9c4b1f8, receiver=0x9e25500, e=0xbfa73544) at kernel/qapplication.cpp:4434
#33 0x00ff85ba in QApplication::notify (this=0x9c4b1f8, receiver=0x9e25500, e=0xbfa73544) at kernel/qapplication.cpp:4023
#34 0x00c84382 in KApplication::notify (this=0xbfa73dac, receiver=0x9e25500, event=0xbfa73544) at /usr/src/debug/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#35 0x0426844e in QCoreApplication::notifyInternal (this=0xbfa73dac, receiver=0x9e25500, event=0xbfa73544) at kernel/qcoreapplication.cpp:731
#36 0x00ff33f6 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#37 QApplicationPrivate::sendMouseEvent (receiver=0x9e25500, event=0xbfa73544, alienWidget=0x9e25500, nativeWidget=0x9db64f0, buttonDown=0x194c9b4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#38 0x0107d63c in QETWidget::translateMouseEvent (this=0x9db64f0, event=0xbfa739fc) at kernel/qapplication_x11.cpp:4461
#39 0x0107c5fd in QApplication::x11ProcessEvent (this=0xbfa73dac, event=0xbfa739fc) at kernel/qapplication_x11.cpp:3587
#40 0x010a6fb5 in x11EventSourceDispatch (s=0x9c4e240, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#41 0x054d25bf in g_main_dispatch (context=0x9c4d470) at gmain.c:2441
#42 g_main_context_dispatch (context=0x9c4d470) at gmain.c:3014
#43 0x054d2d30 in g_main_context_iterate (context=0x9c4d470, block=89004672, dispatch=1, self=0x9c4a518) at gmain.c:3092
#44 0x054d306f in g_main_context_iteration (context=0x9c4d470, may_block=1) at gmain.c:3155
#45 0x04296ac8 in QEventDispatcherGlib::processEvents (this=0x9c2bb68, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#46 0x010a6c4b in QGuiEventDispatcherGlib::processEvents (this=0x9c2bb68, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#47 0x0426778e in QEventLoop::processEvents (this=0xbfa73d04, flags=...) at kernel/qeventloop.cpp:149
#48 0x042679e1 in QEventLoop::exec (this=0xbfa73d04, flags=...) at kernel/qeventloop.cpp:201
#49 0x0426c14b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#50 0x00ff0205 in QApplication::exec () at kernel/qapplication.cpp:3736
#51 0x08050662 in main (argc=0, argv=0x0) at /usr/src/debug/kdebase-workspace-4.6.3/systemsettings/app/main.cpp:49

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

Possible duplicates by query: bug 198544.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-07-04 02:02:47 UTC
*** Bug 198544 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2012-07-06 19:57:08 UTC
*** Bug 301958 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2012-11-17 00:27:46 UTC
*** Bug 310234 has been marked as a duplicate of this bug. ***
Comment 4 PhobosK 2013-01-13 02:21:48 UTC
Application: khotkeys (kcm_khotkeys)
KDE Platform Version: 4.9.5
Qt Version: 4.8.4 
Operating System: Linux 3.7.1-gentoo  x86_64 AMD
Distribution (Platform): Gentoo

This bug has been around for quite some time and still persists in 4.9.5
It is actually so severe that it renders the config of khotkeys totally useless.
A way to reproduce it is trying to rename any default action group, or action, or changing any default comment.
Adding a new action or action group, crashes the config too and the changes are never saved.
Removing the ~/.kde4/share/config/khotkeysrc doesn't help too.
After the config dialog crashes, kded4 blocks any mouse action like clicks on windows, buttons, taskbar, rightclicks etc. The only way to fix it is to kill kded4 and start it again.
Even if the khotkeys config is not touched and is configured as default(only gestures turned on), kded4 blocks those mouse actions described above at some irregular intervals making the whole desktop non-responsive to mouse clicks. 
This bug  has obviously something to do with the gesture components, since when the mouse clicks freeze happens, the keyboard and shortcuts work with no problem.
Comment 5 o2029162 2013-03-01 16:40:40 UTC
Application: khotkeys (kcm_khotkeys)
KDE Platform Version: 4.10.0
Qt Version: 4.8.4
Operating System: Linux 3.7.9-1-ck i686
Distribution (Platform): ArchLinux

I can confirm that it still crashes in 4.10 and as @PhobosK said it's unusable right now.
Comment 6 Christoph Feck 2013-04-14 19:47:24 UTC
Can anyone who can reproduce add exact steps?
Comment 7 o2029162 2013-04-17 16:48:00 UTC
I have just tried to reproduce it in 4.10.2 and nothing happened, It seems to be gone.
Comment 8 Christoph Feck 2013-10-06 17:22:27 UTC
*** Bug 325708 has been marked as a duplicate of this bug. ***
Comment 9 David Edmundson 2018-03-22 00:51:31 UTC
Plasma 4 is closed for crash fixes, closing
Comment 10 Patrick 2020-12-26 19:42:57 UTC
Created attachment 134338 [details]
New crash information added by DrKonqi

systemsettings5 (5.20.4) using Qt 5.15.2

- What I was doing when the application crashed:

Disabled KMenuEdit shortcut and went to create custom shortcut.

-- Backtrace (Reduced):
#4  0x00007f155dc10a3a in QKeySequence::QKeySequence(QKeySequence const&) () from /lib64/libQt5Gui.so.5
#5  0x00007f1505d85f59 in KHotKeys::ShortcutTrigger::shortcut() const () from /lib64/libkhotkeysprivate.so.5
#6  0x00007f1505d86209 in KHotKeys::ShortcutTrigger::primaryShortcut() const () from /lib64/libkhotkeysprivate.so.5
#7  0x00007f1505df44fb in ShortcutTriggerWidget::isChanged() const () from /usr/lib64/qt5/plugins/kcm_hotkeys.so
#8  0x00007f1505dfbfeb in HotkeysWidgetIFace::slotChanged(QString const&) () from /usr/lib64/qt5/plugins/kcm_hotkeys.so