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

            Bug ID: 442746
           Summary: Kate crashes when closing if remote files are opened
           Product: kate
           Version: 21.08.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: kate (21.08.1)

Qt Version: 5.15.2
Frameworks Version: 5.86.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:
If I have in Kate some remote files (e.g. opened from SFTP server), or files
opened from KMail (e-mail attachments) and I close Kate, it crashes. If I close
Kate when only "classical" local files are opened, it terminates normally.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f69efbd4000
(LWP 2481))]
[KCrash Handler]
#6  0x000055d981608373 in
qDeleteAll<__gnu_cxx::__normal_iterator<KateMDI::ToolView* const*,
std::vector<KateMDI::ToolView*, std::allocator<KateMDI::ToolView*> > > >
(end=..., begin=...) at /usr/include/qt5/QtCore/qalgorithms.h:320
#7  qDeleteAll<std::vector<KateMDI::ToolView*,
std::allocator<KateMDI::ToolView*> > > (c=...) 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 0x000055d981608809 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 0x00007f69f28c1d7f in QObject::event (this=0x55d984354f60,
e=0x55d986253c70) at kernel/qobject.cpp:1301
#12 0x00007f69f40e1dd9 in KXmlGuiWindow::event(QEvent*) () from
/lib64/libKF5XmlGui.so.5
#13 0x00007f69f347da7f in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#14 0x00007f69f28959ea in QCoreApplication::notifyInternal2
(receiver=0x55d984354f60, event=0x55d986253c70) at
kernel/qcoreapplication.cpp:1064
#15 0x00007f69f2898a37 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x55d981d38fb0) at
kernel/qcoreapplication.cpp:1821
#16 0x00007f69f28ed843 in postEventSourceDispatch (s=s@entry=0x55d981ec5460) at
kernel/qeventdispatcher_glib.cpp:277
#17 0x00007f69f08a480f in g_main_dispatch (context=0x7f69e8005000) at
../glib/gmain.c:3337
#18 g_main_context_dispatch (context=0x7f69e8005000) at ../glib/gmain.c:4055
#19 0x00007f69f08a4b98 in g_main_context_iterate
(context=context@entry=0x7f69e8005000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#20 0x00007f69f08a4c4f in g_main_context_iteration (context=0x7f69e8005000,
may_block=1) at ../glib/gmain.c:4196
#21 0x00007f69f28ecec4 in QEventDispatcherGlib::processEvents
(this=0x55d981ec7790, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#22 0x00007f69f28943eb in QEventLoop::exec (this=this@entry=0x7ffc96392460,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#23 0x00007f69f289c6d0 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#24 0x000055d9815f7ec0 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 2481) detached]

Possible duplicates by query: bug 442647, bug 442632, bug 442526, bug 442502,
bug 442147.

Reported using DrKonqi

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

Reply via email to