Bug 395553 - Can not 'move' files to an NTFS partition in Kubuntu
Summary: Can not 'move' files to an NTFS partition in Kubuntu
Status: RESOLVED DUPLICATE of bug 368287
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 17.12.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-06-18 09:39 UTC by notlost.justlookingaround
Modified: 2018-06-21 07:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-29969-0.html (1.72 KB, text/html)
2018-06-21 07:53 UTC, notlost.justlookingaround
Details

Note You need to log in before you can comment on or make changes to this bug.
Description notlost.justlookingaround 2018-06-18 09:39:19 UTC
Application: dolphin (17.12.3)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-23-generic x86_64
Distribution: Ubuntu 18.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Any files transferred to an NTFS file system through Dolphin by drag and drop (move) or Cut and Paste as well as "mv" command in Konsole will cause errors after the first file has been moved successfully. 

Error with Dolphin is "Access Denied to /NTFSPartition/Directory/Filename" Where filename is the name of the first file moved.

It successfully copies the directory (if directory chosen) and moves the first file, and then gives the error message.  If I hit "retry", "skip" or "autoskip", it says the file no longer exists. When I hit "Cancel" Dolphin closes on the target window only. The original  Dolphin window (source directory) stays open.

It is reproducable everytime when trying to move or cut and paste single files, multiple files or directories.

Dolphin does not always crash, but it always closes the target directory window.

The directory is always copied and the first (or only) file if moved.

However - moving files and directories within the same NTFS parition works normally. All files are moved and no error messages appear. Errors / crashes only seems to happen when moving directories/files into an NTFS partition from another partition. It does not matter if the source directory is formatted with NTFS, ext4, FAT, etc filesystems.

Copy to NTFS file systems works everytime, so to "move" files, I have to "copy" to the NTFS partition and then "delete" on the source directory.

There are no errors when moving (drag and drop, or cut and paste) from NTFS to a non-NTFS partition.

The NTFS partitions are owned by "root" and part of the "plugdev" group.

This has been happening since Kubuntu 14.04 and continues through to present 18.04.

When I tried the same operation in Konsole, I get a similar result. The file is moved, but an error message appears;

mv: preserving timesmv: preserving times for '/Pictures/Screenshot_20180618_104112.png': Operation not permitted for '/Pictures/Screenshot_20180618_104112.png': Operation not permitted

(/Pictures is the NTFS partition. Same occurs if I use another NTFS partition as the target.)

Again, copy using 'cp' command works.
Also, using the 'mv' command in Konsole to a non-NTFS partition works as it does in Dolphin.

Konsole does not shut down or crash after using the mv command as Dolphin does when the target is an NTFS partition.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff856f376c0 (LWP 3603))]

Thread 3 (Thread 0x7ff82d973700 (LWP 3606)):
#0  0x00007ff8567afbf9 in __GI___poll (fds=0x7ff8280049b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff849705439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff84970554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff8509c390b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff8509689ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff85078722a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff85078c16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff84b8766db in start_thread (arg=0x7ff82d973700) at pthread_create.c:463
#8  0x00007ff8567bc88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff83d431700 (LWP 3605)):
#0  0x00007ff8567afbf9 in __GI___poll (fds=0x7ff83001ad30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff849705439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff84970554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff8509c390b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff8509689ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff85078722a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff850e40d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ff85078c16d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff84b8766db in start_thread (arg=0x7ff83d431700) at pthread_create.c:463
#9  0x00007ff8567bc88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff856f376c0 (LWP 3603)):
[KCrash Handler]
#6  0x00007ff85231ca94 in KJob::isAutoDelete() const () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#7  0x00007ff85231cae1 in KJob::finishJob(bool) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#8  0x00007ff854d092f9 in KIO::FileCopyJob::slotResult(KJob*) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#9  0x00007ff8509996cf in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ff85231bfdc in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#11 0x00007ff85231cb11 in KJob::finishJob(bool) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#12 0x00007ff854d18628 in KIO::SimpleJob::slotFinished() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#13 0x00007ff854d169db in KIO::SimpleJob::slotError(int, QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#14 0x00007ff8509996cf in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ff854cee186 in KIO::SlaveInterface::error(int, QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#16 0x00007ff854cf2222 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#17 0x00007ff854cee807 in KIO::SlaveInterface::dispatch() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#18 0x00007ff854cf3d01 in KIO::Slave::gotInput() () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#19 0x00007ff8509995b5 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ff854c978c9 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#21 0x00007ff85099a122 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ff85197282c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ff85197a0f4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ff85096a9a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ff85096d11d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ff8509c42c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ff849705287 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ff8497054c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ff84970554c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ff8509c38ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ff8509689ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ff850971a84 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ff856acfbaa in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#34 0x00007ff8566bcb97 in __libc_start_main (main=0x55864c722730, argc=2, argv=0x7ffc54c96298, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc54c96288) at ../csu/libc-start.c:310
#35 0x000055864c72276a in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 368287.

Possible duplicates by query: bug 395089, bug 395078, bug 394681, bug 392973, bug 390296.

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2018-06-18 20:26:04 UTC
Thanks for the detailed report. We are already tracking this issue in #368287.

If you can reproduce the crash, please install debug symbols for kio and kcoreaddons and then post a new backtrace. Thanks!

*** This bug has been marked as a duplicate of bug 368287 ***
Comment 2 notlost.justlookingaround 2018-06-21 07:53:04 UTC
Created attachment 113481 [details]
attachment-29969-0.html

Hi Elvis.

It is reproducable and i've love to help solve this, but i have no idea how
to install debug symbols, so you'll have to talk me through it.

On Mon, 18 Jun 2018, 22:26 Elvis Angelaccio, <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=395553
>
> Elvis Angelaccio <elvis.angelaccio@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|---                         |DUPLICATE
>
> --- Comment #1 from Elvis Angelaccio <elvis.angelaccio@kde.org> ---
> Thanks for the detailed report. We are already tracking this issue in
> #368287.
>
> If you can reproduce the crash, please install debug symbols for kio and
> kcoreaddons and then post a new backtrace. Thanks!
>
> *** This bug has been marked as a duplicate of bug 368287 ***
>
> --
> You are receiving this mail because:
> You reported the bug.