Skip Menu |

This queue is for tickets about the IPC-Run CPAN distribution.

Report information
The Basics
Id: 11174
Status: resolved
Priority: 0/
Queue: IPC-Run

People
Owner: Nobody in particular
Requestors: steve [...] fisharerojo.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.79
Fixed in: (no value)



Subject: IPC-Run 0.79 t/run.t hangs on Cygwin
I wish I had more information for you, but, unfortunately, I don't. On Cygwin, the test t/run.t hangs after the 63rd test. Below is the output from the test after running "perl -Ilib t/run.t". I let it hang for at least five minutes before exiting. ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 ok 48 ok 49 ok 50 ok 51 ok 52 ok 53 ok 54 ok 55 ok 56 ok 57 ok 58 ok 59 ok 60 ok 61 ok 62 ok 63
From: Richard Soderberg <rs [...] ordata.com>
Subject: Re: [cpan #11174] IPC-Run 0.79 t/run.t hangs on Cygwin
Date: Fri, 21 Jan 2005 13:55:05 -0800
To: bug-IPC-Run [...] rt.cpan.org
RT-Send-Cc:
No worries - can you run it with env IPCRUNDEBUG=4 set, as the Makefile.PL's help text indicates? - R. On Jan 21, 2005, at 6:44 AM, via RT wrote: Show quoted text
> > This message about IPC-Run was sent to you by SMPETERS > <SMPETERS@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=11174 > > > I wish I had more information for you, but, unfortunately, I don't. > On Cygwin, the test t/run.t hangs after the 63rd test. Below is the > output from the test after running "perl -Ilib t/run.t". I let it > hang for at least five minutes before exiting. > > ok 40 > ok 41 > ok 42 > ok 43 > ok 44 > ok 45 > ok 46 > ok 47 > ok 48 > ok 49 > ok 50 > ok 51 > ok 52 > ok 53 > ok 54 > ok 55 > ok 56 > ok 57 > ok 58 > ok 59 > ok 60 > ok 61 > ok 62 > ok 63 > >
From: steve [...] fisharerojo.org
Attached is the verbose output from the test until it hangs. Hope it helps. Steve Peters steve@fisharerojo.org [rs@ordata.com - Fri Jan 21 17:05:45 2005]: Show quoted text
> No worries - can you run it with env IPCRUNDEBUG=4 set, as the > Makefile.PL's help text indicates? > > - R. > > On Jan 21, 2005, at 6:44 AM, via RT wrote: >
> > > > This message about IPC-Run was sent to you by SMPETERS > > <SMPETERS@cpan.org> via rt.cpan.org > > > > Full context and any attached attachments can be found at: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=11174 > > > > > I wish I had more information for you, but, unfortunately, I don't. > > On Cygwin, the test t/run.t hangs after the 63rd test. Below is the > > output from the test after running "perl -Ilib t/run.t". I let it > > hang for at least five minutes before exiting. > > > > ok 40 > > ok 41 > > ok 42 > > ok 43 > > ok 44 > > ok 45 > > ok 46 > > ok 47 > > ok 48 > > ok 49 > > ok 50 > > ok 51 > > ok 52 > > ok 53 > > ok 54 > > ok 55 > > ok 56 > > ok 57 > > ok 58 > > ok 59 > > ok 60 > > ok 61 > > ok 62 > > ok 63 > > > >
>
Download run.out
application/octet-stream 37k

Message body not shown because it is not plain text.

From: rrwo [...] cpan.org
Similar problem on 0.78 in Cygwin. Debug output is below: ok 62 IPC::Run 0005 0123-------- [#14(2400)]: debugging fd is 3 IPC::Run 0005 0123-------- [#14(2400)]: ****** harnessing ***** IPC::Run 0005 0123-------- [#14(2400)]: parsing 'noinherit' IPC::Run 0005 0123-------- [#14(2400)]: parsing [ '/usr/bin/perl', '-e', 'print" -"x20000;<STDIN>;' ] IPC::Run 0005 0123-------- [#14(2400)]: parsing SCALAR IPC::Run 0005 0123-------- [#14(2400)]: assuming '0<' IPC::Run 0005 0123-------- [#14(2400)]: parsing SCALAR IPC::Run 0005 0123-------- [#14(2400)]: assuming '1>' IPC::Run 0005 0123-------- [#14(2400)]: ** starting IPC::Run 0005 0123-------- [#14(2400)]: '/usr/bin/perl' is absolute IPC::Run 0005 0123-------- [#14(2400)]: kid 1 to read 0 from SCALAR IPC::Run 0005 012345------ [#14(2400)]: pipe_nb pipe() = ( 4, 5 ) IPC::Run 0005 012345------ [#14(2400)]: fcntl( 5, F_SETFL, O_NONBLOCK ) IPC::Run 0005 0123456----- [#14(2400)]: dup( 4 ) = 6 IPC::Run 0005 01234567---- [#14(2400)]: dup( 5 ) = 7 IPC::Run 0005 01234567---- [#14(2400)]: pipe_nb() = ( 6, 7 ) IPC::Run 0005 0123--67---- [#14(2400)]: kid 1 to write 1 to SCALAR IPC::Run 0005 01234567---- [#14(2400)]: pipe() = ( 4, 5 ) IPC::Run 0005 01234567---- [#14(2400)]: kid 1[]'s 0 is my 7 IPC::Run 0005 01234567---- [#14(2400)]: kid 1[]'s 1 is my 4 IPC::Run 0005 01234567---- [#14(2400)]: child: `'/usr/bin/perl' -e 'print"-"x200 00;<STDIN>;'` IPC::Run 0005 01234567---- [#14(2400)]: opening sync pipe IPC::Run 0005 0123456789-- [#14(2400)]: pipe() = ( 8, 9 ) IPC::Run 0005 0123456789-- [#14(2400)]: fork() = 2784 IPC::Run 0005 0123456789-- [#14(2784) perl]: open fds: 6 7 9 8 4 5 IPC::Run 0005 012345678--- [#14(2400)]: close( 9 ) = 0 IPC::Run 0005 0123456-89-- [#14(2784) perl]: close( 7 ) = 0 IPC::Run 0005 0123456--9-- [#14(2784) perl]: close( 8 ) = 0 IPC::Run 0005 0123-56--9-- [#14(2784) perl]: close( 4 ) = 0 IPC::Run 0005 0123-56--9-- [#14(2784) perl]: dup2( 6, 0 ) = 0 IPC::Run 0005 0123-56--9-- [#14(2784) perl]: dup2( 5, 1 ) = 1 IPC::Run 0005 0123-5---9-- [#14(2784) perl]: close( 6 ) = 0 IPC::Run 0005 0123-----9-- [#14(2784) perl]: close( 5 ) = 0 IPC::Run 0005 0123-----9-- [#14(2784) perl]: execing /usr/bin/perl -e 'print"-"x 20000;<STDIN>;' IPC::Run 0005 0123-----9-- [#14(2784) perl]: exec()ing '/usr/bin/perl' '-e' 'pri nt"-"x20000;<STDIN>;' IPC::Run 0005 012345678--- [#14(2400)]: read( 8 ) = 0 but true chars '' IPC::Run 0005 01234567---- [#14(2400)]: close( 8 ) = 0 IPC::Run 0005 012345-7---- [#14(2400)]: close( 6 ) = 0 IPC::Run 0005 01234--7---- [#14(2400)]: close( 5 ) = 0 IPC::Run 0005 01234--7---- [#14(2400)]: ** finishing IPC::Run 0005 01234--7---- [#14(2400)]: fds for select: ----r--w---- IPC::Run 0005 01234--7---- [#14(2400)]: timeout=forever IPC::Run 0005 01234--7---- [#14(2400)]: selected -------w---- IPC::Run 0005 01234--7---- [#14(2400)]: filtering data to fd 7 (kid's stdin) IPC::Run 0005 01234--7---- [#14(2400)]: writing to fd 7 (kid's stdin) make: *** [test_dynamic] Interrupt
Subject: IPC-Run 0.80 t/run.t hangs on Cygwin
From: Alexandr Ciornii <alexchorny [...] gmail.com>
Same with IPC::Run 0.80. $ perl -v This is perl, v5.8.7 built for cygwin-thread-multi-64int But run.t passes without зкщидуьы on Win32 without Cygwin.
Ticket migrated to github as https://github.com/toddr/IPC-Run/issues/70