Bug 442838 - Kate crashes when closing
Summary: Kate crashes when closing
Status: RESOLVED DUPLICATE of bug 442746
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.08.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-09-23 11:15 UTC by mpissanga
Modified: 2021-09-24 09:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mpissanga 2021-09-23 11:15:48 UTC
Application: kate (21.08.1)

Qt Version: 5.15.3
Frameworks Version: 5.86.0
Operating System: Linux 5.11.0-34-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: KDE neon User Edition 5.22

-- Information about the crash:
- What I was doing when the application crashed:
I closed the application by clicking the cross on the top bar.

The crash can be reproduced every time.

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

[New LWP 13283]
[New LWP 13284]
[New LWP 13286]
[New LWP 13287]
[New LWP 13288]
[New LWP 13289]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f05253faaff in __GI___poll (fds=0x7ffdd31e3cf8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f052121f9c0 (LWP 13281))]

Thread 7 (Thread 0x7f0514959700 (LWP 13289)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5557fbb7a298) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5557fbb7a248, cond=0x5557fbb7a270) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5557fbb7a270, mutex=0x5557fbb7a248) at pthread_cond_wait.c:638
#3  0x00007f0516512e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f0516512a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f05241a2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0525407293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f051515a700 (LWP 13288)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5557fbb7a298) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5557fbb7a248, cond=0x5557fbb7a270) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5557fbb7a270, mutex=0x5557fbb7a248) at pthread_cond_wait.c:638
#3  0x00007f0516512e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f0516512a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f05241a2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0525407293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f051595b700 (LWP 13287)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5557fbb7a298) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5557fbb7a248, cond=0x5557fbb7a270) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5557fbb7a270, mutex=0x5557fbb7a248) at pthread_cond_wait.c:638
#3  0x00007f0516512e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f0516512a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f05241a2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0525407293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f051615c700 (LWP 13286)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5557fbb7a298) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5557fbb7a248, cond=0x5557fbb7a270) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5557fbb7a270, mutex=0x5557fbb7a248) at pthread_cond_wait.c:638
#3  0x00007f0516512e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f0516512a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f05241a2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0525407293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f051eccb700 (LWP 13284)):
#0  0x00007f05237d64dd in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0523789331 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f05237894a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f05259c85eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f052596c87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0525786292 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f0526a20f4b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f052578742c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f05241a2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0525407293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f05201ad700 (LWP 13283)):
#0  0x00007f05253faaff in __GI___poll (fds=0x7f05201acae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f05241d6c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f05241d890a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f05208e5e88 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f052578742c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f05241a2609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f0525407293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f052121f9c0 (LWP 13281)):
[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00005557fa12c656 in qDeleteAll<__gnu_cxx::__normal_iterator<KateMDI::ToolView* const*, std::vector<KateMDI::ToolView*, std::allocator<KateMDI::ToolView*> > > > (end=..., begin=0x5557fbccff90) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:319
#6  qDeleteAll<std::vector<KateMDI::ToolView*, std::allocator<KateMDI::ToolView*> > > (c=std::vector of length 1, capacity 16 = {...}) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#7  KateMDI::MainWindow::~MainWindow (this=0x5557fb8efde0, __vtt_parm=0x5557fa1db5c8 <VTT for KateMainWindow+8>, __in_chrg=<optimized out>) at ./kate/katemdi.cpp:778
#8  0x00005557fa12699d in KateMainWindow::~KateMainWindow (this=this@entry=0x5557fb8efde0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
#9  0x00005557fa126abd in KateMainWindow::~KateMainWindow (this=0x5557fb8efde0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./kate/katemainwindow.cpp:181
#10 0x00007f052599b6b3 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f05264f0c9d in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f0526609a58 in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f0527174e53 in KMainWindow::event (this=this@entry=0x5557fb8efde0, ev=ev@entry=0x5557fb99eb90) at ./src/kmainwindow.cpp:919
#14 0x00007f05271c4ceb in KXmlGuiWindow::event (this=0x5557fb8efde0, ev=0x5557fb99eb90) at ./src/kxmlguiwindow.cpp:219
#15 0x00007f05264addc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f05264b6bb8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f052596dd7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f0525970681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f05259c8f77 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f052378917d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f0523789400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f05237894a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f05259c85d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f052596c87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f0525974a34 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00005557fa1130c5 in main (argc=<optimized out>, argv=<optimized out>) at ./kate/main.cpp:699
[Inferior 1 (process 13281) detached]

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

Reported using DrKonqi
Comment 1 Jan Paul Batrina 2021-09-24 09:51:25 UTC
Thanks for the bug report! the same crash has been previously reported. If you have the time, please list down the list of plugins you use (or any other information that can help narrow down the cause) to the linked duplicate bug report.

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