https://bugs.kde.org/show_bug.cgi?id=443940

            Bug ID: 443940
           Summary: Kate crashes on closing the application
           Product: kate
           Version: 21.08.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: jappl...@redhat.com
  Target Milestone: ---

Application: kate (21.08.0)

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

-- Information about the crash:
- This crash has happened multiple times, in either a case where:
  - I have multiple tabs open and click the [x] button
  - I have closed all but one empty tab and then click the [x] button

I have had Kate crash similarly with only Kate open on the desktop, or with all
of my standard applications open.  It happens every time I have closed kate in
the past couple of weeks.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x0000564dd7131bbb in
qDeleteAll<__gnu_cxx::__normal_iterator<KateMDI::ToolView* const*,
std::vector<KateMDI::ToolView*, std::allocator<KateMDI::ToolView*> > > >
(end=..., begin=0x564dd991ca40) at /usr/include/qt5/QtCore/qalgorithms.h:320
#5  qDeleteAll<std::vector<KateMDI::ToolView*,
std::allocator<KateMDI::ToolView*> > > (c=std::vector of length 1, capacity 32
= {...}) at /usr/include/qt5/QtCore/qalgorithms.h:328
#6  KateMDI::MainWindow::~MainWindow (__vtt_parm=<optimized out>,
this=<optimized out>, this=<optimized out>, __vtt_parm=<optimized out>) at
/usr/src/debug/kate-21.08.0-1.fc34.x86_64/kate/katemdi.cpp:778
#7  KateMainWindow::~KateMainWindow (this=<optimized out>, this=<optimized
out>) at /usr/src/debug/kate-21.08.0-1.fc34.x86_64/kate/katemainwindow.cpp:203
#8  0x0000564dd713204d in KateMainWindow::~KateMainWindow (this=<optimized
out>, this=<optimized out>) at
/usr/src/debug/kate-21.08.0-1.fc34.x86_64/kate/katemainwindow.cpp:203
#9  0x00007f05c7ddbd31 in QObject::event (this=0x564dd93ac070,
e=0x564ddc136220) at kernel/qobject.cpp:1301
#10 0x00007f05c9538d2d in KXmlGuiWindow::event(QEvent*) () from
/lib64/libKF5XmlGui.so.5
#11 0x00007f05c88be443 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x564dd93ac070, e=0x564ddc136220) at
kernel/qapplication.cpp:3632
#12 0x00007f05c7db1798 in QCoreApplication::notifyInternal2
(receiver=0x564dd93ac070, event=0x564ddc136220) at
kernel/qcoreapplication.cpp:1064
#13 0x00007f05c7db4d06 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x564dd8faf000) at
kernel/qcoreapplication.cpp:1821
#14 0x00007f05c7e030d7 in postEventSourceDispatch (s=0x564dd912a6d0) at
kernel/qeventdispatcher_glib.cpp:277
#15 0x00007f05c5ff64cf in g_main_dispatch (context=0x7f05b0005000) at
../glib/gmain.c:3337
#16 g_main_context_dispatch (context=0x7f05b0005000) at ../glib/gmain.c:4055
#17 0x00007f05c604a4f8 in g_main_context_iterate.constprop.0
(context=context@entry=0x7f05b0005000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#18 0x00007f05c5ff3c03 in g_main_context_iteration (context=0x7f05b0005000,
may_block=1) at ../glib/gmain.c:4196
#19 0x00007f05c7e02b78 in QEventDispatcherGlib::processEvents
(this=0x564dd912bd80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#20 0x00007f05c7db01a2 in QEventLoop::exec (this=this@entry=0x7fff7e6074c0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#21 0x00007f05c7db86e4 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#22 0x0000564dd712157e in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kate-21.08.0-1.fc34.x86_64/kate/main.cpp:699
[Inferior 1 (process 21853) detached]

The reporter indicates this bug may be a duplicate of or related to bug 442838,
bug 442632.

Possible duplicates by query: bug 443935, bug 443784, bug 443771, bug 443586,
bug 443435.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to