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

[perl #40565] Windows fork emulation's child pseudo process cannot restore local scalar values

From:
Christa Jocelyn via RT
Date:
May 3, 2015 18:17
Subject:
[perl #40565] Windows fork emulation's child pseudo process cannot restore local scalar values
Message ID:
rt-4.0.18-9121-1430638545-1793.40565-14-0@perl.org
On Wed Apr 08 04:55:58 2015, arisadam74@gmail.com wrote:
> I think the issue is not so much Perl_save_scalar incrementing the ref
> count of the scalar , as of S_save_scalar_at() failing to decrement
> the refcount of the SV when it removes it from the GvSV slot. I
> suspect (although this is based on a cursory look at the issue) that
> making S_save_scalar_at() decrement the refcnt if it removed the SV
> from
> the slot, and then incrementing the refcount when the SV is restored
> to
> the slot, would make the problem go away - and not require a hack in
> dup_ss().
> 
> Thanks !
> Kalegley
> [http://www.acalculator.com Website]






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