This is the mail archive of the
mailing list for the Cygwin project.
Re: Pause with make
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:
>> >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
>> 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.
> 309 9522682 [main] make 292345 wait4: calling proc_subproc, pid -1,
> 295 9522977 [main] make 292345 proc_subproc: args: 4, 1627978008
> 295 9523272 [main] make 292345 proc_subproc: wval->pid -1, wval->options
> 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
> 295 9524449 [main] make 292345 checkstate: returning -1
> 293 9524742 [main] make 292345 proc_subproc: only found non-terminated
> 291 9525033 [main] make 292345 proc_subproc: finished processing
> 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, reparented
>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.
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple