Bug 227594

Summary: Konsole Crash on Removing Key binding
Product: [Applications] konsole Reporter: Bill Newton <spiderbill>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 2.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bill Newton 2010-02-18 23:04:15 UTC
Application: konsole (2.4)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-174.2.19.fc12.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Went through konsole's set up to change the default keybindings for the xterm selection ( Linux and solaris also have the problem).  Removing an existing keybinding causes segfault. Adding a keybinding and then trying to remove also segfaults. 

Note Using the fedora-kde testing repository.

The crash can be reproduced every time.

 -- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  0x000000378c95bab7 in QMetaObject::cast (this=0x378f01b680, obj=0x30104b0) at kernel/qmetaobject.cpp:266
#6  0x000000378eaea4bf in qobject_cast<QTableModel*> (this=<value optimized out>, item=0x3026860) at ../../src/corelib/kernel/qobject.h:455
#7  tableModel (this=<value optimized out>, item=0x3026860) at ../../src/gui/itemviews/qtablewidget_p.h:192
#8  QTableWidget::row (this=<value optimized out>, item=0x3026860) at itemviews/qtablewidget.cpp:1909
#9  0x0000003cc6668a5f in row (this=0x2c85610) at /usr/include/QtGui/qtablewidget.h:360
#10 Konsole::KeyBindingEditor::removeSelectedEntry (this=0x2c85610) at /usr/src/debug/kdebase-4.4.0/apps/konsole/src/KeyBindingEditor.cpp:79
#11 0x0000003cc6668ccc in Konsole::KeyBindingEditor::qt_metacall (this=0x2c85610, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff086cc70)
    at /usr/src/debug/kdebase-4.4.0/x86_64-redhat-linux-gnu/apps/konsole/src/KeyBindingEditor.moc:80
#12 0x000000378c96a2af in QMetaObject::activate (sender=0x30186e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff086cc70) at kernel/qobject.cpp:3293
#13 0x000000378ebddde2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#14 0x000000378e92eadb in QAbstractButtonPrivate::emitClicked (this=0x3018840) at widgets/qabstractbutton.cpp:546
#15 0x000000378e92fd4b in QAbstractButtonPrivate::click (this=0x3018840) at widgets/qabstractbutton.cpp:539
#16 0x000000378e92ffbc in QAbstractButton::mouseReleaseEvent (this=0x30186e0, e=0x7ffff086d5c0) at widgets/qabstractbutton.cpp:1121
#17 0x000000378e5f5b3a in QWidget::event (this=0x30186e0, event=0x7ffff086d5c0) at kernel/qwidget.cpp:7998
#18 0x000000378e5aa9dc in QApplicationPrivate::notify_helper (this=0x1f95540, receiver=0x30186e0, e=0x7ffff086d5c0) at kernel/qapplication.cpp:4300
#19 0x000000378e5b127d in QApplication::notify (this=<value optimized out>, receiver=0x30186e0, e=0x7ffff086d5c0) at kernel/qapplication.cpp:3865
#20 0x0000003cc56067a6 in KApplication::notify (this=0x7ffff086fb50, receiver=0x30186e0, event=0x7ffff086d5c0) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#21 0x000000378c95774c in QCoreApplication::notifyInternal (this=0x7ffff086fb50, receiver=0x30186e0, event=0x7ffff086d5c0) at kernel/qcoreapplication.cpp:704
#22 0x000000378e5b046e in sendEvent (receiver=0x30186e0, event=0x7ffff086d5c0, alienWidget=0x30186e0, nativeWidget=0x2fea910, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#23 QApplicationPrivate::sendMouseEvent (receiver=0x30186e0, event=0x7ffff086d5c0, alienWidget=0x30186e0, nativeWidget=0x2fea910, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#24 0x000000378e622405 in QETWidget::translateMouseEvent (this=0x2fea910, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#25 0x000000378e621128 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffff086dee0) at kernel/qapplication_x11.cpp:3501
#26 0x000000378e649d52 in x11EventSourceDispatch (s=0x1f99330, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x000000334f03920e in g_main_dispatch (context=0x1f98120) at gmain.c:1960
#28 IA__g_main_context_dispatch (context=0x1f98120) at gmain.c:2513
#29 0x000000334f03cbf8 in g_main_context_iterate (context=0x1f98120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#30 0x000000334f03cd1a in IA__g_main_context_iteration (context=0x1f98120, may_block=1) at gmain.c:2654
#31 0x000000378c97d063 in QEventDispatcherGlib::processEvents (this=0x1f69210, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#32 0x000000378e649a1e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x000000378c956192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x000000378c95645c in QEventLoop::exec (this=0x7ffff086e210, flags=...) at kernel/qeventloop.cpp:201
#35 0x000000378ea2a57e in QDialog::exec (this=0x2fea910) at dialogs/qdialog.cpp:546
#36 0x0000003cc6656223 in Konsole::EditProfileDialog::showKeyBindingEditor (this=0x2d2f990, isNewTranslator=false) at /usr/src/debug/kdebase-4.4.0/apps/konsole/src/EditProfileDialog.cpp:857
#37 0x0000003cc6656b62 in Konsole::EditProfileDialog::qt_metacall (this=0x2d2f990, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff086e500)
    at /usr/src/debug/kdebase-4.4.0/x86_64-redhat-linux-gnu/apps/konsole/src/EditProfileDialog.moc:196
#38 0x000000378c96a2af in QMetaObject::activate (sender=0x2f128d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff086e500) at kernel/qobject.cpp:3293
#39 0x000000378ebddde2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#40 0x000000378e92eadb in QAbstractButtonPrivate::emitClicked (this=0x2f18340) at widgets/qabstractbutton.cpp:546
#41 0x000000378e92fd4b in QAbstractButtonPrivate::click (this=0x2f18340) at widgets/qabstractbutton.cpp:539
#42 0x000000378e92ffbc in QAbstractButton::mouseReleaseEvent (this=0x2f128d0, e=0x7ffff086ee50) at widgets/qabstractbutton.cpp:1121
#43 0x000000378e5f5b3a in QWidget::event (this=0x2f128d0, event=0x7ffff086ee50) at kernel/qwidget.cpp:7998
#44 0x000000378e5aa9dc in QApplicationPrivate::notify_helper (this=0x1f95540, receiver=0x2f128d0, e=0x7ffff086ee50) at kernel/qapplication.cpp:4300
#45 0x000000378e5b127d in QApplication::notify (this=<value optimized out>, receiver=0x2f128d0, e=0x7ffff086ee50) at kernel/qapplication.cpp:3865
#46 0x0000003cc56067a6 in KApplication::notify (this=0x7ffff086fb50, receiver=0x2f128d0, event=0x7ffff086ee50) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#47 0x000000378c95774c in QCoreApplication::notifyInternal (this=0x7ffff086fb50, receiver=0x2f128d0, event=0x7ffff086ee50) at kernel/qcoreapplication.cpp:704
#48 0x000000378e5b046e in sendEvent (receiver=0x2f128d0, event=0x7ffff086ee50, alienWidget=0x2f128d0, nativeWidget=0x2d2f990, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#49 QApplicationPrivate::sendMouseEvent (receiver=0x2f128d0, event=0x7ffff086ee50, alienWidget=0x2f128d0, nativeWidget=0x2d2f990, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#50 0x000000378e622405 in QETWidget::translateMouseEvent (this=0x2d2f990, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#51 0x000000378e621128 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffff086f770) at kernel/qapplication_x11.cpp:3501
#52 0x000000378e649d52 in x11EventSourceDispatch (s=0x1f99330, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x000000334f03920e in g_main_dispatch (context=0x1f98120) at gmain.c:1960
#54 IA__g_main_context_dispatch (context=0x1f98120) at gmain.c:2513
#55 0x000000334f03cbf8 in g_main_context_iterate (context=0x1f98120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#56 0x000000334f03cd1a in IA__g_main_context_iteration (context=0x1f98120, may_block=1) at gmain.c:2654
#57 0x000000378c97d063 in QEventDispatcherGlib::processEvents (this=0x1f69210, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#58 0x000000378e649a1e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x000000378c956192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#60 0x000000378c95645c in QEventLoop::exec (this=0x7ffff086faa0, flags=...) at kernel/qeventloop.cpp:201
#61 0x000000378c958749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#62 0x0000003cc6a102f6 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.4.0/apps/konsole/src/main.cpp:77
#63 0x0000003a6461eb1d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=<value optimized out>) at libc-start.c:226
#64 0x0000000000400759 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-02-19 23:27:06 UTC
This was fixed recenlty: bug 183069. Regards

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