btw, I've re-checked docs and the pod says that code refs are not fully
supported & these will generate "warnings". However it just crashes
perl...
03 Mar. 2008 Pzt., 17:39:48 tarihinde, BURAK yazdı:
Show quoted text> This is also happening to me on XP Pro SP2:
>
> C:\>perl -wle "use strict;use Devel::Size qw(total_size);my$t=sub
> {my$x='';};print total_size($t);"
> 3624
> Free to wrong pool 275d78 not 275dc0.
>
> C:\>perl -v
>
> This is perl, v5.8.8 built for MSWin32-x86-multi-thread
> (with 18 registered patches, see perl -V for more detail)
>
> Copyright 1987-2007, Larry Wall
>
> Binary build 822 [280952] provided by ActiveState
>
http://www.ActiveState.com
> Built Jul 31 2007 19:34:48
>
> Perl may be copied only under the terms of either the Artistic
License
Show quoted text> or the
> GNU General Public License, which may be found in the Perl 5 source
kit.
Show quoted text>
> Complete documentation for Perl, including FAQ lists, should be found
on
Show quoted text> this system using "man perl" or "perldoc perl". If you have access
to
Show quoted text> the
> Internet, point your browser at
http://www.perl.org/, the Perl Home
> Page.
>
>
> C:\>perl -MDevel::Size -e "print Devel::Size->VERSION"
> 0.69
> C:\>
>
>
> ALso confirmed on linux:
>
>
> $ perl -wle 'use strict;use Devel::Size qw(total_size);my$t=sub
> {my$x="";};print total_size($t);'
> 3674
> *** glibc detected *** free(): invalid pointer: 0x096043d4 ***
> Aborted
>
>
> Fedora Linux 3 (kernel: 2.6.9-1.667smp)
>
> $ perl -v
>
> This is perl, v5.8.5 built for i686-linux
>
> Copyright 1987-2004, Larry Wall
>
> Perl may be copied only under the terms of either the Artistic
License
Show quoted text> or the
> GNU General Public License, which may be found in the Perl 5 source
kit.
Show quoted text>
> Complete documentation for Perl, including FAQ lists, should be found
on
Show quoted text> this system using `man perl' or `perldoc perl'. If you have access
to
Show quoted text> the
> Internet, point your browser at
http://www.perl.com/, the Perl Home
> Page.
>
>
>
>
>
>
>
> 03 Mar. 2007 Cmt., 10:30:47 tarihinde, TELS yazdı:
> > Does this still happen with the latest release? I do not have
windows
Show quoted text> > and cannot test this.
> >
> > Thank you for your report,
> >
> > Tels
>