Bug 442417 - Kate crashes on close
Summary: Kate crashes on close
Status: RESOLVED DUPLICATE of bug 441859
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 21.08.1
Platform: Kubuntu Linux
: VHI critical
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-09-14 07:16 UTC by Rahul Chowdhury
Modified: 2021-09-14 09:58 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 Rahul Chowdhury 2021-09-14 07:16:37 UTC
Application: kate (21.08.1)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.13.0-14-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: Ubuntu Impish Indri (development branch)

-- Information about the crash:
- What I was doing when the application crashed: Had some unsaved content on a Kate window.

- Unusual behavior I noticed: Crashed while trying to close using the quit icon on top-right corner.

- Custom settings of the application: None

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f0069d3e980 (LWP 16638))]
[KCrash Handler]
#6  0x000055e317e54bcb in qDeleteAll<__gnu_cxx::__normal_iterator<KateMDI::ToolView* const*, std::vector<KateMDI::ToolView*, std::allocator<KateMDI::ToolView*> > > > (end=..., begin=0x55e31a8f0540) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:320
#7  qDeleteAll<std::vector<KateMDI::ToolView*, std::allocator<KateMDI::ToolView*> > > (c=std::vector of length 1, capacity 32 = {...}) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#8  KateMDI::MainWindow::~MainWindow (__vtt_parm=<optimized out>, this=<optimized out>, this=<optimized out>, __vtt_parm=<optimized out>) at ./kate/katemdi.cpp:778
#9  KateMainWindow::~KateMainWindow (this=<optimized out>, this=<optimized out>) at ./kate/katemainwindow.cpp:203
#10 0x000055e317e5505d in KateMainWindow::~KateMainWindow (this=<optimized out>, this=<optimized out>) at ./kate/katemainwindow.cpp:203
#11 0x00007f006e81d543 in QObject::event (this=0x55e31a273df0, e=0x55e31b2ff6f0) at kernel/qobject.cpp:1301
#12 0x00007f006ff96dcd in KXmlGuiWindow::event (this=0x55e31a273df0, ev=0x55e31b2ff6f0) at ./src/kxmlguiwindow.cpp:219
#13 0x00007f006f31c6b3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e31a273df0, e=0x55e31b2ff6f0) at kernel/qapplication.cpp:3632
#14 0x00007f006e7f01ba in QCoreApplication::notifyInternal2 (receiver=0x55e31a273df0, event=0x55e31b2ff6f0) at kernel/qcoreapplication.cpp:1063
#15 0x00007f006e7f32a7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55e318f4aec0) at kernel/qcoreapplication.cpp:1817
#16 0x00007f006e849f57 in postEventSourceDispatch (s=0x55e319041c00) at kernel/qeventdispatcher_glib.cpp:277
#17 0x00007f006c7c18eb in g_main_dispatch (context=0x7f0060005000) at ../../../glib/gmain.c:3337
#18 g_main_context_dispatch (context=0x7f0060005000) at ../../../glib/gmain.c:4055
#19 0x00007f006c814f48 in g_main_context_iterate.constprop.0 (context=context@entry=0x7f0060005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4131
#20 0x00007f006c7bf033 in g_main_context_iteration (context=0x7f0060005000, may_block=1) at ../../../glib/gmain.c:4196
#21 0x00007f006e8495a8 in QEventDispatcherGlib::processEvents (this=0x55e319051700, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007f006e7eeaeb in QEventLoop::exec (this=this@entry=0x7fffe5111310, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#23 0x00007f006e7f7074 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x00007f006ebcad00 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#25 0x00007f006f31c629 in QApplication::exec () at kernel/qapplication.cpp:2824
#26 0x000055e317e444ee in main (argc=<optimized out>, argv=<optimized out>) at ./kate/main.cpp:699
[Inferior 1 (process 16638) detached]

Possible duplicates by query: bug 442147, bug 442036, bug 441859, bug 441545, bug 441462.

Reported using DrKonqi
Comment 1 Jan Paul Batrina 2021-09-14 09:58:33 UTC
Please provide the requested information in https://bugs.kde.org/show_bug.cgi?id=441859.

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