Bug 180831 - Konsole crashes after splitting,detaching view and opening the keyboard shortcuts dialog [Konsole::MainWindow::showShortcutsDialog, ...]
Summary: Konsole crashes after splitting,detaching view and opening the keyboard short...
Status: RESOLVED DUPLICATE of bug 170806
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 180832 206722 238437 243875 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-15 16:36 UTC by Peter Szabados
Modified: 2010-11-09 18:00 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Szabados 2009-01-15 16:36:56 UTC
Version:           2.2 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)), Kubuntu packages)
OS:                Linux (i686) release 2.6.27-9-generic

Steps to reproduce this bug:
- open Konsole
- split window (ex. Ctrl+Shift+T)
- detach window (ex. Ctrl+Shift+H)
- close detached window (which is titled as bash<2>)
- open keyboard shortcuts dialog

Here, Konsole crashes with a SIGSEGV.

Note that some menu items are missing at the time when I want to open the keyboard shortcuts dialog. Somehow, I could manage to get the menu items back (for example if I open a new tab), but the crash still occurs. I tried opening different dialogs, but it only crashes at keyboard shortcuts. I also tried opening the dialog on the second window, but it doesn't crash then, only on the first one. It also doesn't crash when I open a new window with the new window command.

Here is the backtrace:

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb60d76c0 (LWP 9432)]
[New Thread 0xb48b1b90 (LWP 9433)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb80cb430 in __kernel_vsyscall ()
[Current thread is 0 (LWP 9432)]

Thread 2 (Thread 0xb48b1b90 (LWP 9433)):
#0  0xb80cb430 in __kernel_vsyscall ()
#1  0xb6745c01 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb74ab150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb73db6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb64db50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb674d7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb60d76c0 (LWP 9432)):
#0  0xb80cb430 in __kernel_vsyscall ()
#1  0xb6708de6 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6708bfe in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7a93bd2 in ?? () from /usr/lib/libkdeui.so.5
#4  0xb7a945d4 in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5
#5  <signal handler called>
#6  0xb807a26d in ?? () from /usr/lib/libkdeinit4_konsole.so
#7  0xb807a843 in ?? () from /usr/lib/libkdeinit4_konsole.so
#8  0xb74e0a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0xb74e0e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb6b695f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#11 0xb6b69f5f in QAction::activate () from /usr/lib/libQtGui.so.4
#12 0xb6f47564 in ?? () from /usr/lib/libQtGui.so.4
#13 0xb6f47ff2 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#14 0xb7b0c065 in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#15 0xb6bc7962 in QWidget::event () from /usr/lib/libQtGui.so.4
#16 0xb6f4a2e9 in QMenu::event () from /usr/lib/libQtGui.so.4
#17 0xb6b6f8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#18 0xb6b780e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0xb7a1f04d in KApplication::notify () from /usr/lib/libkdeui.so.5
#20 0xb74cbe61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#21 0xb6b7736e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#22 0xb6be18de in ?? () from /usr/lib/libQtGui.so.4
#23 0xb6be09e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#24 0xb6c0a7aa in ?? () from /usr/lib/libQtGui.so.4
#25 0xb640e6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb6411da3 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb6411f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb74f6478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb6c09ea5 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb74ca52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0xb74ca6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0xb74ccda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0xb6b6f767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#34 0xb807e0d2 in kdemain () from /usr/lib/libkdeinit4_konsole.so
#35 0x080486e2 in _start ()
#0  0xb80cb430 in __kernel_vsyscall ()
Comment 1 Robert Knight 2009-01-15 17:25:00 UTC
Confirmed.
Comment 2 Christoph Feck 2009-01-15 19:54:09 UTC
*** Bug 180832 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-05-23 23:20:22 UTC
Here using:

I can reproduce the crash with the following backtrace:

Application: Konsole (kdeinit), signal: Segmentation fault
[Current thread is 0 (LWP 5125)]

Thread 2 (Thread 0xb34b2b90 (LWP 5126)):
#0  0xb7fef424 in __kernel_vsyscall ()
#1  0xb6663f71 in select () from /lib/libc.so.6
#2  0xb7f1167b in QProcessManager::run (this=0x8307408) at io/qprocess_unix.cpp:305
#3  0xb7e3a77f in QThreadPrivate::start (arg=0x8307408) at thread/qthread_unix.cpp:189
#4  0xb7daa4c5 in start_thread () from /lib/libpthread.so.0
#5  0xb666af9e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb6023930 (LWP 5125)):
[KCrash Handler]
#6  0xb4d8147d in Konsole::MainWindow::showShortcutsDialog (this=0x835e5d0) at /home/kde-devel/kde/src/KDE/kdebase/apps/konsole/src/MainWindow.cpp:417
#7  0xb4d81a63 in Konsole::MainWindow::qt_metacall (this=0x835e5d0, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0xbff0942c)
    at /home/kde-devel/kde/build/KDE/kdebase/apps/konsole/src/MainWindow.moc:105
#8  0xb7f45b3b in QMetaObject::activate (sender=0x8260408, from_signal_index=5, to_signal_index=6, argv=0xbff0942c) at kernel/qobject.cpp:3117
#9  0xb7f45d68 in QMetaObject::activate (sender=0x8260408, m=0xb714f4c8, from_local_signal_index=1, to_local_signal_index=2, argv=0xbff0942c) at kernel/qobject.cpp:3214
#10 0xb6979f8a in QAction::triggered (this=0x8260408, _t1=false) at .moc/debug-shared/moc_qaction.cpp:236
#11 0xb697bc98 in QAction::activate (this=0x8260408, event=QAction::Trigger) at kernel/qaction.cpp:1160
#12 0xb6e3ecc6 in QMenuPrivate::activateCausedStack (this=0x83b9468, causedStack=@0xbff094e0, action=0x8260408, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#13 0xb6e4349c in QMenuPrivate::activateAction (this=0x83b9468, action=0x8260408, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1060
#14 0xb6e451c3 in QMenu::mouseReleaseEvent (this=0x83a36f8, e=0xbff09ca4) at widgets/qmenu.cpp:2254
#15 0xb74d81b5 in KMenu::mouseReleaseEvent (this=0x83a36f8, e=0xbff09ca4) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/widgets/kmenu.cpp:456
#16 0xb69e3184 in QWidget::event (this=0x83a36f8, event=0xbff09ca4) at kernel/qwidget.cpp:7521
#17 0xb6e4456d in QMenu::event (this=0x83a36f8, e=0xbff09ca4) at widgets/qmenu.cpp:2353
#18 0xb69821d5 in QApplicationPrivate::notify_helper (this=0x8303a70, receiver=0x83a36f8, e=0xbff09ca4) at kernel/qapplication.cpp:4057
#19 0xb6982f58 in QApplication::notify (this=0xbff0b628, receiver=0x83a36f8, e=0xbff09ca4) at kernel/qapplication.cpp:3759
#20 0xb73ed06a in KApplication::notify (this=0xbff0b628, receiver=0x83a36f8, event=0xbff09ca4) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#21 0xb7f2f6cb in QCoreApplication::notifyInternal (this=0xbff0b628, receiver=0x83a36f8, event=0xbff09ca4) at kernel/qcoreapplication.cpp:606
#22 0xb698de97 in QCoreApplication::sendSpontaneousEvent (receiver=0x83a36f8, event=0xbff09ca4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#23 0xb6986f42 in QApplicationPrivate::sendMouseEvent (receiver=0x83a36f8, event=0xbff09ca4, alienWidget=0x0, nativeWidget=0x83a36f8, buttonDown=0xb716f2a0, lastMouseReceiver=@0xb716f2a4)
    at kernel/qapplication.cpp:2925
#24 0xb6a041ce in QETWidget::translateMouseEvent (this=0x83a36f8, event=0xbff0b320) at kernel/qapplication_x11.cpp:4382
#25 0xb6a05593 in QApplication::x11ProcessEvent (this=0xbff0b628, event=0xbff0b320) at kernel/qapplication_x11.cpp:3444
#26 0xb6a305bd in x11EventSourceDispatch (s=0x8306c70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0xb6500718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb6503c7b in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#29 0xb6503df8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb7f5e41e in QEventDispatcherGlib::processEvents (this=0x8300e68, flags={i = -1074744088}) at kernel/qeventdispatcher_glib.cpp:324
#31 0xb6a2fdd8 in QGuiEventDispatcherGlib::processEvents (this=0x8300e68, flags={i = -1074744040}) at kernel/qguieventdispatcher_glib.cpp:202
#32 0xb7f2c6b0 in QEventLoop::processEvents (this=0xbff0b5a0, flags={i = -1074743968}) at kernel/qeventloop.cpp:149
#33 0xb7f2c90a in QEventLoop::exec (this=0xbff0b5a0, flags={i = -1074743896}) at kernel/qeventloop.cpp:196
#34 0xb7f2fea3 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0xb6981eee in QApplication::exec () at kernel/qapplication.cpp:3526
#36 0xb4d858f2 in kdemain (argc=1, argv=0x82ab4d8) at /home/kde-devel/kde/src/KDE/kdebase/apps/konsole/src/main.cpp:104
#37 0x0804de99 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x82b80c0 "DISPLAY=:0.0", reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x82b80d1 "emiDell;1243113288;169009;3455_TIME1917718") at /home/kde-devel/kde/src/KDE/kdelibs/kinit/kinit.cpp:667
#38 0x0804ea25 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/kinit/kinit.cpp:1159
#39 0x0804eed4 in handle_requests (waitForPid=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/kinit/kinit.cpp:1352
#40 0x0804f6c7 in main (argc=2, argv=0xbff0be84, envp=0xbff0be90) at /home/kde-devel/kde/src/KDE/kdelibs/kinit/kinit.cpp:1779
Comment 4 Dario Andres 2009-05-23 23:21:21 UTC
*Comment 3 was using:
Qt: 4.5.1 (qt-copy  958974)
KDE: 4.2.87 (KDE 4.2.87 (KDE 4.3 >= 20090519))
kdelibs svn rev. 971894 / kdebase svn rev. 971894
on ArchLinux i686 - Kernel 2.6.29.3
Comment 5 Dario Andres 2009-09-08 17:00:55 UTC
*** Bug 206722 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2010-11-09 17:56:01 UTC
*** Bug 238437 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2010-11-09 17:56:21 UTC
*** Bug 243875 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2010-11-09 18:00:33 UTC
I have previously been able to reproduce the crash with the steps from comment #0, but using latest trunk, I am no longer able to reproduce it.

Assuming it is a duplicate of bug 170806 I am closing this. Please reopen or report a new bug if you get shortcut related crashes again.

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