Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 6 Sep 2005 23:49:58 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Hang with snapshot 20050905
Message-ID: <20050907034958.GA14916@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <431E2B57.6010100@scytek.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <431E2B57.6010100@scytek.de>
User-Agent: Mutt/1.5.8i

On Tue, Sep 06, 2005 at 07:50:47PM -0400, Volker Quetschke wrote:
>I just discovered that after upgrading from snapshot 20050716 to
>20050905 my OOo build hangs. Sorry, I didn't update/test the snapshots
>on this machine (Opteron 2.4GHz, cygcheck.log attached.) more
>frequently.
>
>It appears that this line from a perl script hangs:
>
>if ( $^O =~ /cygwin/i ) { chomp( $sourcepath = qx{cygpath -w "$sourcepath"} 
>); }
>
>The build scripts are deeply nested so this is only a symptom and not
>a cause.

Is the newest snapshot any better?  

>The funny thing is that ps -W shows "cygpath", to which I cannot attach
>strace.
>-=-=-
>q@opti ~
>$ ps
>      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>     2756       1    2756       3684    2 1003 01:34:15 /usr/bin/bash
>     4036    2756    2756        516    2 1003 01:34:15 /usr/bin/perl
>     3988    4036    2756       1072    2 1003 01:34:16 /usr/bin/bash
>     3568    3988    2756        956    2 1003 02:57:38 /usr/bin/tcsh
>     2012    3568    2756       2620    2 1003 02:58:25 
>     /cygdrive/d/w1/morejava/
>solenv/wntmsci10/bin/dmake
>     3584    2012    2756       3908    2 1003 02:58:25 /usr/bin/tcsh
>     2224    3584    2756       3896    2 1003 02:58:25 /usr/bin/perl
>     2256    2224    2756       3800    2 1003 10:40:41 
>     /cygdrive/d/w1/morejava/
>solenv/wntmsci10/bin/dmake
>     3848    2256    2756       2776    2 1003 10:40:45 /usr/bin/tcsh
>      960    3848    2756       2616    2 1003 10:40:45 /usr/bin/perl
>     2092     960    2756        504    2 1003 10:43:52 /usr/bin/cygpath
>     3732       1    3732       3732  con 1003 19:08:28 /usr/bin/bash
>     3856    3732    3856       2388  con 1003 19:08:32 /usr/bin/ps
>
>q@opti ~
>$ strace -p 2092 > p2092.log
>strace: couldn't attach to pid 2092<504> for debugging
>-=-=-
>
>But the windows task manager shows sh.exe that takes 100% cpu load and runs
>approximately since the same stime.

Can you attach to that pid with strace?

cgf

--
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/

