-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Running the memcheck tests I got this:
==14159== Memcheck, a memory error detector
==14159== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==14159== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==14159== Command: /home/tst/Work/JBoss/infinispan-cpp-client/build/unittest
==14159== Parent PID: 14158
==14159==
==14159==
==14159== HEAP SUMMARY:
==14159== in use at exit: 17,193,098 bytes in 503,432 blocks
==14159== total heap usage: 1,008,205 allocs, 504,773 frees, 68,012,911 bytes allocated
==14159==
==14159== 16 bytes in 1 blocks are possibly lost in loss record 10 of 87
==14159== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14159== by 0x4EF1EA2: CodecInvoker::CodecInvoker(infinispan::hotrod::protocol::Codec10*) (in /home/tst/Work/JBoss/infinispan-cpp-client/build/libhotrod.so.1.0)
==14159== by 0x4EF16B3: runConcurrentCodecWritesTest() (in /home/tst/Work/JBoss/infinispan-cpp-client/build/libhotrod.so.1.0)
==14159== by 0x400C99: main (in /home/tst/Work/JBoss/infinispan-cpp-client/build/unittest)
==14159==
==14159== 16 bytes in 1 blocks are possibly lost in loss record 11 of 87
==14159== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14159== by 0x4EF1EC4: CodecInvoker::CodecInvoker(infinispan::hotrod::protocol::Codec10*) (in /home/tst/Work/JBoss/infinispan-cpp-client/build/libhotrod.so.1.0)
==14159== by 0x4EF16B3: runConcurrentCodecWritesTest() (in /home/tst/Work/JBoss/infinispan-cpp-client/build/libhotrod.so.1.0)
==14159== by 0x400C99: main (in /home/tst/Work/JBoss/infinispan-cpp-client/build/unittest)
==14159==
==14159== 40 bytes in 1 blocks are possibly lost in loss record 32 of 87
==14159== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14159== by 0x4EF16A1: runConcurrentCodecWritesTest() (in /home/tst/Work/JBoss/infinispan-cpp-client/build/libhotrod.so.1.0)
==14159== by 0x400C99: main (in /home/tst/Work/JBoss/infinispan-cpp-client/build/unittest)
==14159==
==14159== 64 bytes in 1 blocks are possibly lost in loss record 43 of 87
==14159== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14159== by 0x4EF1EE1: CodecInvoker::CodecInvoker(infinispan::hotrod::protocol::Codec10*) (in /home/tst/Work/JBoss/infinispan-cpp-client/build/libhotrod.so.1.0)
==14159== by 0x4EF16B3: runConcurrentCodecWritesTest() (in /home/tst/Work/JBoss/infinispan-cpp-client/build/libhotrod.so.1.0)
==14159== by 0x400C99: main (in /home/tst/Work/JBoss/infinispan-cpp-client/build/unittest)
==14159==
==14159== 17,112,608 (5,033,120 direct, 12,079,488 indirect) bytes in 125,828 blocks are definitely lost in loss record 87 of 87
==14159== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14159== by 0x4EF16A1: runConcurrentCodecWritesTest() (in /home/tst/Work/JBoss/infinispan-cpp-client/build/libhotrod.so.1.0)
==14159== by 0x400C99: main (in /home/tst/Work/JBoss/infinispan-cpp-client/build/unittest)
==14159==
==14159== LEAK SUMMARY:
==14159== definitely lost: 5,033,120 bytes in 125,828 blocks
==14159== indirectly lost: 12,079,488 bytes in 377,484 blocks
==14159== possibly lost: 136 bytes in 4 blocks
==14159== still reachable: 80,354 bytes in 116 blocks
==14159== suppressed: 0 bytes in 0 blocks
==14159== Reachable blocks (those to which a pointer was found) are not shown.
==14159== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==14159==
==14159== For counts of detected and suppressed errors, rerun with: -v
==14159== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)