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

            Bug ID: 483363
           Summary: Kate has crashed after using rename (F2) context menu
                    option
    Classification: Applications
           Product: kate
           Version: 24.02.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: 7c6s4b+cc6efdty3b...@sharklasers.com
  Target Milestone: ---

Application: kate (24.02.0)

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

-- Information about the crash:
I was simply trying to rename two (selected) instances of a variable/argument
in a python script, but after clicking OK kate crashed.
Additional info: i have python LSP and Build & Run plugins loaded, if that
matters.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kate (kate), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
Downloading separate debug info for /usr/bin/kate...
[New LWP 23838]
[New LWP 23840]
[New LWP 23839]
[New LWP 23843]
[New LWP 23841]
[New LWP 23842]
Downloading separate debug info for /usr/lib/libkateprivate.so.24.02.0...
Downloading separate debug info for /usr/lib/libb2.so.1...
Downloading separate debug info for /usr/lib/liblzma.so.5...
Downloading separate debug info for /usr/lib/libplist-2.0.so.4...
Downloading separate debug info for /usr/lib/libpsl.so.5...
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/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/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/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/libdeflate.so.0...
Downloading separate debug info for
/usr/lib/qt6/plugins/imageformats/../../../libmng.so.2...
Downloading separate debug info for /usr/lib/libKF6NewStuffWidgets.so.6...
Downloading separate debug info for
/usr/lib/qt6/plugins/kf6/kwindowsystem/KF6WindowSystemKWaylandPlugin.so...
Downloading separate debug info for system-supplied DSO at 0x7ffefe5dc000...
[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 SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, 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 0x7c033b638e80 (LWP 23838))]

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/kate/kate-24.02.0/addons/lspclient/lspclientserver.cpp...
Downloading source file
/usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientpluginview.cpp...
Downloading source file
/usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientutils.cpp...
Downloading source file
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/utils/document.cpp...
Downloading source file
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/document/katedocument.cpp...
Downloading source file
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/view/kateview.cpp...
Downloading source file
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/view/kateviewinternal.cpp...
Downloading source file
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/render/katelayoutcache.cpp...
Downloading source file
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/render/katelinelayout.h...
Downloading source file
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/text/qtextlayout.cpp...
Downloading source file
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/text/qtextengine.cpp...
Downloading source file
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/text/qtextengine_p.h...
Downloading source file
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qscopedpointer.h...
Downloading source file
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/text/qtextformat.cpp...
Downloading source file
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qlist.h...
Downloading source file
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qarraydatapointer.h...
Downloading source file
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qarraydataops.h...
Downloading source file
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qshareddata.h...
Downloading source file /usr/src/debug/glibc/glibc/malloc/malloc.c...
Downloading source file
/usr/src/debug/glibc/glibc/libio/../sysdeps/posix/libc_fatal.c...
[Current thread is 1 (Thread 0x7c033b638e80 (LWP 23838))]

Thread 6 (Thread 0x7c0331a006c0 (LWP 23842)):
#0  0x00007c0340ea5ebe in __futex_abstimed_wait_common64 (private=0,
cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x63c097ecc898) at
futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x63c097ecc898,
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  0x00007c0340ea5f3f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x63c097ecc898, expected=expected@entry=0,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#3  0x00007c0340ea8750 in __pthread_cond_wait_common (abstime=0x0, clockid=0,
mutex=0x63c097ecc840, cond=0x63c097ecc870) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x63c097ecc870, mutex=0x63c097ecc840) at
pthread_cond_wait.c:618
#5  0x00007c0331c8685c 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  0x00007c0331c9e82c in impl_thrd_routine () at
../mesa-24.0.2/src/c11/impl/threads_posix.c:67
#8  0x00007c0340ea955a in start_thread (arg=<optimized out>) at
pthread_create.c:447
#9  0x00007c0340f26a3c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7c0338a006c0 (LWP 23841)):
#0  0x00007c0340f190bf in __GI___poll (fds=fds@entry=0x7c03389ffb70,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007c033c153b18 in poll (__timeout=-1, __nfds=2, __fds=0x7c03389ffb70)
at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x63c097df8600) at
/usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylanddisplay.cpp:184
#3  0x00007c03416a0bd3 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=0x63c097df8600) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:283
#6  0x00007c0340ea955a in start_thread (arg=<optimized out>) at
pthread_create.c:447
#7  0x00007c0340f26a3c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7c03310006c0 (LWP 23843)):
#0  0x00007c0340ea5ebe in __futex_abstimed_wait_common64 (private=0,
cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x63c097eb42e0) at
futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x63c097eb42e0,
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  0x00007c0340ea5f3f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x63c097eb42e0, expected=expected@entry=0,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#3  0x00007c0340ea8750 in __pthread_cond_wait_common (abstime=0x0, clockid=0,
mutex=0x63c097eb4288, cond=0x63c097eb42b8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x63c097eb42b8, mutex=0x63c097eb4288) at
pthread_cond_wait.c:618
#5  0x00007c0331c8685c 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  0x00007c0331c9e82c in impl_thrd_routine () at
../mesa-24.0.2/src/c11/impl/threads_posix.c:67
#8  0x00007c0340ea955a in start_thread (arg=<optimized out>) at
pthread_create.c:447
#9  0x00007c0340f26a3c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7c033aa006c0 (LWP 23839)):
#0  0x00007c0340f190bf in __GI___poll (fds=0x63c097d5e4b0, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007c033f96c2f6 in g_main_context_poll_unlocked (priority=2147483647,
n_fds=2, fds=0x63c097d5e4b0, timeout=<optimized out>, context=0x7c0334000c80)
at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7c0334000c80, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007c033f90c162 in g_main_context_iteration (context=0x7c0334000c80,
may_block=1) at ../glib/glib/gmain.c:4414
#4  0x00007c03417739c4 in QEventDispatcherGlib::processEvents
(this=0x7c0334000b70, flags=...) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#5  0x00007c0341543d6e in QEventLoop::processEvents (flags=...,
this=0x7c033a9ffb30) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#6  QEventLoop::exec (this=0x7c033a9ffb30, flags=...) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#7  0x00007c034162106f in QThread::exec (this=this@entry=0x7c0342471b80
<_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  0x00007c03423e99df in QDBusConnectionManager::run (this=0x7c0342471b80
<_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  0x00007c03416a0bd3 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=0x7c0342471b80
<_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 0x00007c0340ea955a in start_thread (arg=<optimized out>) at
pthread_create.c:447
#13 0x00007c0340f26a3c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7c03394006c0 (LWP 23840)):
#0  0x00007c0340ea5ebe in __futex_abstimed_wait_common64 (private=0,
cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x63c097dd48c0) at
futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x63c097dd48c0,
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  0x00007c0340ea5f3f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x63c097dd48c0, expected=expected@entry=0,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#3  0x00007c0340ea8750 in __pthread_cond_wait_common (abstime=0x0, clockid=0,
mutex=0x63c097dd4870, cond=0x63c097dd4898) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x63c097dd4898, mutex=0x63c097dd4870) at
pthread_cond_wait.c:618
#5  0x00007c03416a3c10 in QWaitConditionPrivate::wait (deadline=...,
this=0x63c097dd4870) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qwaitcondition_unix.cpp:103
#6  QWaitCondition::wait (this=this@entry=0x63c097d5e690,
mutex=mutex@entry=0x63c097d5e688, deadline=...) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qwaitcondition_unix.cpp:181
#7  0x00007c033c153a98 in QtWaylandClient::EventThread::waitForReading
(this=0x63c097d5e650) at
/usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylanddisplay.cpp:218
#8  QtWaylandClient::EventThread::run (this=0x63c097d5e650) at
/usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylanddisplay.cpp:179
#9  0x00007c03416a0bd3 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=0x63c097d5e650) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007c0340ea955a in start_thread (arg=<optimized out>) at
pthread_create.c:447
#13 0x00007c0340f26a3c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7c033b638e80 (LWP 23838)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007c0340eab393 in __pthread_kill_internal (signo=6, threadid=<optimized
out>) at pthread_kill.c:78
#7  0x00007c0340e5a6c8 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#8  0x00007c0340e424b8 in __GI_abort () at abort.c:79
#9  0x00007c0340e43395 in __libc_message_impl (fmt=fmt@entry=0x7c0340fbb2ea
"%s\n") at ../sysdeps/posix/libc_fatal.c:132
#10 0x00007c0340eb52a7 in malloc_printerr (str=str@entry=0x7c0340fbe4b0
"free(): invalid next size (normal)") at malloc.c:5772
#11 0x00007c0340eb733c in _int_free_merge_chunk (av=av@entry=0x7c0340ff6ac0
<main_arena>, p=0x63c099846170, size=224) at malloc.c:4684
#12 0x00007c0340eb7669 in _int_free (av=0x7c0340ff6ac0 <main_arena>,
p=<optimized out>, have_lock=<optimized out>, have_lock@entry=0) at
malloc.c:4646
#13 0x00007c0340eb9e93 in __GI___libc_free (mem=<optimized out>) at
malloc.c:3398
#14 0x00007c0341e2c8a5 in QArrayDataPointer<(anonymous
namespace)::Property>::~QArrayDataPointer (this=0x63c0990d8628, this=<optimized
out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qarraydatapointer.h:104
#15 QArrayDataPointer<(anonymous namespace)::Property>::~QArrayDataPointer
(this=0x63c0990d8628, this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qarraydatapointer.h:100
#16 QList<(anonymous namespace)::Property>::~QList (this=0x63c0990d8628,
this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qlist.h:70
#17 QTextFormatPrivate::~QTextFormatPrivate (this=0x63c0990d8620,
this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/text/qtextformat.cpp:146
#18 QSharedDataPointer<QTextFormatPrivate>::~QSharedDataPointer
(this=0x63c09961e120, this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qshareddata.h:56
#19 QSharedDataPointer<QTextFormatPrivate>::~QSharedDataPointer
(this=0x63c09961e120, this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qshareddata.h:56
#20 QTextFormat::~QTextFormat (this=0x63c09961e120, this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/text/qtextformat.cpp:924
#21 std::_Destroy<QTextFormat> (__pointer=0x63c09961e120) at
/usr/include/c++/13.2.1/bits/stl_construct.h:151
#22 std::_Destroy_aux<false>::__destroy<QTextFormat*> (__last=0x63c09961e160,
__first=0x63c09961e120) at /usr/include/c++/13.2.1/bits/stl_construct.h:163
#23 std::_Destroy<QTextFormat*> (__last=0x63c09961e160, __first=<optimized
out>) at /usr/include/c++/13.2.1/bits/stl_construct.h:196
#24 std::destroy<QTextFormat*> (__last=0x63c09961e160, __first=<optimized out>)
at /usr/include/c++/13.2.1/bits/stl_construct.h:253
#25 QtPrivate::QGenericArrayOps<QTextFormat>::destroyAll (this=0x63c099825a40)
at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qarraydataops.h:397
#26 QArrayDataPointer<QTextFormat>::~QArrayDataPointer (this=0x63c099825a40,
this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qarraydatapointer.h:103
#27 QArrayDataPointer<QTextFormat>::~QArrayDataPointer (this=0x63c099825a40,
this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qarraydatapointer.h:100
#28 QList<QTextFormat>::~QList (this=0x63c099825a40, this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qlist.h:70
#29 QTextFormatCollection::~QTextFormatCollection (this=0x63c099825a40,
this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/text/qtextformat.cpp:3949
#30 0x00007c0341e1ac12 in QScopedPointerDeleter<QTextFormatCollection>::cleanup
(pointer=0x63c099825a40) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qscopedpointer.h:16
#31 QScopedPointer<QTextFormatCollection,
QScopedPointerDeleter<QTextFormatCollection> >::~QScopedPointer
(this=0x63c09985aaf0, this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qscopedpointer.h:81
#32 QTextEngine::SpecialData::~SpecialData (this=0x63c09985aaa0,
this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/text/qtextengine_p.h:574
#33 QTextEngine::~QTextEngine (this=0x63c099839af0, this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/text/qtextengine.cpp:1815
#34 0x00007c0341e3bc40 in QTextLayout::~QTextLayout
(this=this@entry=0x63c0997a95c0, this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/text/qtextlayout.cpp:365
#35 0x00007c0340b52c8f in std::default_delete<QTextLayout>::operator()
(this=<optimized out>, __ptr=0x63c0997a95c0) at
/usr/include/c++/13.2.1/bits/unique_ptr.h:93
#36 std::default_delete<QTextLayout>::operator() (__ptr=0x63c0997a95c0,
this=<optimized out>) at /usr/include/c++/13.2.1/bits/unique_ptr.h:93
#37 std::unique_ptr<QTextLayout, std::default_delete<QTextLayout>
>::~unique_ptr (this=0x63c09973b2e0, this=<optimized out>) at
/usr/include/c++/13.2.1/bits/unique_ptr.h:404
#38 KateLineLayout::~KateLineLayout (this=0x63c09973b280, this=<optimized out>)
at /usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/render/katelinelayout.h:28
#39 std::default_delete<KateLineLayout>::operator() (this=<optimized out>,
__ptr=0x63c09973b280) at /usr/include/c++/13.2.1/bits/unique_ptr.h:99
#40 std::default_delete<KateLineLayout>::operator() (__ptr=0x63c09973b280,
this=<optimized out>) at /usr/include/c++/13.2.1/bits/unique_ptr.h:93
#41 std::unique_ptr<KateLineLayout, std::default_delete<KateLineLayout>
>::~unique_ptr (this=0x63c09920f5e8, this=<optimized out>) at
/usr/include/c++/13.2.1/bits/unique_ptr.h:404
#42 std::pair<int, std::unique_ptr<KateLineLayout,
std::default_delete<KateLineLayout> > >::~pair (this=0x63c09920f5e0,
this=<optimized out>) at /usr/include/c++/13.2.1/bits/stl_pair.h:187
#43 std::destroy_at<std::pair<int, std::unique_ptr<KateLineLayout,
std::default_delete<KateLineLayout> > > > (__location=0x63c09920f5e0) at
/usr/include/c++/13.2.1/bits/stl_construct.h:88
#44 std::_Destroy<std::pair<int, std::unique_ptr<KateLineLayout,
std::default_delete<KateLineLayout> > > > (__pointer=0x63c09920f5e0) at
/usr/include/c++/13.2.1/bits/stl_construct.h:149
#45 std::_Destroy_aux<false>::__destroy<std::pair<int,
std::unique_ptr<KateLineLayout, std::default_delete<KateLineLayout> > >*>
(__last=<optimized out>, __first=0x63c09920f5e0) at
/usr/include/c++/13.2.1/bits/stl_construct.h:163
#46 std::_Destroy<std::pair<int, std::unique_ptr<KateLineLayout,
std::default_delete<KateLineLayout> > >*> (__last=<optimized out>,
__first=<optimized out>) at /usr/include/c++/13.2.1/bits/stl_construct.h:196
#47 std::_Destroy<std::pair<int, std::unique_ptr<KateLineLayout,
std::default_delete<KateLineLayout> > >*, std::pair<int,
std::unique_ptr<KateLineLayout, std::default_delete<KateLineLayout> > > >
(__last=<optimized out>, __first=<optimized out>) at
/usr/include/c++/13.2.1/bits/alloc_traits.h:947
#48 std::vector<std::pair<int, std::unique_ptr<KateLineLayout,
std::default_delete<KateLineLayout> > >, std::allocator<std::pair<int,
std::unique_ptr<KateLineLayout, std::default_delete<KateLineLayout> > > >
>::_M_erase_at_end (__pos=0x63c09920f3f0, this=0x63c0992d2dc8) at
/usr/include/c++/13.2.1/bits/stl_vector.h:1934
#49 std::vector<std::pair<int, std::unique_ptr<KateLineLayout,
std::default_delete<KateLineLayout> > >, std::allocator<std::pair<int,
std::unique_ptr<KateLineLayout, std::default_delete<KateLineLayout> > > >
>::clear (this=0x63c0992d2dc8) at
/usr/include/c++/13.2.1/bits/stl_vector.h:1603
#50 KateLineLayoutMap::clear (this=0x63c0992d2dc8) at
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/render/katelayoutcache.cpp:30
#51 KateLayoutCache::clear (this=0x63c0992d2db0) at
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/render/katelayoutcache.cpp:460
#52 0x00007c0340b9f5fc in KateViewInternal::tagAll (this=0x63c09927c010) at
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/view/kateviewinternal.cpp:4630
#53 KateViewInternal::editEnd (tagFrom=<optimized out>, editTagLineEnd=33,
editTagLineStart=0, this=0x63c09927c010) at
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/view/kateviewinternal.cpp:4571
#54 KTextEditor::ViewPrivate::editEnd (this=0x63c099326740, editTagLineStart=0,
editTagLineEnd=33, tagFrom=<optimized out>) at
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/view/kateview.cpp:2519
#55 0x00007c0340adb2b0 in KTextEditor::DocumentPrivate::editEnd
(this=0x63c097f07700) at
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/document/katedocument.cpp:1024
#56 0x00007c0340c24cd6 in KTextEditor::Document::EditingTransaction::finish
(this=this@entry=0x7ffefe56d828) at
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/utils/document.cpp:66
#57 0x00007c0340c24cee in
KTextEditor::Document::EditingTransaction::~EditingTransaction
(this=0x7ffefe56d828, this=<optimized out>) at
/usr/src/debug/ktexteditor/ktexteditor-6.0.0/src/utils/document.cpp:74
#58 0x00007c03311afceb in applyEdits (doc=0x63c097f07700, snapshot=<optimized
out>, edits=<optimized out>) at
/usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientutils.cpp:48
#59 0x00007c033115cbf2 in LSPClientPluginViewImpl::applyEdits (edits=...,
snapshot=0x63c0997e9eb0, doc=<optimized out>) at
/usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientpluginview.cpp:1678
#60 LSPClientPluginViewImpl::applyEdits (edits=..., snapshot=<optimized out>,
url=..., this=0x63c098e78ea0) at
/usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientpluginview.cpp:1690
#61 LSPClientPluginViewImpl::applyWorkspaceEdit (this=0x63c098e78ea0,
edit=<optimized out>, snapshot=0x63c0997e9eb0) at
/usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientpluginview.cpp:1703
#62 0x00007c033118939c in std::function<void (LSPApplyWorkspaceEditResponse
const&)>::operator()(LSPApplyWorkspaceEditResponse const&) const (__args#0=...,
this=0x63c0998004f0) at /usr/include/c++/13.2.1/bits/std_function.h:591
#63 operator() (m=<optimized out>, __closure=0x63c0998004e0) at
/usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientserver.cpp:2098
#64 std::__invoke_impl<void,
make_handler<LSPWorkspaceEdit>(ReplyHandler<LSPWorkspaceEdit>&, const QObject*,
utils::identity<std::function<LSPWorkspaceEdit(const
rapidjson::GenericValue<rapidjson::UTF8<> >&)> >::type)::<lambda(const
GenericReplyType&)>&, const rapidjson::GenericValue<rapidjson::UTF8<char>,
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >&> (__f=...) at
/usr/include/c++/13.2.1/bits/invoke.h:61
#65 std::__invoke_r<void,
make_handler<LSPWorkspaceEdit>(ReplyHandler<LSPWorkspaceEdit>&, const QObject*,
utils::identity<std::function<LSPWorkspaceEdit(const
rapidjson::GenericValue<rapidjson::UTF8<> >&)> >::type)::<lambda(const
GenericReplyType&)>&, const rapidjson::GenericValue<rapidjson::UTF8<char>,
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >&> (__fn=...) at
/usr/include/c++/13.2.1/bits/invoke.h:111
#66 std::_Function_handler<void(const
rapidjson::GenericValue<rapidjson::UTF8<char>,
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >&),
make_handler<LSPWorkspaceEdit>(ReplyHandler<LSPWorkspaceEdit>&, const QObject*,
utils::identity<std::function<LSPWorkspaceEdit(const
rapidjson::GenericValue<rapidjson::UTF8<> >&)> >::type)::<lambda(const
GenericReplyType&)> >::_M_invoke(const std::_Any_data &, const
rapidjson::GenericValue<rapidjson::UTF8<char>,
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > &)
(__functor=<optimized out>, __args#0=<optimized out>) at
/usr/include/c++/13.2.1/bits/std_function.h:290
#67 0x00007c033117eaf8 in std::function<void (LSPApplyWorkspaceEditResponse
const&)>::operator()(LSPApplyWorkspaceEditResponse const&) const
(__args#0=<optimized out>, this=0x7ffefe56de30) at
/usr/include/c++/13.2.1/bits/std_function.h:591
#68 LSPClientServer::LSPClientServerPrivate::readStandardOutput
(this=0x63c099583a00) at
/usr/src/debug/kate/kate-24.02.0/addons/lspclient/lspclientserver.cpp:1525
#69 0x00007c0341590ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffefe56e000,
r=0x63c099583ae0, this=0x63c0995836e0, 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
#70 doActivate<false> (sender=0x63c099583ae0, signal_index=14,
argv=0x7ffefe56e000) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#71 0x00007c03416f642f in QProcess::readyReadStandardOutput (_t1=...,
this=<optimized out>) at
/usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qprocess.cpp:523
#72 QProcessPrivate::tryReadFromChannel (this=0x63c099583c50,
channel=0x63c099583e10) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/io/qprocess.cpp:1152
#73 0x00007c03416fdb35 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
#74 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=0x7ffefe56e1d0) at
/usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qprocess.cpp:405
#75 0x00007c0341590fab in doActivate<false> (sender=0x63c0993f7030,
signal_index=3, argv=0x7ffefe56e1d0) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4051
#76 0x00007c0341598530 in QSocketNotifier::activated (_t3=..., _t2=<optimized
out>, _t1=..., this=0x63c0993f7030) at
/usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:231
#77 QSocketNotifier::event (this=0x63c0993f7030, e=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qsocketnotifier.cpp:326
#78 0x00007c03426f438b in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x63c0993f7030, e=0x7ffefe56e2d0) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#79 0x00007c0341539818 in QCoreApplication::notifyInternal2
(receiver=0x63c0993f7030, event=0x7ffefe56e2d0) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#80 0x00007c03417754d1 in QCoreApplication::sendEvent (event=0x7ffefe56e2d0,
receiver=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1539
#81 socketNotifierSourceDispatch (source=0x63c097e2f970) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:73
#82 0x00007c033f90df69 in g_main_dispatch (context=0x7c0334000ef0) at
../glib/glib/gmain.c:3476
#83 0x00007c033f96c3a7 in g_main_context_dispatch_unlocked
(context=0x7c0334000ef0) at ../glib/glib/gmain.c:4284
#84 g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7c0334000ef0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#85 0x00007c033f90c162 in g_main_context_iteration (context=0x7c0334000ef0,
may_block=1) at ../glib/glib/gmain.c:4414
#86 0x00007c03417739ea in QEventDispatcherGlib::processEvents
(this=0x63c097d72cc0, flags=...) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:395
#87 0x00007c0341543d6e in QEventLoop::processEvents (flags=...,
this=0x7ffefe56e570) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#88 QEventLoop::exec (this=0x7ffefe56e570, flags=...) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#89 0x00007c034153c2b8 in QCoreApplication::exec () at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#90 0x00007c03426f0f0a in QApplication::exec () at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:2574
#91 0x000063c095f79eb4 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

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

Reply via email to