This is the mail archive of the cygwin@sourceware.cygnus.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]

RE: bash hangs on WinNT Service Pack 5


I'm seeing the same problem on Windows NT service pack 4 same versions
of cygwin and bash.  The build system is a modified gmake which 
uses a translater to convert .dsp and .dsw to gnu make files.  The
build is control by a perl script.  The behavior I observe is a sub-task
of the make process (often echo) goes into a loop burning cpu.  Killing
the looping echo program, results in all other bash shells getting
the no more processes error.  Interestingly, simple commands running
in a bash shell will hang.  When I attempted to ^C a stuck ls command
i got:
[main] c:\cygnus\CYGWIN~1\H-I586~1\bin\bash.exe 1000 (0)
lock_pinfo_for_update: rc 258, error 6


thanks
slz
lance Zaklan



> ----------
> From: 	Prabhakar Goyal[SMTP:pgoyal@isi.com]
> Sent: 	Thursday, January 20, 2000 2:42 PM
> To: 	cygwin@sourceware.cygnus.com
> Subject: 	bash hangs on WinNT Service Pack 5
> 
> I am running a build process using gmake on WinNT SP5. Sometimes bash
> hangs
> sucking up all the CPU time. Time to reproduce the problem varies from 5
> minutes to one and half days.  Once this happens any command on other bash
> windows fail with "bash: fork : No more processes" error. It is possible
> to
> create processes (and threads) which have nothing to do cygwin (such as
> invoking notepad).  I am using b20.1, bash version 2.02.1(2).
> 
> It seems there is a thread leak in cygnus compatibility layer. It seems to
> maintain some sort of table of threads which is running out of space
> causing
> fork() to fail (thougts?). Number of threads in the system goes up
> significantly after this problem is seen.
> 
> 
> Any help is greatly appreciated.
> 
> 
> regards,
> Prabhakar
> 
> --------------------------------------------------------------------------
> --
> ------------------------------------
> Prabhakar Goyal                           Voice-mail: (408)-542-1630
> Integrated Systems Inc., 201 Moffett Park Drive, Sunnyvale, CA 94089
> e-mail: pgoyal@isi.com                 http://www.isi.com
> --------------------------------------------------------------------------
> --
> ------------------------------------
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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