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)


Ron,

First off, you didn't seem to run "cygcheck -svr", as it's missing at
least the list of installed packages.  Also, from your cygcheck output:

  678k 2001/05/21 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/5/21 5:28
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 2
        dll epoch: 19

This doesn't look like a very recent version of the Cygwin DLL.  I also
don't see the output of "id", which indicates an old version of cygcheck.
What version of Cygwin are you running?
	Igor

On Fri, 11 Jul 2003, Garrett, Ron wrote:

> Files attached as suggested. Cygcheck.def is from the default terminal
> running bash. Cygcheck.rxvt is from the rxvt terminal running sh.
>
> One other note: If I set the environment variable "SHELL" to "bash" using
> the Control Panel, then clicking the rxvt icon (invoking rxvt with NO
> arguments) leads to the two windows opening briefly and then closing. It
> seems pretty clear the problem is caused by starting bash from within rxvt,
> rather than the rxvt program itself.
>
> Thanks for any help.
>
>
> -----Original Message-----
> From: Elfyn McBratney [mailto:elfyn@emcb.co.uk]
> Sent: Thursday, July 10, 2003 5:29 PM
> To: Garrett, Ron
> Cc: cygwin@cygwin.com
> Subject: Re: rxvt shortcut problem (bash, XP, memory, heap, Win32 error 487)
>
> On Thu, 10 Jul 2003, Garrett, Ron wrote:
>
> > 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.
>
> Can you send the output of `cygcheck -svr', as a plain-text *non-compressed*
> attachment (not inlined) to the list? It might help pinpoint your problem.
>
> Elfyn

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
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]