delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/28/00:40:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 28 Apr 2001 00:40:26 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Pause with make
Message-ID: <20010428004026.C12841@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4 DOT 3 DOT 1 DOT 2 DOT 20010427154447 DOT 024e7e48 AT pop DOT ma DOT ultranet DOT com> <Pine DOT SUN DOT 3 DOT 96 DOT 1010427144602 DOT 8867A-100000 AT scn>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <Pine.SUN.3.96.1010427144602.8867A-100000@scn>; from enochw@scn.org on Fri, Apr 27, 2001 at 02:56:14PM -0700

On Fri, Apr 27, 2001 at 02:56:14PM -0700, Enoch Wu wrote:
>
>
>On Fri, 27 Apr 2001, Larry Hall (RFK Partners, Inc) wrote:
>
>> At 02:00 PM 4/27/2001, Manisha Jain wrote:
>> 
>> >Hello,
>> >
>> >
>> >I have this peculiar problem. When I run "make", and I go 4 directories
>> >deep, make just pauses for 1/2 minute. 
>> >
>
>My make pauses for ever in a directory 2 levels below the current
>directory.
>
>> 
>>    strace -o make.stracelog make
>> 
>> While this is proceeding, open another command window and do the following
>> from the same directory.
>> 
>>    tail -f make.stracelog
>> 
>> When you hit a pause, note what's happening in the strace log file.  This 
>> should give you an idea of what Cygwin is doing with the time.  If this 
>> doesn't enlighten you, send an annotated version of the log file to the 
>> list.  Either way, please report back.
>> 
>>
>
>Attached below is my stracelog. This time it appears that strace pauses
>before make loops forever. Make was still going but I had to interrupt it 
>just so that I can save the stracelog before make comes to possibly an
>infinite loop that requires a reboot and hence loss of log.
>
>
>-----make.stracelog------
>
>  309 9522682 [main] make 292345 wait4: calling proc_subproc, pid -1,
>options 0
>  295 9522977 [main] make 292345 proc_subproc: args: 4, 1627978008
>  295 9523272 [main] make 292345 proc_subproc: wval->pid -1, wval->options
>0
>  300 9523572 [main] make 292345 checkstate: nchildren 1, nzombies 0
>  292 9523864 [main] make 292345 checkstate: checking alive children
>  290 9524154 [main] make 292345 stopped_or_terminated: considering pid
>338313
>  295 9524449 [main] make 292345 checkstate: returning -1
>  293 9524742 [main] make 292345 proc_subproc: only found non-terminated
>childre
>n
>  291 9525033 [main] make 292345 proc_subproc: finished processing
>terminated/st
>opped child
>  296 9525329 [main] make 292345 proc_subproc: returning 1
>47877 9573206 [proc] make 292345 proc_subproc: args: 2, 0
>  474 9573680 [proc] make 292345 proc_subproc: pid 338313[0], reparented
>old hPr
>ocess 0x34, new 0x32
>  348 9574028 [proc] make 292345 proc_subproc: returning 0
>  338 9574366 [proc] make 292345 wait_subproc: looping
>==> make.stracelog: file truncated <== 
>
>
>Here it rests forever.

There is absolutely nothing unusual about this strace.  It's indicating
that a subprocess has not exited.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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