develooper Front page | perl.perl5.porters | Postings from August 2009

[perl #66158] fork crashes on perl 5.10.0/Win32 [PATCH proposal]

From:
kmx via RT
Date:
August 3, 2009 08:22
Subject:
[perl #66158] fork crashes on perl 5.10.0/Win32 [PATCH proposal]
Message ID:
rt-3.6.HEAD-2466-1249308234-658.66158-15-0@perl.org
Hi,

I have investigated this issue further and found out that it is present
also in the latest perl5 blead.

Based on Vicent's post above I have tried this patch to win32/perlhost.h

- PerlInterpreter *new_perl = perl_clone_using((PerlInterpreter*)aTHX, 1,
+ PerlInterpreter *new_perl = perl_clone_using((PerlInterpreter*)aTHX, 1
| CLONEf_KEEP_PTR_TABLE,

and IT SOLVES the described fork issue but I am not able to say that
this is the right way for fixing it.

I would appreciate any feedback.

--
kmx



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About