[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
** Tags removed: natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
** Changed in: nautilus (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
** Changed in: dolphin Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
This seems to affect several KDE applications as well (ark, ksnapshot). I have a NAS which is mounted by autofs. If I accidentically power it off before my computer, then opening a file dialog in said applications lets them hang. Output from strace indicates that there's an lstat call which doesn't return: lstat("/media", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/media/nfs", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 lstat("/media/nfs/share", My system is Kubuntu 12.04.5 LTS, Kernel 3.5.0-60-generic, KDE 4.12.2. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
Here is the strace, we can see the two calls to readlink which has the actual path.. A simple `ls` in the directory fails /mnt hangs without even running umount. This is what I assume is the core of the nautilus symptom people are ranting about. I think this is also why nfs drives can't umount when disconnected. I don't know why umount has to ls the parent directory to umount the location. I can understand it doing so, but I'd expect it the -f option to just purge the kernel's knowledge of the mount point and move on with life. That `umount -f` issues an readlink() in cwd, and that an ls with failed mount hangs is what I assume is the problem here. , fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2630b74000 read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tr"..., 1024) = 365 read(3, "", 1024) = 0 close(3)= 0 munmap(0x7f2630b74000, 4096)= 0 open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=2919792, ...}) = 0 mmap(NULL, 2919792, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f262f61 close(3)= 0 umask(022) = 022 getuid()= 0 geteuid() = 0 readlink("/mnt", 0x7fff2a645120, 4096) = -1 EINVAL (Invalid argument) readlink("/mnt/nfs", -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
I don't think this bug has *anything* to do with nautilus. The after pulling the plug on the NFS drive anything that tries to access it crashes, here is the ltrace, bindtextdomain("util-linux", "/usr/share/locale") = "/usr/share/locale" textdomain("util-linux") = "util-linux" strrchr("umount", '/') = nil umask(022) = 022 getopt_long(3, 0x7fff4f92f708, "adfhlnrit:O:vV", 0x610460, nil) = 102 getopt_long(3, 0x7fff4f92f708, "adfhlnrit:O:vV", 0x610460, nil) = -1 getuid() = 0 geteuid() = 0 __cxa_atexit(0x4057b0, 0, 0, -1) = 0 mnt_init_debug(0, 0x7f71b88abeb0, 2, 1) = 2 readlink(0x7fff4f92e4c0, 0x7fff4f92d4b0, 4096, 2310) = -1 __errno_location() = 0x7f71b8ef97e0 readlink(0x7fff4f92e4c0, 0x7fff4f92d4b0, 4096, -160 Seems as if it makes a call to readlink() which returns -1 indicating an error (3rd line to last), then it realizes that it has an error. And, does a readlink in the same fashion setting buffsize to -160, presumably in whatever handles the error.. I'm confused. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
In Ubuntu 12.04, after installing autofs and setting up nfs autofs mounts, my nautilus temporarily hangs (window greys, freezes, becomes unresponsive) when navigating local directories, if the server exporting the autofs nfs mounts is offline. This is observed even when navigating local directories that do not contain any of the autofs mount points, i.e. navigating somewhere under /home, with autofs nfs mount points that are somewhere under /var. Although the hang is temporary, it's a long temporary. I noticed a previous comment suggesting that using separate threads could fix this problem in nautilus, even if the problem could technically be attributed to nfs or autofs. Sounds sensible. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
I confirm this happens in 12.04 and Thunar, which is not capable of storing shortcuts to nfs folders on the sidebar. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
I see this issue in Thunar on Xubuntu 12.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
** Changed in: thunar Importance: Low => Unknown ** Changed in: thunar Status: Invalid => Unknown ** Changed in: thunar Remote watch: None => Xfce Bugzilla #6185 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
Launchpad has imported 3 comments from the remote bug at https://bugs.kde.org/show_bug.cgi?id=224438. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2010-01-27T09:16:15+00:00 Mehul J. Rajput wrote: Version:(using KDE 4.3.4) OS:Linux Installed from:Ubuntu Packages I am using a laptop which I use to in home and office. At home I am having network drive which mounted through nfs in home. I normally put my laptop to suspend and then bring over the same to work. When I access dolphin in this case, it just simply hangs it does not open any folder neither from quickview or folder view. Even plasma- desktop hangs. the only option is to reboot even terminating the app does not work. This is very annoying as I have to reboot the computer just for dolphin hanging. This is similar to bug I created for nautilus too here in ubuntu bug tracker. https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/164120 Reply at: https://bugs.launchpad.net/dolphin/+bug/164120/comments/42 On 2010-08-08T12:57:05+00:00 Peter-penz19 wrote: Thanks for the report. Does this issue still occur with a more recent KDE version in your environment? (e. g. 4.4 or 4.5) Reply at: https://bugs.launchpad.net/dolphin/+bug/164120/comments/47 On 2012-09-01T09:51:59+00:00 Rtdvrs wrote: Yes, this bug still occurs in KDE4.9. (Why wouldn't it? It's not like bugs magically disappear, except perhaps in fantasy land). The solution is really simple; run the lstat calls to nfs mounted locations in a separate lightweight thread/green thread. This has been a problem for 9(!) years now. Does Dolphin still have any maintainers/developers? Reply at: https://bugs.launchpad.net/dolphin/+bug/164120/comments/53 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
Hi, also having this problem and I would like to give further information if needed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
Hello, guys! I still get this error on Natty 11.04. If mounted NFS share gone away I can't start new nautilus windows and apps dependent on Nautlius (for example, FreeFileSync). ** Tags added: natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: nautilus (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible To manage notifications about this bug go to: https://bugs.launchpad.net/dolphin/+bug/164120/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
I do not believe this is a NFS issue because I receive the same issue using smbfs mounted in /media/remotedrive. Nautilus fails to respond when the network becomes unavailable. I have a workaround thats annoying, but works. Execute the following commands in the Alt+F2 prompt. 1. gksudo umount /media/remotedrive 2. killall nautilus Steps to reproduce 1. Create a samba share on a remote computer 2. Install the smbfs package 3. Add an entry in fstab to mount your remote share //remoteserver/export /media/remotedrive smbfs rw,noauto,user,async,uid=1000,gid=1000,credentials=secretfile 0 0 4. Remove the computer from the network (physically) At this point, Nautilus stops responding. uname -a Linux 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011 i686 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
** Changed in: dolphin Status: Unknown => Incomplete ** Changed in: dolphin Importance: Unknown => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/164120 Title: file manager hangs when mounted nfs drive is no longer accessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
If it's any help, I think this bug actually arises from a change in kernel behavior introduced after version 2.6.22 and fixed in kernels from 2.6.33. See my posts 17 and 18 in this bug: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/234480. -- file manager hangs when mounted nfs drive is no longer accessible https://bugs.launchpad.net/bugs/164120 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
** Changed in: dolphin Status: New => Unknown -- file manager hangs when mounted nfs drive is no longer accessible https://bugs.launchpad.net/bugs/164120 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
** Changed in: thunar-vfs Status: Unknown => Confirmed -- file manager hangs when mounted nfs drive is no longer accessible https://bugs.launchpad.net/bugs/164120 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
** Changed in: nautilus (Ubuntu) Status: New => Fix Released ** Changed in: nautilus (Ubuntu) Status: Fix Released => New -- file manager hangs when mounted nfs drive is no longer accessible https://bugs.launchpad.net/bugs/164120 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
I'm closing this task because this issue has already been reported upstream to XFCE in Thunar, making this task is redundant. ** Changed in: thunar Status: Confirmed => Invalid -- file manager hangs when mounted nfs drive is no longer accessible https://bugs.launchpad.net/bugs/164120 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
I have nfs soft mounted to /remote/nfsshare, I shut down the nfs server. Now when I try to launch "Places-->Home Folder" nothing happens accept the cursor is in hour glass mode for some time. So I tried to launch it from the terminal and got this: wh...@whoop-desktop:~$ nautilus /home/whoop/ (nautilus:2039): Unique-DBus-WARNING **: Error while sending message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (nautilus:2039): Unique-DBus-WARNING **: Error while sending message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. wh...@whoop-desktop:~$ Why does displaying /home/whoop need access to /remote/nfsshare? -- file manager hangs when mounted nfs drive is no longer accessible https://bugs.launchpad.net/bugs/164120 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
The the Xubuntu / Thunar issue - Thank you for your bug report. This bug has been reported to the developers of Thunar. You can track it at: http://bugzilla.xfce.org/show_bug.cgi?id=6185 ** Bug watch added: Xfce Bugzilla #6185 http://bugzilla.xfce.org/show_bug.cgi?id=6185 ** Also affects: thunar-vfs via http://bugzilla.xfce.org/show_bug.cgi?id=6185 Importance: Unknown Status: Unknown ** Changed in: thunar Status: New => Confirmed ** Changed in: thunar Importance: Undecided => Low -- file manager hangs when mounted nfs drive is no longer accessible https://bugs.launchpad.net/bugs/164120 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 164120] Re: file manager hangs when mounted nfs drive is no longer accessible
** Summary changed: - nautilus hangs when mounted nfs drive is no longer accessible + file manager hangs when mounted nfs drive is no longer accessible -- file manager hangs when mounted nfs drive is no longer accessible https://bugs.launchpad.net/bugs/164120 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs