Created
May 20, 2013 05:45
-
-
Save jbcrail/5610594 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
joseph@ubuntu:~/Haywire$ valgrind --tool=memcheck --leak-check=full --show-reachable=yes ./builds/unix/debug/hello_world | |
==1441== Memcheck, a memory error detector | |
==1441== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. | |
==1441== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info | |
==1441== Command: ./builds/unix/debug/hello_world | |
==1441== | |
Added route / | |
Listening on 0.0.0.0:8000 | |
read: connection reset by peer | |
read: connection reset by peer | |
read: connection reset by peer | |
read: connection reset by peer | |
read: connection reset by peer | |
read: connection reset by peer | |
read: connection reset by peer | |
^C==1441== | |
==1441== HEAP SUMMARY: | |
==1441== in use at exit: 8,576 bytes in 3 blocks | |
==1441== total heap usage: 961,699 allocs, 961,696 frees, 298,644,256 bytes allocated | |
==1441== | |
==1441== 192 bytes in 1 blocks are still reachable in loss record 1 of 3 | |
==1441== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==1441== by 0x404B98: rxt_init (radix.c:546) | |
==1441== by 0x40353D: hw_http_add_route (http_server.c:40) | |
==1441== by 0x40343A: main (program.c:67) | |
==1441== | |
==1441== 192 bytes in 1 blocks are still reachable in loss record 2 of 3 | |
==1441== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==1441== by 0x4040AA: rxt_put (radix.c:240) | |
==1441== by 0x40355E: hw_http_add_route (http_server.c:42) | |
==1441== by 0x40343A: main (program.c:67) | |
==1441== | |
==1441== 8,192 bytes in 1 blocks are still reachable in loss record 3 of 3 | |
==1441== at 0x4C2B4F0: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==1441== by 0x40AE5E: maybe_resize (core.c:607) | |
==1441== by 0x40B046: uv__io_start (core.c:644) | |
==1441== by 0x412ADD: uv__read_start_common (stream.c:1287) | |
==1441== by 0x412B55: uv_read_start (stream.c:1296) | |
==1441== by 0x403750: http_stream_on_connect (http_server.c:102) | |
==1441== by 0x410BE5: uv__server_io (stream.c:540) | |
==1441== by 0x417E8D: uv__io_poll (linux-core.c:211) | |
==1441== by 0x40A93F: uv_run (core.c:314) | |
==1441== by 0x403680: hw_http_open (http_server.c:79) | |
==1441== by 0x403449: main (program.c:68) | |
==1441== | |
==1441== LEAK SUMMARY: | |
==1441== definitely lost: 0 bytes in 0 blocks | |
==1441== indirectly lost: 0 bytes in 0 blocks | |
==1441== possibly lost: 0 bytes in 0 blocks | |
==1441== still reachable: 8,576 bytes in 3 blocks | |
==1441== suppressed: 0 bytes in 0 blocks | |
==1441== | |
==1441== For counts of detected and suppressed errors, rerun with: -v | |
==1441== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment