Leo wrote:
> Fixed.
>
> The code in smallobject.c that allocates new buffer memory did assume
> that it gets zeroed memory, which of course depends on the OS and the
> arena size. Now C, which is used during GC, is cleared
> explicitely.
Yup, that fixed it. Thanks!
Allison
Looks very much like my bug 29246, and a very similar example.
Nick
Allison Randal wrote:
This is the smallest bit of code I could get to segfault in my linux
dev box:
sub main () {
my $string =
"*
Allison Randal <[EMAIL PROTECTED]> wrote:
> #0 0x401571b7 in memcpy () from /lib/libc.so.6
> #1 0x08158c41 in compact_pool (interpreter=0x82ebf90, pool=0x82ec770)
> at src/resources.c:341
Fixed.
The code in smallobject.c that allocates new buffer memory did assume
that it gets zeroed memory
Alex Gutteridge wrote:
>
> The example Perl6 'Game of Life' program
> (parrot/languages/perl6/examples/life.p6) is broken. As it stands it
> doesn't parse correctly but this is easily fixed by adding the correct
> string concatenation operator '~':
I've checked in your update to the concat operat
# New Ticket Created by Alex Gutteridge
# Please include the string: [perl #29509]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=29509 >
Hi,
The example Perl6 'Game of Life' program
(parrot/languages/perl6/examples/lif