Bug 481860

Summary: Dolphin crashes and RAM usage balloons by +15-20%
Product: [Applications] dolphin Reporter: Paul <Paul.Montaque>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WAITINGFORINFO    
Severity: crash CC: broes2018, christoph, kfm-devel, meven29
Priority: NOR Keywords: drkonqi
Version: 23.08.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paul 2024-02-26 14:31:40 UTC
Application: dolphin (23.08.4)

Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 6.7.5-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
I launch Dolphin and navigate to the folders and locate files. Operation is fine during this launch.
However, if I leave it alone for 30-60 mins I notice that the RAM usage has jumped from 26% to 40.1% (in my current example).
I have mapped an NFS share so that I can access files on my separate NAS, and there appears not to be an issue navigating that share. It is only when Dolphin is left alone without any user interaction that it seems to gobble RAM, before then crashing!

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f439b388ddd in __memmove_ssse3 () from /lib64/libc.so.6
#5  0x00007f43958ecc6a in memmove (__len=262112, __src=0x7f3e8d7bf810, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:36
#6  copy_unswapped (rect=<synthetic pointer>..., img=..., dstBytesPerLine=262112, dst=<optimized out>) at qxcbbackingstore.cpp:547
#7  native_sub_image (swap=false, rect=<synthetic pointer>..., src=..., dstStride=262112, buffer=<optimized out>) at qxcbbackingstore.cpp:590
#8  QXcbBackingStoreImage::flushPixmap (this=0x5652ccd060e0, region=..., fullRegion=<optimized out>) at qxcbbackingstore.cpp:669
#9  0x00007f43958ed269 in QXcbBackingStoreImage::flushPixmap (fullRegion=false, region=..., this=0x5652ccd060e0) at qxcbbackingstore.cpp:627
#10 QXcbBackingStoreImage::put (this=0x5652ccd060e0, dst=55574540, region=..., offset=...) at qxcbbackingstore.cpp:741
#11 0x00007f43958edb99 in QXcbBackingStore::flush (this=0x5652cc92ad80, window=<optimized out>, region=..., offset=...) at qxcbbackingstore.cpp:877
#12 0x00007f439c35a6a4 in QBackingStore::flush (this=this@entry=0x7f43880036f0, region=..., window=0x5652cc866ff0, offset=...) at painting/qbackingstore.cpp:263
#13 0x00007f439c9b294f in QWidgetRepaintManager::flush (this=this@entry=0x5652cc928ef0, widget=0x5652cc6b67e0, region=..., widgetTextures=<optimized out>) at kernel/qwidgetrepaintmanager.cpp:1198
#14 0x00007f439c9b44c9 in QWidgetRepaintManager::flush (this=0x5652cc928ef0) at kernel/qwidgetrepaintmanager.cpp:1096
#15 0x00007f439c9b6528 in QWidgetRepaintManager::paintAndFlush (this=0x5652cc928ef0) at kernel/qwidgetrepaintmanager.cpp:1028
#16 0x00007f439c9ff061 in QWidgetWindow::handleResizeEvent (this=this@entry=0x5652cc866ff0, event=event@entry=0x7fff2a27e380) at kernel/qwidgetwindow.cpp:842
#17 0x00007f439ca02f12 in QWidgetWindow::event (this=0x5652cc866ff0, event=0x7fff2a27e380) at kernel/qwidgetwindow.cpp:322
#18 0x00007f439c9a51ae in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5652cc866ff0, e=0x7fff2a27e380) at kernel/qapplication.cpp:3640
#19 0x00007f439bced938 in QCoreApplication::notifyInternal2 (receiver=0x5652cc866ff0, event=0x7fff2a27e380) at kernel/qcoreapplication.cpp:1064
#20 0x00007f439bcedb0e in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#21 0x00007f439c17965c in QGuiApplicationPrivate::processGeometryChangeEvent (e=<optimized out>) at kernel/qguiapplication.cpp:2610
#22 0x00007f439c1503cc in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#23 0x00007f43958f851a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#24 0x00007f439970ef30 in ?? () from /lib64/libglib-2.0.so.0
#25 0x00007f4399710b58 in ?? () from /lib64/libglib-2.0.so.0
#26 0x00007f439971120c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x00007f439bd46876 in QEventDispatcherGlib::processEvents (this=0x5652cc3eb1f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#28 0x00007f439bcec3cb in QEventLoop::exec (this=this@entry=0x7fff2a27e600, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#29 0x00007f439bcf4860 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#30 0x00007f439c17061c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#31 0x00007f439c9a5125 in QApplication::exec () at kernel/qapplication.cpp:2832
#32 0x00005652cb7c15a7 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-23.08.4/src/main.cpp:238
[Inferior 1 (process 6503) detached]

Reported using DrKonqi
Comment 1 Méven Car 2024-03-01 08:50:12 UTC
Looking at the trace, I am guessing the bug wouldn't happen in Wayland.
Comment 2 Méven Car 2024-03-01 08:51:07 UTC
*** Bug 481804 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Cullmann 2024-09-21 15:56:51 UTC
Please re-try that with a recent Qt 6 based release, a lot such things got
fixed there.