Subject: | Test failure (hang) on Cygwin |
Installation hangs for me during testing. It seems to be stuck on the `$bridge->pump` loop - here's
what it looks like when running under the debugger:
% perl -d -Mblib t/02-legacy.t
...
DB<6>
Statistics::R::run(/cygdrive/c/Users/kwilliams/.cpan/build/Statistics-R-0.27-
XiXWFU/blib/lib/Statistics/R.pm:389):
389: while ( $self->stdout !~ EOS_RE && $bridge->pumpable ) {
DB<6> l
389==> while ( $self->stdout !~ EOS_RE && $bridge->pumpable ) {
390: $bridge->pump;
391 }
392
393 # Parse outputs, detect errors
394: my $out = $self->stdout;
395: $out =~ s/${\(EOS_RE)}//;
396: chomp $out;
397: my $err = $self->stderr;
398: chomp $err;
DB<6> n
Statistics::R::run(/cygdrive/c/Users/kwilliams/.cpan/build/Statistics-R-0.27-
XiXWFU/blib/lib/Statistics/R.pm:390):
390: $bridge->pump;
DB<6>
Statistics::R::run(/cygdrive/c/Users/kwilliams/.cpan/build/Statistics-R-0.27-
XiXWFU/blib/lib/Statistics/R.pm:390):
390: $bridge->pump;
DB<6>
Statistics::R::run(/cygdrive/c/Users/kwilliams/.cpan/build/Statistics-R-0.27-
XiXWFU/blib/lib/Statistics/R.pm:390):
390: $bridge->pump;
DB<6>
That's where the hang occurs - it seems to pump successfully 2 times, then hangs on the third time.
Or possibly the debugger is just showing it to me 3 times for some reason - it tends to do that
sometimes.
The command *is* getting sent to an R process though, because I do see a 'file.ps' file created in
the top-level directory.