Bug 507599 - [ANR] Invoking, then scrolling or searching in, a 662-MiB XML file causes KWrite to hang
Summary: [ANR] Invoking, then scrolling or searching in, a 662-MiB XML file causes KWr...
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: kwrite (other bugs)
Version First Reported In: 25.04.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
: 507600 507735 507736 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-07-28 16:50 UTC by Roke Julian Lockhart Beedell
Modified: 2025-08-01 20:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/227505/events/9d5c2505b80a4d7cb4691577fd6751c6/


Attachments
The Hotspot-Parsed Output Of `perf record --call-graph dwarf ./kwrite $HOME/official-cpe-dictionary_v2.3.xml` (914.12 KB, application/x-lzma)
2025-07-31 19:27 UTC, Roke Julian Lockhart Beedell
Details
A Screencast That Demonstrates How To Reproduce This (2.69 MB, video/webm)
2025-08-01 16:43 UTC, Roke Julian Lockhart Beedell
Details
Recording_with_the_given_file (3.14 MB, video/mp4)
2025-08-01 20:24 UTC, Waqar Ahmed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2025-07-28 16:50:00 UTC
Application: kwrite (25.04.3)

ApplicationNotResponding [ANR]: true
Qt Version: 6.9.1
Frameworks Version: 6.16.0
Operating System: Linux 6.15.7-200.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.4.3 [CoredumpBackend]

-- Information about the crash:
I've somehow managed to bypass https://bugs.kde.org/show_bug.cgi?id=506879#c5 in KWrite, although it continues to reproduce in Okular. In case that thread contains too much unrelated content, to reproduce this, merely download https://nvd.nist.gov/feeds/xml/cpe/dictionary/official-cpe-dictionary_v2.3.xml.zip, then invoke it in KWrite. In essence, https://bugs.kde.org/show_bug.cgi?id=507036#c0 is a duplicate of this.

The crash can be reproduced every time.

-- Backtrace:
Application: KWrite (kwrite), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
Downloading 447.07 K separate debug info for /usr/bin/kwrite...
Downloading 4.70 M separate debug info for /home/RokeJulianLockhart/.cache/debuginfod_client/b925112a06f58dad79498eabb93272c2e5083586/debuginfo...

warning: Can't open file /memfd:wayland-shm (deleted) during file-backed mapping note processing
[New LWP 63520]
[New LWP 63522]
[New LWP 63521]
[New LWP 63523]
[New LWP 63524]
[New LWP 63552]
[New LWP 63540]
[New LWP 63525]
[New LWP 63526]
[New LWP 63528]
[New LWP 63529]
[New LWP 63527]
[New LWP 63530]
[New LWP 63539]
[New LWP 63553]
[New LWP 63537]
[New LWP 63538]
Downloading 28.39 M separate debug info for /lib64/libkateprivate.so.25.04.3...
Downloading 71.98 M separate debug info for /lib64/libKF6TextEditor.so.6...
Downloading 1.01 M separate debug info for /home/RokeJulianLockhart/.cache/debuginfod_client/8900d1766b8ee8accd1ad6e9c518bde4253efd0c/debuginfo...
Downloading separate debug info for /lib64/libeditorconfig.so.0...
Downloading separate debug info for /home/RokeJulianLockhart/.cache/debuginfod_client/252afaf44c42f7825c62171fd4b02a7248babc0c/debuginfo...
Downloading separate debug info for /usr/lib64/qt6/plugins/kiconthemes6/iconengines/KIconEnginePlugin.so...
Downloading 1.19 M separate debug info for /usr/lib64/qt6/plugins/kf6/sonnet/sonnet_hunspell.so...
Downloading 4.15 M separate debug info for /lib64/libhunspell-1.7.so.0...
Downloading 212.35 K separate debug info for /home/RokeJulianLockhart/.cache/debuginfod_client/4bc6fc30097a4d09b09720e30708b6b025a2babc/debuginfo...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/kwrite /home/RokeJulianLockhart/Downloads/official-cpe-dictionary_v2.3'.
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 0x7f6c334ea580 (LWP 63520))]

Cannot QML trace cores :(
Downloading source file /usr/src/debug/kate-25.04.3-1.fc42.x86_64/apps/kwrite/main.cpp...
Python Exception <class 'gdb.error'>: No type named std::__detail::_Hash_node<struct std::pair<KTextEditor::Document* const, KateDocumentInfo>, false>.
Downloading source file /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qabstracteventdispatcher.cpp...
Downloading source file /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qwindowsysteminterface.cpp...
Downloading source file /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qwidgetwindow.cpp...
Downloading 451.07 K source file /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qwidget.cpp...
Downloading 113.81 K source file /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/view/kateviewhelpers.cpp...
Downloading source file /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/widgets/qscrollbar.cpp...
Downloading source file /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/widgets/qabstractslider.cpp...
Downloading 11.52 K source file /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/redhat-linux-build/src/widgets/Widgets_autogen/include/moc_qabstractslider.cpp...
Downloading 28.08 K source file /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobjectdefs.h...
Downloading 168.87 K source file /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/view/kateviewinternal.cpp...
Downloading 14.72 K source file /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/render/katelayoutcache.cpp...
Downloading source file /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/render/katerenderer.cpp...
Downloading source file /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/render/katelinelayout.cpp...
Downloading 215.39 K source file /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/document/katedocument.cpp...
Downloading source file /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/document/katebuffer.cpp...
Downloading source file /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/syntax/katehighlight.cpp...
Downloading source file /usr/src/debug/kf6-syntax-highlighting-6.16.0-1.fc42.x86_64/src/lib/abstracthighlighter.cpp...
Downloading source file /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/buffer/katetextline.cpp...
Downloading source file /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.cpp...
Python Exception <class 'gdb.error'>: No type named std::__detail::_Hash_node<struct std::pair<KTextEditor::Document* const, KateDocumentInfo>, false>.
[Current thread is 12 (Thread 0x7f6c1d1236c0 (LWP 63527))]

Thread 17 (Thread 0x7f6c05ffc6c0 (LWP 63538)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=840, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0df0c3f8, expected=840, op=<optimized out>, abstime=0x7f6c05ffb690, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0df0c3f8, expected=expected@entry=840, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6c05ffb690, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0df0c3f8, expected=expected@entry=840, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6c05ffb690, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e928 in __pthread_cond_wait_common (cond=0x55fa0df0c3d8, mutex=0x55fa0df0c3b0, clockid=<optimized out>, abstime=0x7f6c05ffb690) at pthread_cond_wait.c:426
#6  ___pthread_cond_timedwait64 (cond=0x55fa0df0c3d8, mutex=0x55fa0df0c3b0, abstime=0x7f6c05ffb690) at pthread_cond_wait.c:483
#7  0x00007f6c3aad3a26 in QWaitConditionPrivate::wait_relative (this=<optimized out>, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:57
#8  QWaitConditionPrivate::wait (this=0x55fa0df0c3b0, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:65
#9  QWaitCondition::wait (this=this@entry=0x55fa0def2830, mutex=mutex@entry=0x55fa0db9df18, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:145
#10 0x00007f6c3aad05f7 in QThreadPoolThread::run (this=0x55fa0def2820) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthreadpool.cpp:119
#11 0x00007f6c3aac5b9f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:434
#12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#13 QThreadPrivate::start (arg=0x55fa0def2820) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
#14 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#15 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 16 (Thread 0x7f6c067fd6c0 (LWP 63537)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=843, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0dedca5c, expected=843, op=<optimized out>, abstime=0x7f6c067fc690, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0dedca5c, expected=expected@entry=843, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6c067fc690, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0dedca5c, expected=expected@entry=843, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6c067fc690, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e928 in __pthread_cond_wait_common (cond=0x55fa0dedca38, mutex=0x55fa0dedca10, clockid=<optimized out>, abstime=0x7f6c067fc690) at pthread_cond_wait.c:426
#6  ___pthread_cond_timedwait64 (cond=0x55fa0dedca38, mutex=0x55fa0dedca10, abstime=0x7f6c067fc690) at pthread_cond_wait.c:483
#7  0x00007f6c3aad3a26 in QWaitConditionPrivate::wait_relative (this=<optimized out>, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:57
#8  QWaitConditionPrivate::wait (this=0x55fa0dedca10, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:65
#9  QWaitCondition::wait (this=this@entry=0x55fa0def28d0, mutex=mutex@entry=0x55fa0db9df18, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:145
#10 0x00007f6c3aad05f7 in QThreadPoolThread::run (this=0x55fa0def28c0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthreadpool.cpp:119
#11 0x00007f6c3aac5b9f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:434
#12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#13 QThreadPrivate::start (arg=0x55fa0def28c0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
#14 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#15 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 15 (Thread 0x7f6bd4b2c6c0 (LWP 63553)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=826, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55faa4b18c68, expected=826, op=<optimized out>, abstime=0x7f6bd4b2b690, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55faa4b18c68, expected=expected@entry=826, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6bd4b2b690, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55faa4b18c68, expected=expected@entry=826, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6bd4b2b690, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e928 in __pthread_cond_wait_common (cond=0x55faa4b18c48, mutex=0x55faa4b18c20, clockid=<optimized out>, abstime=0x7f6bd4b2b690) at pthread_cond_wait.c:426
#6  ___pthread_cond_timedwait64 (cond=0x55faa4b18c48, mutex=0x55faa4b18c20, abstime=0x7f6bd4b2b690) at pthread_cond_wait.c:483
#7  0x00007f6c3aad3a26 in QWaitConditionPrivate::wait_relative (this=<optimized out>, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:57
#8  QWaitConditionPrivate::wait (this=0x55faa4b18c20, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:65
#9  QWaitCondition::wait (this=this@entry=0x55faa4b25b10, mutex=mutex@entry=0x55fa0db9df18, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:145
#10 0x00007f6c3aad05f7 in QThreadPoolThread::run (this=0x55faa4b25b00) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthreadpool.cpp:119
#11 0x00007f6c3aac5b9f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:434
#12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#13 QThreadPrivate::start (arg=0x55faa4b25b00) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
#14 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#15 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 14 (Thread 0x7f6c057fb6c0 (LWP 63539)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=852, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0dedbeb8, expected=852, op=<optimized out>, abstime=0x7f6c057fa690, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0dedbeb8, expected=expected@entry=852, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6c057fa690, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0dedbeb8, expected=expected@entry=852, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6c057fa690, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e928 in __pthread_cond_wait_common (cond=0x55fa0dedbe98, mutex=0x55fa0dedbe70, clockid=<optimized out>, abstime=0x7f6c057fa690) at pthread_cond_wait.c:426
#6  ___pthread_cond_timedwait64 (cond=0x55fa0dedbe98, mutex=0x55fa0dedbe70, abstime=0x7f6c057fa690) at pthread_cond_wait.c:483
#7  0x00007f6c3aad3a26 in QWaitConditionPrivate::wait_relative (this=<optimized out>, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:57
#8  QWaitConditionPrivate::wait (this=0x55fa0dedbe70, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:65
#9  QWaitCondition::wait (this=this@entry=0x55fa0ded8a80, mutex=mutex@entry=0x55fa0db9df18, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:145
#10 0x00007f6c3aad05f7 in QThreadPoolThread::run (this=0x55fa0ded8a70) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthreadpool.cpp:119
#11 0x00007f6c3aac5b9f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:434
#12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#13 QThreadPrivate::start (arg=0x55fa0ded8a70) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
#14 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#15 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 13 (Thread 0x7f6c06ffe6c0 (LWP 63530)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0d9499e8, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0d9499e8, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0d9499e8, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e71e in __pthread_cond_wait_common (cond=0x55fa0d9499c8, mutex=0x55fa0d949998, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
#6  ___pthread_cond_wait (cond=0x55fa0d9499c8, mutex=0x55fa0d949998) at pthread_cond_wait.c:458
#7  0x00007f6c15548b9d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111
#8  0x00007f6c15502b3c in util_queue_thread_func (input=input@entry=0x55fa0d97f1c0) at ../src/util/u_queue.c:275
#9  0x00007f6c15548acc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43
#10 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 12 (Thread 0x7f6c1d1236c0 (LWP 63527)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0d8319a8, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0d8319a8, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0d8319a8, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e71e in __pthread_cond_wait_common (cond=0x55fa0d831988, mutex=0x55fa0d831958, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
#6  ___pthread_cond_wait (cond=0x55fa0d831988, mutex=0x55fa0d831958) at pthread_cond_wait.c:458
#7  0x00007f6c15548b9d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111
#8  0x00007f6c15502b3c in util_queue_thread_func (input=input@entry=0x55fa0d8a3610) at ../src/util/u_queue.c:275
#9  0x00007f6c15548acc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43
#10 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 11 (Thread 0x7f6c077ff6c0 (LWP 63529)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0d905188, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0d905188, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0d905188, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e71e in __pthread_cond_wait_common (cond=0x55fa0d905168, mutex=0x55fa0d905138, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
#6  ___pthread_cond_wait (cond=0x55fa0d905168, mutex=0x55fa0d905138) at pthread_cond_wait.c:458
#7  0x00007f6c15548b9d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111
#8  0x00007f6c15502b3c in util_queue_thread_func (input=input@entry=0x55fa0d93a5d0) at ../src/util/u_queue.c:275
#9  0x00007f6c15548acc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43
#10 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 10 (Thread 0x7f6c14fff6c0 (LWP 63528)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0d8b2ab8, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0d8b2ab8, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0d8b2ab8, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e71e in __pthread_cond_wait_common (cond=0x55fa0d8b2a98, mutex=0x55fa0d8b2a68, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
#6  ___pthread_cond_wait (cond=0x55fa0d8b2a98, mutex=0x55fa0d8b2a68) at pthread_cond_wait.c:458
#7  0x00007f6c15548b9d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111
#8  0x00007f6c15502b3c in util_queue_thread_func (input=input@entry=0x55fa0d8f5d90) at ../src/util/u_queue.c:275
#9  0x00007f6c15548acc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43
#10 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 9 (Thread 0x7f6c1d9246c0 (LWP 63526)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0d8317f8, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0d8317f8, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0d8317f8, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e71e in __pthread_cond_wait_common (cond=0x55fa0d8317d8, mutex=0x55fa0d8317a8, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
#6  ___pthread_cond_wait (cond=0x55fa0d8317d8, mutex=0x55fa0d8317a8) at pthread_cond_wait.c:458
#7  0x00007f6c15548b9d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111
#8  0x00007f6c15502b3c in util_queue_thread_func (input=input@entry=0x55fa0d8a32f0) at ../src/util/u_queue.c:275
#9  0x00007f6c15548acc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43
#10 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x7f6c1e1256c0 (LWP 63525)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0d8a1ec0, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0d8a1ec0, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0d8a1ec0, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e71e in __pthread_cond_wait_common (cond=0x55fa0d8a1ea0, mutex=0x55fa0d8a1e70, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
#6  ___pthread_cond_wait (cond=0x55fa0d8a1ea0, mutex=0x55fa0d8a1e70) at pthread_cond_wait.c:458
#7  0x00007f6c15548b9d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111
#8  0x00007f6c15502b3c in util_queue_thread_func (input=input@entry=0x55fa0d89f910) at ../src/util/u_queue.c:275
#9  0x00007f6c15548acc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43
#10 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7f6c04ffa6c0 (LWP 63540)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=843, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0def2a1c, expected=843, op=<optimized out>, abstime=0x7f6c04ff9690, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0def2a1c, expected=expected@entry=843, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6c04ff9690, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0def2a1c, expected=expected@entry=843, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6c04ff9690, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e928 in __pthread_cond_wait_common (cond=0x55fa0def29f8, mutex=0x55fa0def29d0, clockid=<optimized out>, abstime=0x7f6c04ff9690) at pthread_cond_wait.c:426
#6  ___pthread_cond_timedwait64 (cond=0x55fa0def29f8, mutex=0x55fa0def29d0, abstime=0x7f6c04ff9690) at pthread_cond_wait.c:483
#7  0x00007f6c3aad3a26 in QWaitConditionPrivate::wait_relative (this=<optimized out>, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:57
#8  QWaitConditionPrivate::wait (this=0x55fa0def29d0, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:65
#9  QWaitCondition::wait (this=this@entry=0x55fa0dee7060, mutex=mutex@entry=0x55fa0db9df18, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:145
#10 0x00007f6c3aad05f7 in QThreadPoolThread::run (this=0x55fa0dee7050) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthreadpool.cpp:119
#11 0x00007f6c3aac5b9f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:434
#12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#13 QThreadPrivate::start (arg=0x55fa0dee7050) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
#14 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#15 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7f6bd532d6c0 (LWP 63552)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=a3@entry=825, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55faa4b497ac, expected=825, op=<optimized out>, abstime=0x7f6bd532c690, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55faa4b497ac, expected=expected@entry=825, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6bd532c690, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55faa4b497ac, expected=expected@entry=825, clockid=clockid@entry=1, abstime=abstime@entry=0x7f6bd532c690, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e928 in __pthread_cond_wait_common (cond=0x55faa4b49788, mutex=0x55faa4b49760, clockid=<optimized out>, abstime=0x7f6bd532c690) at pthread_cond_wait.c:426
#6  ___pthread_cond_timedwait64 (cond=0x55faa4b49788, mutex=0x55faa4b49760, abstime=0x7f6bd532c690) at pthread_cond_wait.c:483
#7  0x00007f6c3aad3a26 in QWaitConditionPrivate::wait_relative (this=<optimized out>, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:57
#8  QWaitConditionPrivate::wait (this=0x55faa4b49760, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:65
#9  QWaitCondition::wait (this=this@entry=0x55faa4b25930, mutex=mutex@entry=0x55fa0db9df18, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:145
#10 0x00007f6c3aad05f7 in QThreadPoolThread::run (this=0x55faa4b25920) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthreadpool.cpp:119
#11 0x00007f6c3aac5b9f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:434
#12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#13 QThreadPrivate::start (arg=0x55faa4b25920) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
#14 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#15 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7f6c1ea676c0 (LWP 63524)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0d830360, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0d830360, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0d830360, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e71e in __pthread_cond_wait_common (cond=0x55fa0d830340, mutex=0x55fa0d830310, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
#6  ___pthread_cond_wait (cond=0x55fa0d830340, mutex=0x55fa0d830310) at pthread_cond_wait.c:458
#7  0x00007f6c15548b9d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:111
#8  0x00007f6c15502b3c in util_queue_thread_func (input=input@entry=0x55fa0d8320a0) at ../src/util/u_queue.c:275
#9  0x00007f6c15548acc in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:43
#10 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#11 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f6c1f3fe6c0 (LWP 63523)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=a1@entry=140102357473088, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:49
#2  0x00007f6c3ba7ba24 in __syscall_cancel (a1=a1@entry=140102357473088, a2=a2@entry=2, a3=a3@entry=-1, a4=a4@entry=0, a5=a5@entry=0, a6=a6@entry=0, nr=7) at cancellation.c:75
#3  0x00007f6c3baf4c8e in __GI___poll (fds=fds@entry=0x7f6c1f3fd740, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#4  0x00007f6c343c6559 in poll (__fds=0x7f6c1f3fd740, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:44
#5  QtWaylandClient::EventThread::run (this=0x55fa0d6e7ae0) at /usr/src/debug/qt6-qtwayland-6.9.1-3.fc42.x86_64/src/client/qwaylanddisplay.cpp:183
#6  0x00007f6c3aac5b9f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:434
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#8  QThreadPrivate::start (arg=0x55fa0d6e7ae0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
#9  0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#10 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f6c253ff6c0 (LWP 63521)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f6c3ba7ba24 in __syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0, nr=271) at cancellation.c:75
#3  0x00007f6c3baf51b6 in __GI_ppoll (fds=fds@entry=0x55fa0d6c6840, nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f6c392708b0 in ppoll (__fds=0x55fa0d6c6840, __nfds=2, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7f6c20000c80, timeout_usec=<optimized out>, fds=0x55fa0d6c6840, n_fds=2) at ../glib/gmain.c:4632
#6  g_main_context_iterate_unlocked (context=context@entry=0x7f6c20000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4309
#7  0x00007f6c39270973 in g_main_context_iteration (context=0x7f6c20000c80, may_block=1) at ../glib/gmain.c:4379
#8  0x00007f6c3ac0f9ad in QEventDispatcherGlib::processEvents (this=0x7f6c20000b70, flags=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#9  0x00007f6c3a907b03 in QEventLoop::exec (this=this@entry=0x7f6c253fe6f0, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/global/qflags.h:77
#10 0x00007f6c3aa2808d in QThread::exec (this=this@entry=0x7f6c399d6cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread.cpp:659
#11 0x00007f6c39924821 in QDBusConnectionManager::run (this=0x7f6c399d6cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/dbus/qdbusconnectionmanager.cpp:144
#12 0x00007f6c3aac5b9f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:434
#13 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#14 QThreadPrivate::start (arg=0x7f6c399d6cc0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
#15 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#16 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f6c1fbff6c0 (LWP 63522)):
#0  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f6c3ba7b9da in __internal_syscall_cancel (a1=<optimized out>, a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=0, a6=a6@entry=4294967295, nr=202) at cancellation.c:49
#2  0x00007f6c3ba7c04c in __futex_abstimed_wait_common64 (private=0, futex_word=0x55fa0d7448dc, expected=<optimized out>, op=<optimized out>, abstime=0x0, cancel=true) at futex-internal.c:57
#3  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fa0d7448dc, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#4  0x00007f6c3ba7c0af in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fa0d7448dc, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#5  0x00007f6c3ba7e71e in __pthread_cond_wait_common (cond=0x55fa0d7448b8, mutex=0x55fa0d744890, clockid=0, abstime=0x0) at pthread_cond_wait.c:426
#6  ___pthread_cond_wait (cond=0x55fa0d7448b8, mutex=0x55fa0d744890) at pthread_cond_wait.c:458
#7  0x00007f6c3aad3aac in QWaitConditionPrivate::wait (this=0x55fa0d744890, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:67
#8  QWaitCondition::wait (this=this@entry=0x55fa0d735120, mutex=mutex@entry=0x55fa0d735118, deadline=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qwaitcondition_unix.cpp:145
#9  0x00007f6c343c64f0 in QtWaylandClient::EventThread::waitForReading (this=0x55fa0d7350e0) at /usr/src/debug/qt6-qtwayland-6.9.1-3.fc42.x86_64/src/client/qwaylanddisplay.cpp:217
#10 QtWaylandClient::EventThread::run (this=0x55fa0d7350e0) at /usr/src/debug/qt6-qtwayland-6.9.1-3.fc42.x86_64/src/client/qwaylanddisplay.cpp:178
#11 0x00007f6c3aac5b9f in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:434
#12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:366
#13 QThreadPrivate::start (arg=0x55fa0d7350e0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/thread/qthread_unix.cpp:394
#14 0x00007f6c3ba7f1d4 in start_thread (arg=<optimized out>) at pthread_create.c:448
#15 0x00007f6c3bb01d2c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f6c334ea580 (LWP 63520)):
[KCrash Handler]
#5  _int_realloc (av=av@entry=0x7f6c3bbf6ac0 <main_arena>, oldp=oldp@entry=0x55fadcd46f80, oldsize=<optimized out>, nb=144) at malloc.c:5014
#6  0x00007f6c3ba90976 in __GI___libc_realloc (oldmem=0x55fadcd46f90, bytes=124) at malloc.c:3595
#7  0x00007f6c3aa42055 in QArrayData::reallocateUnaligned (data=0x55fadcd46f90, dataPointer=<optimized out>, objectSize=objectSize@entry=12, capacity=9, option=option@entry=QArrayData::Grow) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.cpp:244
#8  0x00007f6c3a42c4f1 in QTypedArrayData<Kate::TextLine::Attribute>::reallocateUnaligned (option=QArrayData::Grow, data=<optimized out>, dataPointer=<optimized out>, capacity=<optimized out>) at /usr/include/qt6/QtCore/qarraydata.h:155
#9  QtPrivate::QMovableArrayOps<Kate::TextLine::Attribute>::reallocate (option=QArrayData::Grow, this=0x7fffea340868, alloc=<optimized out>) at /usr/include/qt6/QtCore/qarraydataops.h:801
#10 QArrayDataPointer<Kate::TextLine::Attribute>::reallocateAndGrow(QArrayData::GrowthPosition, long long, QArrayDataPointer<Kate::TextLine::Attribute>*) [clone .constprop.0] (this=0x7fffea340868, where=QArrayData::GrowsAtEnd, n=1, old=0x0) at /usr/include/qt6/QtCore/qarraydatapointer.h:223
#11 0x00007f6c3a521f88 in QArrayDataPointer<Kate::TextLine::Attribute>::detachAndGrow (n=1, data=0x0, old=0x0, this=0x7fffea340868, where=QArrayData::GrowsAtEnd) at /usr/include/qt6/QtCore/qarraydatapointer.h:269
#12 QtPrivate::QMovableArrayOps<Kate::TextLine::Attribute>::emplace<Kate::TextLine::Attribute const&> (this=0x7fffea340868, i=<optimized out>) at /usr/include/qt6/QtCore/qarraydataops.h:765
#13 QList<Kate::TextLine::Attribute>::emplaceBack<Kate::TextLine::Attribute const&> (this=0x7fffea340868) at /usr/include/qt6/QtCore/qlist.h:915
#14 QList<Kate::TextLine::Attribute>::append (this=0x7fffea340868, t=...) at /usr/include/qt6/QtCore/qlist.h:489
#15 QList<Kate::TextLine::Attribute>::push_back (this=0x7fffea340868, t=...) at /usr/include/qt6/QtCore/qlist.h:706
#16 Kate::TextLine::addAttribute (this=0x7fffea340850, attribute=...) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/buffer/katetextline.cpp:178
#17 KateHighlighting::applyFormat (this=<optimized out>, offset=11, length=8, format=...) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/syntax/katehighlight.cpp:180
#18 KateHighlighting::applyFormat (this=<optimized out>, offset=11, length=8, format=...) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/syntax/katehighlight.cpp:167
#19 0x00007f6c39a64362 in KSyntaxHighlighting::AbstractHighlighter::highlightLine (this=this@entry=0x55fa0def3e70, text=..., state=...) at /usr/src/debug/kf6-syntax-highlighting-6.16.0-1.fc42.x86_64/src/lib/abstracthighlighter.cpp:362
#20 0x00007f6c3a526677 in KateHighlighting::doHighlight (this=0x55fa0def3e70, prevLine=<optimized out>, textLine=0x7fffea340850, ctxChanged=@0x7fffea34080f: false, foldings=0x0) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/syntax/katehighlight.cpp:145
#21 0x00007f6c3a4bc3e9 in KateBuffer::doHighlight (this=0x55fa0dd6b820, startLine=<optimized out>, endLine=5730142, invalidate=false) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/document/katebuffer.cpp:352
#22 0x00007f6c3a4a18bb in KTextEditor::DocumentPrivate::kateTextLine (this=0x55fa0deefe60, i=5730078) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/document/katedocument.cpp:5820
#23 0x00007f6c3a50f945 in KateLineLayout::textLine (this=0x55faa5306390, reloadForce=<optimized out>) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/render/katelinelayout.cpp:47
#24 0x00007f6c3a509a05 in KateRenderer::layoutLine (this=0x55fa0dfa3c20, lineLayout=lineLayout@entry=0x55faa5306390, maxwidth=1357, cacheLayout=true) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/render/katerenderer.cpp:1232
#25 0x00007f6c3a50af2b in KateLayoutCache::line (this=this@entry=0x55fa0dfdd560, realLine=realLine@entry=5730078, virtualLine=virtualLine@entry=-1) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/render/katelayoutcache.cpp:471
#26 0x00007f6c3a50bde0 in KateLayoutCache::updateViewCache (this=0x55fa0dfdd560, startPos=..., newViewLineCount=<optimized out>, viewLinesScrolled=0) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/render/katelayoutcache.cpp:123
#27 0x00007f6c3a58b596 in KateViewInternal::updateView (this=0x55fa0dfeb540, changed=false, viewLinesScrolled=0) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/view/kateviewinternal.cpp:625
#28 0x00007f6c3a58bc11 in KateViewInternal::scrollPos (this=0x55fa0dfeb540, c=..., force=<optimized out>, calledExternally=false, emitSignals=true) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/view/kateviewinternal.cpp:555
#29 0x00007f6c3a58c047 in KateViewInternal::scrollLines (this=<optimized out>, line=<optimized out>) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/view/kateviewinternal.cpp:403
#30 0x00007f6c3a9657ba in QtPrivate::QSlotObjectBase::call (this=0x55fa0dfea990, r=0x55fa0dfeb540, a=0x7fffea341110) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461
#31 doActivate<false> (sender=0x55fa0dfd9660, signal_index=9, argv=argv@entry=0x7fffea341110) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4146
#32 0x00007f6c3a95c089 in QMetaObject::activate (sender=sender@entry=0x55fa0dfd9660, m=m@entry=0x7f6c3c3a8340 <QAbstractSlider::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffea341110) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4206
#33 0x00007f6c3bd8e9f9 in QMetaObject::activate<void, int> (sender=0x55fa0dfd9660, mo=0x7f6c3c3a8340 <QAbstractSlider::staticMetaObject>, local_signal_index=2, ret=0x0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobjectdefs.h:306
#34 QAbstractSlider::sliderMoved (this=this@entry=0x55fa0dfd9660, _t1=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/redhat-linux-build/src/widgets/Widgets_autogen/include/moc_qabstractslider.cpp:262
#35 0x00007f6c3bd8f549 in QAbstractSlider::setSliderPosition (this=this@entry=0x55fa0dfd9660, position=<optimized out>, position@entry=5730078) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/widgets/qabstractslider.cpp:467
#36 0x00007f6c3be6d234 in QScrollBar::mouseMoveEvent (this=this@entry=0x55fa0dfd9660, e=e@entry=0x7fffea3412f0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/widgets/qscrollbar.cpp:630
#37 0x00007f6c3a59c3c3 in KateScrollBar::mouseMoveEvent (this=0x55fa0dfd9660, e=0x7fffea3418a0) at /usr/src/debug/kf6-ktexteditor-6.16.0-1.fc42.x86_64/src/view/kateviewhelpers.cpp:331
#38 0x00007f6c3bca6908 in QWidget::event (this=0x55fa0dfd9660, event=0x7fffea3418a0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qwidget.cpp:9367
#39 0x00007f6c3bc3d97f in QApplicationPrivate::notify_helper (this=this@entry=0x55fa0d6bbec0, receiver=receiver@entry=0x55fa0dfd9660, e=e@entry=0x7fffea3418a0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:3303
#40 0x00007f6c3bc48593 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffea3418a0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:2780
#41 0x00007f6c3a8f9f38 in QCoreApplication::notifyInternal2 (receiver=0x55fa0dfd9660, event=0x7fffea3418a0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1106
#42 0x00007f6c3a8fa1ad in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1560
#43 0x00007f6c3bc46e29 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55fa0dfd9660, event=event@entry=0x7fffea3418a0, alienWidget=<optimized out>, nativeWidget=nativeWidget@entry=0x55fa0dba0150, buttonDown=buttonDown@entry=0x7f6c3c3eb9d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:2361
#44 0x00007f6c3bcbc3b5 in QWidgetWindow::handleMouseEvent (this=0x55fa0dea0b00, event=0x7fffea341b30) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qwidgetwindow.cpp:669
#45 0x00007f6c3bcbeeb3 in QWidgetWindow::event (this=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qwidgetwindow.cpp:292
#46 0x00007f6c3bc3d97f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55fa0dea0b00, e=0x7fffea341b30) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:3303
#47 0x00007f6c3a8f9f38 in QCoreApplication::notifyInternal2 (receiver=0x55fa0dea0b00, event=0x7fffea341b30) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1106
#48 0x00007f6c3a8fa1ad in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1560
#49 0x00007f6c3b0f22a9 in QGuiApplicationPrivate::processMouseEvent (e=0x55faa8812cb0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:2476
#50 0x00007f6c3b15c76c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:1113
#51 0x00007f6c3b15c988 in QWindowSystemInterface::flushWindowSystemEvents (flags=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:1082
#52 0x00007f6c3a965c5a in doActivate<false> (sender=0x55fa0d6bd290, signal_index=4, argv=0x7fffea341dd8, argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4158
#53 0x00007f6c3a95c089 in QMetaObject::activate (sender=sender@entry=0x55fa0d6bd290, m=m@entry=0x7f6c3aea16e0 <QAbstractEventDispatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:4206
#54 0x00007f6c3a8f2cc7 in QAbstractEventDispatcher::awake (this=this@entry=0x55fa0d6bd290) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qabstracteventdispatcher.cpp:128
#55 0x00007f6c3ac0f9eb in QEventDispatcherGlib::processEvents (this=0x55fa0d6bd290, flags=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:406
#56 0x00007f6c3a907b03 in QEventLoop::exec (this=this@entry=0x7fffea341f10, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/global/qflags.h:77
#57 0x00007f6c3a903419 in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1449
#58 0x00007f6c3b0ddbad in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/gui/kernel/qguiapplication.cpp:1986
#59 0x00007f6c3bc3d8e9 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/widgets/kernel/qapplication.cpp:2570
#60 0x000055f9eac54a3b in main (argc=<optimized out>, argv=0x7fffea3424a8) at /usr/src/debug/kate-25.04.3-1.fc42.x86_64/apps/kwrite/main.cpp:162

Reported using DrKonqi
Comment 1 Roke Julian Lockhart Beedell 2025-07-28 16:57:57 UTC
*** Bug 507600 has been marked as a duplicate of this bug. ***
Comment 2 Waqar Ahmed 2025-07-28 18:59:46 UTC
You seem to have run out of memory. I wasn't able to crash with the given file, but maybe its because I have more free RAM available (My system has 16G of RAM, around 8G was free at the time of testing). 

The file has 11749069 lines. Highlighting those lines and storing data for them takes a lot of memory. After opening the file and scrolling through it + searching, the memory usage was around ~3.5G.

One thing we can do here is to maybe not store the highlighting data for each line forever, perhaps the data can be evicted after a certain number of lines.
Comment 3 Roke Julian Lockhart Beedell 2025-07-28 19:28:38 UTC
(In reply to Waqar Ahmed from comment #2)

> You seem to have run out of memory. I wasn't able to crash with the given file, 
> but maybe its because I have more free RAM available (My system has 16G of RAM, 
> around 8G was free at the time of testing).

I have more SDRAM available than you do (per `kinfo`):

> Memory: 32 GiB of RAM (30.4 GiB usable)

In practice, this means:

> ~~~
>                total        used        free      shared  buff/cache   available
> Mem:              30           8          13           0           7          22
> Swap:              7           0           7
> ~~~

With `kwrite $HOME/Downloads/official-cpe-dictionary_v2.3.xml` hung, `free -g` reports:

> ~~~
>                total        used        free      shared  buff/cache   available
> Mem:              30          11           7           0          10          18
> Swap:              7           0           7
> ~~~

Had I run out of RAM, `oom-killer` would have automatically invoked (which I would see in `dmesg`).
Comment 4 Christoph Cullmann 2025-07-28 20:08:38 UTC
Still it seems to crash in

Thread 1 (Thread 0x7f6c334ea580 (LWP 63520)):
[KCrash Handler]
#5  _int_realloc (av=av@entry=0x7f6c3bbf6ac0 <main_arena>, oldp=oldp@entry=0x55fadcd46f80, oldsize=<optimized out>, nb=144) at malloc.c:5014
Comment 5 Waqar Ahmed 2025-07-29 08:37:22 UTC
Ok, can you try to compile kwrite yourself, then reproduce the issue? Maybe also compile with sanitizers enabled?
Comment 6 Roke Julian Lockhart Beedell 2025-07-29 10:21:22 UTC
(In reply to Waqar Ahmed from comment #5)

Are you asking Christoph, or me? I hope, Christoph. However, per his citation of my trace's memory addresses, I think he was explaining mine, rather than demonstrating that he could reproduce it.
Comment 7 Christoph Cullmann 2025-07-29 18:04:10 UTC
I can not reproduce, I only wanted to mention that it crashed in realloc which often points to OOM. (Or that we corrupted the heap)
Comment 8 Waqar Ahmed 2025-07-30 07:46:09 UTC
> Are you asking Christoph, or me?

I am asking you. I am afraid without that it would be impossible proceed further with this report.
Comment 9 Roke Julian Lockhart Beedell 2025-07-30 07:49:55 UTC
(In reply to Waqar Ahmed from comment #8)

I'll need some explicit documentation on how to conpile it in that manner, then. I've only compiled a few projects in my life, and generally with very little success. I've certainly never customised a build configuration.
Comment 10 Waqar Ahmed 2025-07-30 08:41:14 UTC
The HOWTO is here: https://kate-editor.org/build-it/

But this needs small modifications so that we have sanitizer support. Sanitizers, particularly address sanitizer is a way to detect memory bugs in the code. I will list the steps below that you need to follow from the guide above:

1. Install kdesrc-build, do this as is.
2. Configuring kdesrc-build
    2.1. Create the ~/.config/kdesrc-buildrc file as is
    2.2 Then replace the line with cmake-options with the following line:
    cmake-options -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-fno-omit-frame-pointer" -DECM_ENABLE_SANITIZERS="address;leak" -DCMAKE_BUILD_TYPE=RelWithDebInfo
3. Install needed dependencies (optional). You will probably need this step
4. Follow the rest of the guide as is.

Questions are welcome.
Comment 11 Waqar Ahmed 2025-07-30 09:16:55 UTC
My own kdesrc-buildrc for reference: https://pastes.io/kdesrc-buildrc

It has sanitizers and disables tests.

We also have a matrix channel where lots of people can help: https://matrix.to/#/#kate:kde.org
Comment 12 Roke Julian Lockhart Beedell 2025-07-30 19:27:48 UTC
(In reply to Waqar Ahmed from comment #11)

Thanks for that. Mostly, this has been a really pleasant experience.

However, one thing remains unclear: https://invent.kde.org/websites/kate-editor-org/-/blob/f12bb8d3352fd91f15f0dcfe4b392e0c0315dc3c/content/build-it.md?plain=1#L55:~:text=see%20%5Bthis%20introduction%5D(-,https://community.kde.org/Get_Involved/development%23Set_up_kdesrc%2Dbuild,-). cites https://community.kde.org/index.php?title=Get_Involved/development&oldid=103993#The_main_way_to_develop_KDE_software:_kde-builder:~:text=Setting%20up%20your%20environment%20on,compiling%20KDE%20software%20using%20kde%2Dbuilder, which cites https://invent.kde.org/documentation/develop-kde-org/-/blob/2babe62531c032570c4f4b4a31a1b4255d49c606/content/docs/getting-started/building/kde-builder-setup/index.md#:~:text=title:%20%22Set%20up%20a%20development%20environment%22, which, per https://discuss.kde.org/t/please-start-testing-kde-builder-if-using-kdesrc-build/13698/1?u=rokejulianlockhart#post_1:~:text=Many%20of%20kde%20developers%20already,builder:%20SDK%20/%20KDE%20Builder%20%C2%B7%20GitLab&text=In%20the%20end%2C%20the%20kdesrc,it%20works%20for%20you%20currently%E2%80%9D, appears to replace `kdesrc-build` with `kde-builder`, to the extent that `kdesrc-build` may be deprecated soon.

Summarily, does `kdesrc-build` remain applicable for Kate (and, therefore, KWrite), or is the documentation outdated? (I've now two build configurations created, one of which appears to be the newer and easier version, but doesn't appear to be applicable to this situation. Good thing I've spare drive space... 😬)
Comment 13 Roke Julian Lockhart Beedell 2025-07-30 19:47:15 UTC
(In reply to Roke Julian Lockhart Beedell from comment #12)

Although off-topic here per se, I'd like some assistance at https://discuss.kde.org/t/why-is-kdesrc-build-unable-to-complete-initial-configuration/37885?u=rokejulianlockhart, too. Thanks.
Comment 14 Waqar Ahmed 2025-07-30 21:04:46 UTC
Yes, kde-builder is the new builder. I haven't tried it yet, and thats why I wrote about what I use currently. The process will probably be similar in kde-builder I guess.

Seems like you are missing perl packages needed kdesrc-build, example:

https://packages.fedoraproject.org/pkgs/perl-IPC-Cmd/perl-IPC-Cmd/

There will be more probably.
Comment 15 Roke Julian Lockhart Beedell 2025-07-30 23:03:35 UTC
(In reply to Waqar Ahmed from comment #14)

I managed to get past that, per https://bugs.kde.org/show_bug.cgi?id=507675#c0. However, KCoreAddons doesn't compile, because it, supposedly, isn't able to locate find Python:

> ~~~
> -- Looking for libinotify_direct_readv - not found
> CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
>   Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES
>   Development Development.Module Development.Embed) (found suitable version
>   "3.14.0", minimum required is "3.9")
> Call Stack (most recent call first):
>   /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
>   /usr/share/cmake/Modules/FindPython/Support.cmake:4002 (find_package_handle_standard_args)
>   /usr/share/cmake/Modules/FindPython3.cmake:602 (include)
>   CMakeLists.txt:101 (find_package)
> ~~~

...despite me having that installed:

> ~~~
> RokeJulianLockhart@Beedell:~/projects/kde/src/kdesrc-build$ rpm -qa python3
> python3-3.13.5-1.fc42.x86_64
> RokeJulianLockhart@Beedell:~/projects/kde/src/kdesrc-build$ rpm -qa python3.9
> python3.9-3.9.23-1.fc42.x86_64
> ~~~

Any ideas?
Comment 16 Waqar Ahmed 2025-07-31 06:44:53 UTC
Whenever cmake complains about some package, its almost always a "development" version of that package. Different distros use different suffixes for these. E.g., in ubuntu its often LIB-dev, in fedora its LIB-devel I think. In your case, you are probably missing "python3-devel". This is pretty much why I use arch lol.
Comment 17 Roke Julian Lockhart Beedell 2025-07-31 10:32:48 UTC
(In reply to Waqar Ahmed from comment #16)

The problem is that solely `python3-devel-3.13.5-1.fc42.x86_64` is available. Should it not create a kind of virtual environment in this circumstance? I'm surprised that merely Fedora's libraries are simply too new:

> ~~~
> -- Looking for libinotify_direct_readv - not found
> -- Found Python3: /usr/bin/python3.14 (found suitable version "3.14.0", minimum required is "3.9") found components: Interpreter Development Development.Module Development.Embed
> -- Shiboken6Config: Using default python: .cpython-313-x86_64-linux-gnu
> -- Found Python: /usr/bin/python3.14 (found suitable version "3.14.0", minimum required is "3") found components: Interpreter Development Development.Module Development.Embed
> CMake Error at /usr/lib64/cmake/Shiboken6/ShibokenHelpers.cmake:491 (message):
>   The detected Python minor version is not compatible with the Python minor
>   version which was used when Shiboken was built.  Consider building shiboken
>   with FORCE_LIMITED_API set to '1', so that only the Python major version
>   matters.
> 
>   Built with: '3.13' Detected: '3.14'
> Call Stack (most recent call first):
>   /usr/lib64/cmake/Shiboken6/Shiboken6Config.cpython-313-x86_64-linux-gnu.cmake:55 (shiboken_check_if_built_and_target_python_are_compatible)
>   /usr/lib64/cmake/Shiboken6/Shiboken6Config.cmake:5 (include)
>   CMakeLists.txt:102 (find_package)
> ~~~
Comment 18 Waqar Ahmed 2025-07-31 10:45:39 UTC
Hmm, this is Python binding stuff, not the easiest thing to build in the world. We can just skip it as its irrelevant here. Add at the very end of your kdesrc-buildrc file:

# Disable unit tests and python bindings
options frameworks
    cmake-options -DBUILD_TESTING=FALSE -DBUILD_PYTHON_BINDINGS=OFF
end options

Take a look at my kdesrcbuildrc file that I linked earlier.
Comment 19 Roke Julian Lockhart Beedell 2025-07-31 15:56:43 UTC
(In reply to Waqar Ahmed from comment #18)

That was enough. Thanks. I've now reproduced the crash, but I don't appear to be able to step through the application after the DE kills it:

> ~~~
> Thread 1 "kwrite" received signal SIGABRT, Aborted.
> 0x00000000004d38bd in __sanitizer::StackDepotBase<__sanitizer::StackDepotNode, 1, 20>::Put(__sanitizer::StackTrace, bool*) ()
> (gdb) bt full
> #0  0x00000000004d38bd in __sanitizer::StackDepotBase<__sanitizer::StackDepotNode, 1, 20>::Put(__sanitizer::StackTrace, bool*) ()
> (gdb) thread apply all bt full
> 
> Thread 23 (Thread 0x7bffaa93e6c0 (LWP 167197) "Thread (pooled)"):
> Couldn't get registers: No such process.
> ~~~

Do I need to `generate-core-file` first, ASAP, with a GDB function (rather like https://stackoverflow.com/revisions/79594352/1)? If not, please advise.

Regardless, perhaps, this is related to whatever causes https://bugs.kde.org/show_bug.cgi?id=506879#c11.
Comment 20 Waqar Ahmed 2025-07-31 16:29:08 UTC
no, now you just run Kwrite normally (without gdb or anything else) from the command line. Make it crash. There will be some kind of backtrace/output on the terminal most likely which is what I am looking for. Hopefully it provides us with some insight.
Comment 21 Roke Julian Lockhart Beedell 2025-07-31 16:32:26 UTC
(In reply to Waqar Ahmed from comment #20)

I expect you'll be disappointed:

> ~~~
> RokeJulianLockhart@Beedell:~/projects/kde/usr/bin$ ./kwrite $HOME/official-cpe-dictionary_v2.3.xml
> Aborted
> ~~~
Comment 22 Waqar Ahmed 2025-07-31 16:42:42 UTC
Hmm, yeah that is rather empty. Not sure how to proceed then. Perhaps Christoph has some ideas?
Comment 23 Christoph Cullmann 2025-07-31 16:56:24 UTC
Sorry, no real idea if the trace is empty.
Comment 24 Roke Julian Lockhart Beedell 2025-07-31 17:11:35 UTC
(In reply to Christoph Cullmann from comment #23)

I tried:

> ~~~
> RokeJulianLockhart@Beedell:~/projects/kde/usr/bin$ gdb ./kwrite
> (gdb) set args "$HOME/official-cpe-dictionary_v2.3.xml"
> (gdb) define get_core
> >run
> >generate-core-file
> >bt full
> >end
> (gdb) get_core
> ~~~

This provided me with `Thread 1 "kwrite" received signal SIGABRT, Aborted.`, as usual. Thereafter, I did get a slightly different trace (`0x00000000004d442c in __sanitizer::BufferedStackTrace::UnwindFast(unsigned long, unsigned long, unsigned long, unsigned long, unsigned int) ()`). However, it's still the first in the stack (`#0`). This is probably because, afterward, I see about 400 instances of "warning: Memory read failed for corefile section, 4096 bytes at 0xffffffffff600000" (The bytes and addresses vary, but solely between a certain few values.)

What's most problematic is that, thereafter, I see:

> ~~~
> Missing rpms, try: dnf --enablerepo='*debug*' install libX11-debuginfo-1.8.11-1.fc42.x86_64 qt6-qtbase-debuginfo-6.9.1-1.fc42.x86_64 qt6-qtbase-gui-debuginfo-6.9.1-1.fc42.x86_64 libglvnd-glx-debuginfo-1.7.0-7.fc42.x86_64 libglvnd-opengl-debuginfo-1.7.0-7.fc42.x86_64 libstdc++-debuginfo-15.1.1-2.fc42.x86_64 libgcc-debuginfo-15.1.1-2.fc42.x86_64 qt6-qtdeclarative-debuginfo-6.9.1-3.fc42.x86_64 qt6-qtspeech-debuginfo-6.9.1-1.fc42.x86_64 qt6-qtmultimedia-debuginfo-6.9.1-1.fc42.x86_64 libxkbcommon-debuginfo-1.8.1-1.fc42.x86_64 libxcb-debuginfo-1.17.0-5.fc42.x86_64 libXfixes-debuginfo-6.0.1-5.fc42.x86_64 xcb-util-keysyms-debuginfo-0.4.1-7.fc42.x86_64 libmount-debuginfo-2.40.4-7.fc42.x86_64 systemd-libs-debuginfo-257.7-1.fc42.x86_64 qt6-qtsvg-debuginfo-6.9.1-2.fc42.x86_64 qt6-qtwayland-debuginfo-6.9.1-3.fc42.x86_64 libglvnd-egl-debuginfo-1.7.0-7.fc42.x86_64 fontconfig-debuginfo-2.16.0-2.fc42.x86_64 glib2-debuginfo-2.84.3-1.fc42.x86_64 libpng-debuginfo-1.6.44-2.fc42.x86_64 harfbuzz-debuginfo-10.4.0-1.fc42.x86_64 freetype-debuginfo-2.13.3-2.fc42.x86_64 zlib-ng-compat-debuginfo-2.2.4-3.fc42.x86_64 dbus-libs-debuginfo-1.16.0-3.fc42.x86_64 libXext-debuginfo-1.3.6-3.fc42.x86_64 libglvnd-debuginfo-1.7.0-7.fc42.x86_64 libzstd-debuginfo-1.5.7-1.fc42.x86_64 krb5-libs-debuginfo-1.21.3-6.fc42.x86_64 libbrotli-debuginfo-1.1.0-6.fc42.x86_64 libproxy-debuginfo-0.5.8-2.fc42.x86_64 openssl-libs-debuginfo-3.2.4-4.fc42.x86_64 libicu-debuginfo-76.1-4.fc42.x86_64 double-conversion-debuginfo-3.3.1-1.fc42.x86_64 libb2-debuginfo-0.98.1-13.fc42.x86_64 pcre2-utf16-debuginfo-10.45-1.fc42.x86_64 bzip2-libs-debuginfo-1.0.8-20.fc42.x86_64 xz-libs-debuginfo-5.8.1-2.fc42.x86_64 pulseaudio-libs-debuginfo-17.0-5.fc42.x86_64 libXau-debuginfo-1.0.12-2.fc42.x86_64 libblkid-debuginfo-2.40.4-7.fc42.x86_64 libselinux-debuginfo-3.8-2.fc42.x86_64 libcanberra-debuginfo-0.30-37.fc42.x86_64 libcap-debuginfo-2.73-2.fc42.x86_64 libffi-debuginfo-3.4.6-5.fc42.x86_64 libxml2-debuginfo-2.12.10-1.fc42.x86_64 pcre2-debuginfo-10.45-1.fc42.x86_64 graphite2-debuginfo-1.3.14-18.fc42.x86_64 libcom_err-debuginfo-1.47.2-3.fc42.x86_64 keyutils-libs-debuginfo-1.6.3-5.fc42.x86_64 libgomp-debuginfo-15.1.1-2.fc42.x86_64 libvorbis-debuginfo-1.3.7-12.fc42.x86_64 libtdb-debuginfo-1.4.13-2.fc42.x86_64 libtool-ltdl-debuginfo-2.5.4-4.fc42.x86_64 libcurl-debuginfo-8.11.1-5.fc42.x86_64 duktape-debuginfo-2.7.0-9.fc42.x86_64 libsndfile-debuginfo-1.2.2-8.fc42.x86_64 libasyncns-debuginfo-0.8-30.fc42.x86_64 libogg-debuginfo-1.3.5-11.fc42.x86_64 libnghttp2-debuginfo-1.64.0-3.fc42.x86_64 libidn2-debuginfo-2.3.8-1.fc42.x86_64 libssh-debuginfo-0.11.2-1.fc42.x86_64 libpsl-debuginfo-0.21.5-5.fc42.x86_64 openldap-debuginfo-2.6.9-3.fc42.x86_64 gsm-debuginfo-1.0.22-8.fc42.x86_64 flac-libs-debuginfo-1.4.3-6.fc42.x86_64 opus-debuginfo-1.5.2-2.fc42.x86_64 mpg123-libs-debuginfo-1.32.10-1.fc42.x86_64 lame-libs-debuginfo-3.100-19.fc42.x86_64 libunistring-debuginfo-1.1-9.fc42.x86_64 libevent-debuginfo-2.1.12-15.fc42.x86_64 cyrus-sasl-lib-debuginfo-2.1.28-30.fc42.x86_64 libxcrypt-debuginfo-4.4.38-7.fc42.x86_64 pipewire-libs-debuginfo-1.4.7-1.fc42.x86_64 plasma-integration-debuginfo-6.4.3-1.fc42.x86_64 kf6-kio-file-widgets-debuginfo-6.16.0-1.fc42.x86_64 kf6-kstatusnotifieritem-debuginfo-6.16.0-1.fc42.x86_64 libXcursor-debuginfo-1.2.3-2.fc42.x86_64 kf6-kbookmarks-debuginfo-6.16.0-1.fc42.x86_64 libXrender-debuginfo-0.9.12-2.fc42.x86_64 libwayland-egl-debuginfo-1.23.1-1.fc42.x86_64 mesa-libEGL-debuginfo-25.1.4-2.fc42.x86_64 mesa-libgbm-debuginfo-25.1.4-2.fc42.x86_64 expat-debuginfo-2.7.1-1.fc42.x86_64 libX11-xcb-debuginfo-1.8.11-1.fc42.x86_64 libdrm-debuginfo-2.4.125-1.fc42.x86_64 libwayland-server-debuginfo-1.23.1-1.fc42.x86_64 llvm-libs-debuginfo-20.1.8-1.fc42.x86_64 spirv-tools-libs-debuginfo-2025.2-2.fc42.x86_64 lm_sensors-libs-debuginfo-3.6.0-22.fc42.x86_64 libxshmfence-debuginfo-1.3.2-6.fc42.x86_64 elfutils-libelf-debuginfo-0.193-2.fc42.x86_64 libedit-debuginfo-3.1-55.20250104cvs.fc42.x86_64 libpciaccess-debuginfo-0.16-15.fc42.x86_64 ncurses-libs-debuginfo-6.5-5.20250125.fc42.x86_64 plasma-breeze-qt6-debuginfo-6.4.3-1.fc42.x86_64 kf6-kirigami-debuginfo-6.16.0-1.fc42.x86_64 kf6-frameworkintegration-libs-debuginfo-6.16.0-1.fc42.x86_64 kf6-kiconthemes-debuginfo-6.16.0-1.fc42.x86_64 kf6-sonnet-hunspell-debuginfo-6.16.0-1.fc42.x86_64 hunspell-debuginfo-1.7.2-9.fc42.x86_64 kf6-kwindowsystem-debuginfo-6.16.0-1.fc42.x86_64
> ~~~

There's no way in heck I'm actually meant to install that. At least I also see "Saved corefile core.206198", so if anyone wants a core, I have one. It's probably mostly invalid, per the previous memory errors, though.
Comment 25 Roke Julian Lockhart Beedell 2025-07-31 19:27:57 UTC
Created attachment 183691 [details]
The Hotspot-Parsed Output Of `perf record --call-graph dwarf ./kwrite $HOME/official-cpe-dictionary_v2.3.xml`

(In reply to Roke Julian Lockhart Beedell from comment #24)

I've attached the Hotspot (KDAB)-parsed output of `perf record --call-graph dwarf ./kwrite $HOME/official-cpe-dictionary_v2.3.xml`, although the cause of the hang appears quite clear from merely `strace -Ttr -- ./kwrite $HOME/official-cpe-dictionary_v2.3.xml`:

> ~~~
> 20:21:43 (+     0.002468) mmap(0x7c3a66360000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c3a66360000 <0.000016>
> 20:21:43 (+     0.002433) mmap(0x7c1a5ee60000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c1a5ee60000 <0.000013>
> 20:21:43 (+     0.000805) mmap(0x7c2a63320000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c2a63320000 <0.000017>
> 20:21:43 (+     0.001936) mmap(0x7c3a663a0000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c3a663a0000 <0.000013>
> 20:21:43 (+     0.001202) mmap(0x7c1a5eea0000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c1a5eea0000 <0.000017>
> 20:21:43 (+     0.001386) mmap(0x7c2a63360000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c2a63360000 <0.000017>
> 20:21:43 (+     0.000631) mmap(0x7bea5be20000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7bea5be20000 <0.000012>
> 20:21:43 (+     0.001612) mmap(0x7c1a5eee0000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c1a5eee0000 <0.000013>
> 20:21:43 (+     0.000507) mmap(0x7c3a663e0000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c3a663e0000 <0.000012>
> 20:21:43 (+     0.001828) mmap(0x7c2a633a0000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c2a633a0000 <0.000013>
> 20:21:43 (+     0.001317) mmap(0x7bea5be60000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7bea5be60000 <0.000012>
> 20:21:43 (+     0.000354) mmap(0x7c1a5ef20000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c1a5ef20000 <0.000012>
> 20:21:43 (+     0.001806) mmap(0x7c3a66420000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c3a66420000 <0.000016>
> 20:21:43 (+     0.000079) mmap(0x7bca6c560000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7bca6c560000 <0.000012>
> 20:21:43 (+     0.000698) mmap(0x7c2a633e0000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c2a633e0000 <0.000016>
> ~~~

Those calls continue for > 98 000 lines.
Comment 26 TraceyC 2025-07-31 19:28:08 UTC
(In reply to Roke Julian Lockhart Beedell from comment #0)
> . In essence,
> https://bugs.kde.org/show_bug.cgi?id=507036#c0 is a duplicate of this.

The backtraces are different, so these are different crashes which will require separate effort.
Comment 27 Waqar Ahmed 2025-07-31 20:25:55 UTC
That just shows that there were a lot of allocations being done. One of the allocation calls failed, followed by an assert and then an abort.

So I don't think there is a bug in Kate/Kwrite and consequently I dont think we can do anything about this.
Comment 28 Roke Julian Lockhart Beedell 2025-07-31 20:42:00 UTC
(In reply to Waqar Ahmed from comment #27)

Some other editors don't fail, though. KWrite doesn't need to syntax-highlight the entire file, when scrolled, or even the entire interim between where it is and where it needs to scroll to. All it should syntax-highlight is the area in the viewport *after* it's scrolled there.
Comment 29 Waqar Ahmed 2025-08-01 07:33:59 UTC
> Some other editors don't fail, though. 

Yes, and as I noted earlier, KWrite is working just fine here on a PC with half the RAM and probably a slower processor. Perhaps you should try this on another PC/distro.

> KWrite doesn't need to syntax-highlight the entire file, when scrolled, or even the entire interim between where it is and where it needs to scroll to. All it should syntax-highlight is the area in the viewport *after* it's scrolled there.

Sure, but someone needs to put in the effort and time to research and implement this. It may be possible, it may not be. Another easier things, that perhaps you can try is to modify the xml highlighting to not do so much regex matching.

https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/syntax/xml.xml

Anyways, I dont think all this is too relevant to this bug.
Comment 30 Roke Julian Lockhart Beedell 2025-08-01 11:28:40 UTC
*** Bug 507736 has been marked as a duplicate of this bug. ***
Comment 31 Roke Julian Lockhart Beedell 2025-08-01 11:30:10 UTC
*** Bug 507735 has been marked as a duplicate of this bug. ***
Comment 32 Roke Julian Lockhart Beedell 2025-08-01 11:37:12 UTC
(In reply to Waqar Ahmed from comment #29)

> Yes, and as I noted earlier, KWrite is working just fine here on a PC with half 
> the RAM and probably a slower processor. Perhaps you should try this on another 
> PC/distro.

Per https://bugs.kde.org/show_bug.cgi?id=507736#c0:~:text=Qt%20Version:%206.9.1,42%20(KDE%20Plasma%20Desktop%20Edition)%22, reproduced on my laptop with the same OS, and similar specifications:

> ~~~
> Operating System: Fedora Linux 42
> KDE Plasma Version: 6.4.3
> KDE Frameworks Version: 6.16.0
> Qt Version: 6.9.1
> Kernel Version: 6.15.8-200.fc42.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
> Memory: 32 GiB of RAM (30.6 GiB usable)
> Graphics Processor: AMD Radeon 780M Graphics
> Manufacturer: Framework
> Product Name: Laptop 16 (AMD Ryzen 7040 Series)
> System Version: A7
> ~~~

Per https://bugs.kde.org/show_bug.cgi?id=507735#c0:~:text=Qt%20Version:%206.9.1,Distribution:%20KDE%20neon%20User%20Edition, reproduced on a QEMU/KVM VM with 50% of less RAM and CPU cores:

> ~~~
> Operating System: KDE neon User Edition
> KDE Plasma Version: 6.4.3
> KDE Frameworks Version: 6.16.0
> Qt Version: 6.9.1
> Kernel Version: 6.14.0-24-generic (64-bit)
> Graphics Platform: Wayland
> Processors: 6 × AMD Ryzen 5 7600X 6-Core Processor
> Memory: 15.8 GiB of RAM (15.4 GiB usable)
> Graphics Processor: llvmpipe
> Manufacturer: QEMU
> Product Name: Standard PC (Q35 + ICH9, 2009)
> System Version: pc-q35-9.2
> ~~~
Comment 33 Waqar Ahmed 2025-08-01 15:42:33 UTC
Ok, can't reproduce on Manjaro linux. And I can't do anything about this if I can't reproduce.

Also, you don't need to create new bugs just to link here and mark as dupe, its noise that can be avoided.
Comment 34 Roke Julian Lockhart Beedell 2025-08-01 16:43:02 UTC
Created attachment 183716 [details]
A Screencast That Demonstrates How To Reproduce This

(In reply to Waqar Ahmed from comment #33)

> Ok, can't reproduce on Manjaro linux. And I can't do anything about this if I ca
> n't reproduce.

...have you tried a Fedora VM? Perhaps, you're doing something wrong when reproducing it. See https://youtu.be/Rtcyj0VwXQU for a visual demonstration.

> Also, you don't need to create new bugs just to link here and mark as dupe, its 
> noise that can be avoided.

What should I do instead?
Comment 35 Waqar Ahmed 2025-08-01 18:03:55 UTC
Ah ok. Now I see what's happening.

So first of all, this is no crash at all. You are force quitting the app. So the backtraces are all irrelevant and there's no for gdb or anything else. The backtraces do show the part of the code that was being executed at the time of force kill.

So, this does happen here as well. The XML highlighter is not very fast it seems. If you wait long enough, KWrite will become responsive once its done with the highlighting. 

You can file a different bug for xml highlighter or any other performance concern.
Comment 36 Roke Julian Lockhart Beedell 2025-08-01 19:42:17 UTC
(In reply to Waqar Ahmed from comment #35)

Ignoring the ANR trace, this bug is about KWrite's (presumably, its highlighter's) performance: with whatever enabled that's causing it, it's unusable for certain file types. I left KWrite open for a number of minutes and it never resolved itself. Do you know how to work around this? (By somehow disabling the highlighter?)
Comment 37 Waqar Ahmed 2025-08-01 20:24:02 UTC
Created attachment 183722 [details]
Recording_with_the_given_file

Here's a recording of me opening and working with the file. It takes 75-ish seconds for me to scroll to the bottom right after opening the file (worst case). After that there should be no lags in scrolling. 

If you were using the Kwrite that you built yourself, then I'd suggest to not do that (at least with large files) because it is built with "sanitizers", which slow down the program by a lot.

To skip the highlighting, there is a button in the bottom-right corner which says "XML" (because this is the current higlighting). Click that, a popup will open, search for "Normal" and then hit enter. This will disable highlighting. Scrolling should be instant after that.
Comment 38 Roke Julian Lockhart Beedell 2025-08-01 20:51:58 UTC
(In reply to Waqar Ahmed from comment #37)

That's perfect! Thank you!