Bug 431914 - Dolphin crashes if you try to copy a file owned by root by retrying and then skipping
Summary: Dolphin crashes if you try to copy a file owned by root by retrying and then ...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.12.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-22 05:37 UTC by Antti Savolainen
Modified: 2021-10-30 07:30 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Savolainen 2021-01-22 05:37:45 UTC
SUMMARY
Demonstrative video: https://youtu.be/K3RpAiN4TGU
In the demonstrative video I am trying to copy two VM images that are owned by root to another place. When the GUI tells you "could not read <file>", clicking retry and then skip immediately after causes Dolphin to crash. Does not work with just one file as the skip button does not appear. As a sidenote: if I keep pressing "Retry", the border color the dialogue keeps getting darker and darker and Dolphin keeps getting slower.

STEPS TO REPRODUCE
1. Have two file owned by root that is read and write protected
2. Try to copy them to another location
3. Press Retry
4. Press Skip

OBSERVED RESULT
Dolphin crashes

EXPECTED RESULT
The UI should continue warning about the second file

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-01-22 15:14:43 UTC
Can you please attach a backtrace of the crash? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 2 Timber2000 2021-01-22 17:41:25 UTC
I can say that this exact series of events happend to me too. Unfortunately i have no log files...
Comment 3 Antti Savolainen 2021-01-23 03:14:34 UTC
Alright, took me a moment to get to know how to build packages from source on Arch but here's the backtrace from dolphin. Let me know if you need me to build other stuff with (debug !strip).

#0  0x00007ffff5c9b72b in QUrl::QUrl(QUrl const&) () from /usr/lib/libQt5Core.so.5
#1  0x00007ffff76a55ad in ?? () from /usr/lib/libKF5KIOCore.so.5
#2  0x00007ffff76afd8a in ?? () from /usr/lib/libKF5KIOCore.so.5
#3  0x00007ffff76b0c28 in ?? () from /usr/lib/libKF5KIOCore.so.5
#4  0x00007ffff5d8ddd6 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff767e5be in KIO::AskUserActionInterface::askUserSkipResult(KIO::RenameDialog_Result, KJob*) () from /usr/lib/libKF5KIOCore.so.5
#6  0x00007ffff5d8ddd6 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007ffff6a20a3f in QDialog::finished(int) () from /usr/lib/libQt5Widgets.so.5
#8  0x00007ffff5d8ddd6 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007ffff690fd53 in QAbstractButton::clicked(bool) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff69106dc in ?? () from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff6912083 in ?? () from /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff6912263 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff685fb0e in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff681e752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007ffff682587b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff5d56a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#17 0x00007ffff682487e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007ffff6878249 in ?? () from /usr/lib/libQt5Widgets.so.5
#19 0x00007ffff687b63f in ?? () from /usr/lib/libQt5Widgets.so.5
#20 0x00007ffff681e752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007ffff5d56a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#22 0x00007ffff6130594 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#23 0x00007ffff6105bb5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#24 0x00007ffff041e16c in ?? () from /usr/lib/libQt5XcbQpa.so.5
#25 0x00007ffff3b98a84 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007ffff3bec9b1 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007ffff3b972b1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007ffff5daf6e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#29 0x00007ffff5d553fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007ffff5d5d894 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#31 0x00007ffff7ed9f43 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-20.12.1/src/main.cpp:222
#32 0x00007ffff7cf1152 in __libc_start_main () from /usr/lib/libc.so.6
#33 0x000055555555505e in _start ()
Comment 4 Bug Janitor Service 2021-02-07 04:33:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Elvis Angelaccio 2021-03-21 16:30:48 UTC
@Antti: you will have to build from source kio too.
Comment 6 Antti Savolainen 2021-10-30 07:30:13 UTC
I forgot about this bug for a long time. Seems to have been fixed itself as I can no longer reproduce it