Bug 13252 - Hang on GUI copy from shares using vers=3.0
Hang on GUI copy from shares using vers=3.0
Status: NEW
Product: CifsVFS
Classification: Unclassified
Component: kernel fs
3.x
x64 Linux
: P5 critical
: ---
Assigned To: Steve French
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-07 20:41 UTC by Chris Severance
Modified: 2018-06-07 08:30 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Severance 2018-02-07 20:41:09 UTC
https://github.com/linuxmint/nemo/issues/1683

When copying from a mounted share to a local folder with a GUI copy tool like Nemo, Thunar, or Nautilus, the copy dialog will hang when it hits certain files. Hangs are reported on .txt, .pdf, and .INI files.

GUI tools include gmain, gdbus, dconf, and pool in the process stack.

Switching to vers=2.0 or vers=1.0 eliminates the hangs.

Switching to text mode copy tools eliminates the hangs. Text mode copy tools do not have any extras in the process stack.

It has been reported that copying to the share does not crash but I have not tested that.

How to reproduce:

Mount Samba or Windows share with vers=3.0
Create or empty local junk folder
Do not use command line or text mode copy tools. You must use a GUI file manager.
Drag n drop copy a large folder with lots of different file types from the share to the local junk folder.
Comment 1 Steve 2018-02-19 13:46:26 UTC
I can confirm this bug. But in my case switching to vers=2.0 or vers=1.0 does not eliminate the hangs. I see this in Fedora 27 with samba-4.7.5 and Ubuntu 17.10 with samba-4.6.7.
Comment 2 Björn Jacke 2018-02-21 00:51:15 UTC
you are talking about linux kernel cifs mounts here. And it happens with Windows on the server side also. So this is not Samba but the cifs kernel module issue, I'll correct the component. Steve: you reported your problem already to the kernel bugzilla, a cross reference would have be good:

https://bugzilla.kernel.org/show_bug.cgi?id=198349

also a potentially duplicate here:

https://bugzilla.kernel.org/show_bug.cgi?id=91621

Jeff/Steve: which is the "better" bugzilla to report cifs vfs bugs? kernel or Samba bugzilla? Feel free to "merge" the reports.
Comment 4 Steve 2018-05-02 08:50:42 UTC
The bug persists in Fedora 28 with samba-4.8.1.
Comment 5 Steve 2018-05-07 05:25:04 UTC
Please note: I no longer use samba. Because we have a productive system, samba is useless. I think that's a pity and I'm sorry. Please keep in mind that I can no longer help here.
Comment 6 David 2018-06-07 08:30:32 UTC
This bug also affects me on ubuntu 18.04 using CIFS vers=3.0. I can confirm that command line copy works, as well as copying from nautilus when using CIFS vers=2.0