Bug 479505 - Kate crashes when scrolling diff
Summary: Kate crashes when scrolling diff
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.12.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-01-07 15:21 UTC by Daniele Venzano
Modified: 2024-01-08 12:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele Venzano 2024-01-07 15:21:40 UTC
Application: kate (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.6.7-lp155.2.g6869d09-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.5"
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
Comparing two versions of telegraf.conf (~1800 lines), kate crashes when scrolling up.

The diff starts at the bottom of the file, naturally I want to scroll to the top, at about 2/3 of the way up, kate crashes.

100% reproducible

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f30c9867000 in QTextLine::naturalTextRect() const () from /usr/lib64/libQt5Gui.so.5
#5  0x00007f30ca933626 in ?? () from /usr/lib64/libkateprivate.so.22.12.3
#6  0x00007f30c9fdfda8 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#7  0x00007f30ca08729e in QFrame::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#8  0x00007f30c90d6da0 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f30c9f9f512 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007f30c9fa62ff in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#11 0x00007f30c90d7013 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#12 0x00007f30c9fd8235 in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007f30c9fd8e47 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f30c9fafa7b in ?? () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007f30c9fb0148 in ?? () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f30c9fd990f in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f30c9fdff28 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f30ca0f1590 in QMainWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f30c8125a54 in KMainWindow::event(QEvent*) () from /usr/lib64/libKF5XmlGui.so.5
#20 0x00007f30c816de17 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libKF5XmlGui.so.5
#21 0x00007f30c9f9f53c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f30c9fa62ff in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007f30c90d7013 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#24 0x00007f30c90d9a31 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#25 0x00007f30c913a2b3 in ?? () from /usr/lib64/libQt5Core.so.5
#26 0x00007f30c652082b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f30c6520bd0 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f30c6520c5c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f30c913995c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#30 0x00007f30c90d587a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#31 0x00007f30c90df0b7 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#32 0x00005569be69b155 in ?? ()
#33 0x00007f30c883e24d in __libc_start_main () from /lib64/libc.so.6
#34 0x00005569be69cdda in ?? ()
[Inferior 1 (process 25412) detached]

The reporter indicates this bug may be a duplicate of or related to bug 472783.

Reported using DrKonqi
Comment 1 Waqar Ahmed 2024-01-08 12:30:00 UTC
This has been fixed, please upgrade to latest