Bug 290754

Summary: Konsole crashed after typing "exit" within the shell with 2 open tabs, 1 of them having a program running
Product: [Applications] konsole Reporter: Paolo Poli <askrym>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: 2.5.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paolo Poli 2012-01-05 23:22:58 UTC
Application: konsole (2.5.4)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-31-generic i686
Distribution: Ubuntu 10.10

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

I was using konsole with 2 open tabs ; in one of them i had "unrar" decompressing an archive, in the other i had no programs running thus i decided to close that tab and i typed "exit" in THAT shell , konsole has immediatly crashed as i hit enter.

i was obviously expecting that ONE tab to close after giving a "exit" command, and not the whole konsole program crash.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7776710 (LWP 3195))]

Thread 2 (Thread 0xb3894b70 (LWP 3213)):
#0  0x00201613 in __i686.get_pc_thunk.bx () from /lib/libpthread.so.0
#1  0x002067a9 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#2  0x00336fa6 in pthread_mutex_unlock () from /lib/libc.so.6
#3  0x0844d636 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#4  0x0844f1ee in ?? () from /lib/libglib-2.0.so.0
#5  0x0844f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0x0708459f in QEventDispatcherGlib::processEvents (this=0x8bee190, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0x07054609 in QEventLoop::processEvents (this=0xb3894290, flags=) at kernel/qeventloop.cpp:149
#8  0x07054a8a in QEventLoop::exec (this=0xb3894290, flags=...) at kernel/qeventloop.cpp:201
#9  0x06f50b7e in QThread::exec (this=0x8b5fcd0) at thread/qthread.cpp:490
#10 0x0703335b in QInotifyFileSystemWatcherEngine::run (this=0x8b5fcd0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x06f53df9 in QThreadPrivate::start (arg=0x8b5fcd0) at thread/qthread_unix.cpp:266
#12 0x00202cc9 in start_thread () from /lib/libpthread.so.0
#13 0x0032969e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7776710 (LWP 3195)):
[KCrash Handler]
#7  Konsole::TerminalDisplay::filterChain (this=0x8b5db50) at ../../../../apps/konsole/src/TerminalDisplay.cpp:1259
#8  0x001a1010 in Konsole::SessionController::setSearchBar (this=0x8b5db50, searchBar=0x0) at ../../../../apps/konsole/src/SessionController.cpp:360
#9  0x00b64a08 in Konsole::MainWindow::disconnectController (this=0x8d34628, controller=0x8b5db50) at ../../../../apps/konsole/src/MainWindow.cpp:186
#10 0x00b6536c in Konsole::MainWindow::activeViewChanged (this=0x89fe500, controller=0x8d512d0) at ../../../../apps/konsole/src/MainWindow.cpp:198
#11 0x00b68157 in Konsole::MainWindow::qt_metacall (this=0x89fe500, _c=QMetaObject::InvokeMetaMethod, _id=56, _a=0xbff60e08) at ./MainWindow.moc:117
#12 0x0705b8ca in QMetaObject::metacall (object=0x89fe500, cl=117860560, idx=56, argv=0xbff60e08) at kernel/qmetaobject.cpp:237
#13 0x0706e6ad in QMetaObject::activate (sender=0x8a25cd0, m=0x1ee890, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3280
#14 0x001c9f23 in Konsole::ViewManager::activeViewChanged (this=0x8a25cd0, _t1=0x8d512d0) at ./ViewManager.moc:215
#15 0x001ca2b6 in Konsole::ViewManager::controllerChanged (this=0x8a25cd0, controller=0x8d512d0) at ../../../../apps/konsole/src/ViewManager.cpp:541
#16 0x001d22d8 in Konsole::ViewManager::qt_metacall (this=0x8a25cd0, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbff60fc8) at ./ViewManager.moc:188
#17 0x0705b8ca in QMetaObject::metacall (object=0x8a25cd0, cl=117860560, idx=41, argv=0xbff60fc8) at kernel/qmetaobject.cpp:237
#18 0x0706e6ad in QMetaObject::activate (sender=0x8d512d0, m=0x1edf70, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#19 0x0019ead3 in Konsole::SessionController::focused (this=0x8d512d0, _t1=0x8d512d0) at ./SessionController.moc:203
#20 0x001a2314 in Konsole::SessionController::eventFilter (this=0x8d512d0, watched=0x8d4f448, event=0xbff61470) at ../../../../apps/konsole/src/SessionController.cpp:293
#21 0x0705529a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x89717a0, receiver=0x8d4f448, event=0xbff61470) at kernel/qcoreapplication.cpp:847
#22 0x02742fb9 in QApplicationPrivate::notify_helper (this=0x89717a0, receiver=0x8d4f448, e=0xbff61470) at kernel/qapplication.cpp:4392
#23 0x027490e9 in QApplication::notify (this=0xbff62574, receiver=0x8d4f448, e=0xbff61470) at kernel/qapplication.cpp:4361
#24 0x00860d8a in KApplication::notify (this=0xbff62574, receiver=0x8d4f448, event=0xbff61470) at ../../kdeui/kernel/kapplication.cpp:310
#25 0x07055b3b in QCoreApplication::notifyInternal (this=0xbff62574, receiver=0x8d4f448, event=0xbff61470) at kernel/qcoreapplication.cpp:732
#26 0x027516ce in QCoreApplication::sendEvent (receiver=0x8d4f448, event=0xffffff01) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 0x027474c6 in QApplicationPrivate::setFocusWidget (focus=0x8d4f448, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:2189
#28 0x0279bd30 in QWidget::setFocus (this=0x8d4f448, reason=Qt::OtherFocusReason) at kernel/qwidget.cpp:6283
#29 0x001ca085 in Konsole::ViewManager::viewActivated (this=0x8a25cd0, view=0x8d4f448) at ../../../../apps/konsole/src/ViewManager.cpp:408
#30 0x001d21de in Konsole::ViewManager::qt_metacall (this=0x8a25cd0, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbff61688) at ./ViewManager.moc:178
#31 0x0705b8ca in QMetaObject::metacall (object=0x8a25cd0, cl=117860560, idx=31, argv=0xbff61688) at kernel/qmetaobject.cpp:237
#32 0x0706e6ad in QMetaObject::activate (sender=0x8a3e070, m=0x1ee4bc, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3280
#33 0x001c4193 in Konsole::ViewContainer::activeViewChanged (this=0x8a3e070, _t1=0x8d4f448) at ./ViewContainer.moc:157
#34 0x001c48ad in Konsole::TabbedViewContainer::currentTabChanged (this=0x8a3e070, index=0) at ../../../../apps/konsole/src/ViewContainer.cpp:687
#35 0x001c8fd7 in Konsole::TabbedViewContainer::qt_metacall (this=0x8a3e070, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbff617e8) at ./ViewContainer.moc:304
#36 0x0705b8ca in QMetaObject::metacall (object=0x8a3e070, cl=117860560, idx=19, argv=0xbff617e8) at kernel/qmetaobject.cpp:237
#37 0x0706e6ad in QMetaObject::activate (sender=0x8a48db0, m=0x30c89a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#38 0x02c33a83 in QTabBar::currentChanged (this=0x8a48db0, _t1=0) at .moc/release-shared/moc_qtabbar.cpp:201
#39 0x02c38fff in QTabBar::setCurrentIndex (this=0x8a48db0, index=0) at widgets/qtabbar.cpp:1225
#40 0x02c3da88 in QTabBar::removeTab (this=0x8a48db0, index=0) at widgets/qtabbar.cpp:936
#41 0x001c4a57 in Konsole::TabbedViewContainer::removeViewWidget (this=0x8a3e070, view=0x8b858d8) at ../../../../apps/konsole/src/ViewContainer.cpp:745
#42 0x001c6031 in Konsole::ViewContainer::viewDestroyed (this=0x8a3e070, object=0x8b858d8) at ../../../../apps/konsole/src/ViewContainer.cpp:167
#43 0x001c60ff in Konsole::ViewContainer::qt_metacall (this=0x8a3e070, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbff61a58) at ./ViewContainer.moc:103
#44 0x001c8eda in Konsole::TabbedViewContainer::qt_metacall (this=0x8a3e070, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbff61a58) at ./ViewContainer.moc:295
#45 0x0705b8ca in QMetaObject::metacall (object=0x8a3e070, cl=117860560, idx=13, argv=0xbff61a58) at kernel/qmetaobject.cpp:237
#46 0x0706e6ad in QMetaObject::activate (sender=0x8b858d8, m=0x7183230, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#47 0x0706ebd3 in QObject::destroyed (this=0x8b858d8, _t1=0x8b858d8) at .moc/release-shared/moc_qobject.cpp:149
#48 0x0706fafa in QObject::~QObject (this=0x8b858d8, __in_chrg=<value optimized out>) at kernel/qobject.cpp:842
#49 0x027a69c6 in QWidget::~QWidget (this=0x8b858d8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1609
#50 0x001bd4c2 in Konsole::TerminalDisplay::~TerminalDisplay (this=0x8b858d8, __in_chrg=<value optimized out>) at ../../../../apps/konsole/src/TerminalDisplay.cpp:391
#51 0x070669a5 in qDeleteInEventHandler (o=0x0) at kernel/qobject.cpp:3988
#52 0x070686c8 in QObject::event (this=0x8b858d8, e=0xffffff01) at kernel/qobject.cpp:1202
#53 0x027a0936 in QWidget::event (this=0x8b858d8, event=0x8f3d388) at kernel/qwidget.cpp:8646
#54 0x001b9935 in Konsole::TerminalDisplay::event (this=0x8b858d8, event=0x8f3d388) at ../../../../apps/konsole/src/TerminalDisplay.cpp:2649
#55 0x02742fdc in QApplicationPrivate::notify_helper (this=0x89717a0, receiver=0x8b858d8, e=0x8f3d388) at kernel/qapplication.cpp:4396
#56 0x027490e9 in QApplication::notify (this=0xbff62574, receiver=0x8b858d8, e=0x8f3d388) at kernel/qapplication.cpp:4361
#57 0x00860d8a in KApplication::notify (this=0xbff62574, receiver=0x8b858d8, event=0x8f3d388) at ../../kdeui/kernel/kapplication.cpp:310
#58 0x07055b3b in QCoreApplication::notifyInternal (this=0xbff62574, receiver=0x8b858d8, event=0x8f3d388) at kernel/qcoreapplication.cpp:732
#59 0x07058d8b in sendEvent (receiver=0x0, event_type=0, data=0x894b9c8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x894b9c8) at kernel/qcoreapplication.cpp:1373
#61 0x07058f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#62 0x07084a74 in sendPostedEvents (s=0x8973110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#63 postEventSourceDispatch (s=0x8973110) at kernel/qeventdispatcher_glib.cpp:277
#64 0x0844b855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#65 0x0844f668 in ?? () from /lib/libglib-2.0.so.0
#66 0x0844f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#67 0x07084565 in QEventDispatcherGlib::processEvents (this=0x894b688, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#68 0x02804be5 in QGuiEventDispatcherGlib::processEvents (this=0x894b688, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x07054609 in QEventLoop::processEvents (this=0xbff624d4, flags=) at kernel/qeventloop.cpp:149
#70 0x07054a8a in QEventLoop::exec (this=0xbff624d4, flags=...) at kernel/qeventloop.cpp:201
#71 0x0705900f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#72 0x02741e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#73 0x00b6a6ab in kdemain (argc=1, argv=0xbff626b4) at ../../../../apps/konsole/src/main.cpp:77
#74 0x080485ab in main (argc=1, argv=0xbff626b4) at konsole_dummy.cpp:3

Possible duplicates by query: bug 264499, bug 262497.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-01-06 00:07:48 UTC
It is a good idea to upgrade KDE SC and Qt.

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