Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - bash failed on win7 x64: (8 Items)
   
bash failed on win7 x64  
Anyone have seen bash failed on windows 7 (64bit)? I've installed both 6.4.1 and 6.5, 6.4.1 works OK, but 6.5 failed as 
below:

D:\>bash
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71690000, RegionSize 0x110000, State 0x10000
C:\QNX650\host\win32\x86\usr\bin\bash.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

D:\>

Thanks,

Lichun
Re: bash failed on win7 x64  
Frequently !!!  Multiple times a week on multiple computers. 
The simplest solution is to 'shutdown' windows.  Once powered off, restart.
Usually fixed on the next reboot but there have been some occasions that required 2 power-downs.
This happens on 6.4.1 and 6.5.0.   Most people here use 6.4.1 (project requirement).
Re: bash failed on win7 x64  
On 11-05-10 09:05 PM, Lichun Zhu wrote:
> Anyone have seen bash failed on windows 7 (64bit)? I've installed both
> 6.4.1 and 6.5, 6.4.1 works OK, but 6.5 failed as below:
>
> D:\>bash
> 0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
> AllocationBase 0x0, BaseAddress 0x71690000, RegionSize 0x110000, State
> 0x10000
> C:\QNX650\host\win32\x86\usr\bin\bash.exe: *** Couldn't reserve space
> for cygwin's heap, Win32 error 0

Hi Lichun,

Try the attached msys-1.0.dll that is rebased at a different address.

Regards,

Ryan Mansfield
Attachment: Text msys-1.0.dll 716.82 KB
RE: bash failed on win7 x64  
Thanks, Ryan.

That works OK so far.

Lichun

> -----Original Message-----
> From: Ryan Mansfield [mailto:community-noreply@qnx.com]
> Sent: May-11-11 10:46 AM
> To: general-toolchain
> Subject: Re: bash failed on win7 x64
> 
> On 11-05-10 09:05 PM, Lichun Zhu wrote:
> > Anyone have seen bash failed on windows 7 (64bit)? I've installed
> both
> > 6.4.1 and 6.5, 6.4.1 works OK, but 6.5 failed as below:
> >
> > D:\>bash
> > 0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error
> > 487 AllocationBase 0x0, BaseAddress 0x71690000, RegionSize 0x110000,
> > State 0x10000
> > C:\QNX650\host\win32\x86\usr\bin\bash.exe: *** Couldn't reserve
space
> > for cygwin's heap, Win32 error 0
> 
> Hi Lichun,
> 
> Try the attached msys-1.0.dll that is rebased at a different address.
> 
> Regards,
> 
> Ryan Mansfield
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post85585
Re: RE: bash failed on win7 x64  
Yesterday was good, but this morning it failed again.  (msys from this discussion)

      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x40000, State 0x10000
C:\QNX641\host\win32\x86\usr\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
Re: RE: bash failed on win7 x64  
I have just applied http://community.qnx.com/sf/frs/do/viewRelease/projects.toolchain/frs.win32_utils.msys_update 
(extracted files to the C:\QNX641\host\win32\x86\usr\bin directory).  However this error is still preventing me from 
building my projects.
Any word on this?
Re: RE: bash failed on win7 x64  
Momentics is building again, however it is not clear what the issue was, nor is it clear if it will resurface (hopefully
 not right before a major release needs to be built).
Re: bash failed on win7 x64  
Hi Ryan, 

I am having similar build problems in Momentics:

make pre-build main-build 
rm -f P:/_Bin/Qnx32/ppc/Debug/libstdLibrary.a
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x1E0000, State 0x10000
C:\Programs\QNX\641\host\win32\x86\usr\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
make: [pre-build] Error 1 (ignored)
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x1E0000, State 0x10000
C:\Programs\QNX\641\host\win32\x86\usr\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0


This build was working fine until late last week. Things got progressively worse until I can no longer build. When I 
first experienced this problem, I would reconstruct the workspace. The projects would build for a while but this problem
 would return after some time. I've installed all of the recommended patches in this thread but they do not seem to have
 any effect.

I am running Windows 7 x64 with all of the latest updates. 

Thanks...