Git GUI crashes every time it opens a repository

后端 未结 7 1887
栀梦
栀梦 2021-02-05 11:47

Since few days ago, every time I start Git GUI in a repository, it displays this horrifying error message and quits after I click OK:

prepare-commit-msg hook fai         


        
7条回答
  •  心在旅途
    2021-02-05 12:13

    I've had this problem as well

    I've solved it with

    http://support.code-red-tech.com/CodeRedWiki/VirtualAllocPointerNull

    Apparently this is caused by some feature, and replacing the dll fixes it for most people

    in case the website is down -


    Virtual Alloc pointer is null

    Very rarely, running make may result in an error similar to this:

    0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
    AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x350000, State 0x10000
    \msys\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
    

    This is a problem that affects a tiny minority of customers, and depends on what other applications they are running at the same time.

    This is caused by a feature in the MSYS binaries that we use to provide the the build environment for the product.

    If this happens, you can replace the file \msys\bin\msys-1.0.dll with the file in the attached zipfile. msys-1.0.zip

    Note that this does not fix the problem, rather it moves DLL base address. Unfortunately, it is possible the error may occur with this replacement DLL too, again depending on what other applications are running.


提交回复
热议问题