linuxmint / linuxmint/nemo

Freeze when a bookmark belongs to a disconnected network mount

Open
#3,408 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.6k
Forks
368
Avg merge
4d 4h
Merged PRs (30d)
2

Description

Distribution

mint 21.1

Package version

6.0.2

Frequency

Always

Bug description

When I disconnect my network, nemo doesn't open. runing strace nemo it's obvious that nemo is trying to read the contents of the bookmarked folder:

access("/mnt/network-volume/bookmarked-folder", F_OK

where /mnt/network-volume is my cifs share and bookmarked-folder is bookmarked (ctrl-D) in nemo. When I remove the bookmark nemo works fine.

Steps to reproduce

Create a bookmark of a subfolder of a SMB/cifs network share, run strace nemo and watch it hang.

Expected behavior

Nemo should not hang when a network share is disconnected

Additional information

When the bookmark is the actual network share, nemo doesn't freeze. The freeze only occurs when the bookmark is a subfolder.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the freeze by disconnecting an SMB/CIFS share containing a bookmarked subfolder, then start nemo under strace and inspect the bookmark-related startup path around the reported access call. Done means nemo opens without hanging when the share is unavailable, while the bookmark remains usable when the share is connected.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.