philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 1 | |
| 2 | All heap blocks were freed -- no leaks are possible |
| 3 | |
| 4 | expecting no leaks |
| 5 | LEAK SUMMARY: |
| 6 | definitely lost: 0 bytes in 0 blocks |
| 7 | indirectly lost: 0 bytes in 0 blocks |
| 8 | possibly lost: 0 bytes in 0 blocks |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 9 | still reachable: 201,000 bytes in 2 blocks |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 10 | suppressed: 0 bytes in 0 blocks |
| 11 | Reachable blocks (those to which a pointer was found) are not shown. |
philippe | 2193a7c | 2012-12-08 17:54:16 +0000 | [diff] [blame] | 12 | To see them, rerun with: --leak-check=full --show-leak-kinds=all |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 13 | |
| 14 | expecting a leak |
| 15 | 1,000 bytes in 1 blocks are definitely lost in loss record ... of ... |
| 16 | at 0x........: malloc (vg_replace_malloc.c:...) |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 17 | by 0x........: f (leak-segv-jmp.c:271) |
| 18 | by 0x........: main (leak-segv-jmp.c:346) |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 19 | |
| 20 | LEAK SUMMARY: |
| 21 | definitely lost: 1,000 bytes in 1 blocks |
| 22 | indirectly lost: 0 bytes in 0 blocks |
| 23 | possibly lost: 0 bytes in 0 blocks |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 24 | still reachable: 200,000 bytes in 1 blocks |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 25 | suppressed: 0 bytes in 0 blocks |
| 26 | Reachable blocks (those to which a pointer was found) are not shown. |
philippe | 2193a7c | 2012-12-08 17:54:16 +0000 | [diff] [blame] | 27 | To see them, rerun with: --leak-check=full --show-leak-kinds=all |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 28 | |
| 29 | mprotect result 0 |
| 30 | expecting a leak again |
| 31 | 1,000 bytes in 1 blocks are definitely lost in loss record ... of ... |
| 32 | at 0x........: malloc (vg_replace_malloc.c:...) |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 33 | by 0x........: f (leak-segv-jmp.c:271) |
| 34 | by 0x........: main (leak-segv-jmp.c:346) |
philippe | 7a76f4b | 2013-10-06 21:23:04 +0000 | [diff] [blame] | 35 | |
| 36 | LEAK SUMMARY: |
| 37 | definitely lost: 1,000 bytes in 1 blocks |
| 38 | indirectly lost: 0 bytes in 0 blocks |
| 39 | possibly lost: 0 bytes in 0 blocks |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 40 | still reachable: 200,000 bytes in 1 blocks |
philippe | 7a76f4b | 2013-10-06 21:23:04 +0000 | [diff] [blame] | 41 | suppressed: 0 bytes in 0 blocks |
| 42 | Reachable blocks (those to which a pointer was found) are not shown. |
| 43 | To see them, rerun with: --leak-check=full --show-leak-kinds=all |
| 44 | |
| 45 | full mprotect result 0 |
| 46 | expecting a leak again after full mprotect |
| 47 | 1,000 bytes in 1 blocks are definitely lost in loss record ... of ... |
| 48 | at 0x........: malloc (vg_replace_malloc.c:...) |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 49 | by 0x........: f (leak-segv-jmp.c:271) |
| 50 | by 0x........: main (leak-segv-jmp.c:346) |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 51 | |
| 52 | LEAK SUMMARY: |
| 53 | definitely lost: 1,000 bytes in 1 blocks |
| 54 | indirectly lost: 0 bytes in 0 blocks |
| 55 | possibly lost: 0 bytes in 0 blocks |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 56 | still reachable: 200,000 bytes in 1 blocks |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 57 | suppressed: 0 bytes in 0 blocks |
| 58 | Reachable blocks (those to which a pointer was found) are not shown. |
philippe | 2193a7c | 2012-12-08 17:54:16 +0000 | [diff] [blame] | 59 | To see them, rerun with: --leak-check=full --show-leak-kinds=all |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 60 | |
philippe | b5a02e7 | 2015-10-22 19:14:30 +0000 | [diff] [blame] | 61 | mprotect result 0 |
| 62 | expecting heuristic not to crash after full mprotect |
| 63 | 1,000 bytes in 1 blocks are definitely lost in loss record ... of ... |
| 64 | at 0x........: malloc (vg_replace_malloc.c:...) |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 65 | by 0x........: f (leak-segv-jmp.c:271) |
| 66 | by 0x........: main (leak-segv-jmp.c:346) |
philippe | b5a02e7 | 2015-10-22 19:14:30 +0000 | [diff] [blame] | 67 | |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 68 | 200,000 bytes in 1 blocks are possibly lost in loss record ... of ... |
philippe | b5a02e7 | 2015-10-22 19:14:30 +0000 | [diff] [blame] | 69 | at 0x........: calloc (vg_replace_malloc.c:...) |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 70 | by 0x........: f (leak-segv-jmp.c:318) |
| 71 | by 0x........: main (leak-segv-jmp.c:346) |
philippe | b5a02e7 | 2015-10-22 19:14:30 +0000 | [diff] [blame] | 72 | |
| 73 | LEAK SUMMARY: |
| 74 | definitely lost: 1,000 bytes in 1 blocks |
| 75 | indirectly lost: 0 bytes in 0 blocks |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 76 | possibly lost: 200,000 bytes in 1 blocks |
| 77 | still reachable: 200,000 bytes in 1 blocks |
philippe | b5a02e7 | 2015-10-22 19:14:30 +0000 | [diff] [blame] | 78 | suppressed: 0 bytes in 0 blocks |
| 79 | Reachable blocks (those to which a pointer was found) are not shown. |
| 80 | To see them, rerun with: --leak-check=full --show-leak-kinds=all |
| 81 | |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 82 | finished |
| 83 | LEAK SUMMARY: |
| 84 | definitely lost: 1,000 bytes in 1 blocks |
| 85 | indirectly lost: 0 bytes in 0 blocks |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 86 | possibly lost: 200,000 bytes in 1 blocks |
| 87 | still reachable: 200,000 bytes in 1 blocks |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 88 | suppressed: 0 bytes in 0 blocks |
| 89 | Rerun with --leak-check=full to see details of leaked memory |
| 90 | |
| 91 | leaked: 1000 bytes in 1 blocks |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 92 | dubious: 200000 bytes in 1 blocks |
| 93 | reachable: 200000 bytes in 1 blocks |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 94 | suppressed: 0 bytes in 0 blocks |
| 95 | |
| 96 | HEAP SUMMARY: |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 97 | in use at exit: 401,000 bytes in 3 blocks |
| 98 | total heap usage: 3 allocs, 0 frees, 401,000 bytes allocated |
philippe | 21fcbb7 | 2012-09-14 21:10:15 +0000 | [diff] [blame] | 99 | |
| 100 | For a detailed leak analysis, rerun with: --leak-check=full |
| 101 | |
| 102 | For counts of detected and suppressed errors, rerun with: -v |
philippe | b5a02e7 | 2015-10-22 19:14:30 +0000 | [diff] [blame] | 103 | ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0) |