develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [perl #24463] DBI tests fail with perl 5.8.2 and -Duseithreads -Dusemultiplicity -Duse64bitint

Thread Previous | Thread Next
Rafael Garcia-Suarez
November 12, 2003 22:58
Re: [perl #24463] DBI tests fail with perl 5.8.2 and -Duseithreads -Dusemultiplicity -Duse64bitint
Message ID:
Enache Adrian wrote:
> Change 21589 broke it.
> It adds a
> 	PERL_SET_CONTEXT(proto_perl)
> in the perl_clone_using function (sv.c:109999).
> So when the CLONE method from the DBI stash is called (at sv.c:11658),
> it will get (via the dSP, etc macros) the PL_stack_base, PL_stack_sp
> pointers _not_ from the new interpreter (my_perl), but from the old one
> (the proto_perl in sv.c).
> Fortunately this should happen only with -DDEBUGGING builds.
> I have no idea why that PERL_SET_CONTEXT has been put there. The
> change description says something about eggs and chickens. That kind
> of problems go far beyond my understanding.

Well, the original problem is at

In fact what was wanted (and implemented by this patch) is the ability to
access the PerlIO API early during the cloning -- to be used by debugging
flags (-D) for example.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About