Bug 474720

Summary: Kdevelop crashes after screen resume
Product: [Applications] kdevelop Reporter: Bruno Friedmann <bruno>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bruno Friedmann 2023-09-20 07:48:43 UTC
Application: kdevelop (5.12.230801 (23.08.1))

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.3-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
I was working with a few python3 file (without being a project, just opening and working with those).
I left my computer for lunch, and when I woke up the screen (computer still running) and unlock the screen, kdevelop crash a few moment after.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f8b30d6939d in __memmove_avx_unaligned_erms () at /lib64/libc.so.6
#5  0x00007f8b1bb0f93a in memmove (__len=262100, __src=0x7f8615de6510, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:36
#6  copy_unswapped (rect=<synthetic pointer>..., img=..., dstBytesPerLine=262100, dst=<optimized out>) at qxcbbackingstore.cpp:547
#7  native_sub_image (swap=false, rect=<synthetic pointer>..., src=<optimized out>, dstStride=262100, buffer=<optimized out>) at qxcbbackingstore.cpp:590
#8  QXcbBackingStoreImage::flushPixmap(QRegion const&, bool) (this=0x55b7196964e0, region=<optimized out>, fullRegion=<optimized out>) at qxcbbackingstore.cpp:669
#9  0x00007f8b1bb0ff39 in QXcbBackingStoreImage::flushPixmap(QRegion const&, bool) (fullRegion=false, region=..., this=0x55b7196964e0) at qxcbbackingstore.cpp:627
#10 QXcbBackingStoreImage::put(unsigned int, QRegion const&, QPoint const&) (this=0x55b7196964e0, dst=67108876, region=..., offset=<optimized out>) at qxcbbackingstore.cpp:741
#11 0x00007f8b1bb10869 in QXcbBackingStore::flush(QWindow*, QRegion const&, QPoint const&) (this=0x55b718736450, window=<optimized out>, region=<optimized out>, offset=...) at qxcbbackingstore.cpp:877
#12 0x00007f8b31d5a5d4 in QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) (this=this@entry=0x7f8b0c003210, region=..., window=0x55b718724bf0, offset=...) at painting/qbackingstore.cpp:263
#13 0x00007f8b323b294f in QWidgetRepaintManager::flush(QWidget*, QRegion const&, QPlatformTextureList*) (this=this@entry=0x55b718750dd0, widget=0x55b7142a3090, region=..., widgetTextures=<optimized out>) at kernel/qwidgetrepaintmanager.cpp:1198
#14 0x00007f8b323b44c9 in QWidgetRepaintManager::flush() (this=0x55b718750dd0) at kernel/qwidgetrepaintmanager.cpp:1096
#15 0x00007f8b323b6528 in QWidgetRepaintManager::paintAndFlush() (this=0x55b718750dd0) at kernel/qwidgetrepaintmanager.cpp:1028
#16 0x00007f8b323ff051 in QWidgetWindow::handleResizeEvent(QResizeEvent*) (this=this@entry=0x55b718724bf0, event=event@entry=0x7ffdf6c18000) at kernel/qwidgetwindow.cpp:842
#17 0x00007f8b32402f02 in QWidgetWindow::event(QEvent*) (this=0x55b718724bf0, event=0x7ffdf6c18000) at kernel/qwidgetwindow.cpp:322
#18 0x00007f8b323a519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55b718724bf0, e=0x7ffdf6c18000) at kernel/qapplication.cpp:3640
#19 0x00007f8b316ed568 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55b718724bf0, event=0x7ffdf6c18000) at kernel/qcoreapplication.cpp:1064
#20 0x00007f8b316ed73e in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#21 0x00007f8b31b7959c in QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) (e=<optimized out>) at kernel/qguiapplication.cpp:2610
#22 0x00007f8b31b5036c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#23 0x00007f8b1bb1b1aa in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#24 0x00007f8b2d3169d8 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#25 0x00007f8b2d316de8 in  () at /lib64/libglib-2.0.so.0
#26 0x00007f8b2d316e7c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#27 0x00007f8b317464a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55b713d7f1e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007f8b316ebffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdf6c18280, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#29 0x00007f8b316f4490 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#30 0x00007f8b31b7055c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#31 0x00007f8b323a5115 in QApplication::exec() () at kernel/qapplication.cpp:2832
#32 0x000055b713a2d61b in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop-23.08.1/app/main.cpp:841
[Inferior 1 (process 22053) detached]

Reported using DrKonqi
Comment 1 Milian Wolff 2023-09-20 08:14:08 UTC
crashes deep inside Qt, please report the crash upstream
Comment 2 Nicolas Fella 2023-10-04 10:33:18 UTC

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