Skip to content

Instantly share code, notes, and snippets.

@JustonDavies
Created April 2, 2013 20:03
Show Gist options
  • Save JustonDavies/5295700 to your computer and use it in GitHub Desktop.
Save JustonDavies/5295700 to your computer and use it in GitHub Desktop.
Valgrind --leak-check=full output for https://github.com/zeromq/czmq/issues/129
==31223== Memcheck, a memory error detector
==31223== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==31223== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==31223== Command: out/nexus
==31223==
ZMQ version is 3.2.3
CZMQ version is 3.4.0
Starting Thread...
^CInterrupted, sending kill signal...
Shutting down...
==31223==
==31223== HEAP SUMMARY:
==31223== in use at exit: 576 bytes in 8 blocks
==31223== total heap usage: 10 allocs, 2 frees, 648 bytes allocated
==31223==
==31223== 288 bytes in 1 blocks are possibly lost in loss record 6 of 6
==31223== at 0x4C2380C: calloc (vg_replace_malloc.c:467)
==31223== by 0x401106E: _dl_allocate_tls (dl-tls.c:297)
==31223== by 0x5805291: pthread_create@@GLIBC_2.2.5 (allocatestack.c:576)
==31223== by 0x5087869: s_thread_start (zthread.c:128)
==31223== by 0x50879E7: zthread_new (zthread.c:166)
==31223== by 0x400BD1: main (in /home/juston/workspace/teliax/mempropblem/out/nexus)
==31223==
==31223== LEAK SUMMARY:
==31223== definitely lost: 0 bytes in 0 blocks
==31223== indirectly lost: 0 bytes in 0 blocks
==31223== possibly lost: 288 bytes in 1 blocks
==31223== still reachable: 288 bytes in 7 blocks
==31223== suppressed: 0 bytes in 0 blocks
==31223== Reachable blocks (those to which a pointer was found) are not shown.
==31223== To see them, rerun with: --leak-check=full --show-reachable=yes
==31223==
==31223== For counts of detected and suppressed errors, rerun with: -v
==31223== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 4 from 4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment