To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=64803
                  Issue #:|64803
                  Summary:|W32-4nt build can hang when started from cygwin
                          |process
                Component:|tools
                  Version:|current
                 Platform:|All
                      URL:|
               OS/Version:|Windows, all
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|solenv
              Assigned to:|vq
              Reported by:|vq





------- Additional comments from [EMAIL PROTECTED] Wed Apr 26 13:58:42 -0700 
2006 -------
This is the nearest I got to the famous cygwin hang. I'm still unable to get
anything to hang when building W32-tcsh on three different machines
(2x XP, 1x W2k) but at least I got some hangs with W32-4nt with some
strict/strange border conditions:

1. It only hangs from rxvt. (Invoked with shortlink from desktop to:
C:\cygwin\bin\rxvt.exe  -cr green -sl 1000 -tn linux -e /usr/bin/bash --login 
-i)
I guess the actual switches don't matter. Startting the following example from
the bash that is started from the cygwin icon (cygwin.bat) didn't show the 
problem
so far.

2. Only hangs for "real" background processes started with setsid. From rxvt
like this:
$ setsid ./hang.sh >& hang.log

You need to unpack the following testcase, it contains the following files:
-rw-rw-rw- 1 quetschke None      0 Apr 26 16:45 dependency.file
-rwxr-xr-x 1 quetschke None 147456 Apr  3 20:19 dmake.exe
-rwxr-xr-x 1 quetschke None      3 Apr 26 10:34 hang.XXX$
-rwxr-xr-x 1 quetschke None 192635 Apr 26 16:45 hang.log
-rwxr-xr-x 1 quetschke None    285 Apr 26 13:30 hang.mk
-rwxr-xr-x 1 quetschke None    133 Apr 26 13:22 hang.sh

The dmake.exe is a native w32 version, from m164 build during an OOo build for
W32-4nt.

For me, after entering the above command and letting it run for a few minutes,
I get a 4nt process that is stuck at 99% and no new output reaches hang.log.

It definitely looks like 4nt is hanging, *BUT*
$ ps
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     3972       1    3972       3972  con 1006 16:35:12 /usr/bin/rxvt
I    3996    3972    3996       4008    0 1006 16:35:12 /usr/bin/bash
     3804       1    3804        736    ? 1006 16:49:29 /usr/bin/bash
      828    3804    3804       3760    ? 1006 16:52:26
/cygdrive/d/w1/w32-4nt-hang/dmake

if I kill the calling cygwin script, kill 3804 in this case, 4nt stops to
loop.

As you can see in hang.mk, I tried to reproduce the hang with cmd.exe, but I
cannot get to hang that either.

This is a very elusive problem :(

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to