develooper Front page | perl.perl5.porters | Postings from June 2003

Re: your malloc patches

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
June 27, 2003 02:03
Subject:
Re: your malloc patches
Message ID:
20030627090345.GA8591@math.berkeley.edu
On Fri, Jun 20, 2003 at 01:37:13PM +0300, Jarkko Hietaniemi wrote:
> Which evaluates to -12, which looks to be the 18446744073709551604
> received by the cmp_pat_4bytes().  This is what the ovp looks like:
> 
> (dbx) p *ovp
> union {
>     ov_next = 0x55555555000dff04
>     strut = 1.1945302445456924e+103
>     ovu = struct {
>         ovu_index = '^D'
>         ovu_magic = '\377'
>         ovu_size = 13
>         ovu_rmagic = 1431655765
>     }
> }

There are the following issues:

 a) with -DFILL_DEAD_DEFAULT=0 -DFILL_ALIVE_DEFAULT=0 -DFILL_CHECK_DEFAULT=0
    (added through Configure on Tru64) it should run OK;

 b) with

	env PERL_MALLOC_OPT="d=1;a=1;c=1" perl ...

    the failure should reappear; my conjecture would be that just
    d=1;a=1 would not trigger the failure.

 c) a dump of 32 bytes after (and before) ovp might clear things a tiny bit.

[I do not think that I have time to muck with True64 account; so if
'a' works, maybe it is better to lieve the sleeping dog lie...]

Thanks,
Ilya

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About