Volker Quetschke wrote:

Hi David,

I've noticed that dmake appears to freeze when building the extras project (no CPU time consumed, just sits there for a long time). In order to try debug this, I was looking at the command lines of the various processes by looking at /proc/nnnn/cmdline

This is interesting, what did you do?
$ cat /proc/nnnn/cmdline
?

Yes thats exactly what I did ... I have a little Python script that does it periodically but you can do it in bash: for f in `ps -ef | grep tcsh | cut -c 9-16` ; do cat /proc/$f/cmdline > /dev/null ; done
If you run that every minute or so it should unfreeze any frozen processes

It is known that cygwin 1.5.18 has "freeze" problems with OOo, there
were several snapshots that solved problems in the process handling.

Did it hang with newer snapshots to?

I had freeze problems with 1.5.18 too, and again, new problems with
20050905. 20050828 worked for me. I'm testing 20050906 now.

Yes I saw the issues ... I haven't tried upgrading cygwin yet as the above solution works and I'm on a slow net connection and downloading OOo source code :-)

Amazingly, this seems to 'unfreeze' dmake and it continues happily...
The cmdline of the process that unfroze it is as follows:
/usr/bin/tcsh -fc find ./ -type d ! -name CVS ! -name "." | sed "s/\.\/\///" | sed "s/\.\///"


As you are using stock 1.5.18, that freeze (or the next I found, see archives) had something to do with piping. Thanks for pointing to /proc/nnnn, I completely
forgot that this works :)

This is using the latest standard cygwin (1.5.18) - apparently there are some issues relating to processes hanging, I thought I'd report this but not sure if its related


Sure, many thanks for this!

Ause, do you still see the hangs with the newest snapshots in $(shell pws)?
Can you try this trick?

Glad if this can help, I've add a note about it here:
http://www.go-oo.org/wiki/index.php/Windows
and also in the relevant issue (http://www.openoffice.org/issues/show_bug.cgi?id=51560)

Cheers
David

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to