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

            Bug ID: 497388
           Summary: Kate crashed during find replace
    Classification: Applications
           Product: kate
           Version: 24.08.2
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: jv...@altsci.com
  Target Milestone: ---

Application: kate (24.08.2)
 (Compiled from sources)
ApplicationNotResponding [ANR]: false
Qt Version: 6.7.3
Frameworks Version: 6.7.0
Operating System: Linux 6.10.3 x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 6.2.3 [KCrashBackend]

-- Information about the crash:
I pasted mediawiki
https://en.wikipedia.org/w/index.php?title=List_of_vegetables&action=edit into
a new file and started doing find replace. I chose to replace \|[0-9]+ with
XXLFXX\0 using regex and then XXLFXX with \n and then it crashed.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007f2b38aba5e4 in Kate::TextBlock::startLine() const () at
/usr/lib64/libKF6TextEditor.so.6
#5  0x00007f2b38ab6082 in Kate::TextBuffer::rangesForLine(int,
KTextEditor::View*, bool, QList<Kate::TextRange*>&) const () at
/usr/lib64/libKF6TextEditor.so.6
#6  0x00007f2b38ba37d1 in KateRenderer::decorationsForLine(Kate::TextLine
const&, int, bool) const () at /usr/lib64/libKF6TextEditor.so.6
#7  0x00007f2b38ba557b in KateRenderer::layoutLine(KateLineLayout*, int, bool)
const () at /usr/lib64/libKF6TextEditor.so.6
#8  0x00007f2b38bac76b in KateLayoutCache::line(int, int) () at
/usr/lib64/libKF6TextEditor.so.6
#9  0x00007f2b38bacb4b in KateLayoutCache::updateViewCache(KTextEditor::Cursor,
int, int) () at /usr/lib64/libKF6TextEditor.so.6
#10 0x00007f2b38c23484 in KateViewInternal::tagLines(KTextEditor::Cursor,
KTextEditor::Cursor, bool) () at /usr/lib64/libKF6TextEditor.so.6
#11 0x00007f2b38b195d4 in
KTextEditor::DocumentPrivate::tagLines(KTextEditor::LineRange) () at
/usr/lib64/libKF6TextEditor.so.6
#12 0x00007f2b38b21ce0 in KTextEditor::DocumentPrivate::removeMark(int,
unsigned int) () at /usr/lib64/libKF6TextEditor.so.6
#13 0x00007f2b38bbbdf3 in KateSearchBar::clearHighlights() () at
/usr/lib64/libKF6TextEditor.so.6
#14 0x00007f2b38bbe460 in KateSearchBar::replaceAll() () at
/usr/lib64/libKF6TextEditor.so.6
#15 0x00007f2b39560a6d in void doActivate<false>(QObject*, int, void**) () at
/usr/lib64/libQt6Core.so.6
#16 0x00007f2b3a4679d6 in QAbstractButton::clicked(bool) () at
/usr/lib64/libQt6Widgets.so.6
#17 0x00007f2b3a48406e in QAbstractButtonPrivate::emitClicked() () at
/usr/lib64/libQt6Widgets.so.6
#18 0x00007f2b3a4b328d in QAbstractButtonPrivate::click() () at
/usr/lib64/libQt6Widgets.so.6
#19 0x00007f2b3a4b343d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
at /usr/lib64/libQt6Widgets.so.6
#20 0x00007f2b3a5b4007 in QWidget::event(QEvent*) () at
/usr/lib64/libQt6Widgets.so.6
#21 0x00007f2b3a5a3d69 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib64/libQt6Widgets.so.6
#22 0x00007f2b3a5a4bad in QApplication::notify(QObject*, QEvent*) () at
/usr/lib64/libQt6Widgets.so.6
#23 0x00007f2b39579108 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib64/libQt6Core.so.6
#24 0x00007f2b3a5ac350 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
at /usr/lib64/libQt6Widgets.so.6
#25 0x00007f2b3a5b1adc in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at
/usr/lib64/libQt6Widgets.so.6
#26 0x00007f2b3a5b5758 in QWidgetWindow::event(QEvent*) () at
/usr/lib64/libQt6Widgets.so.6
#27 0x00007f2b3a5a3d69 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib64/libQt6Widgets.so.6
#28 0x00007f2b39579108 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib64/libQt6Core.so.6
#29 0x00007f2b39a486a4 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /usr/lib64/libQt6Gui.so.6
#30 0x00007f2b39aa12db in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib64/libQt6Gui.so.6
#31 0x00007f2b31eb8eee in xcbSourceDispatch(_GSource*, int (*)(void*), void*)
() at /usr/lib64/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#32 0x00007f2b37adc8eb in g_main_dispatch () at /usr/lib64/libglib-2.0.so.0
#33 0x00007f2b37adfc67 in g_main_context_iterate_unlocked.isra () at
/usr/lib64/libglib-2.0.so.0
#34 0x00007f2b37ae02c0 in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#35 0x00007f2b3933e313 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt6Core.so.6
#36 0x00007f2b395a2b9a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt6Core.so.6
#37 0x00007f2b395a2d35 in QCoreApplication::exec() () at
/usr/lib64/libQt6Core.so.6
#38 0x000055c8e454f97b in main ()
[Inferior 1 (process 8138) detached]

Reported using DrKonqi

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

Reply via email to