chainmaker valgrind check #1330
Labels
bug
Something isn't working
Priority/P0
Top priority. Features that will be implemented in the latest version.
Severity/critical
Critical features.
==510686== HEAP SUMMARY:
==510686== in use at exit: 113,204 bytes in 1,538 blocks
==510686== total heap usage: 44,287 allocs, 42,749 frees, 4,622,047 bytes allocated
==510686==
==510686== 1,648 (72 direct, 1,576 indirect) bytes in 1 blocks are definitely lost in loss record 276 of 292
==510686== at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==510686== by 0x1172C6: protobuf_c_message_unpack (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x113AED: BoatChainmakerTxRequest.constprop.0 (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x114219: BoatChainmakerContractInvoke (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x110C0E: main (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686==
==510686== 2,152 (80 direct, 2,072 indirect) bytes in 1 blocks are definitely lost in loss record 281 of 292
==510686== at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==510686== by 0x1172C6: protobuf_c_message_unpack (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x1142A1: BoatChainmakerContractInvoke (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x110C0E: main (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686==
==510686== 21,884 (1,616 direct, 20,268 indirect) bytes in 1 blocks are definitely lost in loss record 290 of 292
==510686== at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==510686== by 0x4B6C09D: CRYPTO_zalloc (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
==510686== by 0x494AF24: SSL_CTX_new_ex (in /usr/lib/x86_64-linux-gnu/libssl.so.3)
==510686== by 0x128B5B: BoatTlsInit (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x1185B7: http2SubmitRequest (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x113ABF: BoatChainmakerTxRequest.constprop.0 (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x114219: BoatChainmakerContractInvoke (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x110C0E: main (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686==
==510686== 21,884 (1,616 direct, 20,268 indirect) bytes in 1 blocks are definitely lost in loss record 291 of 292
==510686== at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==510686== by 0x4B6C09D: CRYPTO_zalloc (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
==510686== by 0x494AF24: SSL_CTX_new_ex (in /usr/lib/x86_64-linux-gnu/libssl.so.3)
==510686== by 0x128B5B: BoatTlsInit (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x1185B7: http2SubmitRequest (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x113ABF: BoatChainmakerTxRequest.constprop.0 (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x1145C1: BoatChainmakerContractQuery (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x110CD5: main (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686==
==510686== 28,718 (1,616 direct, 27,102 indirect) bytes in 1 blocks are definitely lost in loss record 292 of 292
==510686== at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==510686== by 0x4B6C09D: CRYPTO_zalloc (in /usr/lib/x86_64-linux-gnu/libcrypto.so.3)
==510686== by 0x494AF24: SSL_CTX_new_ex (in /usr/lib/x86_64-linux-gnu/libssl.so.3)
==510686== by 0x128B5B: BoatTlsInit (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x1185B7: http2SubmitRequest (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x113ABF: BoatChainmakerTxRequest.constprop.0 (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x1140B3: BoatChainmakerContractInvoke (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686== by 0x110C0E: main (in /home/liu/1215_chainmaker/BoAT-X-Framework/build/demo/demo_chainmaker/demo_chainmaker_onetime)
==510686==
==510686== LEAK SUMMARY:
==510686== definitely lost: 5,000 bytes in 5 blocks
==510686== indirectly lost: 71,286 bytes in 1,495 blocks
==510686== possibly lost: 0 bytes in 0 blocks
==510686== still reachable: 36,918 bytes in 38 blocks
==510686== suppressed: 0 bytes in 0 blocks
==510686== Reachable blocks (those to which a pointer was found) are not shown.
==510686== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==510686==
==510686== For lists of detected and suppressed errors, rerun with: -s
==510686== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
The text was updated successfully, but these errors were encountered: