This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hang with snapshot 20050905


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]