| 1 |
|
| 2 |
valgrind output will go to log |
| 3 |
VALGRIND_DO_LEAK_CHECK |
| 4 |
x bytes in 1 blocks are definitely lost in loss record ... of ... |
| 5 |
by 0x........: doit() (leak_cpp_interior.cpp:119) |
| 6 |
by 0x........: main (leak_cpp_interior.cpp:134) |
| 7 |
|
| 8 |
LEAK SUMMARY: |
| 9 |
definitely lost: x bytes in 1 blocks |
| 10 |
indirectly lost: 0 bytes in 0 blocks |
| 11 |
possibly lost: 0 bytes in 0 blocks |
| 12 |
still reachable: x bytes in 6 blocks |
| 13 |
of which reachable via heuristic: |
| 14 |
length64 : x bytes in 1 blocks |
| 15 |
newarray : x bytes in 1 blocks |
| 16 |
multipleinheritance: x bytes in 2 blocks |
| 17 |
Reachable blocks (those to which a pointer was found) are not shown. |
| 18 |
To see them, rerun with: --leak-check=full --show-leak-kinds=all |
| 19 |
|
| 20 |
leak_check summary heuristics multipleinheritance |
| 21 |
LEAK SUMMARY: |
| 22 |
definitely lost: x (+0) bytes in 1 (+0) blocks |
| 23 |
indirectly lost: 0 (+0) bytes in 0 (+0) blocks |
| 24 |
possibly lost: x (+x) bytes in 2 (+2) blocks |
| 25 |
still reachable: x (-x) bytes in 4 (-2) blocks |
| 26 |
of which reachable via heuristic: |
| 27 |
length64 : 0 (-x) bytes in 0 (-1) blocks |
| 28 |
newarray : 0 (-x) bytes in 0 (-1) blocks |
| 29 |
multipleinheritance: x (+0) bytes in 2 (+0) blocks |
| 30 |
To see details of leaked memory, give 'full' arg to leak_check |
| 31 |
|
| 32 |
leak_check summary any heuristics newarray |
| 33 |
LEAK SUMMARY: |
| 34 |
definitely lost: x (+0) bytes in 1 (+0) blocks |
| 35 |
indirectly lost: 0 (+0) bytes in 0 (+0) blocks |
| 36 |
possibly lost: x (-x) bytes in 2 (+0) blocks |
| 37 |
still reachable: x (+x) bytes in 4 (+0) blocks |
| 38 |
of which reachable via heuristic: |
| 39 |
newarray : x (+x) bytes in 2 (+2) blocks |
| 40 |
multipleinheritance: 0 (-x) bytes in 0 (-2) blocks |
| 41 |
To see details of leaked memory, give 'full' arg to leak_check |
| 42 |
|
| 43 |
leak_check summary heuristics length64 |
| 44 |
LEAK SUMMARY: |
| 45 |
definitely lost: x (+0) bytes in 1 (+0) blocks |
| 46 |
indirectly lost: 0 (+0) bytes in 0 (+0) blocks |
| 47 |
possibly lost: x (+x) bytes in 3 (+1) blocks |
| 48 |
still reachable: x (-x) bytes in 3 (-1) blocks |
| 49 |
of which reachable via heuristic: |
| 50 |
length64 : x (+x) bytes in 1 (+1) blocks |
| 51 |
newarray : 0 (-x) bytes in 0 (-2) blocks |
| 52 |
To see details of leaked memory, give 'full' arg to leak_check |
| 53 |
|
| 54 |
leak_check summary heuristics stdstring |
| 55 |
LEAK SUMMARY: |
| 56 |
definitely lost: x (+0) bytes in 1 (+0) blocks |
| 57 |
indirectly lost: 0 (+0) bytes in 0 (+0) blocks |
| 58 |
possibly lost: x (+x) bytes in 4 (+1) blocks |
| 59 |
still reachable: x (-x) bytes in 2 (-1) blocks |
| 60 |
of which reachable via heuristic: |
| 61 |
length64 : 0 (-x) bytes in 0 (-1) blocks |
| 62 |
To see details of leaked memory, give 'full' arg to leak_check |
| 63 |
|
| 64 |
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64 |
| 65 |
LEAK SUMMARY: |
| 66 |
definitely lost: x (+0) bytes in 1 (+0) blocks |
| 67 |
indirectly lost: 0 (+0) bytes in 0 (+0) blocks |
| 68 |
possibly lost: 0 (-x) bytes in 0 (-4) blocks |
| 69 |
still reachable: x (+x) bytes in 6 (+4) blocks |
| 70 |
of which reachable via heuristic: |
| 71 |
length64 : x (+x) bytes in 1 (+1) blocks |
| 72 |
newarray : x (+x) bytes in 1 (+1) blocks |
| 73 |
multipleinheritance: x (+x) bytes in 2 (+2) blocks |
| 74 |
To see details of leaked memory, give 'full' arg to leak_check |
| 75 |
|
| 76 |
leak_check summary heuristics all |
| 77 |
LEAK SUMMARY: |
| 78 |
definitely lost: x (+0) bytes in 1 (+0) blocks |
| 79 |
indirectly lost: 0 (+0) bytes in 0 (+0) blocks |
| 80 |
possibly lost: 0 (+0) bytes in 0 (+0) blocks |
| 81 |
still reachable: x (+0) bytes in 6 (+0) blocks |
| 82 |
of which reachable via heuristic: |
| 83 |
length64 : x (+0) bytes in 1 (+0) blocks |
| 84 |
newarray : x (+0) bytes in 1 (+0) blocks |
| 85 |
multipleinheritance: x (+0) bytes in 2 (+0) blocks |
| 86 |
To see details of leaked memory, give 'full' arg to leak_check |
| 87 |
|
| 88 |
leak_check summary heuristics none |
| 89 |
LEAK SUMMARY: |
| 90 |
definitely lost: x (+0) bytes in 1 (+0) blocks |
| 91 |
indirectly lost: 0 (+0) bytes in 0 (+0) blocks |
| 92 |
possibly lost: x (+x) bytes in 4 (+4) blocks |
| 93 |
still reachable: x (-x) bytes in 2 (-4) blocks |
| 94 |
of which reachable via heuristic: |
| 95 |
length64 : 0 (-x) bytes in 0 (-1) blocks |
| 96 |
newarray : 0 (-x) bytes in 0 (-1) blocks |
| 97 |
multipleinheritance: 0 (-x) bytes in 0 (-2) blocks |
| 98 |
To see details of leaked memory, give 'full' arg to leak_check |
| 99 |
|
| 100 |
Searching for pointers pointing in x bytes from 0x........ |
| 101 |
*0x........ interior points at x bytes inside 0x........ |
| 102 |
Address 0x........ is 0 bytes inside data symbol "ptr" |
| 103 |
block at 0x........ considered reachable by ptr 0x........ using newarray heuristic |
| 104 |
Searching for pointers pointing in x bytes from 0x........ |
| 105 |
*0x........ interior points at x bytes inside 0x........ |
| 106 |
Address 0x........ is 0 bytes inside data symbol "ptr" |
| 107 |
block at 0x........ considered reachable by ptr 0x........ using newarray heuristic |
| 108 |
destruct MyClass |
| 109 |
destruct MyClass |
| 110 |
destruct MyClass |
| 111 |
destruct Ce |
| 112 |
destruct Be |
| 113 |
destruct Ae |
| 114 |
destruct Ce |
| 115 |
destruct Be |
| 116 |
destruct Ae |
| 117 |
destruct C |
| 118 |
destruct B |
| 119 |
destruct A |
| 120 |
destruct C |
| 121 |
destruct B |
| 122 |
destruct A |
| 123 |
Finished! |
| 124 |
|
| 125 |
HEAP SUMMARY: |
| 126 |
in use at exit: 0 bytes in 0 blocks |
| 127 |
|
| 128 |
All heap blocks were freed -- no leaks are possible |
| 129 |
|
| 130 |
For lists of detected and suppressed errors, rerun with: -s |
| 131 |
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) |