[uClibc] perl-uclibc bug?

eugen eugen at sealite.ro
Tue Sep 30 23:40:28 UTC 2003


hi Erik,

i try to build perl in your latest buildroot -- package --uclibc-- 0.9.21+
and i test Data::Dumper with a simple script...
-----------------------
#!/usr/bin/perl
use Data::Dumper;
package Foo;
sub new {bless {'a' => 1, 'b' => sub { return "foo" }}, $_[0]};

package Fuz;                       # a weird REF-REF-SCALAR object
sub new {bless \($_ = \ 'fu\'z'), $_[0]};

package main;
$foo = Foo->new;
$fuz = Fuz->new;
$boo = [ 1, [], "abcd", \*foo,
       {1 => 'a', 023 => 'b', 0x45 => 'c'},
        \\"p\q\'r", $foo, $fuz];
-----------------------


from here
http://www.sunsite.ualberta.ca/Documentation/Misc/perl-5.6.1/ext/Data/Dumper/Dumper.html#examples 



the result was SIGSEGV....
it is a bug in uclibc ?




More information about the uClibc mailing list