Mark Dootson <mark.doot...@znix.com> writes:

> Would it be possible to extract and post an example of code that core
> dumps? I'd like to check if this is a Wx problem that can be fixed.

Found it!

    #! perl
    use threads;
    use threads::shared;
    use Wx;
    #binmode( STDOUT, ':encoding(utf8)' );
    my $worker = threads->create( sub { warn "Hello, World!\n" } );

Uncomment the line with binmode and crash!
This happens with CitrusPerl 5.16.3, Wx 2.8 and 2.9.

It does not crash when the binmode is ':utf8' so the suspect if
Encoding.pm...

-- Johan

Reply via email to