Bug 496409 - Kate crashed during regex search-and-replace
Summary: Kate crashed during regex search-and-replace
Status: RESOLVED DUPLICATE of bug 494826
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 24.08.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-11-18 08:16 UTC by Timothy Pederick
Modified: 2024-11-18 08:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/89512/events/23de1d883dca4ba78cb735c8b40f6b08/


Attachments
New crash information added by DrKonqi (84.70 KB, text/plain)
2024-11-18 08:16 UTC, Timothy Pederick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Pederick 2024-11-18 08:16:02 UTC
Application: kate (24.08.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.7.2
Frameworks Version: 6.7.0
Operating System: Linux 6.11.6-200.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (KDE Plasma)"
DrKonqi: 6.2.2 [CoredumpBackend]

-- Information about the crash:
Kate crashed while editing a HTML file. The only unusual things I can recall are that at the time, I was doing a regex search-and-replace that matched multiple lines; and that I've just started using a HTML language server (LSP), specifically <https://github.com/Microsoft/vscode/tree/main/extensions/html-language-features/server>.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#5  std::vector<int, std::allocator<int> >::size (this=0x909090969) at /usr/include/c++/14/bits/stl_vector.h:992
#6  std::vector<int, std::allocator<int> >::operator[] (this=0x909090969, __n=0) at /usr/include/c++/14/bits/stl_vector.h:1130
#7  Kate::TextBlock::startLine (this=0x55a8a5b48e88) at /usr/src/debug/kf6-ktexteditor-6.7.0-1.fc40.x86_64/src/buffer/katetextblock.cpp:34
#8  0x00007f12f58b2d7f in Kate::TextCursor::lineInternal (this=0x55a8a7566680) at /usr/src/debug/kf6-ktexteditor-6.7.0-1.fc40.x86_64/src/buffer/katetextcursor.h:127
#9  Kate::TextBuffer::rangesForLine (this=<optimized out>, line=0, view=0x55a8a6b153d0, rangesWithAttributeOnly=true, outRanges=...) at /usr/src/debug/kf6-ktexteditor-6.7.0-1.fc40.x86_64/src/buffer/katetextbuffer.cpp:1007


Reported using DrKonqi
Comment 1 Timothy Pederick 2024-11-18 08:16:05 UTC
Created attachment 175902 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Waqar Ahmed 2024-11-18 08:34:22 UTC

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