Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Sender: tad AT comco DOT com Message-ID: <36B8B117.741018C1@comco.com> Date: Wed, 03 Feb 1999 14:27:03 -0600 From: Tadeusz Liszka Organization: Computational Mechanics, Inc. X-Mailer: Mozilla 4.07 [en] (X11; U; IRIX 5.3 IP22) MIME-Version: 1.0 To: Greg Miller CC: gnu-win32 AT cygnus DOT com Subject: Re: Help: Make going wild References: <36B73F73 DOT C88FB653 AT comco DOT com> <36B75504 DOT 4A553F4C AT comco DOT com> <36B76458 DOT 37BBA093 AT classic-games DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thank you very much for the responses to my mail. I have got two confirmations that the cygwin+NT4sp4 is cool, but unfortunately I am positive that this is the source of the problem in my case. Apparently Microsoft investigated CYGNUS and managed to slip some goodie into sp4 (:-) So the situation again: make calls the sh script, which calls dsmake, which uses several exec's to manipulate files (cat, cp, rm) Dsmake is our proprietary preprocessor, built using lex/yacc Initially I compiled dsmake using VC++ (and MKS lex/yacc). This worked ok in NT4sp3. When I switched to sp4 (reproduced on at least three different machines) some of the exec'd Unix functions go wild (take 99%CPU, grow in size ~50K/sec, and never quit). It is random: sometimes it is rm sometimes cp I have even seen cmd.exe doing it !. Everytime this happens there is empty line printed to the screen (?) After recompilation of dsmake using CYGNUS tools (lex/yacc/gcc) everything so far works as expected. I see following possible explanations: 1. sp4 changed the exec system call in a way incompatible with CYGWIN 2. dsmake compiled with sp3 will not work with sp4 3. conceivably there could be error in VC++ or MKS lex/yacc, which shows only after seemingly unrelated sp4 update 4. I ruled out error in dsmake itself (it's been around for a while on several Unixes, the logic is simple, and has been debugged and purified carefully), but there may be some lex/yacc non-portable stuff, which shows on MKS lex/yacc only I have no resources nor enough CYGNUS experience to investigate error, if the new recompiled dsmake passes all tests - I will drop the issue. However option No 1 above is my best bet - as such it may warrant investigations by somebody. I can reproduce problem and send nonproprietary part of the code if there is interest. regards Greg Miller wrote: > > Tadeusz Liszka wrote: > > Following is from the good, working setup (NT4sp3) and it may not be > > pertinent to the problem > > > > The intermittent error message I was getting sometimes is: > > > > proc: c:\cygnus....\make.EXE 1000 (0) sig_send: wait for sig_complete > > event failed, sig 20, rc -1, error 6 > > I get this all the time on my setup with NT4sp4, but it occurs after the > final executable is produced and appears to be harmless. I suspect it's > unrelated to your main problem. > -- > http://www.classic-games.com/ > If Bill Clinton doesn't have to obey the law, neither do you. > *** NEWBIES: Limit signatures to four lines! No HTML mail or posts! *** -- Tadeusz :: The public opinion should be alarmed by its own nonexistence :: (512)467-0618 ext. 526 :: Stanislaw J. Lec, trans. TJL