threads / bug / 37513

BUG I can't start git on Windows 7

Subject: BUG I can't start git on Windows 7

## tl;dr

7 messages between Sep 8, 2014 and Sep 8, 2014.

replies: 6people: 3as markdown or json

Petr Bena· Sep 8, 2014, 09:15 UTC · lore

I installed git on my system using official package from git-scm.com but I can't launch it, I am always getting this error:

C:\Users\petr.bena>"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x68570000, RegionSize 0x40000, State 0x10000
C:\Program Files (x86)\Git\bin\sh.exe: *** Couldn't reserve space for
cygwin's heap, Win32 error 0

At some point this could be an issue with cygwin, but I am not sure. Did anyone had similar issue?

Thomas Braun· Sep 8, 2014, 13:21 UTC · re: Petr Bena · lore

Re: BUG I can't start git on Windows 7

Am 08.09.2014 um 11:15 schrieb Petr Bena:
Show 12 quoted lines
> I installed git on my system using official package from git-scm.com
> but I can't launch it, I am always getting this error:
> 
> C:\Users\petr.bena>"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
>       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
> AllocationBase 0x0, BaseAddress 0x68570000, RegionSize 0x40000, State 0x10000
> C:\Program Files (x86)\Git\bin\sh.exe: *** Couldn't reserve space for
> cygwin's heap, Win32 error 0
> 
> 
> At some point this could be an issue with cygwin, but I am not sure.
> Did anyone had similar issue?
[CC'ing msysgit]

Do you have cygwin installed, or why do you mention cygwin? What windows are you running?

-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Petr Bena· Sep 8, 2014, 13:23 UTC · re: Thomas Braun · lore

Re: BUG I can't start git on Windows 7

Hi,
Windows 7 enterprise (Windows [Version 6.1.7601])

I mention it because IMHO windows git is based on cygwin and because I can see cygwin mentioned in error message. I didn't install it by hand, I think it was part of git installation package.

On Mon, Sep 8, 2014 at 3:21 PM, Thomas Braun <thomas.braun@virtuell-zuhause.de> wrote:

Show 20 quoted lines
> Am 08.09.2014 um 11:15 schrieb Petr Bena:
>> I installed git on my system using official package from git-scm.com
>> but I can't launch it, I am always getting this error:
>>
>> C:\Users\petr.bena>"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
>>       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
>> AllocationBase 0x0, BaseAddress 0x68570000, RegionSize 0x40000, State 0x10000
>> C:\Program Files (x86)\Git\bin\sh.exe: *** Couldn't reserve space for
>> cygwin's heap, Win32 error 0
>>
>>
>> At some point this could be an issue with cygwin, but I am not sure.
>> Did anyone had similar issue?
>
> [CC'ing msysgit]
>
> Do you have cygwin installed, or why do you mention cygwin?
> What windows are you running?
>
>
Konstantin Khomoutov· Sep 8, 2014, 15:34 UTC · re: Petr Bena · lore

Re: BUG I can't start git on Windows 7

On Mon, 8 Sep 2014 11:15:44 +0200 Petr Bena <benapetr@gmail.com> wrote:

Show 12 quoted lines
> I installed git on my system using official package from git-scm.com
> but I can't launch it, I am always getting this error:
> 
> C:\Users\petr.bena>"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
>       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32
> error 487 AllocationBase 0x0, BaseAddress 0x68570000, RegionSize
> 0x40000, State 0x10000 C:\Program Files (x86)\Git\bin\sh.exe: ***
> Couldn't reserve space for cygwin's heap, Win32 error 0
> 
> 
> At some point this could be an issue with cygwin, but I am not sure.
> Did anyone had similar issue?
Does [1] help?

I wonder, why the error message mentions Cygwin though. One reason might be is that MinGW is originally a fork of some very early Cygwin release so may be some error message is lingering there, unmodified.

1. http://stackoverflow.com/a/24406417/720999
-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Petr Bena· Sep 8, 2014, 15:56 UTC · re: Konstantin Khomoutov · lore

Re: BUG I can't start git on Windows 7

Yes that fixed it, thanks :)

On Mon, Sep 8, 2014 at 5:34 PM, Konstantin Khomoutov <flatworm@users.sourceforge.net> wrote:

Show 24 quoted lines
> On Mon, 8 Sep 2014 11:15:44 +0200
> Petr Bena <benapetr@gmail.com> wrote:
>
>> I installed git on my system using official package from git-scm.com
>> but I can't launch it, I am always getting this error:
>>
>> C:\Users\petr.bena>"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
>>       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32
>> error 487 AllocationBase 0x0, BaseAddress 0x68570000, RegionSize
>> 0x40000, State 0x10000 C:\Program Files (x86)\Git\bin\sh.exe: ***
>> Couldn't reserve space for cygwin's heap, Win32 error 0
>>
>>
>> At some point this could be an issue with cygwin, but I am not sure.
>> Did anyone had similar issue?
>
> Does [1] help?
>
> I wonder, why the error message mentions Cygwin though.
> One reason might be is that MinGW is originally a fork of some very
> early Cygwin release so may be some error message is lingering there,
> unmodified.
>
> 1. http://stackoverflow.com/a/24406417/720999
-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Petr Bena· Sep 8, 2014, 15:57 UTC · re: Petr Bena · lore

Re: BUG I can't start git on Windows 7

For others who are lazy to open the link, solution is executing this as administrator from your bin folder from where git is installed:

rebase.exe -b 0x50000000 msys-1.0.dll

or reboot, but some people don't reboot their PC's ever, so you might prefer this.

On Mon, Sep 8, 2014 at 5:56 PM, Petr Bena <benapetr@gmail.com> wrote:
Show 28 quoted lines
> Yes that fixed it, thanks :)
>
> On Mon, Sep 8, 2014 at 5:34 PM, Konstantin Khomoutov
> <flatworm@users.sourceforge.net> wrote:
>> On Mon, 8 Sep 2014 11:15:44 +0200
>> Petr Bena <benapetr@gmail.com> wrote:
>>
>>> I installed git on my system using official package from git-scm.com
>>> but I can't launch it, I am always getting this error:
>>>
>>> C:\Users\petr.bena>"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
>>>       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32
>>> error 487 AllocationBase 0x0, BaseAddress 0x68570000, RegionSize
>>> 0x40000, State 0x10000 C:\Program Files (x86)\Git\bin\sh.exe: ***
>>> Couldn't reserve space for cygwin's heap, Win32 error 0
>>>
>>>
>>> At some point this could be an issue with cygwin, but I am not sure.
>>> Did anyone had similar issue?
>>
>> Does [1] help?
>>
>> I wonder, why the error message mentions Cygwin though.
>> One reason might be is that MinGW is originally a fork of some very
>> early Cygwin release so may be some error message is lingering there,
>> unmodified.
>>
>> 1. http://stackoverflow.com/a/24406417/720999
-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thomas Braun· Sep 8, 2014, 16:02 UTC · re: Konstantin Khomoutov · lore

Re: BUG I can't start git on Windows 7

Am 08.09.2014 um 17:34 schrieb Konstantin Khomoutov:
> I wonder, why the error message mentions Cygwin though.
This is a leftover. Msys was forked from cygwin some time ago.
-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

← back to recent threads