After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 755671 - Crash when remounting share
Crash when remounting share
Status: RESOLVED DUPLICATE of bug 693950
Product: nautilus
Classification: Core
Component: Crashers
3.26.x
Other Linux
: Normal normal
: 3.24
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-26 17:29 UTC by Sebastiaan Lokhorst
Modified: 2017-11-10 00:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
video showing nautlius 3.24.1 crashing when remounting share (476.35 KB, video/mp4)
2017-04-25 17:09 UTC, Sebastiaan Lokhorst
Details

Description Sebastiaan Lokhorst 2015-09-26 17:29:40 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.
Comment 1 Sebastiaan Lokhorst 2017-03-19 10:27:08 UTC
Still present in nautilus 3.22.3
Comment 2 Sebastiaan Lokhorst 2017-04-25 08:43:02 UTC
Still present in nautilus 3.24.1
Comment 3 Carlos Soriano 2017-04-25 08:44:23 UTC
Thanks for updating
Comment 4 Ondrej Holy 2017-04-25 12:10:01 UTC
I can't reproduce the bug, can you please provide a screencast, or more detailed steps how it can be reproduced?
Comment 5 Sebastiaan Lokhorst 2017-04-25 17:09:29 UTC
Created attachment 350422 [details]
video showing nautlius 3.24.1 crashing when remounting share
Comment 6 Sebastiaan Lokhorst 2017-04-25 17:10:05 UTC
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)
Comment 7 Ondrej Holy 2017-04-26 06:30:23 UTC
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
Comment 8 Carlos Soriano 2017-04-26 10:07:35 UTC
do you have any plugin?
Comment 9 Sebastiaan Lokhorst 2017-04-26 12:35:55 UTC
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
Comment 10 Sebastiaan Lokhorst 2017-04-26 12:51:17 UTC
Backtrace (I think? First time..):

  • #0 raise
  • #1 abort
  • #2 g_assertion_message
  • #3 g_assertion_message_expr
  • #4 nautilus_bookmark_connect_file
  • #5 nautilus_bookmark_constructed
  • #6 0x00007ffff5906777 in
  • #7 g_object_new_valist
  • #8 g_object_new
  • #9 nautilus_bookmark_new
  • #10 setup_view
  • #11 got_file_info_for_view_selection_callback
  • #12 call_ready_callbacks_at_idle
  • #13 g_main_context_dispatch
  • #14 0x00007ffff7906a20 in
  • #15 g_main_context_iteration
  • #16 g_application_run
  • #17 main

Comment 11 Carlos Soriano 2017-04-26 12:56:49 UTC
(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)?
Comment 12 Carlos Soriano 2017-04-26 12:57:53 UTC
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?
Comment 13 Sebastiaan Lokhorst 2017-04-26 13:00:46 UTC
Yes, always reproducible in Arch. I will try it out in Fedora this evening.
Comment 14 Sebastiaan Lokhorst 2017-04-26 15:57:19 UTC
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.
Comment 15 Sebastiaan Lokhorst 2017-04-26 17:06:14 UTC
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)
Comment 16 Sebastiaan Lokhorst 2017-09-28 12:20:26 UTC
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'.
Comment 17 Sebastien Bacher 2017-11-07 21:43:02 UTC
the issue is still there in 3.26
Comment 18 Sebastien Bacher 2017-11-07 21:43:49 UTC
similar report on the fedora version, https://bugzilla.redhat.com/show_bug.cgi?id=1421691
Comment 19 Bastien Nocera 2017-11-10 00:02:10 UTC
Bug 693950 has a better backtrace for that same bug.

*** This bug has been marked as a duplicate of bug 693950 ***