NLinker

Memory leak detected

Jun 27th, 2021 (edited)
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 51.53 KB | None | 0 0
  1. tmp ➤ cat troll.cpp
  2. class Meme {
  3.     public:
  4.     virtual void make_laugh() = 0;
  5.     virtual ~Meme() = default;
  6. };
  7.  
  8. class TrollFace: public Meme {
  9.     public:
  10.     void make_laugh() {
  11.         // todo lol
  12.     }
  13. };
  14.  
  15. int main() {
  16.     Meme *m = new TrollFace();
  17.     delete m;
  18. }
  19.  
  20. tmp ➤ clang++ -o troll troll.cpp -g -Wall -Wextra -std=c++11
  21. tmp ➤
  22. tmp ➤ valgrind --leak-check=full --show-leak-kinds=all ./troll
  23. ==8916== Memcheck, a memory error detector
  24. ==8916== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  25. ==8916== Using Valgrind-3.16.0.GIT and LibVEX; rerun with -h for copyright info
  26. ==8916== Command: ./troll
  27. ==8916==
  28. ==8916== Conditional jump or move depends on uninitialised value(s)
  29. ==8916==    at 0x100009330: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  30. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  31. ==8916==    by 0x100004035: _dyld_start (in /usr/lib/dyld)
  32. ==8916==
  33. ==8916== Conditional jump or move depends on uninitialised value(s)
  34. ==8916==    at 0x10000B456: dyld::checkEnvironmentVariables(char const**) (in /usr/lib/dyld)
  35. ==8916==    by 0x100009339: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  36. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  37. ==8916==    by 0x100004035: _dyld_start (in /usr/lib/dyld)
  38. ==8916==
  39. ==8916== Conditional jump or move depends on uninitialised value(s)
  40. ==8916==    at 0x100005BBC: dyld::processDyldEnvironmentVariable(char const*, char const*, char const*) (in /usr/lib/dyld)
  41. ==8916==    by 0x10000B566: dyld::checkEnvironmentVariables(char const**) (in /usr/lib/dyld)
  42. ==8916==    by 0x100009339: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  43. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  44. ==8916==    by 0x100004035: _dyld_start (in /usr/lib/dyld)
  45. ==8916==
  46. ==8916== Conditional jump or move depends on uninitialised value(s)
  47. ==8916==    at 0x100009341: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  48. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  49. ==8916==    by 0x100004035: _dyld_start (in /usr/lib/dyld)
  50. ==8916==
  51. ==8916== Conditional jump or move depends on uninitialised value(s)
  52. ==8916==    at 0x10000D39D: dyld::loadPhase3(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  53. ==8916==    by 0x10000CD17: dyld::loadPhase1(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  54. ==8916==    by 0x100006AC9: dyld::loadPhase0(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  55. ==8916==    by 0x10000661D: dyld::load(char const*, dyld::LoadContext const&, unsigned int&) (in /usr/lib/dyld)
  56. ==8916==    by 0x10000A3A0: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  57. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  58. ==8916==    by 0x100004035: _dyld_start (in /usr/lib/dyld)
  59. ==8916==
  60. ==8916== Conditional jump or move depends on uninitialised value(s)
  61. ==8916==    at 0x10000D39D: dyld::loadPhase3(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  62. ==8916==    by 0x10000CD17: dyld::loadPhase1(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  63. ==8916==    by 0x100006AC9: dyld::loadPhase0(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) (in /usr/lib/dyld)
  64. ==8916==    by 0x100006658: dyld::load(char const*, dyld::LoadContext const&, unsigned int&) (in /usr/lib/dyld)
  65. ==8916==    by 0x10000A3A0: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  66. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  67. ==8916==    by 0x100004035: _dyld_start (in /usr/lib/dyld)
  68. ==8916==
  69. ==8916== Conditional jump or move depends on uninitialised value(s)
  70. ==8916==    at 0x10020E326: ccaes_vng_ctr_crypt (in /usr/lib/system/libcorecrypto.dylib)
  71. ==8916==    by 0x10020E23B: bcc_update (in /usr/lib/system/libcorecrypto.dylib)
  72. ==8916==    by 0x10020F47C: df_bcc_update (in /usr/lib/system/libcorecrypto.dylib)
  73. ==8916==    by 0x10020F254: df (in /usr/lib/system/libcorecrypto.dylib)
  74. ==8916==    by 0x10020DBD4: nistctr_init (in /usr/lib/system/libcorecrypto.dylib)
  75. ==8916==    by 0x10020DA2B: init (in /usr/lib/system/libcorecrypto.dylib)
  76. ==8916==    by 0x1003D8CFE: arc4_init (in /usr/lib/system/libsystem_c.dylib)
  77. ==8916==    by 0x1003D8E1C: arc4random_buf (in /usr/lib/system/libsystem_c.dylib)
  78. ==8916==    by 0x1006C0A24: _read_images (in /usr/lib/libobjc.A.dylib)
  79. ==8916==    by 0x1006BFA4F: _hasObjcContents (in /usr/lib/libobjc.A.dylib)
  80. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  81. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  82. ==8916==
  83. ==8916== Conditional jump or move depends on uninitialised value(s)
  84. ==8916==    at 0x10020E326: ccaes_vng_ctr_crypt (in /usr/lib/system/libcorecrypto.dylib)
  85. ==8916==    by 0x10020E23B: bcc_update (in /usr/lib/system/libcorecrypto.dylib)
  86. ==8916==    by 0x10020F50C: df_bcc_update (in /usr/lib/system/libcorecrypto.dylib)
  87. ==8916==    by 0x10020F254: df (in /usr/lib/system/libcorecrypto.dylib)
  88. ==8916==    by 0x10020DBD4: nistctr_init (in /usr/lib/system/libcorecrypto.dylib)
  89. ==8916==    by 0x10020DA2B: init (in /usr/lib/system/libcorecrypto.dylib)
  90. ==8916==    by 0x1003D8CFE: arc4_init (in /usr/lib/system/libsystem_c.dylib)
  91. ==8916==    by 0x1003D8E1C: arc4random_buf (in /usr/lib/system/libsystem_c.dylib)
  92. ==8916==    by 0x1006C0A24: _read_images (in /usr/lib/libobjc.A.dylib)
  93. ==8916==    by 0x1006BFA4F: _hasObjcContents (in /usr/lib/libobjc.A.dylib)
  94. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  95. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  96. ==8916==
  97. ==8916== Conditional jump or move depends on uninitialised value(s)
  98. ==8916==    at 0x10020E326: ccaes_vng_ctr_crypt (in /usr/lib/system/libcorecrypto.dylib)
  99. ==8916==    by 0x10020E23B: bcc_update (in /usr/lib/system/libcorecrypto.dylib)
  100. ==8916==    by 0x10020F2B6: df (in /usr/lib/system/libcorecrypto.dylib)
  101. ==8916==    by 0x10020DBD4: nistctr_init (in /usr/lib/system/libcorecrypto.dylib)
  102. ==8916==    by 0x10020DA2B: init (in /usr/lib/system/libcorecrypto.dylib)
  103. ==8916==    by 0x1003D8CFE: arc4_init (in /usr/lib/system/libsystem_c.dylib)
  104. ==8916==    by 0x1003D8E1C: arc4random_buf (in /usr/lib/system/libsystem_c.dylib)
  105. ==8916==    by 0x1006C0A24: _read_images (in /usr/lib/libobjc.A.dylib)
  106. ==8916==    by 0x1006BFA4F: _hasObjcContents (in /usr/lib/libobjc.A.dylib)
  107. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  108. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  109. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  110. ==8916==
  111. ==8916== Conditional jump or move depends on uninitialised value(s)
  112. ==8916==    at 0x10020E326: ccaes_vng_ctr_crypt (in /usr/lib/system/libcorecrypto.dylib)
  113. ==8916==    by 0x10020F36B: df (in /usr/lib/system/libcorecrypto.dylib)
  114. ==8916==    by 0x10020DBD4: nistctr_init (in /usr/lib/system/libcorecrypto.dylib)
  115. ==8916==    by 0x10020DA2B: init (in /usr/lib/system/libcorecrypto.dylib)
  116. ==8916==    by 0x1003D8CFE: arc4_init (in /usr/lib/system/libsystem_c.dylib)
  117. ==8916==    by 0x1003D8E1C: arc4random_buf (in /usr/lib/system/libsystem_c.dylib)
  118. ==8916==    by 0x1006C0A24: _read_images (in /usr/lib/libobjc.A.dylib)
  119. ==8916==    by 0x1006BFA4F: _hasObjcContents (in /usr/lib/libobjc.A.dylib)
  120. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  121. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  122. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  123. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  124. ==8916==
  125. ==8916== Conditional jump or move depends on uninitialised value(s)
  126. ==8916==    at 0x10020F64E: drbg_update (in /usr/lib/system/libcorecrypto.dylib)
  127. ==8916==    by 0x10020DC4C: nistctr_init (in /usr/lib/system/libcorecrypto.dylib)
  128. ==8916==    by 0x10020DA2B: init (in /usr/lib/system/libcorecrypto.dylib)
  129. ==8916==    by 0x1003D8CFE: arc4_init (in /usr/lib/system/libsystem_c.dylib)
  130. ==8916==    by 0x1003D8E1C: arc4random_buf (in /usr/lib/system/libsystem_c.dylib)
  131. ==8916==    by 0x1006C0A24: _read_images (in /usr/lib/libobjc.A.dylib)
  132. ==8916==    by 0x1006BFA4F: _hasObjcContents (in /usr/lib/libobjc.A.dylib)
  133. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  134. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  135. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  136. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  137. ==8916==    by 0x1006BF233: environ_init (in /usr/lib/libobjc.A.dylib)
  138. ==8916==
  139. ==8916== Conditional jump or move depends on uninitialised value(s)
  140. ==8916==    at 0x10020E326: ccaes_vng_ctr_crypt (in /usr/lib/system/libcorecrypto.dylib)
  141. ==8916==    by 0x10020F86E: generate (in /usr/lib/system/libcorecrypto.dylib)
  142. ==8916==    by 0x1003D8E87: arc4random_buf (in /usr/lib/system/libsystem_c.dylib)
  143. ==8916==    by 0x1006C0A24: _read_images (in /usr/lib/libobjc.A.dylib)
  144. ==8916==    by 0x1006BFA4F: _hasObjcContents (in /usr/lib/libobjc.A.dylib)
  145. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  146. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  147. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  148. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  149. ==8916==    by 0x1006BF233: environ_init (in /usr/lib/libobjc.A.dylib)
  150. ==8916==    by 0x1002B0E35: _os_object_init (in /usr/lib/system/libdispatch.dylib)
  151. ==8916==    by 0x1002BCAD1: libdispatch_init (in /usr/lib/system/libdispatch.dylib)
  152. ==8916==
  153. ==8916== Conditional jump or move depends on uninitialised value(s)
  154. ==8916==    at 0x10020E326: ccaes_vng_ctr_crypt (in /usr/lib/system/libcorecrypto.dylib)
  155. ==8916==    by 0x10020F5D1: drbg_update (in /usr/lib/system/libcorecrypto.dylib)
  156. ==8916==    by 0x10020F8B9: generate (in /usr/lib/system/libcorecrypto.dylib)
  157. ==8916==    by 0x1003D8E87: arc4random_buf (in /usr/lib/system/libsystem_c.dylib)
  158. ==8916==    by 0x1006C0A24: _read_images (in /usr/lib/libobjc.A.dylib)
  159. ==8916==    by 0x1006BFA4F: _hasObjcContents (in /usr/lib/libobjc.A.dylib)
  160. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  161. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  162. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  163. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  164. ==8916==    by 0x1006BF233: environ_init (in /usr/lib/libobjc.A.dylib)
  165. ==8916==    by 0x1002B0E35: _os_object_init (in /usr/lib/system/libdispatch.dylib)
  166. ==8916==
  167. ==8916== Conditional jump or move depends on uninitialised value(s)
  168. ==8916==    at 0x10020F5EE: drbg_update (in /usr/lib/system/libcorecrypto.dylib)
  169. ==8916==    by 0x10020F8B9: generate (in /usr/lib/system/libcorecrypto.dylib)
  170. ==8916==    by 0x1003D8E87: arc4random_buf (in /usr/lib/system/libsystem_c.dylib)
  171. ==8916==    by 0x1006C0A24: _read_images (in /usr/lib/libobjc.A.dylib)
  172. ==8916==    by 0x1006BFA4F: _hasObjcContents (in /usr/lib/libobjc.A.dylib)
  173. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  174. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  175. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  176. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  177. ==8916==    by 0x1006BF233: environ_init (in /usr/lib/libobjc.A.dylib)
  178. ==8916==    by 0x1002B0E35: _os_object_init (in /usr/lib/system/libdispatch.dylib)
  179. ==8916==    by 0x1002BCAD1: libdispatch_init (in /usr/lib/system/libdispatch.dylib)
  180. ==8916==
  181. ==8916== Conditional jump or move depends on uninitialised value(s)
  182. ==8916==    at 0x10020F64E: drbg_update (in /usr/lib/system/libcorecrypto.dylib)
  183. ==8916==    by 0x10020F8B9: generate (in /usr/lib/system/libcorecrypto.dylib)
  184. ==8916==    by 0x1003D8E87: arc4random_buf (in /usr/lib/system/libsystem_c.dylib)
  185. ==8916==    by 0x1006C0A24: _read_images (in /usr/lib/libobjc.A.dylib)
  186. ==8916==    by 0x1006BFA4F: _hasObjcContents (in /usr/lib/libobjc.A.dylib)
  187. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  188. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  189. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  190. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  191. ==8916==    by 0x1006BF233: environ_init (in /usr/lib/libobjc.A.dylib)
  192. ==8916==    by 0x1002B0E35: _os_object_init (in /usr/lib/system/libdispatch.dylib)
  193. ==8916==    by 0x1002BCAD1: libdispatch_init (in /usr/lib/system/libdispatch.dylib)
  194. ==8916==
  195. ==8916== Conditional jump or move depends on uninitialised value(s)
  196. ==8916==    at 0x1006C7A27: _objc_rootAlloc (in /usr/lib/libobjc.A.dylib)
  197. ==8916==    by 0x10066CC88: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  198. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  199. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  200. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  201. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  202. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  203. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  204. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  205. ==8916==    by 0x10000571E: dyld::initializeMainExecutable() (in /usr/lib/dyld)
  206. ==8916==    by 0x10000A708: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  207. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  208. ==8916==
  209. ==8916== Use of uninitialised value of size 8
  210. ==8916==    at 0x1006C7A29: _objc_rootAlloc (in /usr/lib/libobjc.A.dylib)
  211. ==8916==    by 0x10066CC88: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  212. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  213. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  214. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  215. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  216. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  217. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  218. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  219. ==8916==    by 0x10000571E: dyld::initializeMainExecutable() (in /usr/lib/dyld)
  220. ==8916==    by 0x10000A708: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  221. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  222. ==8916==
  223. ==8916== Use of uninitialised value of size 8
  224. ==8916==    at 0x1006C7A3B: objc_memmove_collectable (in /usr/lib/libobjc.A.dylib)
  225. ==8916==    by 0x10066CC88: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  226. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  227. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  228. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  229. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  230. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  231. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  232. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  233. ==8916==    by 0x10000571E: dyld::initializeMainExecutable() (in /usr/lib/dyld)
  234. ==8916==    by 0x10000A708: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  235. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  236. ==8916==
  237. ==8916== Use of uninitialised value of size 8
  238. ==8916==    at 0x1006C7A59: objc_initializeClassPair (in /usr/lib/libobjc.A.dylib)
  239. ==8916==    by 0x10066CC88: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  240. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  241. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  242. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  243. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  244. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  245. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  246. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  247. ==8916==    by 0x10000571E: dyld::initializeMainExecutable() (in /usr/lib/dyld)
  248. ==8916==    by 0x10000A708: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  249. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  250. ==8916==
  251. ==8916== Use of uninitialised value of size 8
  252. ==8916==    at 0x1006C7A67: objc_initializeClassPair (in /usr/lib/libobjc.A.dylib)
  253. ==8916==    by 0x10066CC88: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  254. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  255. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  256. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  257. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  258. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  259. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  260. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  261. ==8916==    by 0x10000571E: dyld::initializeMainExecutable() (in /usr/lib/dyld)
  262. ==8916==    by 0x10000A708: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  263. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  264. ==8916==
  265. ==8916== Conditional jump or move depends on uninitialised value(s)
  266. ==8916==    at 0x1006C7A27: _objc_rootAlloc (in /usr/lib/libobjc.A.dylib)
  267. ==8916==    by 0x10066CCA1: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  268. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  269. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  270. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  271. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  272. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  273. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  274. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  275. ==8916==    by 0x10000571E: dyld::initializeMainExecutable() (in /usr/lib/dyld)
  276. ==8916==    by 0x10000A708: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  277. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  278. ==8916==
  279. ==8916== Use of uninitialised value of size 8
  280. ==8916==    at 0x1006C7A29: _objc_rootAlloc (in /usr/lib/libobjc.A.dylib)
  281. ==8916==    by 0x10066CCA1: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  282. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  283. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  284. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  285. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  286. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  287. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  288. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  289. ==8916==    by 0x10000571E: dyld::initializeMainExecutable() (in /usr/lib/dyld)
  290. ==8916==    by 0x10000A708: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  291. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  292. ==8916==
  293. ==8916== Use of uninitialised value of size 8
  294. ==8916==    at 0x1006C7A3B: objc_memmove_collectable (in /usr/lib/libobjc.A.dylib)
  295. ==8916==    by 0x10066CCA1: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  296. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  297. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  298. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  299. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  300. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  301. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  302. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  303. ==8916==    by 0x10000571E: dyld::initializeMainExecutable() (in /usr/lib/dyld)
  304. ==8916==    by 0x10000A708: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  305. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  306. ==8916==
  307. ==8916== Use of uninitialised value of size 8
  308. ==8916==    at 0x1006C7A59: objc_initializeClassPair (in /usr/lib/libobjc.A.dylib)
  309. ==8916==    by 0x10066CCA1: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  310. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  311. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  312. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  313. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  314. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  315. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  316. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  317. ==8916==    by 0x10000571E: dyld::initializeMainExecutable() (in /usr/lib/dyld)
  318. ==8916==    by 0x10000A708: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  319. ==8916==    by 0x100004502: dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) (in /usr/lib/dyld)
  320. ==8916==
  321. ==8916== Conditional jump or move depends on uninitialised value(s)
  322. ==8916==    at 0x10066DC03: xpc_uint64_create (in /usr/lib/system/libxpc.dylib)
  323. ==8916==    by 0x10066DB91: _xpc_collect_images (in /usr/lib/system/libxpc.dylib)
  324. ==8916==    by 0x10066D002: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  325. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  326. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  327. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  328. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  329. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  330. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  331. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  332. ==8916==    by 0x10000571E: dyld::initializeMainExecutable() (in /usr/lib/dyld)
  333. ==8916==    by 0x10000A708: dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) (in /usr/lib/dyld)
  334. ==8916==
  335. ==8916== Conditional jump or move depends on uninitialised value(s)
  336. ==8916==    at 0x10066D95E: _xpc_dictionary_insert (in /usr/lib/system/libxpc.dylib)
  337. ==8916==    by 0x10066DCE9: _xpc_dyld_image_callback (in /usr/lib/system/libxpc.dylib)
  338. ==8916==    by 0x100007873: dyld::registerLoadCallback(void (*)(mach_header const*, char const*, bool)) (in /usr/lib/dyld)
  339. ==8916==    by 0x10066DBA1: _xpc_collect_images (in /usr/lib/system/libxpc.dylib)
  340. ==8916==    by 0x10066D002: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  341. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  342. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  343. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  344. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  345. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  346. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  347. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  348. ==8916==
  349. ==8916== Conditional jump or move depends on uninitialised value(s)
  350. ==8916==    at 0x10066D9C8: _xpc_dictionary_insert (in /usr/lib/system/libxpc.dylib)
  351. ==8916==    by 0x10066DCE9: _xpc_dyld_image_callback (in /usr/lib/system/libxpc.dylib)
  352. ==8916==    by 0x100007873: dyld::registerLoadCallback(void (*)(mach_header const*, char const*, bool)) (in /usr/lib/dyld)
  353. ==8916==    by 0x10066DBA1: _xpc_collect_images (in /usr/lib/system/libxpc.dylib)
  354. ==8916==    by 0x10066D002: _libxpc_initializer (in /usr/lib/system/libxpc.dylib)
  355. ==8916==    by 0x1001939C9: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  356. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  357. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  358. ==8916==    by 0x100016BE9: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  359. ==8916==    by 0x100016B7F: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  360. ==8916==    by 0x100015D72: ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) (in /usr/lib/dyld)
  361. ==8916==    by 0x100015E04: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
  362. ==8916==
  363. ==8916==
  364. ==8916== HEAP SUMMARY:
  365. ==8916==     in use at exit: 19,232 bytes in 166 blocks
  366. ==8916==   total heap usage: 189 allocs, 23 frees, 27,712 bytes allocated
  367. ==8916==
  368. ==8916== 24 bytes in 1 blocks are still reachable in loss record 4 of 44
  369. ==8916==    at 0x1000D5F6A: malloc_zone_malloc (in /usr/local/Cellar/valgrind/HEAD-fc32b97/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
  370. ==8916==    by 0x1006C1874: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  371. ==8916==    by 0x1006C1846: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  372. ==8916==    by 0x1006DD646: std::__1::__hash_table<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, std::__1::__unordered_map_hasher<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerHash, true>, std::__1::__unordered_map_equal<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerEqual, true>, objc_references_support::ObjcAllocator<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*> > >::__rehash(unsigned long) (in /usr/lib/libobjc.A.dylib)
  373. ==8916==    by 0x1006C00F8: objc_opt::objc_stringhash_t::getIndex(char const*) const (in /usr/lib/libobjc.A.dylib)
  374. ==8916==    by 0x1006BF93B: objc_image_info* getDataSection<objc_image_info>(mach_header_64 const*, char const*, unsigned long*, unsigned long*) (in /usr/lib/libobjc.A.dylib)
  375. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  376. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  377. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  378. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  379. ==8916==    by 0x1006BF233: environ_init (in /usr/lib/libobjc.A.dylib)
  380. ==8916==    by 0x1002B0E35: _os_object_init (in /usr/lib/system/libdispatch.dylib)
  381. ==8916==
  382. ==8916== 24 bytes in 1 blocks are possibly lost in loss record 8 of 44
  383. ==8916==    at 0x1000D6511: malloc_zone_calloc (in /usr/local/Cellar/valgrind/HEAD-fc32b97/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
  384. ==8916==    by 0x1006C1DE3: freeBuckets(NXHashTable*, int) (in /usr/lib/libobjc.A.dylib)
  385. ==8916==    by 0x1006C1EC7: remapClass(objc_class*) (in /usr/lib/libobjc.A.dylib)
  386. ==8916==    by 0x1006C1E1E: TimeLogger::log(char const*) (in /usr/lib/libobjc.A.dylib)
  387. ==8916==    by 0x1006C1921: NXHashGet (in /usr/lib/libobjc.A.dylib)
  388. ==8916==    by 0x1006C1846: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  389. ==8916==    by 0x1006C3417: NXMapRemove (in /usr/lib/libobjc.A.dylib)
  390. ==8916==    by 0x1006D7067: _unload_image (in /usr/lib/libobjc.A.dylib)
  391. ==8916==    by 0x1006D6A8C: _objc_flush_caches (in /usr/lib/libobjc.A.dylib)
  392. ==8916==    by 0x1006D6A6B: _objc_flush_caches (in /usr/lib/libobjc.A.dylib)
  393. ==8916==    by 0x1006D6A6B: _objc_flush_caches (in /usr/lib/libobjc.A.dylib)
  394. ==8916==    by 0x1006D6A6B: _objc_flush_caches (in /usr/lib/libobjc.A.dylib)
  395. ==8916==
  396. ==8916== 32 bytes in 1 blocks are still reachable in loss record 9 of 44
  397. ==8916==    at 0x1000D5F6A: malloc_zone_malloc (in /usr/local/Cellar/valgrind/HEAD-fc32b97/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
  398. ==8916==    by 0x1006C19EF: isEqualPrototype(void const*, void const*, void const*) (in /usr/lib/libobjc.A.dylib)
  399. ==8916==    by 0x1006C19BF: hashPrototype(void const*, void const*) (in /usr/lib/libobjc.A.dylib)
  400. ==8916==    by 0x1006C189C: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  401. ==8916==    by 0x1006C1846: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  402. ==8916==    by 0x1006DD646: std::__1::__hash_table<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, std::__1::__unordered_map_hasher<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerHash, true>, std::__1::__unordered_map_equal<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerEqual, true>, objc_references_support::ObjcAllocator<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*> > >::__rehash(unsigned long) (in /usr/lib/libobjc.A.dylib)
  403. ==8916==    by 0x1006C00F8: objc_opt::objc_stringhash_t::getIndex(char const*) const (in /usr/lib/libobjc.A.dylib)
  404. ==8916==    by 0x1006BF93B: objc_image_info* getDataSection<objc_image_info>(mach_header_64 const*, char const*, unsigned long*, unsigned long*) (in /usr/lib/libobjc.A.dylib)
  405. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  406. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  407. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  408. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  409. ==8916==
  410. ==8916== 32 bytes in 1 blocks are still reachable in loss record 10 of 44
  411. ==8916==    at 0x1000D5F6A: malloc_zone_malloc (in /usr/local/Cellar/valgrind/HEAD-fc32b97/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
  412. ==8916==    by 0x1006C1A10: NXHashInsert (in /usr/lib/libobjc.A.dylib)
  413. ==8916==    by 0x1006C19BF: hashPrototype(void const*, void const*) (in /usr/lib/libobjc.A.dylib)
  414. ==8916==    by 0x1006C189C: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  415. ==8916==    by 0x1006C1846: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  416. ==8916==    by 0x1006DD646: std::__1::__hash_table<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, std::__1::__unordered_map_hasher<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerHash, true>, std::__1::__unordered_map_equal<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerEqual, true>, objc_references_support::ObjcAllocator<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*> > >::__rehash(unsigned long) (in /usr/lib/libobjc.A.dylib)
  417. ==8916==    by 0x1006C00F8: objc_opt::objc_stringhash_t::getIndex(char const*) const (in /usr/lib/libobjc.A.dylib)
  418. ==8916==    by 0x1006BF93B: objc_image_info* getDataSection<objc_image_info>(mach_header_64 const*, char const*, unsigned long*, unsigned long*) (in /usr/lib/libobjc.A.dylib)
  419. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  420. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  421. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  422. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  423. ==8916==
  424. ==8916== 32 bytes in 1 blocks are still reachable in loss record 11 of 44
  425. ==8916==    at 0x1000D5CF5: malloc (in /usr/local/Cellar/valgrind/HEAD-fc32b97/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
  426. ==8916==    by 0x1006C1AD4: NXHashInsert (in /usr/lib/libobjc.A.dylib)
  427. ==8916==    by 0x1006C19BF: hashPrototype(void const*, void const*) (in /usr/lib/libobjc.A.dylib)
  428. ==8916==    by 0x1006C189C: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  429. ==8916==    by 0x1006C1846: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  430. ==8916==    by 0x1006DD646: std::__1::__hash_table<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, std::__1::__unordered_map_hasher<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerHash, true>, std::__1::__unordered_map_equal<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerEqual, true>, objc_references_support::ObjcAllocator<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*> > >::__rehash(unsigned long) (in /usr/lib/libobjc.A.dylib)
  431. ==8916==    by 0x1006C00F8: objc_opt::objc_stringhash_t::getIndex(char const*) const (in /usr/lib/libobjc.A.dylib)
  432. ==8916==    by 0x1006BF93B: objc_image_info* getDataSection<objc_image_info>(mach_header_64 const*, char const*, unsigned long*, unsigned long*) (in /usr/lib/libobjc.A.dylib)
  433. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  434. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  435. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  436. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  437. ==8916==
  438. ==8916== 32 bytes in 1 blocks are still reachable in loss record 12 of 44
  439. ==8916==    at 0x1000D5CF5: malloc (in /usr/local/Cellar/valgrind/HEAD-fc32b97/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
  440. ==8916==    by 0x1006C1902: NXHashGet (in /usr/lib/libobjc.A.dylib)
  441. ==8916==    by 0x1006C1846: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  442. ==8916==    by 0x1006DD646: std::__1::__hash_table<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, std::__1::__unordered_map_hasher<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerHash, true>, std::__1::__unordered_map_equal<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerEqual, true>, objc_references_support::ObjcAllocator<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*> > >::__rehash(unsigned long) (in /usr/lib/libobjc.A.dylib)
  443. ==8916==    by 0x1006C00F8: objc_opt::objc_stringhash_t::getIndex(char const*) const (in /usr/lib/libobjc.A.dylib)
  444. ==8916==    by 0x1006BF93B: objc_image_info* getDataSection<objc_image_info>(mach_header_64 const*, char const*, unsigned long*, unsigned long*) (in /usr/lib/libobjc.A.dylib)
  445. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  446. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  447. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  448. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  449. ==8916==    by 0x1006BF233: environ_init (in /usr/lib/libobjc.A.dylib)
  450. ==8916==    by 0x1002B0E35: _os_object_init (in /usr/lib/system/libdispatch.dylib)
  451. ==8916==
  452. ==8916== 48 bytes in 1 blocks are still reachable in loss record 18 of 44
  453. ==8916==    at 0x1000D6511: malloc_zone_calloc (in /usr/local/Cellar/valgrind/HEAD-fc32b97/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
  454. ==8916==    by 0x1006C1E94: remapClass(objc_class*) (in /usr/lib/libobjc.A.dylib)
  455. ==8916==    by 0x1006C1E1E: TimeLogger::log(char const*) (in /usr/lib/libobjc.A.dylib)
  456. ==8916==    by 0x1006C1AFE: NXHashInsert (in /usr/lib/libobjc.A.dylib)
  457. ==8916==    by 0x1006C19BF: hashPrototype(void const*, void const*) (in /usr/lib/libobjc.A.dylib)
  458. ==8916==    by 0x1006C189C: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  459. ==8916==    by 0x1006C1846: NXCreateHashTableFromZone (in /usr/lib/libobjc.A.dylib)
  460. ==8916==    by 0x1006DD646: std::__1::__hash_table<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, std::__1::__unordered_map_hasher<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerHash, true>, std::__1::__unordered_map_equal<unsigned long, std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*>, objc_references_support::DisguisedPointerEqual, true>, objc_references_support::ObjcAllocator<std::__1::__hash_value_type<unsigned long, objc_references_support::ObjectAssociationMap*> > >::__rehash(unsigned long) (in /usr/lib/libobjc.A.dylib)
  461. ==8916==    by 0x1006C00F8: objc_opt::objc_stringhash_t::getIndex(char const*) const (in /usr/lib/libobjc.A.dylib)
  462. ==8916==    by 0x1006BF93B: objc_image_info* getDataSection<objc_image_info>(mach_header_64 const*, char const*, unsigned long*, unsigned long*) (in /usr/lib/libobjc.A.dylib)
  463. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  464. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  465. ==8916==
  466. ==8916== 48 bytes in 2 blocks are possibly lost in loss record 21 of 44
  467. ==8916==    at 0x1000D6350: calloc (in /usr/local/Cellar/valgrind/HEAD-fc32b97/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
  468. ==8916==    by 0x1006BF742: map_images_nolock (in /usr/lib/libobjc.A.dylib)
  469. ==8916==    by 0x1006D255F: __objc_personality_v0 (in /usr/lib/libobjc.A.dylib)
  470. ==8916==    by 0x10000847A: dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*), bool, bool) (in /usr/lib/dyld)
  471. ==8916==    by 0x10000862D: dyld::registerObjCNotifiers(void (*)(unsigned int, char const* const*, mach_header const* const*), void (*)(char const*, mach_header const*), void (*)(char const*, mach_header const*)) (in /usr/lib/dyld)
  472. ==8916==    by 0x100319A26: _dyld_objc_notify_register (in /usr/lib/system/libdyld.dylib)
  473. ==8916==    by 0x1006BF233: environ_init (in /usr/lib/libobjc.A.dylib)
  474. ==8916==    by 0x1002B0E35: _os_object_init (in /usr/lib/system/libdispatch.dylib)
  475. ==8916==    by 0x1002BCAD1: libdispatch_init (in /usr/lib/system/libdispatch.dylib)
  476. ==8916==    by 0x1001939C4: libSystem_initializer (in /usr/lib/libSystem.B.dylib)
  477. ==8916==    by 0x10001B591: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  478. ==8916==    by 0x10001B797: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
  479. ==8916==
  480. ==8916== LEAK SUMMARY:
  481. ==8916==    definitely lost: 0 bytes in 0 blocks
  482. ==8916==    indirectly lost: 0 bytes in 0 blocks
  483. ==8916==      possibly lost: 72 bytes in 3 blocks
  484. ==8916==    still reachable: 200 bytes in 6 blocks
  485. ==8916==         suppressed: 18,960 bytes in 157 blocks
  486. ==8916==
  487. ==8916== Use --track-origins=yes to see where uninitialised values come from
  488. ==8916== For lists of detected and suppressed errors, rerun with: -s
  489. ==8916== ERROR SUMMARY: 427 errors from 29 contexts (suppressed: 6 from 6)
  490. tmp ➤
Add Comment
Please, Sign In to add comment