Bug 461563

Summary: Unexpected SEGFAULT Crash
Product: [Applications] kate Reporter: nekonexus
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: christoph, nicolas.fella
Priority: NOR    
Version: 22.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: DrKonqi Kate kcrash Report

Description nekonexus 2022-11-07 22:26:01 UTC
Created attachment 153564 [details]
DrKonqi Kate kcrash Report

SUMMARY
I left Kate open overnight before I went to bed and woke up with it crashed and Dr. Konqi available in my task tray, so I collected the report.
I have no idea what caused it, but I figured I'd post the bug here with the backtrace.


STEPS TO REPRODUCE
1. Unknown

OBSERVED RESULT
Kate crashed with a segmentation fault

EXPECTED RESULT
Kate should've not crashed

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
N/A
Comment 1 Nicolas Fella 2022-11-07 22:54:47 UTC
#5  __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:228
#6  0x00007f44fdbf5cc2 in copy_unswapped (rect=<synthetic pointer>..., img=..., dstBytesPerLine=262096, dst=0x7f44df03fff8 "\"\035\031\377\"\035\031\377\036\031\026\377 \032\027\377!&%\377!'&\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377\"('\377"...) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:540
#7  native_sub_image (swap=false, rect=<synthetic pointer>..., src=..., dstStride=262096, buffer=0x20c0) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:590
#8  QXcbBackingStoreImage::flushPixmap (this=0x5568b0e53460, region=..., fullRegion=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:669
#9  0x00007f44fdbf675b in QXcbBackingStoreImage::put (this=0x5568b0e53460, dst=130023509, region=..., offset=...) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:734
#10 0x00007f44fdbf6db3 in QXcbBackingStore::flush (this=0x7f44f0008260, window=0x5568b1873820, region=..., offset=...) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:864
#11 0x00007f4504b3a6d3 in QBackingStore::flush (this=this@entry=0x5568b1873d60, region=..., window=0x5568b1873560, offset=...) at painting/qbackingstore.cpp:252
#12 0x00007f450507428b in QWidgetRepaintManager::flush (this=this@entry=0x5568b1873dc0, widget=widget@entry=0x5568b0aeca00, region=..., widgetTextures=<optimized out>, widgetTextures@entry=0x0) at kernel/qwidgetrepaintmanager.cpp:1184
#13 0x00007f4505074c41 in QWidgetRepaintManager::flush (widgetTextures=0x0, region=..., widget=0x5568b0aeca00, this=0x5568b1873dc0) at kernel/qwidgetrepaintmanager.cpp:1130
#14 QWidgetRepaintManager::flush (this=this@entry=0x5568b1873dc0) at kernel/qwidgetrepaintmanager.cpp:1082
#15 0x00007f450507638a in QWidgetRepaintManager::paintAndFlush (this=<optimized out>) at kernel/qwidgetrepaintmanager.cpp:1014
#16 0x00007f45050c6864 in QWidgetWindow::handleResizeEvent (event=0x7ffdaf887c00, this=0x5568b1873560) at kernel/qwidgetwindow.cpp:841
#17 QWidgetWindow::event (event=0x7ffdaf887c00, this=0x5568b1873560) at kernel/qwidgetwindow.cpp:322
#18 QWidgetWindow::event (this=0x5568b1873560, event=0x7ffdaf887c00) at kernel/qwidgetwindow.cpp:239
#19 0x00007f4505069f9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5568b1873560, e=0x7ffdaf887c00) at kernel/qapplication.cpp:3637
#20 0x00007f45044396d8 in QCoreApplication::notifyInternal2 (receiver=0x5568b1873560, event=0x7ffdaf887c00) at kernel/qcoreapplication.cpp:1064
#21 0x00007f4504992dd0 in QGuiApplicationPrivate::processGeometryChangeEvent (e=<optimized out>) at kernel/qguiapplication.cpp:2610
#22 0x00007f450497ba05 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#23 0x00007f44fdbff4e0 in non-virtual thunk to QXcbSystemTrayTracker::handleDestroyNotifyEvent(xcb_destroy_notify_event_t const*) () at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbsystemtraytracker.h:63
#24 0x000061860dd182cd in ?? ()
#25 0x00007ffdaf887d00 in ?? ()
#26 0x00007f4501d77886 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x0000000000000000 in ?? ()
Comment 2 Christoph Cullmann 2022-11-12 17:11:43 UTC
This crash shows nothing inside Kate itself.

Either this is some issue inside Qt, or X11 or your system.

Please report this upstream to Qt or perhaps to the matching Arch package.
Comment 3 Nicolas Fella 2023-10-04 10:31:36 UTC

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