Make hung in WaitForMultipleObjects inside Cygwin

Jonathan Kamens jik@curl.com
Wed Feb 28 08:23:00 GMT 2001


Apparently, duplicating this problem under smake was easier than we
thought it would be :-).  Shortly after we started running builds
under smake to try to catch this hang, it appears to have recurred.
The Make PID that is hung is 1118.  I don't want to include it here
since it's almost 4Mb uncompressed, but it's available for download,
gzipped, at < http://www.mit.edu/~jik/smake.1118.txt.gz >.  The last 50
lines of the smake output are included below.

Any suggestions for how to debug this further would be much
appreciated.

  jik

  540  562490 [main] sh 385 fhandler_base::close: handle 0x1B4
  358  562848 [main] sh 385 fhandler_base::close: handle 0x1B8
  560  563408 [main] sh 385 proc_terminate: nchildren 0, nzombies 0
 1200 543510091 [main] make 1118 symlink_info::check: GetFileAttributesA (C:\cygwin\scratch\jpollock\curl-installer-jp\build\Core\sh.exe) failed
  403  563811 [proc] sh 385 wait_subproc: looping
  526 543510617 [main] make 1118 geterrno_from_win_error: windows error 2 == errno 2
  363  564174 [proc] sh 385 wait_subproc: done
  336 543510953 [main] make 1118 symlink_info::check: 0 = symlink.check (C:\cygwin\scratch\jpollock\curl-installer-jp\build\Core\sh.exe, 0x242E749) (0xA)
  928  565102 [main] sh 385 proc_subproc: args: 4, 1
  727 543511680 [main] make 1118 symlink_info::check: not a symlink
  540  565642 [main] sh 385 proc_subproc: clear waiting threads
  690 543512370 [main] make 1118 symlink_info::check: 0 = symlink.check (C:\cygwin\scratch\jpollock\curl-installer-jp\build\Core, 0x242E749) (0x0)
  313  565955 [main] sh 385 proc_subproc: finished clearing
  349  566304 [main] sh 385 proc_subproc: returning 1
  278  566582 [main] sh 385 proc_terminate: leaving
  988 543513358 [main] make 1118 path_conv::check: GetVolumeInformation(C:\) = OK, full_path(C:\cygwin\scratch\jpollock\curl-installer-jp\build\Core\sh.exe), set_has_acls(8)
  344  566926 [main] sh 385 sigproc_terminate: entering
  473 543513831 [main] make 1118 mount_info::conv_to_win32_path: conv_to_win32_path (sh.exe)
  437  567363 [main] sh 385 sigproc_terminate: done
  296 543514127 [main] make 1118 normalize_posix_path: src sh.exe
  339 543514466 [main] make 1118 cwdstuff::get: cygheap->root: (null), posix: /scratch/jpollock/curl-installer-jp/build/Core
  314 543514780 [main] make 1118 cwdstuff::get: (/scratch/jpollock/curl-installer-jp/build/Core) = cwdstuff::get (0x242E224, 260, 1, 0), errno 4
  951  568314 [main] sh 385 __to_clock_t: dwHighDateTime 0, dwLowDateTime 156250
  386 543515166 [main] make 1118 normalize_posix_path: /scratch/jpollock/curl-installer-jp/build/Core/sh.exe = normalize_posix_path (sh.exe)
  458  568772 [main] sh 385 __to_clock_t: total 00000000 0000000F
  343  569115 [main] sh 385 __to_clock_t: dwHighDateTime 0, dwLowDateTime 312500
  486 543515652 [main] make 1118 cwdstuff::get: cygheap->root: (null), posix: /scratch/jpollock/curl-installer-jp/build/Core
  279  569394 [main] sh 385 __to_clock_t: total 00000000 0000001F
  279  569673 [main] sh 385 _pinfo::exit: Calling ExitProcess 0
  540 543516192 [main] make 1118 cwdstuff::get: (C:\cygwin\scratch\jpollock\curl-installer-jp\build\Core) = cwdstuff::get (0x242E114, 260, 0, 0), errno 4
  640 543516832 [main] make 1118 mount_info::conv_to_win32_path: sh.exe(rel), C:\cygwin\scratch\jpollock\curl-installer-jp\build\Core\sh.exe(abs) 0xA(flags) = conv_to_win32_path (sh.exe)
 1735 543518567 [main] make 1118 symlink_info::check: GetFileAttributesA (C:\cygwin\scratch\jpollock\curl-installer-jp\build\Core\sh.exe) failed
  429 543518996 [main] make 1118 geterrno_from_win_error: windows error 2 == errno 2
  218 543519214 [main] make 1118 symlink_info::check: 0 = symlink.check (C:\cygwin\scratch\jpollock\curl-installer-jp\build\Core\sh.exe, 0x242E4B9) (0xA)
  461 543519675 [proc] make 1118 proc_subproc: args: 3, 0
  443 543520118 [proc] make 1118 proc_subproc: pid 385[0] terminated, handle 0x190, nchildren 1, nzombies 0
  322 543520440 [proc] make 1118 proc_subproc: removing [0], pid 385, handle 0x190, nchildren 1
  290 543520730 [proc] make 1118 proc_subproc: returning 1
  263 543520993 [proc] make 1118 sig_send: pid 1118, signal 20, its_me 1
  271 543521264 [proc] make 1118 sig_send: Not waiting for sigcomplete.  its_me 1 sig 20
-1532 543519732 [main] make 1118 symlink_info::check: not a symlink
 2081 543521813 [main] make 1118 symlink_info::check: 0 = symlink.check (C:\cygwin\scratch\jpollock\curl-installer-jp\build\Core, 0x242E4B9) (0x0)
 -277 543521536 [proc] make 1118 sig_send: returning 0 from sending signal 20
  871 543522407 [proc] make 1118 wait_subproc: looping
  355 543522762 [sig] make 1118 wait_sig: awake
  314 543523076 [sig] make 1118 wait_sig: processing signal 20
  317 543523393 [sig] make 1118 wait_sig: Got signal 20
  318 543523711 [sig] make 1118 sig_handle: signal 20
  315 543524026 [sig] make 1118 sig_handle: signal 20, about to call 0x40BA68
  312 543524338 [sig] make 1118 setup_handler: suspending mainthread

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list