logo       

Re: new "warnings" during 'make test': msg#00076

Subject: Re: new "warnings" during 'make test'
Hmm, the invalid read seems to be related to reading

  __privtrans->bvalflag

after calling

  PDL->make_trans_mutual((pdl_trans *)__privtrans);

which is about as much as I have time to investigate just now.

Doug

On Fri, 21 Jul 2006, Douglas Burke wrote:

> 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
>
>
> _______________________________________________
> PDL-porters mailing list
> PDL-porters@xxxxxxxxxxxxxxx
> http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe