Guest User

bzfsDebug

a guest
Jun 27th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.35 KB | None | 0 0
  1. Agatha@Deleted:~/pluginstest$ ./valgrindserverstart.sh
  2. ==27955== Memcheck, a memory error detector
  3. ==27955== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  4. ==27955== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
  5. ==27955== Command: /remotehome/Agatha/bzflag/src/bzfs/bzfs -p 5155 -conf /remotehome/Agatha/pluginstest/bzfs.conf -groupdb /bigdrive/jarrett/shared/bzfs/groups.txt -vars /bigdrive/jarrett/shared/bzfs/simpleMap/vars.txt_
  6. ==27955==
  7. /remotehome/Agatha/pluginstest/TheMap.bzw: warning (line 537): unknown object parameter "shootthrough" - skipping
  8. ^C==27955== Invalid read of size 8
  9. ==27955== at 0x27568C: removeNetworkLogCallback(NetworkDataLogCallback*) (NetHandler.cxx:40)
  10. ==27955== by 0x50B2D8B: __run_exit_handlers (exit.c:108)
  11. ==27955== by 0x50B2EB9: exit (exit.c:139)
  12. ==27955== by 0x509D0A1: (below main) (libc-start.c:342)
  13. ==27955== Address 0x6410590 is 0 bytes inside a block of size 8 free'd
  14. ==27955== at 0x4836EAB: operator delete(void*) (vg_replace_malloc.c:576)
  15. ==27955== by 0x50B2D8B: __run_exit_handlers (exit.c:108)
  16. ==27955== by 0x50B2EB9: exit (exit.c:139)
  17. ==27955== by 0x509D0A1: (below main) (libc-start.c:342)
  18. ==27955== Block was alloc'd at
  19. ==27955== at 0x4835DEF: operator new(unsigned long) (vg_replace_malloc.c:334)
  20. ==27955== by 0x276E79: allocate (new_allocator.h:111)
  21. ==27955== by 0x276E79: allocate (alloc_traits.h:436)
  22. ==27955== by 0x276E79: _M_allocate (stl_vector.h:296)
  23. ==27955== by 0x276E79: void std::vector<NetworkDataLogCallback*, std::allocator<NetworkDataLogCallback*> >::_M_realloc_insert<NetworkDataLogCallback* const&>(__gnu_cxx::__normal_iterator<NetworkDataLogCallback**, std::vector<NetworkDataLogCallback*, std::allocator<NetworkDataLogCallback*> > >, NetworkDataLogCallback* const&) (vector.tcc:427)
  24. ==27955== by 0x276DF8: push_back (stl_vector.h:1085)
  25. ==27955== by 0x276DF8: addNetworkLogCallback(NetworkDataLogCallback*) (NetHandler.cxx:33)
  26. ==27955== by 0x18F975: Init (bzfs.cxx:192)
  27. ==27955== by 0x18F975: main (bzfs.cxx:6511)
  28. ==27955==
  29. ==27955==
  30. ==27955== HEAP SUMMARY:
  31. ==27955== in use at exit: 60,703 bytes in 63 blocks
  32. ==27955== total heap usage: 73,497,647 allocs, 73,497,584 frees, 2,092,457,536 bytes allocated
  33. ==27955==
  34. ==27955== 56 (40 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record 14 of 33
  35. ==27955== at 0x4835DEF: operator new(unsigned long) (vg_replace_malloc.c:334)
  36. ==27955== by 0x2145A1: RegisterEvent(bz_eEventType, bz_Plugin*) (WorldEventManager.cxx:131)
  37. ==27955== by 0x484B97D: ???
  38. ==27955== by 0x19B4C3: load1Plugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (bzfsPlugins.cxx:349)
  39. ==27955== by 0x19B911: loadPlugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (bzfsPlugins.cxx:414)
  40. ==27955== by 0x19013F: main (bzfs.cxx:6611)
  41. ==27955==
  42. ==27955== 211 (120 direct, 91 indirect) bytes in 1 blocks are definitely lost in loss record 21 of 33
  43. ==27955== at 0x4835DEF: operator new(unsigned long) (vg_replace_malloc.c:334)
  44. ==27955== by 0x1B75C1: bz_RegisterCustomFlag(char const*, char const*, char const*, int, bz_eFlagQuality) (bzfsAPI.cxx:4575)
  45. ==27955== by 0x484BAB0: ???
  46. ==27955== by 0x19B4C3: load1Plugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (bzfsPlugins.cxx:349)
  47. ==27955== by 0x19B911: loadPlugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (bzfsPlugins.cxx:414)
  48. ==27955== by 0x19013F: main (bzfs.cxx:6611)
  49. ==27955==
  50. ==27955== 220 (120 direct, 100 indirect) bytes in 1 blocks are definitely lost in loss record 22 of 33
  51. ==27955== at 0x4835DEF: operator new(unsigned long) (vg_replace_malloc.c:334)
  52. ==27955== by 0x1B75C1: bz_RegisterCustomFlag(char const*, char const*, char const*, int, bz_eFlagQuality) (bzfsAPI.cxx:4575)
  53. ==27955== by 0x484BA12: ???
  54. ==27955== by 0x19B4C3: load1Plugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (bzfsPlugins.cxx:349)
  55. ==27955== by 0x19B911: loadPlugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (bzfsPlugins.cxx:414)
  56. ==27955== by 0x19013F: main (bzfs.cxx:6611)
  57. ==27955==
  58. ==27955== 425 bytes in 18 blocks are definitely lost in loss record 25 of 33
  59. ==27955== at 0x483577F: malloc (vg_replace_malloc.c:299)
  60. ==27955== by 0x5100DB9: strdup (strdup.c:42)
  61. ==27955== by 0x27BE2F: callback (AresHandler.cxx:140)
  62. ==27955== by 0x27BE2F: AresHandler::callback(int, hostent*) (AresHandler.cxx:128)
  63. ==27955== by 0x491D938: ??? (in /usr/lib/x86_64-linux-gnu/libcares.so.2.2.0)
  64. ==27955== by 0x491DDC1: ??? (in /usr/lib/x86_64-linux-gnu/libcares.so.2.2.0)
  65. ==27955== by 0x4926980: ??? (in /usr/lib/x86_64-linux-gnu/libcares.so.2.2.0)
  66. ==27955== by 0x4925014: ??? (in /usr/lib/x86_64-linux-gnu/libcares.so.2.2.0)
  67. ==27955== by 0x492602E: ??? (in /usr/lib/x86_64-linux-gnu/libcares.so.2.2.0)
  68. ==27955== by 0x49262AE: ??? (in /usr/lib/x86_64-linux-gnu/libcares.so.2.2.0)
  69. ==27955== by 0x492638F: ??? (in /usr/lib/x86_64-linux-gnu/libcares.so.2.2.0)
  70. ==27955== by 0x275A1A: NetHandler::checkDNS(fd_set*, fd_set*) (NetHandler.cxx:268)
  71. ==27955== by 0x191D23: main (bzfs.cxx:7681)
  72. ==27955==
  73. ==27955== LEAK SUMMARY:
  74. ==27955== definitely lost: 705 bytes in 21 blocks
  75. ==27955== indirectly lost: 207 bytes in 4 blocks
  76. ==27955== possibly lost: 0 bytes in 0 blocks
  77. ==27955== still reachable: 59,791 bytes in 38 blocks
  78. ==27955== suppressed: 0 bytes in 0 blocks
  79. ==27955== Reachable blocks (those to which a pointer was found) are not shown.
  80. ==27955== To see them, rerun with: --leak-check=full --show-leak-kinds=all
  81. ==27955==
  82. ==27955== For counts of detected and suppressed errors, rerun with: -v
  83. ==27955== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
  84. Agatha@Deleted:~/pluginstest$
Advertisement
Add Comment
Please, Sign In to add comment