This is the mail archive of the cygwin 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: Bash Crashes


I saw the following posting after experiencing a similar problem.  One of the follow ups suggested running cygwin.bat and reporting the result, but the result is the same whether I try to run cygwin.bat, call bash directly from a cmd.exe shell or call bash from something like /bin/sh or /bin/tcsh:

[swood@arena ~]$ pwd
/home/swood
[swood@arena ~]$ /bin/bash
bash-3.2$ [swood@arena ~]$ 

Here's the cute thing.  If I create a test script with #!/bin/bash at the beginning and throw in something like a simple 'echo' command, the script works just fine calling it by name or calling it with /bin/bash:
[swood@arena ~]$ cat test.sh 
#!/bin/bash
echo this is a test
[swood@arena ~]$ /bin/bash test.sh
this is a test
[swood@arena ~]$ ./test.sh 
this is a test
[swood@arena ~]$ 

I have tried re-installing bash with the cygwin setup tool, I've tried re-installing everything using same.  /bin/sh works fine (seems to be running a ysh from what I can gather), tcsh works fine.  Bash pops up the prompt then dies about 1/2 second later returning to whatever it was doing.

I saw a note on the mailing list about running cygcheck so I did and that is attached.  Any help would be appreciated.

SW

---------------------
From: "Jon Romano" <rmno at adelphia dot net>
Date: Sun, 4 May 2003 23:10:25 -0400
Subject: Bash Crashes      Hello All:

> I've been unable to find anything on this issue:

> I recently installed Cygwin, but I can't get bash to run. When I try to
> invoke cygwin, the bash window appears for a split second, but it crashes
> right away. I'm running Windows 2K. 






      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Attachment: cygcheck.out
Description: Binary data

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