On Dec 4, 10:59 pm, Alexey Borzenkov <
sna...@gmail.com> wrote:
> On Fri, Dec 4, 2009 at 2:25 PM, Octagon <
g...@kaluga.ru> wrote:
> > 0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32
> > error 487
> > AllocationBase 0x0, BaseAddress 0x71110000, RegionSize 0x260000, State
> > 0x10000
> > Q:\ruby\devkit\msys\1.0.11\bin\rxvt.exe: *** Couldn't reserve space
> > for cygwin's heap, Win32 error 0
> > Press any key to continue . . .
>
> Googling for the error led me to these:
>
>
http://code.google.com/p/msysgit/issues/detail?id=176http://code.google.com/p/msysgit/issues/detail?id=133http://www.madwizard.org/electronics/articles/winavrvista
>
> Apparently rebased msys dll works for people.
>
I had time for several reboots and found out that the problem can be
reliably duplicated (or I should better say reliably duplicated for
now) on my machine. After cold boot into Slackware and warm reboot
into Windows 7 Cygwin does not work. After cold boot into Windows 7 or
cold boot into XP and warm reboot into Windows 7 it works. When it
does not work, I can play with path, call bash/rxvt/gem in any ways,
run memory hungry apps, and nothing helps. Run As Administrator helps.
When it works, it similarly works whatever I do.
I believe this is the same issue that is described in the links Alexey
found. So, I guess we have to conclude that the "cannot allocate
stack" problem still may show up in Cygwin and that it may be solved
sometimes by cold reboot and/or run As Administrator. If there will be
some place for recommendations, I guess this should go there. If not,
no problem, the event must be a rare one.
Re: "Dunno how other OS will be affecting this, is beyond my
understanding". I do not get it either, but I also do not know all the
details of the modern AMD processor operation and motherboard secrets.
However, I am sure such things happen on Windows, maybe thanks to DRM
and secret motherboard chips presumably doing power conservation. Just
today I saw how absolutely nothing, including multiple soft reboots,
cures the loss of the ability to connect to FTP in active mode on XP
and how, after hours of frustration, a cold reboot fixes everything.