microsoft / microsoft/VFSForGit

GVFS.Mount keeps all pack index file descriptors open

Open
#1,462 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.1k
Forks
474
Avg merge
2d 4h
Merged PRs (30d)
8

Description

It seems, that GVFS.Mount never closes index file descriptors, after opening them (at least on Mac). This can be easily seen on any mounted repository, by running lsof -p <GVFS.Mount PID> | grep idx

Is this by design, or is this a leak?

Contributor guide

Open the contributing guide

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

Start by reproducing the report on macOS with a mounted repository and the provided lsof -p <GVFS.Mount PID> | grep idx command. Trace how GVFS.Mount opens and retains pack index file descriptors, then determine whether the behavior is intentional or a leak. Done means the descriptor lifecycle is explained and, if it is a leak, the issue has a verified fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.