This is the mail archive of the cygwin@cygwin.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: Pause with make




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


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