GNOME Bugzilla – Bug 755671
Crash when remounting share
Last modified: 2017-11-10 00:02:10 UTC
When I connect to a share, e.g. sftp://localhost/, it is mounted and shown in the sidebar. If I then disconnect from it by clicking the "eject" button, and reconnect to it again, Nautilus crashes. I get the following message in the terminal: ** (nautilus:1912): WARNING **: Can't peek the uri: sftp://localhost/ filesystem type with error: The specified location is not mounted Segmentation fault (core dumped) I've tested this with both sftp and smb shares, happens every time with both protocols. I'm using GNOME 3.18.0 on Arch Linux x86_64. Might be related to bug 730307.
Still present in nautilus 3.22.3
Still present in nautilus 3.24.1
Thanks for updating
I can't reproduce the bug, can you please provide a screencast, or more detailed steps how it can be reproduced?
Created attachment 350422 [details] video showing nautlius 3.24.1 crashing when remounting share
I've attached a screencast. The error message seems to be different now: ERROR:../nautilus/src/nautilus-bookmark.c:395:nautilus_bookmark_connect_file: assertion failed: (!nautilus_file_is_gone (bookmark->file)) Aborted (core dumped)
Thanks for the video, however, I am not still able to reproduce it even with Nautilus 3.24.1 and sftp://localhost/... does it crash every time to you? can you please provide a backtrace? https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces/Details
do you have any plugin?
I do not use any plugins. This happens consistently, every time, on multiple machines. There was another Arch Linux user who was also experiencing this.[1] [1] https://bugs.archlinux.org/task/46518
Backtrace (I think? First time..):
+ Trace 237392
(In reply to sebastiaanlokhorst from comment #9) > I do not use any plugins. This happens consistently, every time, on multiple > machines. There was another Arch Linux user who was also experiencing > this.[1] > > [1] https://bugs.archlinux.org/task/46518 a really loosely question, but, can you reproduce in any other distro? Could you try with Fedora (the one I'm using)?
Yeah, that backtrace points to Nautilus. It's basically a leak somewhere. But not sure why we canot reproduce and seems by your findings that is always reproducible in Arch, right?
Yes, always reproducible in Arch. I will try it out in Fedora this evening.
Strange, I also can't reproduce this with the Fedora 25 livecd. On closer inspection it only seems to happen with certain SSH servers. I haven't found a pattern yet.
Progress! I can reproduce this on the Ubuntu GNOME 17.04 livecd. * Download it at http://cdimage.ubuntu.com/ubuntu-gnome/releases/17.04/release/ * Install SSH and set a password for the default 'ubuntu-gnome' user: sudo apt install ssh passwd * Run nautilus and connect to sftp://localhost. Login with user 'ubuntu-gnome' and just chosen password * Unmount * Connect to sftp://localhost again: crash! ERROR:nautilus-bookmark.c:351:nautilus_bookmark_connect_file: assertion failed: (!nautilus_file_is_gone (bookmark->details->file)) Aborted (core dumped)
FYI: This also happens on Ubuntu 17.10 which will ship with GNOME by default. This might increase the number of users who experience this bug. Tested with the 2017-09-26 daily image from http://cdimage.ubuntu.com/daily-live/current/ Same instructions as in the above comment, but the default user is called 'ubuntu' instead of 'ubuntu-gnome'.
the issue is still there in 3.26
similar report on the fedora version, https://bugzilla.redhat.com/show_bug.cgi?id=1421691
Bug 693950 has a better backtrace for that same bug. *** This bug has been marked as a duplicate of bug 693950 ***