Bug 482678 - Kate crashes after selecting all text and deleting it
Summary: Kate crashes after selecting all text and deleting it
Status: RESOLVED DUPLICATE of bug 482152
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2024-03-07 09:49 UTC by rjx_
Modified: 2024-03-07 14:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
core dump (34.52 KB, text/vnd.kde.kcrash-report)
2024-03-07 10:23 UTC, rjx_
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rjx_ 2024-03-07 09:49:28 UTC
Application: kate (24.02.0)

Qt Version: 6.6.2
Frameworks Version: 6.0.0
Operating System: Linux 6.7.8-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.0.1 [CoredumpBackend]

-- Information about the crash:
Just selected all the text via ctrl-a in a python file (with LSP loaded and build plugin panel on the bottom open) and deleted it, which instantly crashed kate.
This new release crashed a few times already, likely in a similar manner (i have not paid as much attention back then, so not sure abt it).
Circumstances, if they help any: screen was split with Plasma's tiling editor vertically in half, kate 24.02.0 on the right and chromium playing a video on the left.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
Downloading separate debug info for /usr/bin/kate...
[New LWP 10542]
[New LWP 10543]
[New LWP 10545]
[New LWP 10544]
[New LWP 10547]
[New LWP 10546]
Downloading separate debug info for /usr/lib/libkateprivate.so.24.02.0...
Downloading separate debug info for /usr/lib/libKF6TextEditor.so.6...
Downloading separate debug info for /usr/lib/libKF6TextWidgets.so.6...
Downloading separate debug info for /usr/lib/libKF6UserFeedbackWidgets.so.6...
Downloading separate debug info for /usr/lib/libKF6Parts.so.6...
Downloading separate debug info for /usr/lib/libKF6SyntaxHighlighting.so.6...
Downloading separate debug info for /usr/lib/libb2.so.1...
Downloading separate debug info for /usr/lib/libeditorconfig.so.0...
Downloading separate debug info for /usr/lib/libQt6TextToSpeech.so.6...
Downloading separate debug info for /usr/lib/libKF6SonnetUi.so.6...
Downloading separate debug info for /usr/lib/libKF6SonnetCore.so.6...
Downloading separate debug info for /usr/lib/libQt6Multimedia.so.6...
Downloading separate debug info for /usr/lib/libpulse.so.0...
Downloading separate debug info for /usr/lib/libpsl.so.5...
Downloading separate debug info for /usr/lib/pulseaudio/libpulsecommon-17.0.so...
Downloading separate debug info for /usr/lib/libvorbisfile.so.3...
Downloading separate debug info for /usr/lib/libunistring.so.5...
Downloading separate debug info for /usr/lib/libsndfile.so.1...
Downloading separate debug info for /usr/lib/libasyncns.so.0...
Downloading separate debug info for /usr/lib/libvorbis.so.0...
Downloading separate debug info for /usr/lib/libogg.so.0...
Downloading separate debug info for /usr/lib/libvorbisenc.so.2...
Downloading separate debug info for /usr/lib/libFLAC.so.12...
Downloading separate debug info for /usr/lib/libopus.so.0...
Downloading separate debug info for /usr/lib/libmpg123.so.0...
Downloading separate debug info for /usr/lib/libmp3lame.so.0...
Downloading separate debug info for /usr/lib/qt6/plugins/iconengines/libqsvgicon.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/sonnet/sonnet_hunspell.so...
Downloading separate debug info for /usr/lib/libhunspell-1.7.so.0...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/ktexteditor/katesearchplugin.so...
Downloading separate debug info for /usr/lib/libQt6Concurrent.so.6...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/ktexteditor/externaltoolsplugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/ktexteditor/katekonsoleplugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/ktexteditor/lspclientplugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/ktexteditor/tabswitcherplugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/ktexteditor/textfilterplugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/ktexteditor/katebuildplugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/ktexteditor/katexmltoolsplugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/kf6/ktexteditor/openlinkplugin.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/kimg_ora.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/kimg_exr.so...
Downloading separate debug info for /usr/lib/libOpenEXR-3_2.so.31...
Downloading separate debug info for /usr/lib/libIex-3_2.so.31...
Downloading separate debug info for /usr/lib/libImath-3_1.so.29...
Downloading separate debug info for /usr/lib/libIlmThread-3_2.so.31...
Downloading separate debug info for /usr/lib/libOpenEXRCore-3_2.so.31...
Downloading separate debug info for /usr/lib/libdeflate.so.0...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/kimg_pic.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/kimg_pcx.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqjpeg.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libjpeg.so.8...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqtga.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqtiff.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libtiff.so.6...
Downloading separate debug info for /usr/lib/libjbig.so.2.1...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/kimg_xcf.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqpdf.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libQt6Pdf.so.6...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libopenjp2.so.7...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/kimg_hdr.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqwebp.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libwebpdemux.so.2...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libwebpmux.so.3...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libwebp.so.7...
Downloading separate debug info for /usr/lib/libsharpyuv.so.0...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/kimg_qoi.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqmng.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libmng.so.2...
Downloading separate debug info for /usr/lib/liblcms2.so.2...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqico.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/kimg_kra.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/kimg_rgb.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqjp2.so...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/../../../libjasper.so.7...
Downloading separate debug info for /usr/lib/qt6/plugins/imageformats/libqsvg.so...
Downloading separate debug info for system-supplied DSO at 0x7fffb9996000...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/kate -b --tempfile'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x780891b57e80 (LWP 10542))]

Cannot QML trace cores :(
Downloading source file /usr/src/debug/kate/kate-24.02.0/apps/kate/main.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qsocketnotifier.cpp...
Downloading source file /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp...
Downloading source file /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qprocess.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/io/qprocess.cpp...
Downloading source file /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h...
Downloading source file /usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientserver.cpp...
Downloading source file /usr/src/debug/kate/build/addons/lspclient/lspclientplugin_autogen/include/moc_lspclientserver.cpp...
Downloading source file /usr/src/debug/kate/build/apps/lib/kateprivate_autogen/include/moc_diagnosticview.cpp...
Downloading source file /usr/src/debug/kate/kate-24.02.0/apps/lib/diagnostics/diagnosticview.cpp...
Downloading source file /usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/buffer/katetextrange.cpp...
[Current thread is 1 (Thread 0x780891b57e80 (LWP 10542))]

Thread 6 (Thread 0x78088a0006c0 (LWP 10546)):
#0  0x00007808972a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5f871f53e848) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5f871f53e848, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007808972a5f3f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5f871f53e848, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007808972a8750 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5f871f53e7f0, cond=0x5f871f53e820) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5f871f53e820, mutex=0x5f871f53e7f0) at pthread_cond_wait.c:618
#5  0x0000780881c8681c in cnd_wait () at ../mesa-24.0.2/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func () at ../mesa-24.0.2/src/util/u_queue.c:290
#7  0x0000780881c9e7ec in impl_thrd_routine () at ../mesa-24.0.2/src/c11/impl/threads_posix.c:67
#8  0x00007808972a955a in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x0000780897326a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7808896006c0 (LWP 10547)):
#0  0x00007808972a5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5f871f526a30) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5f871f526a30, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007808972a5f3f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5f871f526a30, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007808972a8750 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5f871f5269d8, cond=0x5f871f526a08) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5f871f526a08, mutex=0x5f871f5269d8) at pthread_cond_wait.c:618
#5  0x0000780881c8681c in cnd_wait () at ../mesa-24.0.2/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func () at ../mesa-24.0.2/src/util/u_queue.c:290
#7  0x0000780881c9e7ec in impl_thrd_routine () at ../mesa-24.0.2/src/c11/impl/threads_posix.c:67
#8  0x00007808972a955a in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x0000780897326a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x78088b6006c0 (LWP 10544)):
#0  0x00007808973190bf in __GI___poll (fds=fds@entry=0x78088b5ffb70, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000078089264bb18 in poll (__timeout=-1, __nfds=2, __fds=0x78088b5ffb70) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x5f871f3d3650) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylanddisplay.cpp:184
#3  0x0000780897aa0bd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:324
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:260
#5  QThreadPrivate::start (arg=0x5f871f3d3650) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:283
#6  0x00007808972a955a in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x0000780897326a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x78088ac006c0 (LWP 10545)):
#0  0x00007808973190bf in __GI___poll (fds=fds@entry=0x78088abffb70, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000078089264bb18 in poll (__timeout=-1, __nfds=2, __fds=0x78088abffb70) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x5f871f440670) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylanddisplay.cpp:184
#3  0x0000780897aa0bd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:324
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:260
#5  QThreadPrivate::start (arg=0x5f871f440670) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:283
#6  0x00007808972a955a in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x0000780897326a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7808910006c0 (LWP 10543)):
#0  0x00007808973190bf in __GI___poll (fds=0x5f871f3d34b0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x0000780895d6c2f6 in g_main_context_poll_unlocked (priority=2147483647, n_fds=2, fds=0x5f871f3d34b0, timeout=<optimized out>, context=0x78088c000c80) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x78088c000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x0000780895d0c162 in g_main_context_iteration (context=0x78088c000c80, may_block=1) at ../glib/glib/gmain.c:4414
#4  0x0000780897b739c4 in QEventDispatcherGlib::processEvents (this=0x78088c000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#5  0x0000780897943d6e in QEventLoop::processEvents (flags=..., this=0x780890fffb30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#6  QEventLoop::exec (this=0x780890fffb30, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#7  0x0000780897a2106f in QThread::exec (this=this@entry=0x780898873b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#8  0x00007808987eb9df in QDBusConnectionManager::run (this=0x780898873b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/dbus/qdbusconnection.cpp:131
#9  0x0000780897aa0bd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start (arg=0x780898873b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007808972a955a in start_thread (arg=<optimized out>) at pthread_create.c:447
#13 0x0000780897326a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x780891b57e80 (LWP 10542)):
[KCrash Handler]
#5  0x0000780896e93c6a in operator== (p2=..., p1=...) at /usr/include/qt6/QtCore/qshareddata.h:202
#6  Kate::TextRange::setAttribute (this=0x5f8720713070, attribute=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x1
#7  0x000078089941755f in DiagnosticsView::addMarks (item=0x5f8720751bd0, doc=0x5f8720712de0, this=0x5f87202d0a40) at /usr/src/debug/kate/kate-24.02.0/apps/lib/diagnostics/diagnosticview.cpp:1044
#8  DiagnosticsView::addMarksRec (this=this@entry=0x5f87202d0a40, doc=doc@entry=0x5f8720712de0, item=0x5f8720751bd0) at /usr/src/debug/kate/kate-24.02.0/apps/lib/diagnostics/diagnosticview.cpp:1088
#9  0x00007808994171aa in DiagnosticsView::addMarksRec (this=this@entry=0x5f87202d0a40, doc=doc@entry=0x5f8720712de0, item=<optimized out>) at /usr/src/debug/kate/kate-24.02.0/apps/lib/diagnostics/diagnosticview.cpp:1090
#10 0x00007808994171aa in DiagnosticsView::addMarksRec (this=this@entry=0x5f87202d0a40, doc=doc@entry=0x5f8720712de0, item=<optimized out>) at /usr/src/debug/kate/kate-24.02.0/apps/lib/diagnostics/diagnosticview.cpp:1090
#11 0x0000780899419e01 in DiagnosticsView::addMarks (doc=0x5f8720712de0, this=0x5f87202d0a40) at /usr/src/debug/kate/kate-24.02.0/apps/lib/diagnostics/diagnosticview.cpp:1100
#12 DiagnosticsView::updateMarks (this=this@entry=0x5f87202d0a40, urls=std::vector of length 1, capacity 1 = {...}) at /usr/src/debug/kate/kate-24.02.0/apps/lib/diagnostics/diagnosticview.cpp:1143
#13 0x000078089941a4b5 in DiagnosticsView::updateDiagnosticsState (this=0x5f87202d0a40, topItem=<optimized out>) at /usr/src/debug/kate/kate-24.02.0/apps/lib/diagnostics/diagnosticview.cpp:1189
#14 0x0000780899410d05 in DiagnosticsView::onDiagnosticsAdded (this=0x5f87202d0a40, diagnostics=<optimized out>) at /usr/src/debug/kate/kate-24.02.0/apps/lib/diagnostics/diagnosticview.cpp:862
#15 0x0000780897990ca9 in QtPrivate::QSlotObjectBase::call (a=0x7fffb97fa1b0, r=0x5f87202d0a40, this=0x5f87204ecc30, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#16 doActivate<false> (sender=0x5f87204ecaf8, signal_index=3, argv=0x7fffb97fa1b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#17 0x00007808994159e7 in DiagnosticsProvider::diagnosticsAdded (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kate/build/apps/lib/kateprivate_autogen/include/moc_diagnosticview.cpp:300
#18 0x0000780897990ca9 in QtPrivate::QSlotObjectBase::call (a=0x7fffb97fa760, r=0x5f87204ec5c0, this=0x5f872042ed60, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#19 doActivate<false> (sender=0x5f872096a4d0, signal_index=6, argv=0x7fffb97fa760) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#20 0x000078088a0d4883 in LSPClientServer::publishDiagnostics (_t1=..., this=0x5f872096a4d0) at /usr/src/debug/kate/build/addons/lspclient/lspclientplugin_autogen/include/moc_lspclientserver.cpp:391
#21 LSPClientServer::LSPClientServerPrivate::processNotification (msg=..., this=<optimized out>) at /usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientserver.cpp:1977
#22 LSPClientServer::LSPClientServerPrivate::readStandardOutput (this=0x5f8720a91fa0) at /usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientserver.cpp:1495
#23 0x0000780897990ca9 in QtPrivate::QSlotObjectBase::call (a=0x7fffb97fa930, r=0x5f8720a92080, this=0x5f8720a91c80, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#24 doActivate<false> (sender=0x5f8720a92080, signal_index=14, argv=0x7fffb97fa930) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#25 0x0000780897af642f in QProcess::readyReadStandardOutput (_t1=..., this=<optimized out>) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qprocess.cpp:523
#26 QProcessPrivate::tryReadFromChannel (this=0x5f8720a921f0, channel=0x5f8720a923b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/io/qprocess.cpp:1152
#27 0x0000780897afdb35 in QProcessPrivate::_q_canReadStandardError (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/io/qprocess.cpp:1171
#28 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffb97fab00) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qprocess.cpp:405
#29 0x0000780897990fab in doActivate<false> (sender=0x5f8720a14940, signal_index=3, argv=0x7fffb97fab00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4051
#30 0x0000780897998530 in QSocketNotifier::activated (_t3=..., _t2=<optimized out>, _t1=..., this=0x5f8720a14940) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:231
#31 QSocketNotifier::event (this=0x5f8720a14940, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qsocketnotifier.cpp:326
#32 0x0000780898af438b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5f8720a14940, e=0x7fffb97fac00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#33 0x0000780897939818 in QCoreApplication::notifyInternal2 (receiver=0x5f8720a14940, event=0x7fffb97fac00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#34 0x0000780897b754d1 in QCoreApplication::sendEvent (event=0x7fffb97fac00, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1539
#35 socketNotifierSourceDispatch (source=0x5f871f42cc00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:73
#36 0x0000780895d0df69 in g_main_dispatch (context=0x78088c000ef0) at ../glib/glib/gmain.c:3476
#37 0x0000780895d6c3a7 in g_main_context_dispatch_unlocked (context=0x78088c000ef0) at ../glib/glib/gmain.c:4284
#38 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x78088c000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#39 0x0000780895d0c162 in g_main_context_iteration (context=0x78088c000ef0, may_block=1) at ../glib/glib/gmain.c:4414
#40 0x0000780897b739c4 in QEventDispatcherGlib::processEvents (this=0x5f871f3e7cc0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#41 0x0000780897943d6e in QEventLoop::processEvents (flags=..., this=0x7fffb97faea0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#42 QEventLoop::exec (this=0x7fffb97faea0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#43 0x000078089793c2b8 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#44 0x0000780898af0f0a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:2574
#45 0x00005f871eaaaeb4 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate/kate-24.02.0/apps/kate/main.cpp:529

Reported using DrKonqi
Comment 1 rjx_ 2024-03-07 10:23:50 UTC
Created attachment 166561 [details]
core dump

Kate crashed a few more times, now reproducibly so:
1. load a python script with python LSP loaded and active
2. ctr-a, del
3. crash

Narrowed it down to LSP plugin - if i disable it, restart the kate and do the same steps it does not crash.
Added a fresh backtrace (after update and reboot to rule out some system issue).
Comment 2 Waqar Ahmed 2024-03-07 14:07:30 UTC

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