Created
July 3, 2011 14:53
-
-
Save justmoon/1062294 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
moon@clymene:/atlas/www/node-bitcoin-p2p$ valgrind -- node test/util.js | |
==2201== Memcheck, a memory error detector | |
==2201== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. | |
==2201== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info | |
==2201== Command: node test/util.js | |
==2201== | |
·==2201== Invalid read of size 4 | |
==2201== at 0x4101A3E: BN_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x8043EA8: base58_encode(v8::Arguments const&) (native.cc:214) | |
==2201== by 0x81AA79D: v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) (in /usr/local/bin/node) | |
==2201== Address 0x8f13e88 is 0 bytes inside a block of size 20 free'd | |
==2201== at 0x4025BF0: free (vg_replace_malloc.c:366) | |
==2201== by 0x40D7D09: CRYPTO_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x4101A7E: BN_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x8043E87: base58_encode(v8::Arguments const&) (native.cc:211) | |
==2201== by 0x81AA79D: v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) (in /usr/local/bin/node) | |
==2201== | |
==2201== Invalid read of size 4 | |
==2201== at 0x4101A44: BN_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x8043EA8: base58_encode(v8::Arguments const&) (native.cc:214) | |
==2201== by 0x81AA79D: v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) (in /usr/local/bin/node) | |
==2201== Address 0x8f13e98 is 16 bytes inside a block of size 20 free'd | |
==2201== at 0x4025BF0: free (vg_replace_malloc.c:366) | |
==2201== by 0x40D7D09: CRYPTO_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x4101A7E: BN_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x8043E87: base58_encode(v8::Arguments const&) (native.cc:211) | |
==2201== by 0x81AA79D: v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) (in /usr/local/bin/node) | |
==2201== | |
==2201== Invalid free() / delete / delete[] | |
==2201== at 0x4025BF0: free (vg_replace_malloc.c:366) | |
==2201== by 0x40D7D09: CRYPTO_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x4101A6F: BN_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x8043EA8: base58_encode(v8::Arguments const&) (native.cc:214) | |
==2201== by 0x81AA79D: v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) (in /usr/local/bin/node) | |
==2201== Address 0x8f14308 is 0 bytes inside a block of size 32 free'd | |
==2201== at 0x4025BF0: free (vg_replace_malloc.c:366) | |
==2201== by 0x40D7D09: CRYPTO_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x4101A6F: BN_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x8043E87: base58_encode(v8::Arguments const&) (native.cc:211) | |
==2201== by 0x81AA79D: v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) (in /usr/local/bin/node) | |
==2201== | |
==2201== Invalid read of size 4 | |
==2201== at 0x4101A70: BN_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x8043EA8: base58_encode(v8::Arguments const&) (native.cc:214) | |
==2201== by 0x81AA79D: v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) (in /usr/local/bin/node) | |
==2201== Address 0x8f13e98 is 16 bytes inside a block of size 20 free'd | |
==2201== at 0x4025BF0: free (vg_replace_malloc.c:366) | |
==2201== by 0x40D7D09: CRYPTO_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x4101A7E: BN_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x8043E87: base58_encode(v8::Arguments const&) (native.cc:211) | |
==2201== by 0x81AA79D: v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) (in /usr/local/bin/node) | |
==2201== | |
==2201== Invalid free() / delete / delete[] | |
==2201== at 0x4025BF0: free (vg_replace_malloc.c:366) | |
==2201== by 0x40D7D09: CRYPTO_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x4101A7E: BN_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x8043EA8: base58_encode(v8::Arguments const&) (native.cc:214) | |
==2201== by 0x81AA79D: v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) (in /usr/local/bin/node) | |
==2201== Address 0x8f13e88 is 0 bytes inside a block of size 20 free'd | |
==2201== at 0x4025BF0: free (vg_replace_malloc.c:366) | |
==2201== by 0x40D7D09: CRYPTO_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x4101A7E: BN_free (in /lib/libcrypto.so.0.9.8) | |
==2201== by 0x8043E87: base58_encode(v8::Arguments const&) (native.cc:211) | |
==2201== by 0x81AA79D: v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) (in /usr/local/bin/node) | |
==2201== | |
·· | |
✓ OK » 3 honored (1.168s) | |
==2201== | |
==2201== HEAP SUMMARY: | |
==2201== in use at exit: 140,753 bytes in 2,492 blocks | |
==2201== total heap usage: 22,607 allocs, 20,117 frees, 16,682,780 bytes allocated | |
==2201== | |
==2201== LEAK SUMMARY: | |
==2201== definitely lost: 612 bytes in 41 blocks | |
==2201== indirectly lost: 49,212 bytes in 4 blocks | |
==2201== possibly lost: 0 bytes in 0 blocks | |
==2201== still reachable: 90,929 bytes in 2,447 blocks | |
==2201== suppressed: 0 bytes in 0 blocks | |
==2201== Rerun with --leak-check=full to see details of leaked memory | |
==2201== | |
==2201== For counts of detected and suppressed errors, rerun with: -v | |
==2201== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 39 from 8) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment