1.5.8s: make hangs on XP (with HT)

Rolf Campbell Endlisnis@mailc.net
Fri Feb 6 17:59:00 GMT 2004


Rafael Kitover wrote:
>>-----Original Message-----
>>From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of
>>Rolf Campbell
>>Sent: Thursday, February 05, 2004 8:40 AM
>>To: cygwin@cygwin.com
>>Subject: 1.5.7: make hangs on XP (with HT)
>>
>>I've been trying to narrow the problem I've been having with make (-j)
>>and processes locking up.  And I've made some progress.
>>
>>First, this happens with 1.5.6 -> 1.5.7 (and every snapshot in-between).
>>
>>I've tried this test on 3 configurations:
>>WinXP (HyperThreaded): fails quickly (between 20 seconds and 3 minutes)
>>Win2000 (Not HT): fails slowly (between 6 minutes and 20 minutes)
>>WinXP (HT turned off): does not fail (ran it for about an hour and it
>>was fine).
> 
> [SNIP]
> 
> This test would fail on me on WinXP on an HT machine very quickly with 1.5.7
> and earlier snapshot, but with the most recent CVS it works fine :)

I tried the Feb05 snapshot, and things are MUCH better.  Instead of 
failing after 1 to 36 iterations, it now lasts into the hundreds, but it 
still does eventually fail.  On iteration #337 (about 20 minutes in), I 
got a similar strace output:

And, like before, after this output, the process continued to run, 
consuming as much processor time as it could.

   186 1375242 [main] sh 10144 __to_clock_t: dwHighDateTime 0, 
dwLowDateTime 0
    47 1375289 [main] sh 10144 __to_clock_t: total 00000000 00000000
    48 1375337 [main] sh 10144 __to_clock_t: dwHighDateTime 0, 
dwLowDateTime 312500
    46 1375383 [main] sh 10144 __to_clock_t: total 00000000 0000001F
  -178 1375205 [sig] sh 10144 wait_sig: done
  1642 1376847 [sig] sh 10144 _threadinfo::remove: wait 0x0
   147 1376994 [main] sh 10144 _pinfo::exit: Calling ExitProcess 0
20174 4390513 [proc] make 3748 proc_subproc: args: 2, 0
    82 4390595 [proc] make 3748 proc_subproc: pid 10144[0] terminated, 
handle 0x650, nchildren 1, nzombies 8
    50 4390645 [proc] make 3748 proc_subproc: zombifying [0], pid 10144, 
handle 0x650, nchildren 1
    51 4390696 [proc] make 3748 proc_subproc: returning 1
    50 4390746 [proc] make 3748 sig_send: sendsig 0x714, pid 3748, 
signal 20, its_me 1
    62 4390808 [proc] make 3748 sig_send: Not waiting for sigcomplete. 
its_me 1 signal 20
    44 4390852 [proc] make 3748 sig_send: returning 0x0 from sending 
signal 20
   171 4391023 [proc] make 3748 wait_subproc: looping
     9 4391032 [sig] make 3748 sigpacket::process: signal 20 processing
   109 4391141 [sig] make 3748 _threadinfo::find_tls: sig 20
    51 4391192 [sig] make 3748 sigpacket::process: signal 20, about to 
call 0x40C540
    49 4391241 [sig] make 3748 setup_handler: suspending mainthread
    80 4391321 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    54 4391375 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    60 4391435 [sig] make 3748 setup_handler: suspending mainthread
    72 4391507 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    55 4391562 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    62 4391624 [sig] make 3748 setup_handler: suspending mainthread
   135 4391759 [sig] make 3748 interruptible: pc 0x77E66B4A, h 
0x77E60000, interruptible 0
    50 4391809 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    63 4391872 [sig] make 3748 setup_handler: suspending mainthread
    68 4391940 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    54 4391994 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    80 4392074 [sig] make 3748 setup_handler: suspending mainthread
    70 4392144 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    51 4392195 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    63 4392258 [sig] make 3748 setup_handler: suspending mainthread
    68 4392326 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    75 4392401 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    62 4392463 [sig] make 3748 setup_handler: suspending mainthread
    69 4392532 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    52 4392584 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    60 4392644 [sig] make 3748 setup_handler: suspending mainthread
    67 4392711 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    51 4392762 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    52 4392814 [sig] make 3748 setup_handler: suspending mainthread
    67 4392881 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    42 4392923 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    48 4392971 [sig] make 3748 setup_handler: suspending mainthread
    57 4393028 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
   104 4393132 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    48 4393180 [sig] make 3748 setup_handler: suspending mainthread
    57 4393237 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    41 4393278 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    47 4393325 [sig] make 3748 setup_handler: suspending mainthread
    56 4393381 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    41 4393422 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    49 4393471 [sig] make 3748 setup_handler: suspending mainthread
    59 4393530 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    39 4393569 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    44 4393613 [sig] make 3748 setup_handler: suspending mainthread
    56 4393669 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    42 4393711 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    49 4393760 [sig] make 3748 setup_handler: suspending mainthread
    56 4393816 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    40 4393856 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    47 4393903 [sig] make 3748 setup_handler: suspending mainthread
    56 4393959 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    41 4394000 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    49 4394049 [sig] make 3748 setup_handler: suspending mainthread
    52 4394101 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    39 4394140 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    46 4394186 [sig] make 3748 setup_handler: suspending mainthread
    57 4394243 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    41 4394284 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    49 4394333 [sig] make 3748 setup_handler: suspending mainthread
    54 4394387 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    41 4394428 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    46 4394474 [sig] make 3748 setup_handler: suspending mainthread
    57 4394531 [sig] make 3748 interruptible: pc 0x7FFE0304, h 
0x7FFE0000, interruptible 0
    41 4394572 [sig] make 3748 setup_handler: couldn't interrupt. 
trying again.
    48 4394620 [sig] make 3748 setup_handler: signal 20 not delivered
    41 4394661 [sig] make 3748 sigpacket::process: returning 0
    39 4394700 [sig] make 3748 proc_subproc: args: 3, 0
    39 4394739 [sig] make 3748 proc_subproc: looking for processes to reap
    47 4394786 [sig] make 3748 proc_subproc: finished processing 
terminated/stopped child
    51 4394837 [sig] make 3748 proc_subproc: returning 1

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040206/c1daa200/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