develooper Front page | perl.perl5.porters | Postings from July 2011

Re: [perl #94048] [PATCH] Add a test for perl_clone withCLONEf_COPY_STACKS to XS-APItest.

Thread Next
From:
Gerard Goossen
Date:
July 13, 2011 12:01
Subject:
Re: [perl #94048] [PATCH] Add a test for perl_clone withCLONEf_COPY_STACKS to XS-APItest.
Message ID:
20110713190055.GD3285@ggoossen.net
On Mon, Jul 11, 2011 at 12:44:12PM -0700, Father Chrysostomos via RT wrote:
> On Mon Jul 04 21:32:17 2011, sprout wrote:
> > On Mon Jul 04 13:39:36 2011, ggoossen wrote:
> > > 
> > > This is a bug report for perl from gerard@ggoossen.net,
> > > generated with the help of perlbug 1.39 running under perl 5.15.0.
> > > 
> > > From 574e9f2fc10acc30232601c704604a1ce046c912 Mon Sep 17 00:00:00 2001
> > > From: Gerard Goossen <gerard@ggoossen.net>
> > > Date: Sat, 6 Nov 2010 12:22:29 +0100
> > > Subject: [PATCH] Add a test for perl_clone with CLONEf_COPY_STACKS to
> > >  XS-APItest.
> > > 
> > > CLONEf_COPY_STACKS is only used by the windows pseudo-fork.
> > > This test allows testing/debugging of CLONEf_COPY_STACK without
> > > needing threads or Windows.
> > 
> > Thank you. Applied as 7b81e5498.
> 
> This seems to be causing failures under -Dmad. See
> <nntp://nntp.perl.org/201107111242.p6BCg29V021278@m-l.org>. Any idea why?

This is a problem with the SVs of OP_CONST ops stored in MADPROPS.
Apparently change 8ae73bce341cb300ba81a3680bab34352ff2c2ba isn't good enough.

I'm working on a patch which adds a preorder traversal of the optree which
does the "making the optree threadsafe" instead of it being done in
the peephole optimizer.

Gerard Goossen

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