On Sat, Feb 19, 2005 at 02:20:28AM -0000, Stas Bekman wrote:
> We have yet another chicken-n-egg problem with perl_clone. If you do a
> simple:
> 
> use threads;
> my $thread = threads->create(sub {}, undef)
> 
> and STDOUT is opened to some PerlIO layer, an attempt to clone it will be
> performed. The problem is that this cloning happens too early:

do you have a complete script that reproduces this?

something simple like 
    binmode STDOUT, ':utf8';
didn't segfault


-- 
Counsellor Troi states something other than the blindingly obvious.
    -- Things That Never Happen in "Star Trek" #16

Reply via email to