Bug 441290 - kate crash.
Summary: kate crash.
Status: RESOLVED DUPLICATE of bug 441206
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 21.08.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-08-21 12:39 UTC by Tanaka Katsuharu
Modified: 2021-08-23 01:33 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 Tanaka Katsuharu 2021-08-21 12:39:05 UTC
Application: kate (21.08.0)

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.13.12-200.fc34.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: "Fedora release 34 (Thirty Four)"

-- Information about the crash:
- What I was doing when the application crashed:
It will be displayed when I finish my work in Kate and select the Exit or Exit menu in the upper right corner to execute it.
I think the basic cause is that at the end of Kate, instead of issuing an exit (0) to Linux, it is issuing a signal abort.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f1ac83d5c73 in QStackedLayout::widget(int) const () from /lib64/libQt5Widgets.so.5
#5  0x00007f1aa0413a1d in Konsole::TabbedViewContainer::viewSplitterAt(int) () from /lib64/libkonsoleprivate.so.21
#6  0x00007f1aa04168a6 in Konsole::TabbedViewContainer::currentTabViewCount() () from /lib64/libkonsoleprivate.so.21
#7  0x00007f1aa03be849 in Konsole::ViewManager::sessionFinished() () from /lib64/libkonsoleprivate.so.21
#8  0x00007f1ac78d9c99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00007f1ac78d9c99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007f1ac782dac3 in QProcess::finished(int, QProcess::ExitStatus) () from /lib64/libQt5Core.so.5
#11 0x00007f1ac7832083 in QProcessPrivate::_q_processDied() () from /lib64/libQt5Core.so.5
#12 0x00007f1ac7835d52 in QProcessPrivate::waitForFinished(int) () from /lib64/libQt5Core.so.5
#13 0x00007f1aa0428b3a in Konsole::Session::closeInNormalWay() () from /lib64/libkonsoleprivate.so.21
#14 0x00007f1aa041f13a in Konsole::Session::close() () from /lib64/libkonsoleprivate.so.21
#15 0x00007f1ac78d9c99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007f1ac78d4ce3 in QObject::destroyed(QObject*) () from /lib64/libQt5Core.so.5
#17 0x00007f1ac83ed753 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#18 0x00007f1aa03f91dd in Konsole::TerminalDisplay::~TerminalDisplay() () from /lib64/libkonsoleprivate.so.21
#19 0x00007f1ac78cf08a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#20 0x00007f1ac83ed496 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#21 0x00007f1aa039d6f5 in Konsole::ViewSplitter::~ViewSplitter() () from /lib64/libkonsoleprivate.so.21
#22 0x00007f1ac78cf08a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#23 0x00007f1ac83ed496 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#24 0x00007f1ac856a3cd in QStackedWidget::~QStackedWidget() () from /lib64/libQt5Widgets.so.5
#25 0x00007f1ac78cf08a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#26 0x00007f1ac83ed496 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#27 0x00007f1aa04139dd in Konsole::TabbedViewContainer::~TabbedViewContainer() () from /lib64/libkonsoleprivate.so.21
#28 0x00007f1ac9401707 in KParts::Part::~Part() () from /lib64/libKF5Parts.so.5
#29 0x00007f1aa385511c in Konsole::Part::~Part() () from /usr/lib64/qt5/plugins/konsolepart.so
#30 0x00007f1ac78cf08a in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#31 0x00007f1ac83ed496 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#32 0x00007f1aaf6ae8ab in KateKonsolePluginView::~KateKonsolePluginView() () from /usr/lib64/qt5/plugins/ktexteditor/katekonsoleplugin.so
#33 0x00007f1aaf6ae9fd in KateKonsolePluginView::~KateKonsolePluginView() () from /usr/lib64/qt5/plugins/ktexteditor/katekonsoleplugin.so
#34 0x00005613e3a43169 in KatePluginManager::disablePluginGUI(KatePluginInfo*, KateMainWindow*) [clone .part.0] ()
#35 0x00005613e3a33a53 in KateMainWindow::~KateMainWindow() ()
#36 0x00005613e3a3404d in KateMainWindow::~KateMainWindow() ()
#37 0x00007f1ac78d0631 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#38 0x00007f1ac903882d in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5
#39 0x00007f1ac83af423 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#40 0x00007f1ac78a6098 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#41 0x00007f1ac78a9606 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#42 0x00007f1ac78f7bf7 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#43 0x00007f1ac5b5e4cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#44 0x00007f1ac5bb24e8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#45 0x00007f1ac5b5bc03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#46 0x00007f1ac78f7698 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#47 0x00007f1ac78a4ab2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#48 0x00007f1ac78acfe4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#49 0x00005613e3a2357e in main ()
[Inferior 1 (process 20003) detached]

Reported using DrKonqi
Comment 1 Jan Paul Batrina 2021-08-23 01:33:02 UTC
Thanks for the bug report!

The bug is in the konsole kpart which kate(and dolphin, etc.) use for the integrated terminal.

The cause of the issue has been identified and a fix is under review in https://invent.kde.org/utilities/konsole/-/merge_requests/464.

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