Program randomly hangs after upgrading to cygwin 1.5.7

Volker Quetschke quetschke@scytek.de
Sun Feb 1 14:54:00 GMT 2004


This problem occured after upgrading from cygwin 1.5.5 to 1.5.7(second 
version). During this I update all other installed cygwin packages to
the current versions. (cygcheck -s -v -r is attached)

The problem is that dmake, the make utility for building OpenOffice.org
seems to hang after a while. With a while I mean after several hours,
but in different places. (As far as one can say after two tries)
For each project are new dmake processes started, so I cannot run dmake
in gdb, I have to attach to the one that fails.

Dmake is a cygwin executable:

$ cygcheck.exe /v1/cws_fix645_ooo111fix2/solenv/wntmsci8/bin/dmake.exe
d:/v1/cws_fix645_ooo111fix2/solenv/wntmsci8/bin/dmake.exe
   C:\cygwin\bin\cygwin1.dll
     C:\WINNT\system32\ADVAPI32.DLL
       C:\WINNT\system32\NTDLL.DLL
       C:\WINNT\system32\KERNEL32.DLL
       C:\WINNT\system32\RPCRT4.DLL

$ ps
       PID  PPID   PGID WINPID  TTY  UID    STIME COMMAND
...
      1256  1108   560     728    1  500 02:42:33 /<snip>/bin/dmake

When I attach strace, I get:
$ strace -p 1256
Attached to pid 1256 (windows pid 728)
     5       5 [unknown (0x3F0)] dmake 1256 _threadinfo::remove: wait 0x0
    93      98 [unknown (0x3F0)] dmake 1256 _threadinfo::remove: removed 
0x89F014 element 1

And then strace stops to respond, CTRL-c doesn't help, I have to kill
the rxtv window.

When I try to attach gdb, I get:
$ gdb /v1/cws_fix645_ooo111fix2/solenv/wntmsci8/bin/dmake.exe 1256
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...(no debugging symbols 
found)...
Can't attach to process.
/home/admin/1256: No such file or directory.
(gdb) q

This works with a "sleep 100&" to simulate a hug program.

I'll now downgrade to 1.5.5 again and try if this "cures" the problem.

Any help is appreciated

...

Oh, I just realized that a CTRL-Z and a fg in the window with the hung
OOo build "revives" the stalled dmake, but unfortunately it stops and
exits. This also revives the hung strace windows, but there was too much
output for my scroll buffer :-( I didn't see the where it was hanging.
Next time I'll catch the output.

   Volker

-- 
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040201/aad03dbd/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 254 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040201/aad03dbd/attachment.sig>


More information about the Cygwin mailing list