Advertisement
Guest User

Valgrind results

a guest
Nov 16th, 2013
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. /tmp$ valgrind ./test
  2. ==21481== Memcheck, a memory error detector
  3. ==21481== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
  4. ==21481== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
  5. ==21481== Command: ./test
  6. ==21481==
  7. ==21481== Invalid read of size 8
  8. ==21481== at 0x5B0F948: wcscmp (wcscmp.S:500)
  9. ==21481== by 0x52C6884: std::moneypunct<wchar_t, false>::~moneypunct() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  10. ==21481== by 0x52C68F8: std::moneypunct<wchar_t, false>::~moneypunct() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  11. ==21481== by 0x52BD534: std::locale::_Impl::~_Impl() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  12. ==21481== by 0x52BD66C: std::locale::~locale() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  13. ==21481== by 0x5AA8479: __cxa_finalize (cxa_finalize.c:55)
  14. ==21481== by 0x4E3AD12: ??? (in /usr/lib/libboost_filesystem.so.1.54.0)
  15. ==21481== by 0x400FF26: _dl_fini (dl-fini.c:253)
  16. ==21481== by 0x5AA8070: __run_exit_handlers (exit.c:77)
  17. ==21481== by 0x5AA80F4: exit (exit.c:99)
  18. ==21481== by 0x5A8DDEB: (below main) (libc-start.c:294)
  19. ==21481== Address 0x6055438 is 0 bytes after a block of size 8 alloc'd
  20. ==21481== at 0x4C2AFE7: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  21. ==21481== by 0x52C7F91: std::moneypunct<wchar_t, false>::_M_initialize_moneypunct(__locale_struct*, char const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  22. ==21481== by 0x52BFA37: std::locale::_Impl::_Impl(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  23. ==21481== by 0x52C0501: std::locale::locale(char const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  24. ==21481== by 0x4E422D1: boost::filesystem::path::codecvt() (in /usr/lib/libboost_filesystem.so.1.54.0)
  25. ==21481== by 0x4E43D9E: boost::filesystem::path::parent_path() const (in /usr/lib/libboost_filesystem.so.1.54.0)
  26. ==21481== by 0x4015D3: boost::filesystem::path::has_branch_path() const (in /tmp/test)
  27. ==21481== by 0x401295: main (in /tmp/test)
  28. ==21481==
  29. ==21481== Invalid read of size 8
  30. ==21481== at 0x5B0F948: wcscmp (wcscmp.S:500)
  31. ==21481== by 0x52C6794: std::moneypunct<wchar_t, true>::~moneypunct() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  32. ==21481== by 0x52C6808: std::moneypunct<wchar_t, true>::~moneypunct() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  33. ==21481== by 0x52BD534: std::locale::_Impl::~_Impl() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  34. ==21481== by 0x52BD66C: std::locale::~locale() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  35. ==21481== by 0x5AA8479: __cxa_finalize (cxa_finalize.c:55)
  36. ==21481== by 0x4E3AD12: ??? (in /usr/lib/libboost_filesystem.so.1.54.0)
  37. ==21481== by 0x400FF26: _dl_fini (dl-fini.c:253)
  38. ==21481== by 0x5AA8070: __run_exit_handlers (exit.c:77)
  39. ==21481== by 0x5AA80F4: exit (exit.c:99)
  40. ==21481== by 0x5A8DDEB: (below main) (libc-start.c:294)
  41. ==21481== Address 0x6055668 is 0 bytes after a block of size 8 alloc'd
  42. ==21481== at 0x4C2AFE7: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  43. ==21481== by 0x52C7991: std::moneypunct<wchar_t, true>::_M_initialize_moneypunct(__locale_struct*, char const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  44. ==21481== by 0x52BFA84: std::locale::_Impl::_Impl(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  45. ==21481== by 0x52C0501: std::locale::locale(char const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18)
  46. ==21481== by 0x4E422D1: boost::filesystem::path::codecvt() (in /usr/lib/libboost_filesystem.so.1.54.0)
  47. ==21481== by 0x4E43D9E: boost::filesystem::path::parent_path() const (in /usr/lib/libboost_filesystem.so.1.54.0)
  48. ==21481== by 0x4015D3: boost::filesystem::path::has_branch_path() const (in /tmp/test)
  49. ==21481== by 0x401295: main (in /tmp/test)
  50. ==21481==
  51. ==21481==
  52. ==21481== HEAP SUMMARY:
  53. ==21481== in use at exit: 0 bytes in 0 blocks
  54. ==21481== total heap usage: 98 allocs, 98 frees, 13,484 bytes allocated
  55. ==21481==
  56. ==21481== All heap blocks were freed -- no leaks are possible
  57. ==21481==
  58. ==21481== For counts of detected and suppressed errors, rerun with: -v
  59. ==21481== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 2 from 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement