<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>441290</bug_id>
          
          <creation_ts>2021-08-21 12:39:05 +0000</creation_ts>
          <short_desc>kate crash.</short_desc>
          <delta_ts>2021-08-23 01:33:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>general</component>
          <version>21.08.0</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>441206</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Tanaka Katsuharu">ktsh.tanaka.2020</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>jpmbatrina01</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2054994</commentid>
    <comment_count>0</comment_count>
    <who name="Tanaka Katsuharu">ktsh.tanaka.2020</who>
    <bug_when>2021-08-21 12:39:05 +0000</bug_when>
    <thetext>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: &quot;Fedora release 34 (Thirty Four)&quot;

-- 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&lt;false&gt;(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00007f1ac78d9c99 in void doActivate&lt;false&gt;(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&lt;false&gt;(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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#47 0x00007f1ac78a4ab2 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055353</commentid>
    <comment_count>1</comment_count>
    <who name="Jan Paul Batrina">jpmbatrina01</who>
    <bug_when>2021-08-23 01:33:02 +0000</bug_when>
    <thetext>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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>