Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i think i have to report this #5412

Closed
fatihforgemaster opened this issue Feb 10, 2025 · 3 comments
Closed

i think i have to report this #5412

fatihforgemaster opened this issue Feb 10, 2025 · 3 comments

Comments

@fatihforgemaster
Copy link

`git fetch --all; git pull
warning: failed to restrict file handles (5)

handle #0: 00000000000001fc (type 3, handle info (1) 0
handle #1: 0000000000000200 (type 3, handle info (1) 1
handle #2: 00000000000001c4 (type 2, handle info (1) 1

This is a bug; please report it at
https://github.com/git-for-windows/git/issues/new

To suppress this warning, please set the environment variable

    SUPPRESS_HANDLE_INHERITANCE_WARNING=1

Unhandled Exception: System.ComponentModel.Win32Exception: Access is denied
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at GitCredentialManager.ChildProcess.Start(Trace2ProcessClass processClass)
at GitCredentialManager.GitProcessConfiguration.Enumerate(GitConfigurationLevel level, GitConfigurationEnumerationCallback cb)
at GitCredentialManager.GitConfigurationExtensions.Enumerate(IGitConfiguration config, GitConfigurationEnumerationCallback cb)
at GitCredentialManager.Settings.d__6.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source) at GitCredentialManager.Settings.TryGetSetting(String envarName, String section, String property, String& value) at GitCredentialManager.Settings.GetTrace2Settings() at GitCredentialManager.Trace2.Initialize(DateTimeOffset startTime) at GitCredentialManager.Program.AppMain(Object o) at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart(Object obj) 1 [main] bash 91 dofork: child -1 - CreateProcessW failed for 'C:\Program Files\Git\usr\bin\bash.exe', errno 13 bash: fork: Permission denied error: failed to execute prompt script (exit code 254) fatal: could not read Username for 'https://github.com': No such file or directory git credential-manager get: line 1: /mingw64/libexec/git-core/git: Permission denied bash: line 1: /usr/bin/cat: Permission denied error: failed to execute prompt script (exit code 126) fatal: could not read Username for 'https://github.com': No such file or director

@dscho
Copy link
Member

dscho commented Feb 10, 2025

@fatihforgemaster what version is this, does this reproduce reliably, what reproducer can you provide?

@fatihforgemaster
Copy link
Author

fatihforgemaster commented Feb 10, 2025

@fatihforgemaster what version is this, does this reproduce reliably, what reproducer can you provide?

git version 2.45.1.windows.1
sorry i don't have reproduce steps
i just called 'git fetch --all; git pull' from Rider Terminal

@dscho
Copy link
Member

dscho commented Feb 11, 2025

git version 2.45.1.windows.1

https://github.com/git-for-windows/git/wiki/FAQ#should-i-upgrade-to-a-newer-git-for-windows-version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants