Bug 442632 - Kate crashes when you close it.
Summary: Kate crashes when you close it.
Status: RESOLVED DUPLICATE of bug 441859
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 21.08.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-09-18 06:34 UTC by vvs170
Modified: 2021-09-18 10:39 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 vvs170 2021-09-18 06:34:31 UTC
Application: kate (21.08.1)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.14.2-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
What I was doing when the application crashed:
- Close Kate with the 'Close' button.
- Close Kate with the 'Alt + F4' keyboard shortcut.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7ff7a68ca000 (LWP 4095))]
[KCrash Handler]
#6  0x00005634d3858373 in qDeleteAll<__gnu_cxx::__normal_iterator<KateMDI::ToolView* const*, std::vector<KateMDI::ToolView*, std::allocator<KateMDI::ToolView*> > > > (end=..., begin=0x5634d746e180) at /usr/include/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/qt5/QtCore/qalgorithms.h:328
#8  KateMDI::MainWindow::~MainWindow (__vtt_parm=<optimized out>, this=<optimized out>, this=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kate-21.08.1-1.1.x86_64/kate/katemdi.cpp:778
#9  KateMainWindow::~KateMainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kate-21.08.1-1.1.x86_64/kate/katemainwindow.cpp:203
#10 0x00005634d3858809 in KateMainWindow::~KateMainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kate-21.08.1-1.1.x86_64/kate/katemainwindow.cpp:203
#11 0x00007ff7a95b4d7f in QObject::event (this=0x5634d6a9bf30, e=0x5634d7590f20) at kernel/qobject.cpp:1301
#12 0x00007ff7aadcddd9 in KXmlGuiWindow::event (this=0x5634d6a9bf30, ev=0x5634d7590f20) at /usr/src/debug/kxmlgui-5.85.0-1.1.x86_64/src/kxmlguiwindow.cpp:219
#13 0x00007ff7aa170a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5634d6a9bf30, e=0x5634d7590f20) at kernel/qapplication.cpp:3632
#14 0x00007ff7a95889ea in QCoreApplication::notifyInternal2 (receiver=0x5634d6a9bf30, event=0x5634d7590f20) at kernel/qcoreapplication.cpp:1064
#15 0x00007ff7a958ba37 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5634d47060d0) at kernel/qcoreapplication.cpp:1821
#16 0x00007ff7a95e0843 in postEventSourceDispatch (s=s@entry=0x5634d4821ae0) at kernel/qeventdispatcher_glib.cpp:277
#17 0x00007ff7a759a80f in g_main_dispatch (context=0x7ff7a0005000) at ../glib/gmain.c:3337
#18 g_main_context_dispatch (context=0x7ff7a0005000) at ../glib/gmain.c:4055
#19 0x00007ff7a759ab98 in g_main_context_iterate (context=context@entry=0x7ff7a0005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#20 0x00007ff7a759ac4f in g_main_context_iteration (context=0x7ff7a0005000, may_block=1) at ../glib/gmain.c:4196
#21 0x00007ff7a95dfec4 in QEventDispatcherGlib::processEvents (this=0x5634d481c970, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007ff7a95873eb in QEventLoop::exec (this=this@entry=0x7fff01d72c60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#23 0x00007ff7a958f6d0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x00007ff7a99d719c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#25 0x00007ff7aa1709f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#26 0x00005634d3847ec0 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-21.08.1-1.1.x86_64/kate/main.cpp:688
[Inferior 1 (process 4095) detached]

The reporter indicates this bug may be a duplicate of or related to bug 442502.

Possible duplicates by query: bug 442526, bug 442502, bug 442147, bug 442036, bug 441859.

Reported using DrKonqi
Comment 1 Jan Paul Batrina 2021-09-18 10:39:15 UTC
Thanks for the bug report!

This is the same bug as https://bugs.kde.org/show_bug.cgi?id=441859. If you have more information on how to reproduce the bug, please add them to that bug report (e.g. Maybe the crash only happens when using the Terminal/Konsole KPart plugin)

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