This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: rxvt shortcut problem (bash, XP, memory, heap, Win32 error 487)


What are the contents of your shortcut?

I point to this batch file:
<batch>
@echo off
C:
cd \cygwin\bin
rxvt.exe -bg white -fg black -fn "Lucida Console-12" -ls -sl 9000 -rv
-geometry 110x49 -sb -si -sk -sr -sw -e bash --login -i
</batch>

Which works fine.  I briefly see a command window and then the RXVT term
comes up and the command window disappears.

> -----Original Message-----
> From: Garrett, Ron [mailto:ron.garrett@il.proquest.com] 
> Sent: Thursday, July 10, 2003 10:14 AM
> To: cygwin@cygwin.com
> Subject: rxvt shortcut problem (bash, XP, memory, heap, Win32 
> error 487)
> 
> 
> I'm having trouble starting rxvt from a shortcut icon. If I 
> simply click on
> the rxvt.exe icon in a Windows Explorer window, then I get a 
> console window
> that is running /usr/bin/sh. If I then try to start bash, I get a heap
> allocation error:
> 
> $ ps
>       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>       180       1     180        180  con 1005 11:43:00 /usr/bin/rxvt
>      3292     180    3292        948    0 1005 11:43:01 /usr/bin/sh
>      3812    3292    3292       2440    0 1005 11:43:17 /usr/bin/ps
> $ bash
> C:\cygwin\bin\bash.exe: *** Couldn't reserve space for cygwin's heap
> (0x2B80000) in child, cygheap, Win32 error 487
>  
> 
> If I try a shortcut that starts bash immediately (as 
> suggested by several
> sources), then I see two windows open briefly and close. I'm 
> guessing the
> same problem is happening there.
> 
> If I start rxvt from a cygwin terminal window (already 
> running bash), then
> rxvt starts up fine, and begins running bash itself. This 
> happens even when
> I don't include the "-e /bin/bash" arguments to rxvt.
> 
> I'm running Windows XP and my env under bash includes
> BASH_VERSION=$'2.05.0(6)-release'.
> 
> Anyone have any clues what's going wrong with my shortcut?
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]