Advertisement
Guest User

Rust threading valgrind errors

a guest
Jun 19th, 2015
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.48 KB | None | 0 0
  1. ==26428== Memcheck, a memory error detector
  2. ==26428== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  3. ==26428== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
  4. ==26428== Command: target/debug/valgrind
  5. ==26428==
  6. ==26428== Thread 3:
  7. ==26428== Invalid read of size 16
  8. ==26428== at 0x135543: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:28)
  9. ==26428== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  10. ==26428== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  11. ==26428== by 0x5043181: start_thread (pthread_create.c:312)
  12. ==26428== by 0x577147C: clone (clone.S:111)
  13. ==26428== Address 0x6827000 is 0 bytes inside a recently re-allocated block of size 16 alloc'd
  14. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  15. ==26428== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  16. ==26428== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  17. ==26428== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  18. ==26428== by 0x12C749: sys::thread::create::h23785908ae25e93dEiv (thread.rs:187)
  19. ==26428== by 0x116197: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:366)
  20. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  21. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  22. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  23. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  24. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  25. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  26. ==26428==
  27. ==26428== Invalid write of size 8
  28. ==26428== at 0x135554: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:28)
  29. ==26428== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  30. ==26428== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  31. ==26428== by 0x5043181: start_thread (pthread_create.c:312)
  32. ==26428== by 0x577147C: clone (clone.S:111)
  33. ==26428== Address 0x6827008 is 8 bytes inside a recently re-allocated block of size 16 alloc'd
  34. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  35. ==26428== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  36. ==26428== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  37. ==26428== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  38. ==26428== by 0x12C749: sys::thread::create::h23785908ae25e93dEiv (thread.rs:187)
  39. ==26428== by 0x116197: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:366)
  40. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  41. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  42. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  43. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  44. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  45. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  46. ==26428==
  47. ==26428== Invalid write of size 8
  48. ==26428== at 0x135558: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:28)
  49. ==26428== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  50. ==26428== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  51. ==26428== by 0x5043181: start_thread (pthread_create.c:312)
  52. ==26428== by 0x577147C: clone (clone.S:111)
  53. ==26428== Address 0x6827000 is 0 bytes inside a recently re-allocated block of size 16 alloc'd
  54. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  55. ==26428== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  56. ==26428== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  57. ==26428== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  58. ==26428== by 0x12C749: sys::thread::create::h23785908ae25e93dEiv (thread.rs:187)
  59. ==26428== by 0x116197: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:366)
  60. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  61. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  62. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  63. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  64. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  65. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  66. ==26428==
  67. ==26428== Invalid read of size 8
  68. ==26428== at 0x12B067: Box$LT$alloc..boxed..FnBox$LT$$LP$$RP$$C$$u20$Output$u3d$$LP$$RP$$GT$$u20$$u2b$$u20$Send$GT$::drop.33769::h79d66836982a5e3f (in /tmp/vg/target/debug/valgrind)
  69. ==26428== by 0x135751: Box$LT$Box$LT$alloc..boxed..FnBox$LT$$LP$$RP$$C$$u20$Output$u3d$$LP$$RP$$GT$$u20$$u2b$$u20$Send$GT$$GT$::drop.34494::h3043d0584622a8de (in /tmp/vg/target/debug/valgrind)
  70. ==26428== by 0x135598: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:30)
  71. ==26428== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  72. ==26428== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  73. ==26428== by 0x5043181: start_thread (pthread_create.c:312)
  74. ==26428== by 0x577147C: clone (clone.S:111)
  75. ==26428== Address 0x6827000 is 0 bytes inside a recently re-allocated block of size 16 alloc'd
  76. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  77. ==26428== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  78. ==26428== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  79. ==26428== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  80. ==26428== by 0x12C749: sys::thread::create::h23785908ae25e93dEiv (thread.rs:187)
  81. ==26428== by 0x116197: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:366)
  82. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  83. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  84. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  85. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  86. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  87. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  88. ==26428==
  89. ==26428== Thread 2:
  90. ==26428== Invalid read of size 8
  91. ==26428== at 0x112EED: core..option..Option$LT$core..result..Result$LT$$LP$$RP$$C$$u20$Box$LT$core..any..Any$u20$$u2b$$u20$Send$GT$$GT$$GT$::drop.2085::h5647366aab34c814 (in /tmp/vg/target/debug/valgrind)
  92. ==26428== by 0x117001: thread::Builder::spawn_inner::closure.2384 (mod.rs:357)
  93. ==26428== by 0x118BDD: boxed::F.FnBox$LT$A$GT$::call_box::h12019430421436588519 (boxed.rs:374)
  94. ==26428== by 0x12C6A7: boxed::Box$LT$FnBox$LT$A$C$$u20$Output$u20$$u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h13021447468734341955 (boxed.rs:390)
  95. ==26428== by 0x135563: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:29)
  96. ==26428== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  97. ==26428== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  98. ==26428== by 0x5043181: start_thread (pthread_create.c:312)
  99. ==26428== by 0x577147C: clone (clone.S:111)
  100. ==26428== Address 0x681eea0 is 64 bytes after a recently re-allocated block of size 48 alloc'd
  101. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  102. ==26428== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  103. ==26428== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  104. ==26428== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  105. ==26428== by 0x1216D3: sync::mutex::Mutex$LT$T$GT$::new::h8004445225279742993 (mutex.rs:191)
  106. ==26428== by 0x121209: thread::Thread::new::h914868fa9a742cebdEb (mod.rs:565)
  107. ==26428== by 0x115E2C: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:311)
  108. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  109. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  110. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  111. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  112. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  113. ==26428==
  114. ==26428== Invalid write of size 8
  115. ==26428== at 0x117017: thread::Builder::spawn_inner::closure.2384 (mod.rs:357)
  116. ==26428== by 0x118BDD: boxed::F.FnBox$LT$A$GT$::call_box::h12019430421436588519 (boxed.rs:374)
  117. ==26428== by 0x12C6A7: boxed::Box$LT$FnBox$LT$A$C$$u20$Output$u20$$u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h13021447468734341955 (boxed.rs:390)
  118. ==26428== by 0x135563: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:29)
  119. ==26428== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  120. ==26428== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  121. ==26428== by 0x5043181: start_thread (pthread_create.c:312)
  122. ==26428== by 0x577147C: clone (clone.S:111)
  123. ==26428== Address 0x681eea0 is 64 bytes after a recently re-allocated block of size 48 alloc'd
  124. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  125. ==26428== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  126. ==26428== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  127. ==26428== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  128. ==26428== by 0x1216D3: sync::mutex::Mutex$LT$T$GT$::new::h8004445225279742993 (mutex.rs:191)
  129. ==26428== by 0x121209: thread::Thread::new::h914868fa9a742cebdEb (mod.rs:565)
  130. ==26428== by 0x115E2C: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:311)
  131. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  132. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  133. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  134. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  135. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  136. ==26428==
  137. ==26428== Invalid write of size 8
  138. ==26428== at 0x117021: thread::Builder::spawn_inner::closure.2384 (mod.rs:357)
  139. ==26428== by 0x118BDD: boxed::F.FnBox$LT$A$GT$::call_box::h12019430421436588519 (boxed.rs:374)
  140. ==26428== by 0x12C6A7: boxed::Box$LT$FnBox$LT$A$C$$u20$Output$u20$$u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h13021447468734341955 (boxed.rs:390)
  141. ==26428== by 0x135563: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:29)
  142. ==26428== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  143. ==26428== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  144. ==26428== by 0x5043181: start_thread (pthread_create.c:312)
  145. ==26428== by 0x577147C: clone (clone.S:111)
  146. ==26428== Address 0x681eea8 is 24 bytes after a recently re-allocated block of size 48 alloc'd
  147. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  148. ==26428== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  149. ==26428== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  150. ==26428== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  151. ==26428== by 0x1167D4: arc::Arc$LT$T$GT$::new::h17290692420371308421 (arc.rs:178)
  152. ==26428== by 0x115EFD: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:314)
  153. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  154. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  155. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  156. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  157. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  158. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  159. ==26428==
  160. ==26428== Invalid write of size 8
  161. ==26428== at 0x11702C: thread::Builder::spawn_inner::closure.2384 (mod.rs:357)
  162. ==26428== by 0x118BDD: boxed::F.FnBox$LT$A$GT$::call_box::h12019430421436588519 (boxed.rs:374)
  163. ==26428== by 0x12C6A7: boxed::Box$LT$FnBox$LT$A$C$$u20$Output$u20$$u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h13021447468734341955 (boxed.rs:390)
  164. ==26428== by 0x135563: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:29)
  165. ==26428== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  166. ==26428== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  167. ==26428== by 0x5043181: start_thread (pthread_create.c:312)
  168. ==26428== by 0x577147C: clone (clone.S:111)
  169. ==26428== Address 0x681eeb0 is 32 bytes after a recently re-allocated block of size 48 alloc'd
  170. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  171. ==26428== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  172. ==26428== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  173. ==26428== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  174. ==26428== by 0x1167D4: arc::Arc$LT$T$GT$::new::h17290692420371308421 (arc.rs:178)
  175. ==26428== by 0x115EFD: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:314)
  176. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  177. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  178. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  179. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  180. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  181. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  182. ==26428==
  183. ==26428== Invalid read of size 8
  184. ==26428== at 0x11187A: atomic::atomic_sub::h4824955814983434728 (atomic.rs:982)
  185. ==26428== by 0x1117DF: atomic::AtomicUsize::fetch_sub::hcd78d0fcfccea163PIx (atomic.rs:753)
  186. ==26428== by 0x112B74: arc::Arc$LT$T$GT$.Drop::drop::h8480301944429741063 (arc.rs:399)
  187. ==26428== by 0x112ABD: alloc..arc..Arc$LT$core..cell..UnsafeCell$LT$core..option..Option$LT$core..result..Result$LT$$LP$$RP$$C$$u20$Box$LT$core..any..Any$u20$$u2b$$u20$Send$GT$$GT$$GT$$GT$$GT$::drop.2078::h34673a37e39f2430 (in /tmp/vg/target/debug/valgrind)
  188. ==26428== by 0x112A8D: std..thread..Packet$LT$$LP$$RP$$GT$::drop.2075::h230e43ce979deb3d (in /tmp/vg/target/debug/valgrind)
  189. ==26428== by 0x11704C: thread::Builder::spawn_inner::closure.2384 (in /tmp/vg/target/debug/valgrind)
  190. ==26428== by 0x118BDD: boxed::F.FnBox$LT$A$GT$::call_box::h12019430421436588519 (boxed.rs:374)
  191. ==26428== by 0x12C6A7: boxed::Box$LT$FnBox$LT$A$C$$u20$Output$u20$$u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h13021447468734341955 (boxed.rs:390)
  192. ==26428== by 0x135563: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:29)
  193. ==26428== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  194. ==26428== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  195. ==26428== by 0x5043181: start_thread (pthread_create.c:312)
  196. ==26428== Address 0x681ee90 is 48 bytes after a recently re-allocated block of size 48 alloc'd
  197. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  198. ==26428== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  199. ==26428== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  200. ==26428== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  201. ==26428== by 0x1216D3: sync::mutex::Mutex$LT$T$GT$::new::h8004445225279742993 (mutex.rs:191)
  202. ==26428== by 0x121209: thread::Thread::new::h914868fa9a742cebdEb (mod.rs:565)
  203. ==26428== by 0x115E2C: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:311)
  204. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  205. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  206. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  207. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  208. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  209. ==26428==
  210. ==26428== Thread 1:
  211. ==26428== Invalid read of size 8
  212. ==26428== at 0x11ACF2: mem::swap::h4853273074517338477 (mem.rs:266)
  213. ==26428== by 0x11AC3A: mem::replace::h16433368060992283531 (mem.rs:326)
  214. ==26428== by 0x11ABD5: option::Option$LT$T$GT$::take::h5680927095997980638 (option.rs:685)
  215. ==26428== by 0x11AA51: thread::JoinInner$LT$T$GT$::join::h1709070273065582510 (mod.rs:631)
  216. ==26428== by 0x11A953: thread::JoinHandle$LT$T$GT$::join::h14472682740459516581 (mod.rs:660)
  217. ==26428== by 0x110065: main::hae2fd6a11883b5bakaa (valgrind.rs:17)
  218. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  219. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  220. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  221. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  222. ==26428== by 0x149715: rust_try (in /tmp/vg/target/debug/valgrind)
  223. ==26428== by 0x14825F: rt::unwind::try::h3665366525238079239 (unwind.rs:125)
  224. ==26428== Address 0x681eeb0 is 32 bytes inside a recently re-allocated block of size 48 alloc'd
  225. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  226. ==26428== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  227. ==26428== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  228. ==26428== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  229. ==26428== by 0x116089: thread::Builder::spawn_inner::h3526065594950748127 (boxed.rs:104)
  230. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  231. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  232. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  233. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  234. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  235. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  236. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  237. ==26428==
  238. ==26428== Invalid read of size 16
  239. ==26428== at 0x11ACFA: mem::swap::h4853273074517338477 (mem.rs:266)
  240. ==26428== by 0x11AC3A: mem::replace::h16433368060992283531 (mem.rs:326)
  241. ==26428== by 0x11ABD5: option::Option$LT$T$GT$::take::h5680927095997980638 (option.rs:685)
  242. ==26428== by 0x11AA51: thread::JoinInner$LT$T$GT$::join::h1709070273065582510 (mod.rs:631)
  243. ==26428== by 0x11A953: thread::JoinHandle$LT$T$GT$::join::h14472682740459516581 (mod.rs:660)
  244. ==26428== by 0x110065: main::hae2fd6a11883b5bakaa (valgrind.rs:17)
  245. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  246. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  247. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  248. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  249. ==26428== by 0x149715: rust_try (in /tmp/vg/target/debug/valgrind)
  250. ==26428== by 0x14825F: rt::unwind::try::h3665366525238079239 (unwind.rs:125)
  251. ==26428== Address 0x681eea0 is 64 bytes after a recently re-allocated block of size 48 alloc'd
  252. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  253. ==26428== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  254. ==26428== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  255. ==26428== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  256. ==26428== by 0x1216D3: sync::mutex::Mutex$LT$T$GT$::new::h8004445225279742993 (mutex.rs:191)
  257. ==26428== by 0x121209: thread::Thread::new::h914868fa9a742cebdEb (mod.rs:565)
  258. ==26428== by 0x115E2C: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:311)
  259. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  260. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  261. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  262. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  263. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  264. ==26428==
  265. ==26428== Invalid write of size 8
  266. ==26428== at 0x11AD0D: mem::swap::h4853273074517338477 (mem.rs:267)
  267. ==26428== by 0x11AC3A: mem::replace::h16433368060992283531 (mem.rs:326)
  268. ==26428== by 0x11ABD5: option::Option$LT$T$GT$::take::h5680927095997980638 (option.rs:685)
  269. ==26428== by 0x11AA51: thread::JoinInner$LT$T$GT$::join::h1709070273065582510 (mod.rs:631)
  270. ==26428== by 0x11A953: thread::JoinHandle$LT$T$GT$::join::h14472682740459516581 (mod.rs:660)
  271. ==26428== by 0x110065: main::hae2fd6a11883b5bakaa (valgrind.rs:17)
  272. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  273. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  274. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  275. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  276. ==26428== by 0x149715: rust_try (in /tmp/vg/target/debug/valgrind)
  277. ==26428== by 0x14825F: rt::unwind::try::h3665366525238079239 (unwind.rs:125)
  278. ==26428== Address 0x681eeb0 is 32 bytes inside a recently re-allocated block of size 48 alloc'd
  279. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  280. ==26428== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  281. ==26428== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  282. ==26428== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  283. ==26428== by 0x116089: thread::Builder::spawn_inner::h3526065594950748127 (boxed.rs:104)
  284. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  285. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  286. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  287. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  288. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  289. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  290. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  291. ==26428==
  292. ==26428== Invalid write of size 8
  293. ==26428== at 0x11AD14: mem::swap::h4853273074517338477 (mem.rs:267)
  294. ==26428== by 0x11AC3A: mem::replace::h16433368060992283531 (mem.rs:326)
  295. ==26428== by 0x11ABD5: option::Option$LT$T$GT$::take::h5680927095997980638 (option.rs:685)
  296. ==26428== by 0x11AA51: thread::JoinInner$LT$T$GT$::join::h1709070273065582510 (mod.rs:631)
  297. ==26428== by 0x11A953: thread::JoinHandle$LT$T$GT$::join::h14472682740459516581 (mod.rs:660)
  298. ==26428== by 0x110065: main::hae2fd6a11883b5bakaa (valgrind.rs:17)
  299. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  300. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  301. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  302. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  303. ==26428== by 0x149715: rust_try (in /tmp/vg/target/debug/valgrind)
  304. ==26428== by 0x14825F: rt::unwind::try::h3665366525238079239 (unwind.rs:125)
  305. ==26428== Address 0x681eea0 is 64 bytes after a recently re-allocated block of size 48 alloc'd
  306. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  307. ==26428== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  308. ==26428== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  309. ==26428== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  310. ==26428== by 0x1216D3: sync::mutex::Mutex$LT$T$GT$::new::h8004445225279742993 (mutex.rs:191)
  311. ==26428== by 0x121209: thread::Thread::new::h914868fa9a742cebdEb (mod.rs:565)
  312. ==26428== by 0x115E2C: thread::Builder::spawn_inner::h3526065594950748127 (mod.rs:311)
  313. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  314. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  315. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  316. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  317. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  318. ==26428==
  319. ==26428== Invalid read of size 8
  320. ==26428== at 0x112D2C: arc::Arc$LT$T$GT$::drop_slow::h13951179931014796086 (ptr.rs:214)
  321. ==26428== by 0x112B97: arc::Arc$LT$T$GT$.Drop::drop::h8480301944429741063 (arc.rs:421)
  322. ==26428== by 0x112ABD: alloc..arc..Arc$LT$core..cell..UnsafeCell$LT$core..option..Option$LT$core..result..Result$LT$$LP$$RP$$C$$u20$Box$LT$core..any..Any$u20$$u2b$$u20$Send$GT$$GT$$GT$$GT$$GT$::drop.2078::h34673a37e39f2430 (in /tmp/vg/target/debug/valgrind)
  323. ==26428== by 0x112A8D: std..thread..Packet$LT$$LP$$RP$$GT$::drop.2075::h230e43ce979deb3d (in /tmp/vg/target/debug/valgrind)
  324. ==26428== by 0x111593: std..thread..JoinInner$LT$$LP$$RP$$GT$::drop.1906::h6dda0ff728f5fd23 (in /tmp/vg/target/debug/valgrind)
  325. ==26428== by 0x1114B5: std..thread..JoinHandle$LT$$LP$$RP$$GT$::drop.1902::h955e1cdf1ede4b79 (in /tmp/vg/target/debug/valgrind)
  326. ==26428== by 0x11A95E: thread::JoinHandle$LT$T$GT$::join::h14472682740459516581 (mod.rs:659)
  327. ==26428== by 0x110065: main::hae2fd6a11883b5bakaa (valgrind.rs:17)
  328. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  329. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  330. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  331. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  332. ==26428== Address 0x681eea0 is 16 bytes inside a recently re-allocated block of size 48 alloc'd
  333. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  334. ==26428== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  335. ==26428== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  336. ==26428== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  337. ==26428== by 0x116089: thread::Builder::spawn_inner::h3526065594950748127 (boxed.rs:104)
  338. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  339. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  340. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  341. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  342. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  343. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  344. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  345. ==26428==
  346. ==26428== Invalid read of size 8
  347. ==26428== at 0x112D33: arc::Arc$LT$T$GT$::drop_slow::h13951179931014796086 (ptr.rs:214)
  348. ==26428== by 0x112B97: arc::Arc$LT$T$GT$.Drop::drop::h8480301944429741063 (arc.rs:421)
  349. ==26428== by 0x112ABD: alloc..arc..Arc$LT$core..cell..UnsafeCell$LT$core..option..Option$LT$core..result..Result$LT$$LP$$RP$$C$$u20$Box$LT$core..any..Any$u20$$u2b$$u20$Send$GT$$GT$$GT$$GT$$GT$::drop.2078::h34673a37e39f2430 (in /tmp/vg/target/debug/valgrind)
  350. ==26428== by 0x112A8D: std..thread..Packet$LT$$LP$$RP$$GT$::drop.2075::h230e43ce979deb3d (in /tmp/vg/target/debug/valgrind)
  351. ==26428== by 0x111593: std..thread..JoinInner$LT$$LP$$RP$$GT$::drop.1906::h6dda0ff728f5fd23 (in /tmp/vg/target/debug/valgrind)
  352. ==26428== by 0x1114B5: std..thread..JoinHandle$LT$$LP$$RP$$GT$::drop.1902::h955e1cdf1ede4b79 (in /tmp/vg/target/debug/valgrind)
  353. ==26428== by 0x11A95E: thread::JoinHandle$LT$T$GT$::join::h14472682740459516581 (mod.rs:659)
  354. ==26428== by 0x110065: main::hae2fd6a11883b5bakaa (valgrind.rs:17)
  355. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  356. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  357. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  358. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  359. ==26428== Address 0x681eea8 is 24 bytes inside a recently re-allocated block of size 48 alloc'd
  360. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  361. ==26428== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  362. ==26428== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  363. ==26428== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  364. ==26428== by 0x116089: thread::Builder::spawn_inner::h3526065594950748127 (boxed.rs:104)
  365. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  366. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  367. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  368. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  369. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  370. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  371. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  372. ==26428==
  373. ==26428== Invalid read of size 8
  374. ==26428== at 0x112D3B: arc::Arc$LT$T$GT$::drop_slow::h13951179931014796086 (ptr.rs:214)
  375. ==26428== by 0x112B97: arc::Arc$LT$T$GT$.Drop::drop::h8480301944429741063 (arc.rs:421)
  376. ==26428== by 0x112ABD: alloc..arc..Arc$LT$core..cell..UnsafeCell$LT$core..option..Option$LT$core..result..Result$LT$$LP$$RP$$C$$u20$Box$LT$core..any..Any$u20$$u2b$$u20$Send$GT$$GT$$GT$$GT$$GT$::drop.2078::h34673a37e39f2430 (in /tmp/vg/target/debug/valgrind)
  377. ==26428== by 0x112A8D: std..thread..Packet$LT$$LP$$RP$$GT$::drop.2075::h230e43ce979deb3d (in /tmp/vg/target/debug/valgrind)
  378. ==26428== by 0x111593: std..thread..JoinInner$LT$$LP$$RP$$GT$::drop.1906::h6dda0ff728f5fd23 (in /tmp/vg/target/debug/valgrind)
  379. ==26428== by 0x1114B5: std..thread..JoinHandle$LT$$LP$$RP$$GT$::drop.1902::h955e1cdf1ede4b79 (in /tmp/vg/target/debug/valgrind)
  380. ==26428== by 0x11A95E: thread::JoinHandle$LT$T$GT$::join::h14472682740459516581 (mod.rs:659)
  381. ==26428== by 0x110065: main::hae2fd6a11883b5bakaa (valgrind.rs:17)
  382. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  383. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  384. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  385. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  386. ==26428== Address 0x681eeb0 is 32 bytes inside a recently re-allocated block of size 48 alloc'd
  387. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  388. ==26428== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  389. ==26428== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  390. ==26428== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  391. ==26428== by 0x116089: thread::Builder::spawn_inner::h3526065594950748127 (boxed.rs:104)
  392. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  393. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  394. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  395. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  396. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  397. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  398. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  399. ==26428==
  400. ==26428== Invalid read of size 8
  401. ==26428== at 0x11187A: atomic::atomic_sub::h4824955814983434728 (atomic.rs:982)
  402. ==26428== by 0x1117DF: atomic::AtomicUsize::fetch_sub::hcd78d0fcfccea163PIx (atomic.rs:753)
  403. ==26428== by 0x112DB1: arc::Arc$LT$T$GT$::drop_slow::h13951179931014796086 (arc.rs:227)
  404. ==26428== by 0x112B97: arc::Arc$LT$T$GT$.Drop::drop::h8480301944429741063 (arc.rs:421)
  405. ==26428== by 0x112ABD: alloc..arc..Arc$LT$core..cell..UnsafeCell$LT$core..option..Option$LT$core..result..Result$LT$$LP$$RP$$C$$u20$Box$LT$core..any..Any$u20$$u2b$$u20$Send$GT$$GT$$GT$$GT$$GT$::drop.2078::h34673a37e39f2430 (in /tmp/vg/target/debug/valgrind)
  406. ==26428== by 0x112A8D: std..thread..Packet$LT$$LP$$RP$$GT$::drop.2075::h230e43ce979deb3d (in /tmp/vg/target/debug/valgrind)
  407. ==26428== by 0x111593: std..thread..JoinInner$LT$$LP$$RP$$GT$::drop.1906::h6dda0ff728f5fd23 (in /tmp/vg/target/debug/valgrind)
  408. ==26428== by 0x1114B5: std..thread..JoinHandle$LT$$LP$$RP$$GT$::drop.1902::h955e1cdf1ede4b79 (in /tmp/vg/target/debug/valgrind)
  409. ==26428== by 0x11A95E: thread::JoinHandle$LT$T$GT$::join::h14472682740459516581 (mod.rs:659)
  410. ==26428== by 0x110065: main::hae2fd6a11883b5bakaa (valgrind.rs:17)
  411. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  412. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  413. ==26428== Address 0x681ee98 is 8 bytes inside a recently re-allocated block of size 48 alloc'd
  414. ==26428== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  415. ==26428== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  416. ==26428== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  417. ==26428== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  418. ==26428== by 0x116089: thread::Builder::spawn_inner::h3526065594950748127 (boxed.rs:104)
  419. ==26428== by 0x1158D3: thread::Builder::spawn::h16152697944592041644 (mod.rs:278)
  420. ==26428== by 0x1151FB: thread::spawn::h5527440780017112241 (mod.rs:396)
  421. ==26428== by 0x10FEB0: main::hae2fd6a11883b5bakaa (valgrind.rs:13)
  422. ==26428== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  423. ==26428== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  424. ==26428== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  425. ==26428== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  426. ==26428==
  427. ==26428==
  428. ==26428== HEAP SUMMARY:
  429. ==26428== in use at exit: 32 bytes in 1 blocks
  430. ==26428== total heap usage: 1,029 allocs, 1,028 frees, 81,208 bytes allocated
  431. ==26428==
  432. ==26428== LEAK SUMMARY:
  433. ==26428== definitely lost: 0 bytes in 0 blocks
  434. ==26428== indirectly lost: 0 bytes in 0 blocks
  435. ==26428== possibly lost: 0 bytes in 0 blocks
  436. ==26428== still reachable: 32 bytes in 1 blocks
  437. ==26428== suppressed: 0 bytes in 0 blocks
  438. ==26428== Rerun with --leak-check=full to see details of leaked memory
  439. ==26428==
  440. ==26428== For counts of detected and suppressed errors, rerun with: -v
  441. ==26428== ERROR SUMMARY: 25 errors from 17 contexts (suppressed: 0 from 0)
  442.  
  443.  
  444.  
  445. ==30447== Memcheck, a memory error detector
  446. ==30447== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  447. ==30447== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
  448. ==30447== Command: target/debug/valgrind
  449. ==30447==
  450. ==30447== Thread 3:
  451. ==30447== Invalid read of size 16
  452. ==30447== at 0x135543: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:28)
  453. ==30447== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  454. ==30447== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  455. ==30447== by 0x5043181: start_thread (pthread_create.c:312)
  456. ==30447== by 0x577147C: clone (clone.S:111)
  457. ==30447== Address 0x6827010 is 0 bytes after a recently re-allocated block of size 16 alloc'd
  458. ==30447== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  459. ==30447== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  460. ==30447== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  461. ==30447== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  462. ==30447== by 0x12C749: sys::thread::create::h23785908ae25e93dEiv (thread.rs:187)
  463. ==30447== by 0x116197: thread::Builder::spawn_inner::h12002249435122638439 (mod.rs:366)
  464. ==30447== by 0x1158D3: thread::Builder::spawn::h7644348888199633207 (mod.rs:278)
  465. ==30447== by 0x1151FB: thread::spawn::h16311925562213778376 (mod.rs:396)
  466. ==30447== by 0x10FEB0: main::h3fb88adf0cd8c24diaa (valgrind.rs:11)
  467. ==30447== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  468. ==30447== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  469. ==30447== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  470. ==30447==
  471. ==30447== Invalid write of size 8
  472. ==30447== at 0x135554: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:28)
  473. ==30447== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  474. ==30447== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  475. ==30447== by 0x5043181: start_thread (pthread_create.c:312)
  476. ==30447== by 0x577147C: clone (clone.S:111)
  477. ==30447== Address 0x6827018 is 8 bytes after a recently re-allocated block of size 16 alloc'd
  478. ==30447== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  479. ==30447== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  480. ==30447== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  481. ==30447== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  482. ==30447== by 0x12C749: sys::thread::create::h23785908ae25e93dEiv (thread.rs:187)
  483. ==30447== by 0x116197: thread::Builder::spawn_inner::h12002249435122638439 (mod.rs:366)
  484. ==30447== by 0x1158D3: thread::Builder::spawn::h7644348888199633207 (mod.rs:278)
  485. ==30447== by 0x1151FB: thread::spawn::h16311925562213778376 (mod.rs:396)
  486. ==30447== by 0x10FEB0: main::h3fb88adf0cd8c24diaa (valgrind.rs:11)
  487. ==30447== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  488. ==30447== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  489. ==30447== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  490. ==30447==
  491. ==30447== Invalid write of size 8
  492. ==30447== at 0x135558: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:28)
  493. ==30447== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  494. ==30447== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  495. ==30447== by 0x5043181: start_thread (pthread_create.c:312)
  496. ==30447== by 0x577147C: clone (clone.S:111)
  497. ==30447== Address 0x6827010 is 0 bytes after a recently re-allocated block of size 16 alloc'd
  498. ==30447== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  499. ==30447== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  500. ==30447== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  501. ==30447== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  502. ==30447== by 0x12C749: sys::thread::create::h23785908ae25e93dEiv (thread.rs:187)
  503. ==30447== by 0x116197: thread::Builder::spawn_inner::h12002249435122638439 (mod.rs:366)
  504. ==30447== by 0x1158D3: thread::Builder::spawn::h7644348888199633207 (mod.rs:278)
  505. ==30447== by 0x1151FB: thread::spawn::h16311925562213778376 (mod.rs:396)
  506. ==30447== by 0x10FEB0: main::h3fb88adf0cd8c24diaa (valgrind.rs:11)
  507. ==30447== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  508. ==30447== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  509. ==30447== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  510. ==30447==
  511. ==30447== Invalid read of size 8
  512. ==30447== at 0x12B067: Box$LT$alloc..boxed..FnBox$LT$$LP$$RP$$C$$u20$Output$u3d$$LP$$RP$$GT$$u20$$u2b$$u20$Send$GT$::drop.33769::h79d66836982a5e3f (in /tmp/vg/target/debug/valgrind)
  513. ==30447== by 0x135751: Box$LT$Box$LT$alloc..boxed..FnBox$LT$$LP$$RP$$C$$u20$Output$u3d$$LP$$RP$$GT$$u20$$u2b$$u20$Send$GT$$GT$::drop.34494::h3043d0584622a8de (in /tmp/vg/target/debug/valgrind)
  514. ==30447== by 0x135598: sys_common::thread::start_thread::h86560bacd216170aQ5q (thread.rs:30)
  515. ==30447== by 0x13F994: sys::thread::create::thread_start::__rust_abi (thread.rs:223)
  516. ==30447== by 0x13F914: sys::thread::create::thread_start::h8c3599789d95ae13aqv (in /tmp/vg/target/debug/valgrind)
  517. ==30447== by 0x5043181: start_thread (pthread_create.c:312)
  518. ==30447== by 0x577147C: clone (clone.S:111)
  519. ==30447== Address 0x6827010 is 0 bytes after a recently re-allocated block of size 16 alloc'd
  520. ==30447== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  521. ==30447== by 0x11B309: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  522. ==30447== by 0x11B261: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  523. ==30447== by 0x11B1E8: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  524. ==30447== by 0x12C749: sys::thread::create::h23785908ae25e93dEiv (thread.rs:187)
  525. ==30447== by 0x116197: thread::Builder::spawn_inner::h12002249435122638439 (mod.rs:366)
  526. ==30447== by 0x1158D3: thread::Builder::spawn::h7644348888199633207 (mod.rs:278)
  527. ==30447== by 0x1151FB: thread::spawn::h16311925562213778376 (mod.rs:396)
  528. ==30447== by 0x10FEB0: main::h3fb88adf0cd8c24diaa (valgrind.rs:11)
  529. ==30447== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  530. ==30447== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  531. ==30447== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  532. ==30447==
  533. ==30447== Thread 1:
  534. ==30447== Invalid read of size 1
  535. ==30447== at 0x50453E0: pthread_mutex_destroy (pthread_mutex_destroy.c:31)
  536. ==30447== by 0x110701: sys::mutex::Mutex::destroy::he5e4f6ca2ca36f8fkxt (mutex.rs:56)
  537. ==30447== by 0x110699: sys_common::mutex::Mutex::destroy::h00e04507792e1c1eTkq (in /tmp/vg/target/debug/valgrind)
  538. ==30447== by 0x1128AC: sync::mutex::Mutex$LT$T$GT$.Drop::drop::h5017191520635258109 (mutex.rs:254)
  539. ==30447== by 0x11283A: std..sync..mutex..Mutex$LT$bool$GT$::drop.2064::h9cb0d48de3a8c2e0 (in /tmp/vg/target/debug/valgrind)
  540. ==30447== by 0x111CD5: std..thread..Inner::drop.1985::h14ee2646823608f8 (in /tmp/vg/target/debug/valgrind)
  541. ==30447== by 0x111C87: mem::drop::h5656305778391324111 (mem.rs:352)
  542. ==30447== by 0x111B6D: arc::Arc$LT$T$GT$::drop_slow::h1633686330917608380 (arc.rs:225)
  543. ==30447== by 0x1116D7: arc::Arc$LT$T$GT$.Drop::drop::h927478574387022030 (arc.rs:421)
  544. ==30447== by 0x1115FD: alloc..arc..Arc$LT$std..thread..Inner$GT$::drop.1911::h5e355ab8ac644fd6 (in /tmp/vg/target/debug/valgrind)
  545. ==30447== by 0x1115CD: std..thread..Thread::drop.1908::h6f83b218c5c0ac1e (in /tmp/vg/target/debug/valgrind)
  546. ==30447== by 0x111581: std..thread..JoinInner$LT$$LP$$RP$$GT$::drop.1905::hf05935663e2e176f (in /tmp/vg/target/debug/valgrind)
  547. ==30447== Address 0x681ef30 is 16 bytes inside a recently re-allocated block of size 48 alloc'd
  548. ==30447== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  549. ==30447== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  550. ==30447== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  551. ==30447== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  552. ==30447== by 0x116089: thread::Builder::spawn_inner::h12002249435122638439 (boxed.rs:104)
  553. ==30447== by 0x1158D3: thread::Builder::spawn::h7644348888199633207 (mod.rs:278)
  554. ==30447== by 0x1151FB: thread::spawn::h16311925562213778376 (mod.rs:396)
  555. ==30447== by 0x10FEB0: main::h3fb88adf0cd8c24diaa (valgrind.rs:11)
  556. ==30447== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  557. ==30447== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  558. ==30447== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  559. ==30447== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  560. ==30447==
  561. ==30447== Invalid read of size 4
  562. ==30447== at 0x50453E6: pthread_mutex_destroy (pthread_mutex_destroy.c:32)
  563. ==30447== by 0x110701: sys::mutex::Mutex::destroy::he5e4f6ca2ca36f8fkxt (mutex.rs:56)
  564. ==30447== by 0x110699: sys_common::mutex::Mutex::destroy::h00e04507792e1c1eTkq (in /tmp/vg/target/debug/valgrind)
  565. ==30447== by 0x1128AC: sync::mutex::Mutex$LT$T$GT$.Drop::drop::h5017191520635258109 (mutex.rs:254)
  566. ==30447== by 0x11283A: std..sync..mutex..Mutex$LT$bool$GT$::drop.2064::h9cb0d48de3a8c2e0 (in /tmp/vg/target/debug/valgrind)
  567. ==30447== by 0x111CD5: std..thread..Inner::drop.1985::h14ee2646823608f8 (in /tmp/vg/target/debug/valgrind)
  568. ==30447== by 0x111C87: mem::drop::h5656305778391324111 (mem.rs:352)
  569. ==30447== by 0x111B6D: arc::Arc$LT$T$GT$::drop_slow::h1633686330917608380 (arc.rs:225)
  570. ==30447== by 0x1116D7: arc::Arc$LT$T$GT$.Drop::drop::h927478574387022030 (arc.rs:421)
  571. ==30447== by 0x1115FD: alloc..arc..Arc$LT$std..thread..Inner$GT$::drop.1911::h5e355ab8ac644fd6 (in /tmp/vg/target/debug/valgrind)
  572. ==30447== by 0x1115CD: std..thread..Thread::drop.1908::h6f83b218c5c0ac1e (in /tmp/vg/target/debug/valgrind)
  573. ==30447== by 0x111581: std..thread..JoinInner$LT$$LP$$RP$$GT$::drop.1905::hf05935663e2e176f (in /tmp/vg/target/debug/valgrind)
  574. ==30447== Address 0x681ef2c is 12 bytes inside a recently re-allocated block of size 48 alloc'd
  575. ==30447== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  576. ==30447== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  577. ==30447== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  578. ==30447== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  579. ==30447== by 0x116089: thread::Builder::spawn_inner::h12002249435122638439 (boxed.rs:104)
  580. ==30447== by 0x1158D3: thread::Builder::spawn::h7644348888199633207 (mod.rs:278)
  581. ==30447== by 0x1151FB: thread::spawn::h16311925562213778376 (mod.rs:396)
  582. ==30447== by 0x10FEB0: main::h3fb88adf0cd8c24diaa (valgrind.rs:11)
  583. ==30447== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  584. ==30447== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  585. ==30447== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  586. ==30447== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  587. ==30447==
  588. ==30447== Invalid write of size 4
  589. ==30447== at 0x50453F8: pthread_mutex_destroy (pthread_mutex_destroy.c:36)
  590. ==30447== by 0x110701: sys::mutex::Mutex::destroy::he5e4f6ca2ca36f8fkxt (mutex.rs:56)
  591. ==30447== by 0x110699: sys_common::mutex::Mutex::destroy::h00e04507792e1c1eTkq (in /tmp/vg/target/debug/valgrind)
  592. ==30447== by 0x1128AC: sync::mutex::Mutex$LT$T$GT$.Drop::drop::h5017191520635258109 (mutex.rs:254)
  593. ==30447== by 0x11283A: std..sync..mutex..Mutex$LT$bool$GT$::drop.2064::h9cb0d48de3a8c2e0 (in /tmp/vg/target/debug/valgrind)
  594. ==30447== by 0x111CD5: std..thread..Inner::drop.1985::h14ee2646823608f8 (in /tmp/vg/target/debug/valgrind)
  595. ==30447== by 0x111C87: mem::drop::h5656305778391324111 (mem.rs:352)
  596. ==30447== by 0x111B6D: arc::Arc$LT$T$GT$::drop_slow::h1633686330917608380 (arc.rs:225)
  597. ==30447== by 0x1116D7: arc::Arc$LT$T$GT$.Drop::drop::h927478574387022030 (arc.rs:421)
  598. ==30447== by 0x1115FD: alloc..arc..Arc$LT$std..thread..Inner$GT$::drop.1911::h5e355ab8ac644fd6 (in /tmp/vg/target/debug/valgrind)
  599. ==30447== by 0x1115CD: std..thread..Thread::drop.1908::h6f83b218c5c0ac1e (in /tmp/vg/target/debug/valgrind)
  600. ==30447== by 0x111581: std..thread..JoinInner$LT$$LP$$RP$$GT$::drop.1905::hf05935663e2e176f (in /tmp/vg/target/debug/valgrind)
  601. ==30447== Address 0x681ef30 is 16 bytes inside a recently re-allocated block of size 48 alloc'd
  602. ==30447== at 0x151682: je_mallocx (in /tmp/vg/target/debug/valgrind)
  603. ==30447== by 0x1104A9: heap::imp::allocate::h7c0fe0db76ca425cYea (heap.rs:229)
  604. ==30447== by 0x110401: heap::allocate::h4fb749fd2f763110faa (heap.rs:22)
  605. ==30447== by 0x110388: heap::exchange_malloc::h1b515d9fe363d9abYba (heap.rs:104)
  606. ==30447== by 0x116089: thread::Builder::spawn_inner::h12002249435122638439 (boxed.rs:104)
  607. ==30447== by 0x1158D3: thread::Builder::spawn::h7644348888199633207 (mod.rs:278)
  608. ==30447== by 0x1151FB: thread::spawn::h16311925562213778376 (mod.rs:396)
  609. ==30447== by 0x10FEB0: main::h3fb88adf0cd8c24diaa (valgrind.rs:11)
  610. ==30447== by 0x1486E6: rt::lang_start::closure.35411 (mod.rs:130)
  611. ==30447== by 0x14868E: rt::unwind::try::try_fn::__rust_abi::h16270532892061293923 (unwind.rs:139)
  612. ==30447== by 0x148629: rt::unwind::try::try_fn::h16270532892061293923 (in /tmp/vg/target/debug/valgrind)
  613. ==30447== by 0x149728: rust_try_inner (in /tmp/vg/target/debug/valgrind)
  614. ==30447==
  615. ==30447==
  616. ==30447== HEAP SUMMARY:
  617. ==30447== in use at exit: 32 bytes in 1 blocks
  618. ==30447== total heap usage: 1,029 allocs, 1,028 frees, 81,208 bytes allocated
  619. ==30447==
  620. ==30447== LEAK SUMMARY:
  621. ==30447== definitely lost: 0 bytes in 0 blocks
  622. ==30447== indirectly lost: 0 bytes in 0 blocks
  623. ==30447== possibly lost: 0 bytes in 0 blocks
  624. ==30447== still reachable: 32 bytes in 1 blocks
  625. ==30447== suppressed: 0 bytes in 0 blocks
  626. ==30447== Rerun with --leak-check=full to see details of leaked memory
  627. ==30447==
  628. ==30447== For counts of detected and suppressed errors, rerun with: -v
  629. ==30447== ERROR SUMMARY: 11 errors from 7 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement