You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Jeff Laughlin <je...@gmail.com> on 2010/03/29 01:01:25 UTC

0.6 valgrind errors

make check asked me to send these valgrind errors to this address. Enjoy.

FWIW: Linux kamikaze 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009
i686 GNU/Linux

Valgrind error log in unit_test.vglog.
==32489== Memcheck, a memory error detector.
==32489== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==32489== Using LibVEX rev 1854, a library for dynamic binary translation.
==32489== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==32489== Using valgrind-3.3.1-Debian, a dynamic binary
instrumentation framework.
==32489== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==32489== For more details, rerun with: -v
==32489==
==32489== My PID = 32489, parent PID = 32484.  Prog and args are:
==32489==    /home/jlaughlin/qpid_0.6/qpidc-0.6/src/tests/.libs/lt-unit_test
==32489==
==32489== Invalid free() / delete / delete[]
==32489==    at 0x4022B8A: free (vg_replace_malloc.c:323)
==32489==    by 0x473EBBB: (within /lib/i686/cmov/libc-2.7.so)
==32489==    by 0x473E6C9: __libc_freeres (in /lib/i686/cmov/libc-2.7.so)
==32489==    by 0x401E216: _vgnU_freeres (vg_preloaded.c:60)
==32489==    by 0x46B5273: _Exit (in /lib/i686/cmov/libc-2.7.so)
==32489==    by 0x462F45C: (below main) (in /lib/i686/cmov/libc-2.7.so)
==32489==  Address 0x4b29318 is not stack'd, malloc'd or (recently) free'd
==32489==
==32489== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 216 from 3)
==32489== malloc/free: in use at exit: 1,091 bytes in 6 blocks.
==32489== malloc/free: 195,834 allocs, 195,829 frees, 249,649,879
bytes allocated.
==32489== For counts of detected errors, rerun with: -v
==32489== searching for pointers to 6 not-freed blocks.
==32489== checked 448,220 bytes.
==32489==
==32489== LEAK SUMMARY:
==32489==    definitely lost: 0 bytes in 0 blocks.
==32489==      possibly lost: 0 bytes in 0 blocks.
==32489==    still reachable: 1,091 bytes in 6 blocks.
==32489==         suppressed: 0 bytes in 0 blocks.
==32489== Reachable blocks (those to which a pointer was found) are not shown.
==32489== To see them, rerun with: --leak-check=full --show-reachable=yes
Valgrind reported errors in unit_test.vglog; see above.
FAIL: unit_test
No certutil, skipping ssl test
PASS: ssl_test
PASS: start_broker
Valgrind error log in client_test.vglog.
==475== Memcheck, a memory error detector.
==475== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==475== Using LibVEX rev 1854, a library for dynamic binary translation.
==475== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==475== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==475== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==475== For more details, rerun with: -v
==475==
==475== My PID = 475, parent PID = 469.  Prog and args are:
==475==    /home/jlaughlin/qpid_0.6/qpidc-0.6/src/tests/.libs/lt-client_test
==475==
==475== Invalid free() / delete / delete[]
==475==    at 0x4022B8A: free (vg_replace_malloc.c:323)
==475==    by 0x43EFBBB: (within /lib/i686/cmov/libc-2.7.so)
==475==    by 0x43EF6C9: __libc_freeres (in /lib/i686/cmov/libc-2.7.so)
==475==    by 0x401E216: _vgnU_freeres (vg_preloaded.c:60)
==475==    by 0x4366273: _Exit (in /lib/i686/cmov/libc-2.7.so)
==475==    by 0x42E045C: (below main) (in /lib/i686/cmov/libc-2.7.so)
==475==  Address 0x4296e60 is not stack'd, malloc'd or (recently) free'd
==475==
==475== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 151 from 2)
==475== malloc/free: in use at exit: 20 bytes in 1 blocks.
==475== malloc/free: 3,318 allocs, 3,318 frees, 2,365,442 bytes allocated.
==475== For counts of detected errors, rerun with: -v
==475== searching for pointers to 1 not-freed blocks.
==475== checked 279,232 bytes.
==475==
==475== LEAK SUMMARY:
==475==    definitely lost: 0 bytes in 0 blocks.
==475==      possibly lost: 0 bytes in 0 blocks.
==475==    still reachable: 20 bytes in 1 blocks.
==475==         suppressed: 0 bytes in 0 blocks.
==475== Reachable blocks (those to which a pointer was found) are not shown.
==475== To see them, rerun with: --leak-check=full --show-reachable=yes
Valgrind reported errors in client_test.vglog; see above.
FAIL: client_test
592.811	171.708	514.261	0.502208
Valgrind error log in perftest.vglog.
==554== Memcheck, a memory error detector.
==554== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==554== Using LibVEX rev 1854, a library for dynamic binary translation.
==554== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==554== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==554== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==554== For more details, rerun with: -v
==554==
==554== My PID = 554, parent PID = 540.  Prog and args are:
==554==    /home/jlaughlin/qpid_0.6/qpidc-0.6/src/tests/.libs/lt-perftest
==554==    --summary
==554==    --count
==554==    100
==554==
==554== Invalid free() / delete / delete[]
==554==    at 0x4022B8A: free (vg_replace_malloc.c:323)
==554==    by 0x43EFBBB: (within /lib/i686/cmov/libc-2.7.so)
==554==    by 0x43EF6C9: __libc_freeres (in /lib/i686/cmov/libc-2.7.so)
==554==    by 0x401E216: _vgnU_freeres (vg_preloaded.c:60)
==554==    by 0x4366273: _Exit (in /lib/i686/cmov/libc-2.7.so)
==554==    by 0x42E045C: (below main) (in /lib/i686/cmov/libc-2.7.so)
==554==  Address 0x4296e60 is not stack'd, malloc'd or (recently) free'd
==554==
==554== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 151 from 2)
==554== malloc/free: in use at exit: 20 bytes in 1 blocks.
==554== malloc/free: 6,564 allocs, 6,564 frees, 9,443,187 bytes allocated.
==554== For counts of detected errors, rerun with: -v
==554== searching for pointers to 1 not-freed blocks.
==554== checked 279,424 bytes.
==554==
==554== LEAK SUMMARY:
==554==    definitely lost: 0 bytes in 0 blocks.
==554==      possibly lost: 0 bytes in 0 blocks.
==554==    still reachable: 20 bytes in 1 blocks.
==554==         suppressed: 0 bytes in 0 blocks.
==554== Reachable blocks (those to which a pointer was found) are not shown.
==554== To see them, rerun with: --leak-check=full --show-reachable=yes
Valgrind reported errors in perftest.vglog; see above.
FAIL: quick_perftest
PASS: quick_topictest
Skipping header test as python libs not found
PASS: run_header_test
All expected messages were retrieved.
Valgrind error log in txtest.vglog.
==750== Memcheck, a memory error detector.
==750== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==750== Using LibVEX rev 1854, a library for dynamic binary translation.
==750== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==750== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==750== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==750== For more details, rerun with: -v
==750==
==750== My PID = 750, parent PID = 736.  Prog and args are:
==750==    /home/jlaughlin/qpid_0.6/qpidc-0.6/src/tests/.libs/lt-txtest
==750==    --queues
==750==    4
==750==    --tx-count
==750==    10
==750==    --quiet
==750==
==750== Invalid free() / delete / delete[]
==750==    at 0x4022B8A: free (vg_replace_malloc.c:323)
==750==    by 0x43EFBBB: (within /lib/i686/cmov/libc-2.7.so)
==750==    by 0x43EF6C9: __libc_freeres (in /lib/i686/cmov/libc-2.7.so)
==750==    by 0x401E216: _vgnU_freeres (vg_preloaded.c:60)
==750==    by 0x4366273: _Exit (in /lib/i686/cmov/libc-2.7.so)
==750==    by 0x42E045C: (below main) (in /lib/i686/cmov/libc-2.7.so)
==750==  Address 0x4296e60 is not stack'd, malloc'd or (recently) free'd
==750==
==750== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 151 from 2)
==750== malloc/free: in use at exit: 20 bytes in 1 blocks.
==750== malloc/free: 6,609 allocs, 6,609 frees, 11,428,340 bytes allocated.
==750== For counts of detected errors, rerun with: -v
==750== searching for pointers to 1 not-freed blocks.
==750== checked 279,440 bytes.
==750==
==750== LEAK SUMMARY:
==750==    definitely lost: 0 bytes in 0 blocks.
==750==      possibly lost: 0 bytes in 0 blocks.
==750==    still reachable: 20 bytes in 1 blocks.
==750==         suppressed: 0 bytes in 0 blocks.
==750== Reachable blocks (those to which a pointer was found) are not shown.
==750== To see them, rerun with: --leak-check=full --show-reachable=yes
Valgrind reported errors in txtest.vglog; see above.
FAIL: quick_txtest
Skipping python tests, no python dir.
PASS: python_tests
PASS: stop_broker
PASS: run_federation_tests
PASS: run_acl_tests
PASS: run_cli_tests
Skipping replication test, plugins not built or python utils not located
PASS: replication_test
====================================
4 of 14 tests failed
Please report to dev@qpid.apache.org
====================================


-- 
73 de n1ywb

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Re: 0.6 valgrind errors

Posted by Andrew Stitcher <as...@redhat.com>.
On Sun, 2010-03-28 at 19:01 -0400, Jeff Laughlin wrote:
> make check asked me to send these valgrind errors to this address. Enjoy.
> 
> FWIW: Linux kamikaze 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009
> i686 GNU/Linux

You haven't given quite enough information:

What version of the qpid code caused this?
(If from the svn repo which branch/revision)

Exactly which version of Linux is this? distro etc.


[FWIW this looks like an issue in the c library rather than in the qpid
code, but it's hard to tell]

Andrew



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org