sourcegit: [Bug] Application hang at fetch

Whenever I perform a fetch, it does not finish and the following window stays forever: image

I debugged it at the time when the window remains open. At this point the debugger provides very little information because it is probably waiting for something that is not coming.

The parallel stacks are very clearly laid out: image

Line 56 (new Commands.Fetch(...).Exec();) is still started in the Fetch class, but it never returns: image

I was trying to figure out what is going on, but proc.WaitForExit(); never returns. However, when I run the parameters on the git bash, this command completes just fine.

I tried to replace that WaitForExit() with while (!proc.HasExited) Thread.Sleep(20); ($\leftarrow$ not a good idea because that blocks in a Task.Run operation what blocks a threadpool thread! But its only for testing.) to debug the current proc` state but couldn’t imagine what the problem is.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18

Most upvoted comments

I did - no luck. I had this problem using 8.33 and 8.34 provided via winget. My own compile vom master works fine and develop is also working…

Currently I’m not able to reproduce that problem again - sorry.