Occasionally when performing git operations with TortoiseGit I keep running into various failures randomly, wherein if I retry it once or twice afterward it will succeed in performing the same operation. This happens randomly across the board on pulls, pushes, commits, check-outs etc.

Going into the general settings, I can push a button to query the version where I assume it makes a call to git.exe to poll the version, and this random failure behavior is visible there as well.

This is on a workstation supplied by the company that I work in, so my user does not have explicit administrative access to it. (Worth noting is that on my personal computer at home I have never encountered such an issue.) So I was wondering if this could be due to some group policy which goes berzerk randomly or due to something else?

Here's a small demo on how the issue looks from the general settings perspective: demonstration

New contributor
Ceiling Gecko is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Error -1073741502 is error 0xC0000142 which is STATUS_DLL_INIT_FAILED. Do you have an anti virus running or something similar which could interfere here? – MrTux Dec 6 at 17:23

Exit code -1073741502 is in hex `0xC0000142, which Windows NTSTATUS values shows means STATUS_DLL_INIT_FAILED which is:

{DLL Initialization Failed} Initialization of the dynamic link library %hs failed. The process is terminating abnormally.

Unfortunately, your error message does not indicate the DLL that failed.

If I had to guess, I would think that the Git client version you have installed is unsuitable for running your version of TortoiseGit.

I would suggest uninstalling both, then downloading and installing, in order:

If this does not help, please let me know your installed versions of both products.

Your Answer

Ceiling Gecko is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.