latest CVS: make hangs on XP (with HT)

Rolf Campbell Endlisnis@mailc.net
Tue Feb 10 15:51:00 GMT 2004


Volker Quetschke wrote:
> Just FYI, I build a cygwin dll from current cvs (last
> winsup/cygwin/ChangeLog entry 2004-02-09 Ralf H.)
> with debugging enabled and rerun this script. It didn't freeze, I
> stopped it after 1588 iterations, but it produced one stackdump
> and wrote some errors from make to stderr:
> 
> $ ./t.sh > freeze.out
>  988627 [main] make 3376 handle_exceptions: Exception: 
> STATUS_ACCESS_VIOLATION
>  996727 [main] make 3376 open_stackdumpfile: Dumping stack trace to 
> make.exe.stackdump
> make: *** virtual memory exhausted.  Stop.
...
> Volker
> 

I tried using lates CVS too, here are the results:

Time to freeze: 761 and 409 iterations

This is MUCH better than before, but it still does freeze (althought a 
big difference now is that when make freezes, it consumes no CPU).

I'm speculating it has something to do with:
"trying to send sig 20 but signal 20 already armed"

Here is an strace tail from the process that froze:


   176 1089336 [main] sh 2968 __to_clock_t: dwHighDateTime 0, 
dwLowDateTime 156250
    39 1089375 [main] sh 2968 __to_clock_t: total 00000000 0000000F
    35 1089410 [main] sh 2968 __to_clock_t: dwHighDateTime 0, 
dwLowDateTime 156250
    33 1089443 [main] sh 2968 __to_clock_t: total 00000000 0000000F
  1102 1090545 [main] sh 2968 _pinfo::exit: Calling ExitProcess 0
23418 4462811 [proc] make 5012 proc_subproc: args: 2, 0
    83 4462894 [proc] make 5012 proc_subproc: pid 2968[0] terminated, 
handle 0x654, nchildren 1, nzombies 7
    51 4462945 [proc] make 5012 proc_subproc: zombifying [0], pid 2968, 
handle 0x654, nchildren 1
    52 4462997 [proc] make 5012 proc_subproc: returning 1
    51 4463048 [proc] make 5012 sig_send: sendsig 0x70C, pid 5012, 
signal 20, its_me 1
    61 4463109 [proc] make 5012 sig_send: Not waiting for sigcomplete. 
its_me 1 signal 20
    45 4463154 [proc] make 5012 sig_send: returning 0x0 from sending 
signal 20
    41 4463195 [proc] make 5012 wait_subproc: looping
    57 4463252 [sig] make 5012 sigpacket::process: signal 20 processing
    52 4463304 [sig] make 5012 _threadinfo::find_tls: sig 20
    56 4463360 [sig] make 5012 sigpacket::process: signal 20, about to 
call 0x40C540
    67 4463427 [sig] make 5012 setup_handler: trying to send sig 20 but 
signal 20 already armed
    52 4463479 [sig] make 5012 setup_handler: signal 20 not delivered
    52 4463531 [sig] make 5012 sigpacket::process: returning 0
    52 4463583 [sig] make 5012 proc_subproc: args: 3, 0
    56 4463639 [sig] make 5012 proc_subproc: looking for processes to reap
    51 4463690 [sig] make 5012 proc_subproc: finished processing 
terminated/stopped child
    52 4463742 [sig] make 5012 proc_subproc: returning 1
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040210/18151eb3/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list