Skip Menu |

This queue is for tickets about the Thread-Bless CPAN distribution.

Report information
The Basics
Id: 72205
Status: new
Priority: 0/
Queue: Thread-Bless

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Tests failures in perl 5.13.2+
This commit stopped data structures from being cloned into threads unnecessarily: commit 05d04d9c74ee968bace5e063c9ded74f94b3df24 Author: Nicholas Clark <nick@ccl4.org> Date: Thu Feb 25 21:35:39 2010 +0000 Don't clone the contents of lexicals in pads. This stops the values of lexicals in active stack frames in the parent leaking into the lexicals in the child thread. With an exception for lexicals with a reference count of > 1, to cope with the implementation of ?{{ ... }} blocks in regexps. :-( That breaks some of your tests, which seem a bit too sensitive, such as this one in Bless01.t: $count = 0; eval { my $object = NoBless->new; threads->new( sub {1} )->join foreach 1..5; }; ok (!$@, "Threads with NoBless object: $@" ); is( $count,6,"Check # of destroys of NoBless, with threads" );