Bug 483576 - Dolphin Sometimes Crashes When Turning Monitors Off and Back On
Summary: Dolphin Sometimes Crashes When Turning Monitors Off and Back On
Status: RESOLVED DUPLICATE of bug 473020
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-14 16:23 UTC by Dashon
Modified: 2024-03-26 09:40 UTC (History)
3 users (show)

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


Attachments
Back Trace from Cordumpctl and GDB (8.05 KB, text/x-log)
2024-03-14 16:23 UTC, Dashon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dashon 2024-03-14 16:23:12 UTC
Created attachment 167185 [details]
Back Trace from Cordumpctl and GDB

SUMMARY
This doesn't happen all the time. I can't even say it happens often. More like every now and then. However, sometimes when I turn my monitors off and back on. Dolphin crashes. I remember the last time having three dolphin windows open and when I turned my monitors off and back on. Two of them crashed, but the third remained open.

STEPS TO REPRODUCE
1. Open dolphin.
2. I have two monitors, but not sure if that is necessary, Anyways, I usually turn them both off at the same time. As in, I try to press the power button on both of them at the same time. Not sure if that plays a roll.
3. Turn them back on.

OBSERVED RESULT
Dolphin sometimes crashes.

EXPECTED RESULT
It should never crash.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C95
System Version: 1.0

ADDITIONAL INFO:
May be related to https://bugs.kde.org/show_bug.cgi?id=460478
Comment 1 Nicolas Fella 2024-03-26 09:33:47 UTC
#0  0x00007dc9547e2379 in QWindowSystemInterface::handleScreenRemoved (platformScreen=0x5b9ab32362a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qwindowsysteminterface.cpp:781
#1  0x00007dc951b68f50 in QtWaylandClient::QWaylandDisplay::handleScreenInitialized (this=0x5b9ab18c95c0, screen=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylanddisplay.cpp:623
#2  0x00007dc951b86fd3 in QtWaylandClient::QWaylandScreen::maybeInitialize (this=0x5b9ab2edb340) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylandscreen.cpp:74
#3  QtWaylandClient::QWaylandScreen::maybeInitialize (this=0x5b9ab2edb340) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylandscreen.cpp:65
#4  0x00007dc950e22596 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#5  0x00007dc950e1f00e in ffi_call_int (cif=cif@entry=0x7ffc662ae8b0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#6  0x00007dc950e21bd3 in ffi_call (cif=cif@entry=0x7ffc662ae8b0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffc662ae980) at ../src/x86/ffi64.c:710
#7  0x00007dc951e1c645 in wl_closure_invoke (closure=closure@entry=0x7dc938003bc0, target=<optimized out>, target@entry=0x5b9ab32bbbc0, opcode=opcode@entry=2, data=<optimized out>, flags=1) at ../wayland-1.22.0/src/connection.c:1025
#8  0x00007dc951e1ce73 in dispatch_event (display=display@entry=0x5b9ab18c7d50, queue=0x5b9ab18c7e40) at ../wayland-1.22.0/src/wayland-client.c:1631
#9  0x00007dc951e1d13c in dispatch_queue (queue=0x5b9ab18c7e40, display=0x5b9ab18c7d50) at ../wayland-1.22.0/src/wayland-client.c:1777
#10 wl_display_dispatch_queue_pending (display=display@entry=0x5b9ab18c7d50, queue=queue@entry=0x5b9ab18c7e40) at ../wayland-1.22.0/src/wayland-client.c:2019
#11 0x00007dc951e1eb9b in wl_display_dispatch_queue (queue=<optimized out>, display=<optimized out>) at ../wayland-1.22.0/src/wayland-client.c:1995
#12 0x00007dc951e1fcf0 in wl_display_roundtrip_queue (display=0x5b9ab18c7d50, queue=0x5b9ab18c7e40) at ../wayland-1.22.0/src/wayland-client.c:1403
#13 0x00007dc951b8f00e in QtWaylandClient::QWaylandDisplay::forceRoundTrip (this=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylanddisplay.cpp:877
#14 QtWaylandClient::QWaylandWindow::handleScreensChanged (this=0x5b9ab1d14eb0) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylandwindow.cpp:1403
#15 0x00007dc954190ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc662aec48, r=0x5b9ab1d14eb0, this=0x5b9ab1f0c820, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#16 doActivate<false> (sender=0x5b9ab1f0a6e0, signal_index=3, argv=0x7ffc662aec48) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#17 0x00007dc950e22596 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#18 0x00007dc950e1f00e in ffi_call_int (cif=cif@entry=0x7ffc662aee50, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#19 0x00007dc950e21bd3 in ffi_call (cif=cif@entry=0x7ffc662aee50, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffc662aef20) at ../src/x86/ffi64.c:710
#20 0x00007dc951e1c645 in wl_closure_invoke (closure=closure@entry=0x7dc9380058b0, target=<optimized out>, target@entry=0x5b9ab1a34860, opcode=opcode@entry=0, data=<optimized out>, flags=1) at ../wayland-1.22.0/src/connection.c:1025
#21 0x00007dc951e1ce73 in dispatch_event (display=display@entry=0x5b9ab18c7d50, queue=0x5b9ab18c7e40) at ../wayland-1.22.0/src/wayland-client.c:1631
#22 0x00007dc951e1d13c in dispatch_queue (queue=0x5b9ab18c7e40, display=0x5b9ab18c7d50) at ../wayland-1.22.0/src/wayland-client.c:1777
#23 wl_display_dispatch_queue_pending (display=0x5b9ab18c7d50, queue=0x5b9ab18c7e40) at ../wayland-1.22.0/src/wayland-client.c:2019
#24 0x00007dc951b858b5 in QtWaylandClient::QWaylandDisplay::blockingReadEvents (this=0x5b9ab18c95c0) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylanddisplay.cpp:565
#25 QtWaylandClient::QWaylandShmBackingStore::resize (this=this@entry=0x5b9ab1f0cf70, size=...) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylandshmbackingstore.cpp:276
#26 0x00007dc951b85b13 in QtWaylandClient::QWaylandShmBackingStore::ensureSize (this=0x5b9ab1f0cf70) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylandshmbackingstore.cpp:193
#27 QtWaylandClient::QWaylandShmBackingStore::beginPaint (this=0x5b9ab1f0cf70, region=...) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylandshmbackingstore.cpp:172
#28 0x00007dc9547f4a86 in QBackingStore::beginPaint (this=0x5b9ab1f0ce80, region=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/painting/qbackingstore.cpp:125
#29 0x00007dc955153b58 in QWidgetRepaintManager::paintAndFlush (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidgetrepaintmanager.cpp:869
#30 0x00007dc955144899 in QWidget::event (this=0x5b9ab1ec57b0, event=0x5b9ab33cff10) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidget.cpp:9284
#31 0x00007dc955f2828e in KXmlGuiWindow::event (this=0x5b9ab1ec57b0, ev=0x5b9ab33cff10) at /usr/src/debug/kxmlgui/kxmlgui-6.0.0/src/kxmlguiwindow.cpp:221
#32 0x00007dc9550f438b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5b9ab1ec57b0, e=0x5b9ab33cff10) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#33 0x00007dc954139818 in QCoreApplication::notifyInternal2 (receiver=0x5b9ab1ec57b0, event=event@entry=0x5b9ab33cff10) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#34 0x00007dc954139b9b in QCoreApplication::sendEvent (event=0x5b9ab33cff10, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1539
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5b9ab18c2f20) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1901
#36 0x00007dc9543758a4 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1760
#37 postEventSourceDispatch (s=0x5b9ab18c5c20) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:243
#38 0x00007dc9527b4f69 in g_main_dispatch (context=0x7dc948000ef0) at ../glib/glib/gmain.c:3476
#39 0x00007dc9528133a7 in g_main_context_dispatch_unlocked (context=0x7dc948000ef0) at ../glib/glib/gmain.c:4284
#40 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7dc948000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#41 0x00007dc9527b3162 in g_main_context_iteration (context=0x7dc948000ef0, may_block=1) at ../glib/glib/gmain.c:4414
#42 0x00007dc9543739c4 in QEventDispatcherGlib::processEvents (this=0x5b9ab18e0e70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#43 0x00007dc954143d6e in QEventLoop::processEvents (flags=..., this=0x7ffc662afa40) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#44 QEventLoop::exec (this=0x7ffc662afa40, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#45 0x00007dc95413c2b8 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#46 0x00007dc9550f0f0a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:2574
#47 0x00005b9ab0826fc8 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-24.02.0/src/main.cpp:253
Comment 2 Nicolas Fella 2024-03-26 09:40:39 UTC

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