Closed
Description
Migrated from rt.cpan.org#41811 (status was 'open')
Requestors:
From [email protected] on 2008-12-18 16:29:32:
IPC::Run seems to hang during make test at t/run on Win32
Here is after I manually killed it after 10 minutes of running or so:
C:\temp\IPC-Run-0.82>dmake test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0,
'blib\lib', 'blib\arch')" t/*.t
t/adopt............skipped: adopt not implemented yet
t/binmode..........ok
t/bogus............ok
t/filter...........ok
t/harness..........ok
t/io...............ok
t/kill_kill........skipped: Temporarily ignoring test failure on Win32
t/parallel.........ok
t/pty..............skipped: IO::Pty not installed
t/pump.............ok
t/run..............91/266 Terminating on signal SIGINT(2)
# Failed test at t/run.t line 502.
t/run..............111/266
# Failed test at t/run.t line 503.
Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)
Caught SIGINT. Trying to quit ...
Here is after I manually killed it after 30 minutes of running or so:
C:\temp\IPC-Run-0.82>dmake test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0,
'blib\lib', 'blib\arch')" t/*.t
t/adopt............skipped: adopt not implemented yet
t/binmode..........ok
t/bogus............ok
t/filter...........ok
t/harness..........ok
t/io...............ok
t/kill_kill........skipped: Temporarily ignoring test failure on Win32
t/parallel.........ok
t/pty..............skipped: IO::Pty not installed
t/pump.............ok
t/run..............51/266 Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)
Caught SIGINT. Trying to quit ...
Bad file descriptor at t/run.t line 416.
Terminating on signal SIGINT(2)
Please contact me if I can provide further information.
From @schwern [email protected] on 2009-07-06 21:45:55:
Same issue with 5.10.0.4 and 5.10.0.5 on WinXP 32 bit. It hangs in
run.t... sometimes. When it does its after test 207. That's this code:
##
## harness, pump, run
##
$in = 'SHOULD BE UNCHANGED';
$out = 'REPLACE ME';
$err = 'REPLACE ME';
$? = 99;
$fd_map = _map_fds;
$h = start(
[ @perl, '-pe', 'BEGIN { $| = 1 } print STDERR uc($_)' ],
\$in, \$out, \$err,
);
I've also had it hang after test 67 which I believe is this:
##
## Long output run through twice
##
## Adapted from a stress test by Aaron Elkiss <[email protected]>
##
$h = start [$perl, qw( -pe BEGIN{$|=1}1 )], \$in, \$out;
$in = "\n";
$out = "";
pump $h until length $out;