mounted samba share stops working for file access
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 12.10 - same problem when acessing SMB shares from two computers
same for shares both on Ubuntu 12.10 server, and a windows server.
Reproduce;
it helps if you play a video/movie using vlc or mplayer from share. the file should be open for hours. (use pause)
- when unpaused, the file will play fine.
-no new big files on that share will open, small files may work.
unmounting + remounting the SMB share may fixe the problem, but other processes may be affected:
VLC - while stuck with such samba problem, is impossible to kill, same for smplayer
sudo killall vlc -s KILL
.. will not kill it.
and so unmounting the share takes >10 attempts..
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gvfs-backends 1.14.0-0ubuntu6
ProcVersionSign
Uname: Linux 3.5.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Sun Nov 11 20:30:49 2012
ExecutablePath: /usr/lib/
MarkForUpload: True
ProcEnviron:
SHELL=/bin/bash
XDG_RUNTIME_
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: gvfs
UpgradeStatus: Upgraded to quantal on 2012-10-17 (25 days ago)
description: | updated |
I'm using quantal 12.10 and gvfs 1.14
I have the same problem you can't kill VLC when it gets stuck which happens about 50% of the you try to start video.
Same happens with GNOME mplayer if you open two of them to play same file.
Only way to kill all stuck processes is to kill gvfsd-smb.
Tried upgrading fuse to 2.9.2 since it has some kind deadlock fixes. I though gvfsd-smb used fuse but building fuse and upgrading it to 2.9.2 didn't help.
gvfsd-fuse seems to be stuck as well. Because if i try to kill gvfsd-fuse it doesn't get killed until gvfsd-smb is killed.
Stack traces.
gvfs-fuse
[<ffffffff810aa cfd>] futex_wait_ queue_me+ 0xcd/0x100 49c>] futex_wait+ 0x19c/0x2d0 46c>] do_futex+ 0x11c/0xa40 e1d>] sys_futex+ 0x8d/0x190 d29>] system_ call_fastpath+ 0x16/0x1b fff>] 0xffffffffffffffff
[<ffffffff810ab
[<ffffffff810ad
[<ffffffff810ad
[<ffffffff81689
[<fffffffffffff
gvfs-smb
[<ffffffff81194 549>] poll_schedule_ timeout+ 0x49/0x70 b9a>] do_sys_ poll+0x3ba/ 0x4d0 d8b>] sys_poll+0x6b/0x100 d29>] system_ call_fastpath+ 0x16/0x1b fff>] 0xffffffffffffffff
[<ffffffff81195
[<ffffffff81195
[<ffffffff81689
[<fffffffffffff