Bug 208249 - Crash after session restore (QProcess::waitForFinished, Session::kill, Session::close, Session::removeView)
Summary: Crash after session restore (QProcess::waitForFinished, Session::kill, Sessio...
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-23 08:56 UTC by Duun
Modified: 2011-10-08 03:51 UTC (History)
1 user (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 Duun 2009-09-23 08:56:58 UTC
Application that crashed: konsole
Version of the application: 2.3
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.5-43.fc11.i686.PAE i686
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
logout with a konsole window open (>200 sessions, >20 windows, many with >10 tabs for one window) and then log back in resulted into windows with no shell but tabs, tab names, window possitions and decorations are ok. Konsole does'nt accept any input, you can't open new window/tab. After closing one of the windows it's results into two situations: 1.(cca 90%) this crash handler, 2.(cca 10%) it's start shell on all sessions, close this window and all works fine.

 -- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
[KCrash Handler]
#6  0x05b33c56 in ?? () from /usr/lib/libQtCore.so.4
#7  0x05af47ee in QProcess::waitForFinished(int) () from /usr/lib/libQtCore.so.4
#8  0x05da88cf in Konsole::Session::kill(int) () from /usr/lib/libkonsoleprivate.so
#9  0x05dacf20 in Konsole::Session::close() () from /usr/lib/libkonsoleprivate.so
#10 0x05dad1b3 in Konsole::Session::removeView(Konsole::TerminalDisplay*) () from /usr/lib/libkonsoleprivate.so
#11 0x05dad1e4 in Konsole::Session::viewDestroyed(QObject*) () from /usr/lib/libkonsoleprivate.so
#12 0x05dae7f7 in Konsole::Session::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkonsoleprivate.so
#13 0x05b6c853 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#14 0x05b6ccc8 in QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) () from /usr/lib/libQtCore.so.4
#15 0x05b6cd5b in QObject::destroyed(QObject*) () from /usr/lib/libQtCore.so.4
#16 0x05b6db16 in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#17 0x0689b52f in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#18 0x05dcc566 in Konsole::TerminalDisplay::~TerminalDisplay() () from /usr/lib/libkonsoleprivate.so
#19 0x05b659ef in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#20 0x0689b3bb in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#21 0x06c4d7a1 in QFrame::~QFrame() () from /usr/lib/libQtGui.so.4
#22 0x06cbcd55 in QStackedWidget::~QStackedWidget() () from /usr/lib/libQtGui.so.4
#23 0x05b659ef in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#24 0x0689b8ab in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#25 0x05b659ef in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#26 0x0689b3bb in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#27 0x06c4d7a1 in QFrame::~QFrame() () from /usr/lib/libQtGui.so.4
#28 0x06cb7ba3 in QSplitter::~QSplitter() () from /usr/lib/libQtGui.so.4
#29 0x05de39ad in ?? () from /usr/lib/libkonsoleprivate.so
#30 0x05b659ef in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#31 0x0689b8ab in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#32 0x05b659ef in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#33 0x0689b3bb in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
#34 0x06c6a271 in QMainWindow::~QMainWindow() () from /usr/lib/libQtGui.so.4
#35 0x064fb494 in KMainWindow::~KMainWindow() () from /usr/lib/libkdeui.so.5
#36 0x0653e498 in KXmlGuiWindow::~KXmlGuiWindow() () from /usr/lib/libkdeui.so.5
#37 0x009f2f86 in KMainWindow::restore(int, bool) () from /usr/lib/libkdeinit4_konsole.so
#38 0x05b656a5 in qDeleteInEventHandler(QObject*) () from /usr/lib/libQtCore.so.4
#39 0x05b66bfb in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#40 0x0689f496 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#41 0x06c6b127 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#42 0x064f84bc in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#43 0x0653ed1f in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#44 0x0684a974 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#45 0x0685203a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#46 0x0641260a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#47 0x05b56b0b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#48 0x05b57732 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#49 0x05b578ed in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#50 0x05b819bf in ?? () from /usr/lib/libQtCore.so.4
#51 0x0596e308 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#52 0x059719e0 in ?? () from /lib/libglib-2.0.so.0
#53 0x05971b13 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#54 0x05b815ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#55 0x068e9cb5 in ?? () from /usr/lib/libQtGui.so.4
#56 0x05b550d9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#57 0x05b5552a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#58 0x05b579af in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#59 0x0684a7f7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#60 0x009f5240 in kdemain () from /usr/lib/libkdeinit4_konsole.so
#61 0x080486db in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2011-09-19 19:25:52 UTC
This crash seems related with bug #248155(both happens when restoring large amout of sessions after login), although I failed to reproduce any of them.