Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Crash with Parallel::ForkManager on Windows

by kcott (Archbishop)
on Sep 21, 2017 at 10:03 UTC ( [id://1199818]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Crash with Parallel::ForkManager on Windows
in thread Crash with ForkManager on Windows

G'day Discipulus,

Thanks for the follow-up. While it's clear the OP was using Windows, I wasn't aware that this was a Windows-specific problem: I don't see anything like "This worked on XYZ, but not on Windows".

I'm using:

Perl 5.26.0 (built for darwin-thread-multi-2level) Parallel::ForkManager 1.19 LWP::Simple 6.26

I had to install Parallel::ForkManager and the cpan output is still on one of my screens. Here's my equivalent lines to those you posted:

t/00-report-prereqs.t ..... ok t/01-utf8-all.t ........... skipped: Need utf8::all for this test cras +hing on Windows # This test can take 10-20 seconds, please wait. Started at Thu Sep 21 + 17:07:29 2017 t/02-callback.t ........... ok # This test can take 2-6 seconds, please wait. Started at Thu Sep 21 1 +7:07:45 2017 t/03-callback-data.t ...... ok t/basic-methods.t ......... ok t/changing-pids.t ......... ok t/start_child.t ........... ok # code outside of P::FM stole 2369 child process '2369' disappeared. A call to `waitpid` outside of Paral +lel::ForkManager might have reaped it. t/waitpid-conflict.t ...... ok # code outside of P::FM stole 2371 t/waitpid-waitonechild.t .. ok t/waitpid_blocking.t ...... ok All tests successful.

You appear to have had problems with t/waitpid-waitonechild.t that I didn't have; everything else looks fairly similar.

To be honest, I started the installation, went and made a coffee, came back and saw:

YANICK/Parallel-ForkManager-1.19.tar.gz /usr/bin/make install -- OK cpan[2]>

I rarely review the (often many screenfuls of) output unless the installation failed.

— Ken

Replies are listed 'Best First'.
Re^4: Crash with Parallel::ForkManager on Windows
by holli (Abbot) on Sep 21, 2017 at 12:46 UTC
    I am getting the bogus tests too, yet I can run this and get no crashes at all.
    Win 8.1 64-Bit, ActivePerl 5.24 built for MSWin32-x64-multi-thread


    holli

    You can lead your users to water, but alas, you cannot drown them.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1199818]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found