Bug 251777

Summary: Crash when setting global keyboard shortcut
Product: [Applications] kmix Reporter: Mats Ahlgren <ahlgren>
Component: generalAssignee: Christian Esken <esken>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 3.6   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mats Ahlgren 2010-09-20 02:43:19 UTC
Application: kmix (3.6)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
Setting the VolumeDown shortcut to win-D produced resulted in a box showing "[][][][][]" where all symbols were boxes and some were superscript. That is, the shortcut setter thought I was pressing the key "[][][][][]". Setting VolumeUp to win-F produces the same box. I can only assume that "[][][][][]" is synonymous with the win key. This is what xev outputs:

KeyRelease event, serial 33, synthetic NO, window 0x2600001,
    root 0x1ad, subw 0x0, time 12854160, (145,1), root:(1801,24),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

After doing this twice, kmix always crashes.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMix (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  Private (this=0x7fff1f8d7730, p=@0x0) at kernel/qvariant.h:352
#6  QVariant::QVariant (this=0x7fff1f8d7730, p=@0x0) at kernel/qvariant.cpp:1395
#7  0x00007f4d03e0afb7 in QDBusPendingReplyData::argumentAt (this=0x7fff1f8d77b0, index=0) at qdbuspendingreply.cpp:268
#8  0x00007f4d05eaea26 in argumentAt<0> (seq=<value optimized out>, comp=<value optimized out>) at /usr/include/QtDBus/qdbuspendingreply.h:174
#9  operator QDBusPendingReplyTypes::Select<0, bool, void, void, void, void, void, void, void>::Type (seq=<value optimized out>, comp=<value optimized out>)
    at /usr/include/QtDBus/qdbuspendingreply.h:184
#10 KGlobalAccel::isGlobalShortcutAvailable (seq=<value optimized out>, comp=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdeui/shortcuts/kglobalaccel.cpp:483
#11 0x00007f4d05fa4e71 in KKeySequenceWidgetPrivate::conflictWithGlobalShortcuts (this=0x16a6ff0, keySequence=...) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kkeysequencewidget.cpp:539
#12 0x00007f4d05fa5940 in KKeySequenceWidget::isKeySequenceAvailable (this=0xb397e0, keySequence=...) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kkeysequencewidget.cpp:371
#13 0x00007f4d05fa5a03 in KKeySequenceWidgetPrivate::doneRecording (this=0x16a6ff0, validate=true) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kkeysequencewidget.cpp:504
#14 0x00007f4d05fa5b97 in KKeySequenceButton::keyPressEvent (this=0x68a380, e=0x7fff1f8d8210) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kkeysequencewidget.cpp:811
#15 0x00007f4d05df1b51 in KKeySequenceButton::event (this=<value optimized out>, e=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kkeysequencewidget.cpp:719
#16 0x00007f4d04b734d4 in QApplicationPrivate::notify_helper (this=0x68ba50, receiver=0x68a380, e=0x7fff1f8d8210) at kernel/qapplication.cpp:4302
#17 0x00007f4d04b7c1f2 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=0x7fff1f8d8210) at kernel/qapplication.cpp:3765
#18 0x00007f4d05e2ac06 in KApplication::notify (this=0x683330, receiver=0x68a380, event=0x7fff1f8d8210) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#19 0x00007f4d0599ee4c in QCoreApplication::notifyInternal (this=0x683330, receiver=0x68a380, event=0x7fff1f8d8210) at kernel/qcoreapplication.cpp:726
#20 0x00007f4d04c10eea in QKeyMapper::sendKeyEvent (keyWidget=0x68a380, grab=<value optimized out>, type=QEvent::KeyPress, code=16777299, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=133, nativeVirtualKey=65515, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1875
#21 0x00007f4d04c1136f in QKeyMapperPrivate::translateKeyEvent (this=<value optimized out>, keyWidget=0x68a380, event=<value optimized out>, grab=true) at kernel/qkeymapper_x11.cpp:1845
#22 0x00007f4d04bedbd4 in QApplication::x11ProcessEvent (this=0x683330, event=0x7fff1f8d8df0) at kernel/qapplication_x11.cpp:3406
#23 0x00007f4d04c14492 in x11EventSourceDispatch (s=0x68f610, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#24 0x00007f4d00c17a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f4d00c18270 in ?? () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f4d00c18510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f4d059c767f in QEventDispatcherGlib::processEvents (this=0x68b8e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#28 0x00007f4d04c1414e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f4d0599e292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f4d0599e495 in QEventLoop::exec (this=0x7fff1f8d9110, flags=...) at kernel/qeventloop.cpp:201
#31 0x00007f4d0500f7ee in QDialog::exec (this=0x7fff1f8d91b0) at dialogs/qdialog.cpp:546
#32 0x00007f4d05e13888 in KShortcutsDialog::configure (this=0x7fff1f8d91b0, saveSettings=true) at /usr/src/debug/kdelibs-4.4.4/kdeui/dialogs/kshortcutsdialog.cpp:173
#33 0x00007f4d05f8a642 in KXMLGUIFactory::configureShortcuts (this=<value optimized out>, letterCutsOk=<value optimized out>, bSaveSettings=true)
    at /usr/src/debug/kdelibs-4.4.4/kdeui/xmlgui/kxmlguifactory.cpp:740
#34 0x00007f4d05f8a742 in KXMLGUIFactory::qt_metacall (this=0x7b5cf0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff1f8d9390) at /usr/src/debug/kdelibs-4.4.4/build/kdeui/kxmlguifactory.moc:95
#35 0x00007f4d059b2a1f in QMetaObject::activate (sender=0x7b4500, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1f8d9390) at kernel/qobject.cpp:3295
#36 0x00007f4d04b6dd12 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#37 0x00007f4d04b6df0a in QAction::activate (this=0x7b4500, event=<value optimized out>) at kernel/qaction.cpp:1255
#38 0x00007f4d04f8f8b3 in QMenuPrivate::activateCausedStack (this=0x91fa40, causedStack=..., action=0x7b4500, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#39 0x00007f4d04f9597a in QMenuPrivate::activateAction (this=0x91fa40, action=0x7b4500, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1094
#40 0x00007f4d05dfe27d in KMenu::mouseReleaseEvent (this=0x92bba0, e=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kmenu.cpp:471
#41 0x00007f4d04bc3dbc in QWidget::event (this=0x92bba0, event=0x7fff1f8da010) at kernel/qwidget.cpp:8044
#42 0x00007f4d04f96bcb in QMenu::event (this=0x92bba0, e=0x7fff1f8da010) at widgets/qmenu.cpp:2421
#43 0x00007f4d04b734d4 in QApplicationPrivate::notify_helper (this=0x68ba50, receiver=0x92bba0, e=0x7fff1f8da010) at kernel/qapplication.cpp:4302
#44 0x00007f4d04b7c34a in QApplication::notify (this=<value optimized out>, receiver=0x92bba0, e=0x7fff1f8da010) at kernel/qapplication.cpp:3867
#45 0x00007f4d05e2ac06 in KApplication::notify (this=0x683330, receiver=0x92bba0, event=0x7fff1f8da010) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#46 0x00007f4d0599ee4c in QCoreApplication::notifyInternal (this=0x683330, receiver=0x92bba0, event=0x7fff1f8da010) at kernel/qcoreapplication.cpp:726
#47 0x00007f4d04b751e5 in sendEvent (receiver=0x92bba0, event=0x7fff1f8da010, alienWidget=0x0, nativeWidget=0x92bba0, buttonDown=0x7f4d0561fb28, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#48 QApplicationPrivate::sendMouseEvent (receiver=0x92bba0, event=0x7fff1f8da010, alienWidget=0x0, nativeWidget=0x92bba0, buttonDown=0x7f4d0561fb28, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2967
#49 0x00007f4d04bef914 in QETWidget::translateMouseEvent (this=0x92bba0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4314
#50 0x00007f4d04bede19 in QApplication::x11ProcessEvent (this=0x683330, event=0x7fff1f8da970) at kernel/qapplication_x11.cpp:3513
#51 0x00007f4d04c14492 in x11EventSourceDispatch (s=0x68f610, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#52 0x00007f4d00c17a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#53 0x00007f4d00c18270 in ?? () from /usr/lib64/libglib-2.0.so.0
#54 0x00007f4d00c18510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#55 0x00007f4d059c767f in QEventDispatcherGlib::processEvents (this=0x68b8e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#56 0x00007f4d04c1414e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f4d0599e292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f4d0599e495 in QEventLoop::exec (this=0x7fff1f8dac90, flags=...) at kernel/qeventloop.cpp:201
#59 0x00007f4d059a288b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#60 0x00007f4cf778a07a in kdemain (argc=5, argv=0x677910) at /usr/src/debug/kdemultimedia-4.4.4/kmix/main.cpp:74
#61 0x0000000000407659 in _start ()

Possible duplicates by query: bug 214921.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-15 21:36:02 UTC
[Comment from a bug triager]
This issue is being tracked at bug 222189. Merging. Thanks

*** This bug has been marked as a duplicate of bug 222189 ***