delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/02/23:16:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 2 Feb 2004 23:15:43 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Sirish DOT Bajpai AT tellabs DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"
In-Reply-To: <H0000d740874743a.1075768579.mailw02@MHS>
Message-ID: <Pine.GSO.4.56.0402022301210.10722@slinky.cs.nyu.edu>
References: <H0000d740874743a DOT 1075768579 DOT mailw02 AT MHS>
MIME-Version: 1.0

On Mon, 2 Feb 2004 Sirish DOT Bajpai AT tellabs DOT com wrote:

> Hi,
>
> I have been using cygwin on my NT 4.0 box with tcsh as my login shell.
> After upgrading to cygwin 1.5.7-1 from cygwin.com, tcsh has stopped
> working.
>
> If I start tcsh either from command line or run menu or as a login
> shell, it hangs for a long period of time after displaying motd.
> It eventually comes out of slumber with a message "Out of Memory" and
> exits.
>
> I ran it with verbose and echo flags set and it seems to go through my
> .cshrc file successfully but get stuck after that. It was working fine
> with the same startup files before the upgrade.
>
> All other shells; bash, ksh etc. are working fine.
>
> Below is the output of cygcheck -c -s -v -r command. It was run after I
> changed my login shell to ksh. Would very much like to go back to my
> settings on tcsh.
> Thanks very much for your help.
>
> Sirish

In the future, please *attach* the output of cygcheck, since it plays hell
with archive searches (introducing false positive hits).

One obvious thing wrong with your cygcheck output is that you have two
copies of cygwin1.dll on your machine, and, worse, in your PATH.  The one
in r:\Eng-sw\bin should be removed -- it's old.

As for your tcsh hang, I suspect one of the programs or functions called
from the startup files is the culprit.  If deleting the extra cygwin1.dll
doesn't cure it, I'd suggest running "tcsh -f" from a DOS prompt.  If it
doesn't hang with "-f", try determining where it hangs by calling "tcsh
-X" (note the capital "X").  If it still hangs, you might want to build a
debug version and spend some time in gdb.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019