Bug 467958

Summary: Dolphin crashes when monitor goes to sleep and I'm copying data
Product: [Applications] dolphin Reporter: newel.anderson
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: ASSIGNED ---    
Severity: crash CC: justin, kfm-devel, meven29
Priority: NOR Keywords: drkonqi
Version: 22.12.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description newel.anderson 2023-03-30 07:06:03 UTC
Application: dolphin (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-6-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
This has happened a few times. I'm copying data from an external drive to an internal drive and if I let the monitor turn off, it crashes and the copying fails. It might be because I'm on a laptop that's connected to an external monitor (a Wacom Cintiq) and I usually keep my laptop lid closed when my Cintiq is attached. So maybe KDE gets confused because the laptop lid is closed and it thinks it needs to hibernate or something  when all it's supposed to do is turn off the monitor?

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f264285fd5e in KJobWidgets::window(KJob*) () from /lib/x86_64-linux-gnu/libKF5JobWidgets.so.5
#5  0x00007f264299148a in KIO::WidgetsAskUserActionHandler::askUserRename(KJob*, QString const&, QUrl const&, QUrl const&, QFlags<KIO::RenameDialog_Option>, unsigned long long, unsigned long long, QDateTime const&, QDateTime const&, QDateTime const&, QDateTime const&) () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#6  0x00007f26426add94 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#7  0x00007f26408e8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f2641e66775 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#9  0x00007f2641e67c5b in KJob::finishJob(bool) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#10 0x00007f26408e8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f26426d9713 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#12 0x00007f26426d7d56 in KIO::SlaveInterface::dispatch() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#13 0x00007f26426dcac9 in KIO::Slave::gotInput() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#14 0x00007f26408e8f4f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f26408dd6f0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f2641562fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f26408b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f26408b4681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f264090a153 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f263e6627a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f263e662a38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f263e662acc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f2640909836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f26408b017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f26408b82d6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x000055c8636db142 in ?? ()
#27 0x00007f264044618a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#28 0x00007f2640446245 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#29 0x000055c8636db591 in ?? ()
[Inferior 1 (process 2514) detached]

Reported using DrKonqi
Comment 1 Méven Car 2023-04-02 18:33:16 UTC
Seems related to https://bugs.kde.org/show_bug.cgi?id=457313
Comment 2 Bug Janitor Service 2024-04-16 15:41:54 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1611
Comment 3 Justin Zobel 2024-06-03 06:26:26 UTC
Moving to assigned as a merge request to possibly fix this has been started.