delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/27/18:37:53

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: Fri, 27 Apr 2001 14:56:14 -0700 (PDT)
From: Enoch Wu <enochw AT scn DOT org>
X-Sender: enochw AT scn
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Pause with make
In-Reply-To: <4.3.1.2.20010427154447.024e7e48@pop.ma.ultranet.com>
Message-ID: <Pine.SUN.3.96.1010427144602.8867A-100000@scn>
MIME-Version: 1.0


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.

EW


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