Bug 374887 - konsole crashed while rearranging tabs
Summary: konsole crashed while rearranging tabs
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 16.08.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
: 373892 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-10 21:51 UTC by John Florian
Modified: 2020-10-23 23:57 UTC (History)
2 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 John Florian 2017-01-10 21:51:51 UTC
Application: konsole (16.08.3)

Qt Version: 5.7.1
Frameworks Version: 5.29.0
Operating System: Linux 4.8.15-300.fc25.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I meant to swap two konsole tabs and acidentally detached instead.  So I re-attached the tab.  However, when I went to rearrange them as per my original wish, kaboom.

I really hate the single PID konsole.  When it crashes its an awful user experience causing so much lost work and context.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7b66db9dc0 (LWP 2663))]

Thread 3 (Thread 0x7f7b45274700 (LWP 2665)):
#0  0x00007f7b60f9001d in poll () from /lib64/libc.so.6
#1  0x00007f7b5a3ab156 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f7b5a3ab26c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f7b61d9673b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f7b61d4773a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f7b61ba45f3 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f7b66e5e739 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f7b61ba89da in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f7b5f6e1754 in ?? () from /usr/lib64/nvidia-304xx/libGL.so.1
#9  0x00007f7b5f95b6ca in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7b60f9bf7f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f7b46de3700 (LWP 2664)):
#0  0x00007f7b60f9001d in poll () from /lib64/libc.so.6
#1  0x00007f7b5e994d10 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f7b5e996aa9 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f7b4bac1d69 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f7b61ba89da in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f7b5f6e1754 in ?? () from /usr/lib64/nvidia-304xx/libGL.so.1
#6  0x00007f7b5f95b6ca in start_thread () from /lib64/libpthread.so.0
#7  0x00007f7b60f9bf7f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f7b66db9dc0 (LWP 2663)):
[KCrash Handler]
#6  0x00007f7b66ee5226 in QDomNodePrivate::ownerDocument() () from /lib64/libQt5Xml.so.5
#7  0x00007f7b66ee55cd in QDomNodePrivate::QDomNodePrivate(QDomNodePrivate*, bool) () from /lib64/libQt5Xml.so.5
#8  0x00007f7b66ee57c5 in QDomTextPrivate::cloneNode(bool) () from /lib64/libQt5Xml.so.5
#9  0x00007f7b66ee566e in QDomNodePrivate::QDomNodePrivate(QDomNodePrivate*, bool) () from /lib64/libQt5Xml.so.5
#10 0x00007f7b66ee5775 in QDomAttrPrivate::cloneNode(bool) () from /lib64/libQt5Xml.so.5
#11 0x00007f7b66eeda27 in QDomNamedNodeMapPrivate::clone(QDomNodePrivate*) () from /lib64/libQt5Xml.so.5
#12 0x00007f7b66eeda7a in QDomElementPrivate::QDomElementPrivate(QDomElementPrivate*, bool) () from /lib64/libQt5Xml.so.5
#13 0x00007f7b66eedab5 in QDomElementPrivate::cloneNode(bool) () from /lib64/libQt5Xml.so.5
#14 0x00007f7b66ee566e in QDomNodePrivate::QDomNodePrivate(QDomNodePrivate*, bool) () from /lib64/libQt5Xml.so.5
#15 0x00007f7b66eeda64 in QDomElementPrivate::QDomElementPrivate(QDomElementPrivate*, bool) () from /lib64/libQt5Xml.so.5
#16 0x00007f7b66eedab5 in QDomElementPrivate::cloneNode(bool) () from /lib64/libQt5Xml.so.5
#17 0x00007f7b66ee566e in QDomNodePrivate::QDomNodePrivate(QDomNodePrivate*, bool) () from /lib64/libQt5Xml.so.5
#18 0x00007f7b66eeda64 in QDomElementPrivate::QDomElementPrivate(QDomElementPrivate*, bool) () from /lib64/libQt5Xml.so.5
#19 0x00007f7b66eedab5 in QDomElementPrivate::cloneNode(bool) () from /lib64/libQt5Xml.so.5
#20 0x00007f7b66ee566e in QDomNodePrivate::QDomNodePrivate(QDomNodePrivate*, bool) () from /lib64/libQt5Xml.so.5
#21 0x00007f7b66ee9154 in QDomDocumentPrivate::QDomDocumentPrivate(QDomDocumentPrivate*, bool) () from /lib64/libQt5Xml.so.5
#22 0x00007f7b66ee9225 in QDomDocumentPrivate::cloneNode(bool) () from /lib64/libQt5Xml.so.5
#23 0x00007f7b66ee6235 in QDomNode::cloneNode(bool) const () from /lib64/libQt5Xml.so.5
#24 0x00007f7b65f11aa6 in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /lib64/libKF5XmlGui.so.5
#25 0x00007f7b66b60493 in Konsole::MainWindow::disconnectController(Konsole::SessionController*) () from /lib64/libkdeinit5_konsole.so
#26 0x00007f7b66b6301d in Konsole::MainWindow::activeViewChanged(Konsole::SessionController*) () from /lib64/libkdeinit5_konsole.so
#27 0x00007f7b61d6fae6 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#28 0x00007f7b668f8a22 in Konsole::ViewManager::activeViewChanged(Konsole::SessionController*) () from /lib64/libkonsoleprivate.so.16
#29 0x00007f7b61d6fae6 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#30 0x00007f7b668f7faf in Konsole::SessionController::focused(Konsole::SessionController*) () from /lib64/libkonsoleprivate.so.16
#31 0x00007f7b668c288b in Konsole::SessionController::eventFilter(QObject*, QEvent*) () from /lib64/libkonsoleprivate.so.16
#32 0x00007f7b61d48592 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#33 0x00007f7b6281cea5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#34 0x00007f7b62824671 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#35 0x00007f7b61d487aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#36 0x00007f7b628221be in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () from /lib64/libQt5Widgets.so.5
#37 0x00007f7b6285ead5 in QWidget::setFocus(Qt::FocusReason) () from /lib64/libQt5Widgets.so.5
#38 0x00007f7b62845943 in QStackedLayout::setCurrentIndex(int) () from /lib64/libQt5Widgets.so.5
#39 0x00007f7b668e0984 in Konsole::TabbedViewContainer::currentTabChanged(int) () from /lib64/libkonsoleprivate.so.16
#40 0x00007f7b61d6fae6 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#41 0x00007f7b629b093e in QTabBar::currentChanged(int) () from /lib64/libQt5Widgets.so.5
#42 0x00007f7b629b4ed5 in QTabBar::setCurrentIndex(int) () from /lib64/libQt5Widgets.so.5
#43 0x00007f7b629b7580 in QTabBar::mousePressEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#44 0x00007f7b62865120 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#45 0x00007f7b629b5a83 in QTabBar::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#46 0x00007f7b6281cecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#47 0x00007f7b6282552d in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#48 0x00007f7b61d487aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#49 0x00007f7b62823bbd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQt5Widgets.so.5
#50 0x00007f7b6287ef06 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#51 0x00007f7b62881963 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#52 0x00007f7b6281cecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#53 0x00007f7b62824671 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#54 0x00007f7b61d487aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#55 0x00007f7b623132b3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#56 0x00007f7b62314d85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#57 0x00007f7b622f5c4b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#58 0x00007f7b4baf8750 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#59 0x00007f7b5a3aae42 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#60 0x00007f7b5a3ab1c0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#61 0x00007f7b5a3ab26c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#62 0x00007f7b61d9671f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#63 0x00007f7b61d4773a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#64 0x00007f7b61d4f23c in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#65 0x00007f7b66b6f973 in kdemain () from /lib64/libkdeinit5_konsole.so
#66 0x00007f7b60eb4401 in __libc_start_main () from /lib64/libc.so.6
#67 0x000055896ffc8a8a in _start ()

Reported using DrKonqi
Comment 1 Kurt Hindenburg 2017-01-28 22:05:56 UTC
As a FYI, the next version of Konsole has split process id for tabs.
Comment 2 Christoph Feck 2017-02-03 22:01:17 UTC
*** Bug 373892 has been marked as a duplicate of this bug. ***
Comment 3 Justin Zobel 2020-10-23 02:24:49 UTC
John, can you please confirm if this is still an issue with Konsole 20.08.1+.
Comment 4 John Florian 2020-10-23 13:31:50 UTC
I only have 20.04.1 (via Fedora 32).  It's become extremely rare to have a konsole crash.  That said, I had one last week although I can't tell you what I was doing or if it was 20.04.1 for certain.  Often when I lose so many open shells and thought trains, I decide that's as good as any time to shut everything down, apply updates and find my way back.  I should just logout everyday to minimize my context but I've never been very good at putting my toys away. :-)
Comment 5 Justin Zobel 2020-10-23 23:57:08 UTC
Thanks for your reply John. I'll close this bug for now as it's for an older version. If you get another crash using your current version please report and the team can investigate.