Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: jon [...] jrock.us
Cc:
AdminCc:

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



CC: bug-IPC-Run [...] rt.cpan.org
Subject: Re: FAIL IPC-Run-0.80 darwin-thread-multi-2level 8.0
Date: Fri, 05 Jan 2007 12:41:46 -0600
To: Jens Koehn <jkoehn [...] iconmobile.com>
From: Jonathan Rockway <jon [...] jrock.us>
I haven't seen the problem recently, but I haven't used OS X for a while either. If you're still experiencing it, open a bug so the author can have a more in-depth look. It looks related to bug #17254. (Actually, this e-mail will open a bug, and you can append further comments to the problem log.) Jens Koehn wrote: Show quoted text
> Hello, > > Any solution to the problem stated > in http://www.mail-archive.com/cpan-testers@perl.org/msg297898.html > (hanging t/pty test 1 when installing IPC::Run) yet? I'm having the same > problem here. > > Sincerely, > Jens Koehn > -- > jens koehn _ developer > > iconmobile GmbH > methfesselstr. 30-36 _ 10965 berlin _ germany > phone +49 30 886633 216 fax +49 30 886633 150 mobile +49 163 163 43 59 > jkoehn@iconmobile.com _ www.iconmobile.com <http://www.iconmobile.com> > >
-- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
I have just encountered this failure on a Mac OS X 10.4.11 with perl 5.8.8. Running it in the debugger reveals that the pty test runs into the seemingly endless select loop where it does not burn much CPU. That is in I turned on the environment variable IPCRUNDEBUG=1 and got the following output: [...] ok 4 ok 5 ok 6 IPC::Run 0000 [#1(910)]: ** pumping IPC::Run 0000 [#1(910)]: ** finishing [...hangs...] Setting IPCRUNDEBUG to 2 gives: IPC::Run 0000 [#1(946)]: ** finishing IPC::Run 0000 [#1(946)]: write( 7, 'quit IPC::Run 0000 [#1(946)]: ' ) = 5 IPC::Run 0000 [#1(946)]: read( 9 ) = 5 chars 'quit IPC::Run 0000 [#1(946)]: ' IPC::Run 0000 [#1(946)]: read( 13 ) = 5 chars 'QUIT IPC::Run 0000 [#1(946)]: ' IPC::Run 0000 [#1(946)]: read( 9 ) = 0 but true chars '' IPC::Run 0000 [#1(946)]: read( 13 ) = 0 but true chars '' Setting it to 3 gives: IPC::Run 0000 01234567---123 [#1(959)]: closing fd 13 (kid's stderr) IPC::Run 0000 01234567---12 [#1(959)]: close( 13 ) = 0 IPC::Run 0000 01234567---12 [#1(959)]: 1 (961) still running IPC::Run 0000 01234567---12 [#1(959)]: 1 (961) still running IPC::Run 0000 01234567---12 [#1(959)]: fds for select: ------------ IPC::Run 0000 01234567---12 [#1(959)]: 1 (961) still running IPC::Run 0000 01234567---12 [#1(959)]: 1 (961) still running IPC::Run 0000 01234567---12 [#1(959)]: timeout=0.01 IPC::Run 0000 01234567---12 [#1(959)]: selected ------------ IPC::Run 0000 01234567---12 [#1(959)]: 1 (961) still running IPC::Run 0000 01234567---12 [#1(959)]: 1 (961) still running IPC::Run 0000 01234567---12 [#1(959)]: fds for select: ------------ IPC::Run 0000 01234567---12 [#1(959)]: 1 (961) still running IPC::Run 0000 01234567---12 [#1(959)]: 1 (961) still running IPC::Run 0000 01234567---12 [#1(959)]: timeout=0.02 So the select loop waits for something? What is it and how would I find out? Thanks,
Ticket migrated to github as https://github.com/toddr/IPC-Run/issues/76