develooper Front page | perl.perl5.porters | Postings from May 2013

[perl #38723] Backticks don't work in Win32 multithreaded perl

Thread Previous | Thread Next
From:
bulk88 via RT
Date:
May 27, 2013 22:11
Subject:
[perl #38723] Backticks don't work in Win32 multithreaded perl
Message ID:
rt-3.6.HEAD-2650-1369692704-1461.38723-15-0@perl.org
On Mon May 27 06:06:19 2013, jkeenan wrote:
> 
> Reviewing older tickets this morning, I came across this one.
> 
> Krzysztofk:  It appears that by re-compiling Perl, you found a
> satisfactory work-around.  Do you need further assistance with this
problem?
> 
> List: Could someone familiar with the current status of 'fork' on Win32
> systems please assess the issues in this ticket?
> 
> Thank you very much.
> Jim Keenan

___________________________________________________________________
C:\Documents and Settings\Owner\Desktop>perl n11.pl
Starting process 1(-2992)
Starting process 2(-4472)
Starting process 3(-4452)
Starting process 4(-5996)
Starting process 5(-5288)
Starting process 6(-1636)
Process 1(-2992) started.
Process 3 iteration 2
Process 1 iteration 2
Process 4 iteration 1
Process 3 iteration 5
Process 4 iteration 3
Process 6 iteration 4
Process 1 iteration 7
Process 5 iteration 6
Process 4 iteration 6
Process 2 iteration 6
Process 3 iteration 10
Process 6 iteration 6
Process 3 iteration 12
Process 4 iteration 9
Process 1 iteration 11
Process 3 iteration 13
Process 1 iteration 13
Process 5 iteration 13
Process 6 iteration 9
Process 5 iteration 14
Process 1 iteration 15
Process 2 iteration 11
Process 1 iteration 16
Process 2 iteration 12
Process 5 iteration 17
Process 2 iteration 13
Process 6 iteration 12
Process 3 iteration 20
Wait returned -4452 (3)
Process 1 iteration 20
Wait returned -2992 (1)
Process 4 iteration 14
Process 5 iteration 19
Process 2 iteration 14
Wait returned -5288 (5)
Process 6 iteration 13
Process 4 iteration 15
Process 6 iteration 14
Process 4 iteration 16
Process 6 iteration 15
Process 4 iteration 17
Process 6 iteration 16
Process 4 iteration 18
Process 6 iteration 17
Process 4 iteration 19
Process 4 iteration 20
Wait returned -5996 (4)
Process 2 iteration 19
Process 6 iteration 19
Process 2 iteration 20
Process 6 iteration 20
Wait returned -1636 (6)
Wait returned -4472 (2)

C:\Documents and Settings\Owner\Desktop>
____________________________________________________________________

All psuedo processes reached 20. Ran script 5 times, no freezes. Perl
5.19.0. Normal Win32 Perl does not use USE_RTL_POPEN, so my tests were
done WITHOUT the mod the OP made to get it to not freeze for him. I
recommend close.

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=38723

Thread Previous | Thread Next


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