logo       
Google Custom Search
    AddThis Social Bookmark Button

new "warnings" during 'make test': msg#00074

Subject: new "warnings" during 'make test'
With the latest CVS I get the following two "warnings" from 'make test'
which I guess are related to Craig's fixes for the pdl cobnstructor issue
(these are with linux/ix86/perl 5.8.8):

t/core......................ok 1/26Warning: pdl_setav_Double converted
undef to  (-999) 1 time
Warning: pdl_setav_Long converted undef to  (-999) 1 time

t/slice.....................ok 1/63     (in cleanup) index out-of-bounds
in range during global destruction.
t/slice.....................ok

Running the tests individually gives:

core.t
------

ok 21 - undef converted to 0 (long)
Warning: pdl_setav_Double converted undef to  (-999) 1 time
ok 22 - undef converted to -999 (dbl)
Warning: pdl_setav_Long converted undef to  (-999) 1 time

slice.t
-------

errr, 'perl -Mblib t/slice.t' doesn't give this error.

valgrind does report a lot of errors for t/slice.t like

==6687== Invalid read of size 4
==6687==    at 0x1BE8357C: XS_PDL_assgn (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Ops/Ops.so)
==6687==    by 0x80BE6E7: Perl_pp_entersub (in /usr/bin/perl5.8.8)
==6687==    by 0x80B77AC: Perl_runops_standard (in /usr/bin/perl5.8.8)
==6687==    by 0x806B1D0: Perl_amagic_call (in /usr/bin/perl5.8.8)
==6687==    by 0x80B7F3E: Perl_pp_concat (in /usr/bin/perl5.8.8)
==6687==    by 0x80B77AC: Perl_runops_standard (in /usr/bin/perl5.8.8)
==6687==    by 0x8065F03: perl_run (in /usr/bin/perl5.8.8)
==6687==    by 0x805F8A5: main (in /usr/bin/perl5.8.8)
==6687==  Address 0x1C0A59D0 is 24 bytes inside a block of size 116 free'd
==6687==    at 0x1B900513: free (vg_replace_malloc.c:235)
==6687==    by 0x1BD320D2: pdl_trans_mallocfreeproc (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Core/Core.so)
==6687==    by 0x1BD32B55: pdl_destroytransform_nonmutual (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Core/Core.so)
==6687==    by 0x1BD3380A: pdl_make_trans_mutual (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Core/Core.so)
==6687==    by 0x1BE8357B: XS_PDL_assgn (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Ops/Ops.so)
==6687==    by 0x80BE6E7: Perl_pp_entersub (in /usr/bin/perl5.8.8)
==6687==    by 0x80B77AC: Perl_runops_standard (in /usr/bin/perl5.8.8)
==6687==    by 0x806B1D0: Perl_amagic_call (in /usr/bin/perl5.8.8)
==6687==    by 0x80B7F3E: Perl_pp_concat (in /usr/bin/perl5.8.8)
==6687==    by 0x80B77AC: Perl_runops_standard (in /usr/bin/perl5.8.8)
==6687==    by 0x8065F03: perl_run (in /usr/bin/perl5.8.8)
==6687==    by 0x805F8A5: main (in /usr/bin/perl5.8.8)
==6687==
==6687== Invalid read of size 4
==6687==    at 0x1C2B0D2D: XS_PDL_axisvalues (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Primitive/Primitive.so)
==6687==    by 0x80BE6E7: Perl_pp_entersub (in /usr/bin/perl5.8.8)
==6687==    by 0x80B77AC: Perl_runops_standard (in /usr/bin/perl5.8.8)
==6687==    by 0x8065F03: perl_run (in /usr/bin/perl5.8.8)
==6687==    by 0x805F8A5: main (in /usr/bin/perl5.8.8)
==6687==  Address 0x1C0A608C is 20 bytes inside a block of size 120 free'd
==6687==    at 0x1B900513: free (vg_replace_malloc.c:235)
==6687==    by 0x1BD320D2: pdl_trans_mallocfreeproc (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Core/Core.so)
==6687==    by 0x1BD32B55: pdl_destroytransform_nonmutual (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Core/Core.so)
==6687==    by 0x1BD3380A: pdl_make_trans_mutual (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Core/Core.so)
==6687==    by 0x1C2B0D2C: XS_PDL_axisvalues (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Primitive/Primitive.so)
==6687==    by 0x80BE6E7: Perl_pp_entersub (in /usr/bin/perl5.8.8)
==6687==    by 0x80B77AC: Perl_runops_standard (in /usr/bin/perl5.8.8)
==6687==    by 0x8065F03: perl_run (in /usr/bin/perl5.8.8)
==6687==    by 0x805F8A5: main (in /usr/bin/perl5.8.8)
==6687==
==6687== Invalid read of size 4
==6687==    at 0x1BE7A631: XS_PDL_plus (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Ops/Ops.so)
==6687==    by 0x80BE6E7: Perl_pp_entersub (in /usr/bin/perl5.8.8)
==6687==    by 0x806AEA1: Perl_amagic_call (in /usr/bin/perl5.8.8)
==6687==    by 0x80B8771: Perl_pp_add (in /usr/bin/perl5.8.8)
==6687==    by 0x80B77AC: Perl_runops_standard (in /usr/bin/perl5.8.8)
==6687==    by 0x8065F03: perl_run (in /usr/bin/perl5.8.8)
==6687==    by 0x805F8A5: main (in /usr/bin/perl5.8.8)
==6687==  Address 0x1C0BA29C is 28 bytes inside a block of size 124 free'd
==6687==    at 0x1B900513: free (vg_replace_malloc.c:235)
==6687==    by 0x1BD320D2: pdl_trans_mallocfreeproc (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Core/Core.so)
==6687==    by 0x1BD32B55: pdl_destroytransform_nonmutual (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Core/Core.so)
==6687==    by 0x1BD3380A: pdl_make_trans_mutual (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Core/Core.so)
==6687==    by 0x1BE7A630: XS_PDL_plus (in
/home/doug/code/perl/PDL/blib/arch/auto/PDL/Ops/Ops.so)
==6687==    by 0x80BE6E7: Perl_pp_entersub (in /usr/bin/perl5.8.8)
==6687==    by 0x806AEA1: Perl_amagic_call (in /usr/bin/perl5.8.8)
==6687==    by 0x80B8771: Perl_pp_add (in /usr/bin/perl5.8.8)
==6687==    by 0x80B77AC: Perl_runops_standard (in /usr/bin/perl5.8.8)
==6687==    by 0x8065F03: perl_run (in /usr/bin/perl5.8.8)
==6687==    by 0x805F8A5: main (in /usr/bin/perl5.8.8)
==6687==

etc but I don't know if this is related

Doug



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>