Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.39 KB | None | 0 0
  1. MacBook-Pro-de-Corentin:Documents corentinchatelin$ valgrind --leak-check=full ./test
  2. ==80386== Memcheck, a memory error detector
  3. ==80386== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  4. ==80386== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info
  5. ==80386== Command: ./test
  6. ==80386==
  7. 9
  8. ==80386==
  9. ==80386== HEAP SUMMARY:
  10. ==80386==     in use at exit: 38,558 bytes in 425 blocks
  11. ==80386==   total heap usage: 504 allocs, 79 frees, 44,718 bytes allocated
  12. ==80386==
  13. ==80386== 4,096 bytes in 1 blocks are definitely lost in loss record 79 of 79
  14. ==80386==    at 0x100007E11: malloc (vg_replace_malloc.c:302)
  15. ==80386==    by 0x1002BE687: __smakebuf (in /usr/lib/system/libsystem_c.dylib)
  16. ==80386==    by 0x1002D31D7: __swsetup (in /usr/lib/system/libsystem_c.dylib)
  17. ==80386==    by 0x1002BD921: __sfvwrite (in /usr/lib/system/libsystem_c.dylib)
  18. ==80386==    by 0x1002BDEFB: fwrite (in /usr/lib/system/libsystem_c.dylib)
  19. ==80386==    by 0x100028D29: std::__1::__stdoutbuf<char>::overflow(int) (in /usr/lib/libc++.1.dylib)
  20. ==80386==    by 0x10001E91C: std::__1::basic_streambuf<char, std::__1::char_traits<char> >::xsputn(char const*, long) (in /usr/lib/libc++.1.dylib)
  21. ==80386==    by 0x10003EDB0: std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> > std::__1::__pad_and_output<char, std::__1::char_traits<char> >(std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> >, char const*, char const*, char const*, std::__1::ios_base&, char) (in /usr/lib/libc++.1.dylib)
  22. ==80386==    by 0x10003E9A7: std::__1::num_put<char, std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> > >::do_put(std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> >, std::__1::ios_base&, char, long) const (in /usr/lib/libc++.1.dylib)
  23. ==80386==    by 0x1000247A4: std::__1::basic_ostream<char, std::__1::char_traits<char> >::operator<<(int) (in /usr/lib/libc++.1.dylib)
  24. ==80386==    by 0x100000D24: main (in ./test)
  25. ==80386==
  26. ==80386== LEAK SUMMARY:
  27. ==80386==    definitely lost: 4,096 bytes in 1 blocks
  28. ==80386==    indirectly lost: 64 bytes in 1 blocks
  29. ==80386==      possibly lost: 0 bytes in 0 blocks
  30. ==80386==    still reachable: 0 bytes in 0 blocks
  31. ==80386==         suppressed: 34,398 bytes in 423 blocks
  32. ==80386==
  33. ==80386== For counts of detected and suppressed errors, rerun with: -v
  34. ==80386== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 17 from 17)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement