Bug 512593 - Segfault after not using for some time
Summary: Segfault after not using for some time
Status: RESOLVED UPSTREAM
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.3
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-25 14:34 UTC by kdgiid.dcz
Modified: 2025-11-25 16:43 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 kdgiid.dcz 2025-11-25 14:34:48 UTC
SUMMARY

Occasionally, after not using Kate for a couple days, it spontaneosly crashes.

Perhaps related to Kwin crashing and restarting while Kate was running.

STEPS TO REPRODUCE
1. ??? have a project with LSP open
2. Click the LSP client menu item

OBSERVED RESULT
Segfault

EXPECTED RESULT
No segfault, LSP client menu opens

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.8.3
Kernel Version: 6.17.4-100.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Graphics Processor: Intel® HD Graphics 4000

ADDITIONAL INFORMATION

#0  0x00007f0e81e6ea2f in QImage::sizeInBytes() const ()
    at /lib64/libQt6Gui.so.6
#1  0x00007f0e7a8092bc in QtWaylandClient::QWaylandShmBackingStore::recreateBackBufferIfNeeded() () at /lib64/libQt6WaylandClient.so.6
#2  0x00007f0e7a809882 in QtWaylandClient::QWaylandShmBackingStore::beginPaint(QRegion const&) () at /lib64/libQt6WaylandClient.so.6
#3  0x00007f0e81f7000b in QBackingStore::beginPaint(QRegion const&) ()
    at /lib64/libQt6Gui.so.6
#4  0x00007f0e828b10cb in QWidgetRepaintManager::paintAndFlush() ()
    at /lib64/libQt6Widgets.so.6
#5  0x00007f0e828b1f7d in QWidgetRepaintManager::sync(QWidget*, QRegion const&)
    () at /lib64/libQt6Widgets.so.6
#6  0x00007f0e828bbc96 in QWidgetWindow::event(QEvent*) ()
    at /lib64/libQt6Widgets.so.6
#7  0x00007f0e8283d9b8 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () at /lib64/libQt6Widgets.so.6
#8  0x00007f0e816f3f30 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
    () at /lib64/libQt6Core.so.6
#9  0x00007f0e81eeccd8 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /lib64/libQt6Gui.so.6
#10 0x00007f0e81f5383c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Gui.so.6
#11 0x00007f0e824cd714 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt6Gui.so.6
#12 0x00007f0e7ffdf28c in g_main_context_dispatch_unlocked.lto_priv ()
    at /lib64/libglib-2.0.so.0
#13 0x00007f0e8003f8b8 in g_main_context_iterate_unlocked.isra ()
    at /lib64/libglib-2.0.so.0
#14 0x00007f0e7ffe0783 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#15 0x00007f0e819f2c33 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#16 0x00007f0e81701313 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#17 0x00007f0e816fc90e in QCoreApplication::exec() () at /lib64/libQt6Core.so.6
#18 0x000055e138f6eb66 in main ()
Comment 1 Waqar Ahmed 2025-11-25 16:43:16 UTC
We can't do anything about this. The crash is in Qt