From Silly Hog, 4 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and Untitled
  1. ==18304== Helgrind, a thread error detector
  2. ==18304== Copyright (C) 2007-2017, and GNU GPL'd, by OpenWorks LLP et al.
  3. ==18304== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
  4. ==18304== Command: ./freeswitch
  5. ==18304== Parent PID: 3941
  6. ==18304==
  7. ==18304== ---Thread-Announcement------------------------------------------
  8. ==18304==
  9. ==18304== Thread #1 is the program's root thread
  10. ==18304==
  11. ==18304== ---Thread-Announcement------------------------------------------
  12. ==18304==
  13. ==18304== Thread #2 was created
  14. ==18304==    at 0x560E4BE: clone (clone.S:71)
  15. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  16. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  17. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  18. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  19. ==18304==    by 0x4CDA430: switch_core_memory_init (switch_core_memory.c:736)
  20. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  21. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23. ==18304==
  24. ==18304== ----------------------------------------------------------------
  25. ==18304==
  26. ==18304== Possible data race during read of size 4 at 0x50FC238 by thread #1
  27. ==18304== Locks held: none
  28. ==18304==    at 0x4CDA431: switch_core_memory_init (switch_core_memory.c:738)
  29. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  30. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  31. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32. ==18304==
  33. ==18304== This conflicts with a previous write of size 4 by thread #2
  34. ==18304== Locks held: none
  35. ==18304==    at 0x4CDA1AF: pool_thread (switch_core_memory.c:575)
  36. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40. ==18304==  Address 0x50fc238 is 24 bytes inside data symbol "memory_manager"
  41. ==18304==
  42. ==18304== ---Thread-Announcement------------------------------------------
  43. ==18304==
  44. ==18304== Thread #3 was created
  45. ==18304==    at 0x560E4BE: clone (clone.S:71)
  46. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  47. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  48. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  49. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  50. ==18304==    by 0x4D523E8: switch_event_launch_dispatch_threads (switch_event.c:674)
  51. ==18304==    by 0x4D52506: check_dispatch (switch_event.c:635)
  52. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  53. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  54. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  55. ==18304==    by 0x10AEC7: main (switch.c:1200)
  56. ==18304==
  57. ==18304== ----------------------------------------------------------------
  58. ==18304==
  59. ==18304==  Lock at 0x7411E60 was first observed
  60. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  61. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  62. ==18304==    by 0x4D5258C: switch_event_init (switch_event.c:700)
  63. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  64. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  65. ==18304==    by 0x10AEC7: main (switch.c:1200)
  66. ==18304==  Address 0x7411e60 is 3,376 bytes inside a block of size 8,192 alloc'd
  67. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  68. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  69. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  70. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  71. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  72. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  73. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  74. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  75. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  76. ==18304==    by 0x10AEC7: main (switch.c:1200)
  77. ==18304==  Block was alloc'd by thread #1
  78. ==18304==
  79. ==18304==  Lock at 0x7411F00 was first observed
  80. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  81. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  82. ==18304==    by 0x4D525BC: switch_event_init (switch_event.c:702)
  83. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  84. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  85. ==18304==    by 0x10AEC7: main (switch.c:1200)
  86. ==18304==  Address 0x7411f00 is 3,536 bytes inside a block of size 8,192 alloc'd
  87. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  88. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  89. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  90. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  91. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  92. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  93. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  94. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  95. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  96. ==18304==    by 0x10AEC7: main (switch.c:1200)
  97. ==18304==  Block was alloc'd by thread #1
  98. ==18304==
  99. ==18304== Possible data race during read of size 1 at 0x50FD2E0 by thread #1
  100. ==18304== Locks held: 1, at address 0x7411E60
  101. ==18304==    at 0x4D52407: switch_event_launch_dispatch_threads (switch_event.c:675)
  102. ==18304==    by 0x4D52506: check_dispatch (switch_event.c:635)
  103. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  104. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  105. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  106. ==18304==    by 0x10AEC7: main (switch.c:1200)
  107. ==18304==
  108. ==18304== This conflicts with a previous write of size 1 by thread #3
  109. ==18304== Locks held: 1, at address 0x7411F00
  110. ==18304==    at 0x4D5399A: switch_event_dispatch_thread (switch_event.c:316)
  111. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  112. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  113. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  114. ==18304==    by 0x560E4CE: clone (clone.S:95)
  115. ==18304==  Address 0x50fd2e0 is 0 bytes inside data symbol "EVENT_DISPATCH_QUEUE_RUNNING"
  116. ==18304==
  117. ==18304== ----------------------------------------------------------------
  118. ==18304==
  119. ==18304==  Lock at 0x7411E60 was first observed
  120. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  121. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  122. ==18304==    by 0x4D5258C: switch_event_init (switch_event.c:700)
  123. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  124. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  125. ==18304==    by 0x10AEC7: main (switch.c:1200)
  126. ==18304==  Address 0x7411e60 is 3,376 bytes inside a block of size 8,192 alloc'd
  127. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  128. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  129. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  130. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  131. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  132. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  133. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  134. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  135. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  136. ==18304==    by 0x10AEC7: main (switch.c:1200)
  137. ==18304==  Block was alloc'd by thread #1
  138. ==18304==
  139. ==18304==  Lock at 0x7411F00 was first observed
  140. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  141. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  142. ==18304==    by 0x4D525BC: switch_event_init (switch_event.c:702)
  143. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  144. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  145. ==18304==    by 0x10AEC7: main (switch.c:1200)
  146. ==18304==  Address 0x7411f00 is 3,536 bytes inside a block of size 8,192 alloc'd
  147. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  148. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  149. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  150. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  151. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  152. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  153. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  154. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  155. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  156. ==18304==    by 0x10AEC7: main (switch.c:1200)
  157. ==18304==  Block was alloc'd by thread #1
  158. ==18304==
  159. ==18304== Possible data race during read of size 4 at 0x50FD2A0 by thread #1
  160. ==18304== Locks held: 1, at address 0x7411E60
  161. ==18304==    at 0x4D52507: check_dispatch (switch_event.c:637)
  162. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  163. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  164. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  165. ==18304==    by 0x10AEC7: main (switch.c:1200)
  166. ==18304==
  167. ==18304== This conflicts with a previous write of size 4 by thread #3
  168. ==18304== Locks held: 1, at address 0x7411F00
  169. ==18304==    at 0x4D53950: switch_event_dispatch_thread (switch_event.c:302)
  170. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  171. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  172. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  173. ==18304==    by 0x560E4CE: clone (clone.S:95)
  174. ==18304==  Address 0x50fd2a0 is 0 bytes inside data symbol "THREAD_COUNT"
  175. ==18304==
  176. ==18304== ----------------------------------------------------------------
  177. ==18304==
  178. ==18304==  Lock at 0x7411F00 was first observed
  179. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  180. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  181. ==18304==    by 0x4D525BC: switch_event_init (switch_event.c:702)
  182. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  183. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  184. ==18304==    by 0x10AEC7: main (switch.c:1200)
  185. ==18304==  Address 0x7411f00 is 3,536 bytes inside a block of size 8,192 alloc'd
  186. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  187. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  188. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  189. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  190. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  191. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  192. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  193. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  194. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  195. ==18304==    by 0x10AEC7: main (switch.c:1200)
  196. ==18304==  Block was alloc'd by thread #1
  197. ==18304==
  198. ==18304== Possible data race during write of size 4 at 0x50FD290 by thread #1
  199. ==18304== Locks held: 1, at address 0x7411F00
  200. ==18304==    at 0x4D526FB: switch_event_init (switch_event.c:737)
  201. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  202. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  203. ==18304==    by 0x10AEC7: main (switch.c:1200)
  204. ==18304==
  205. ==18304== This conflicts with a previous read of size 4 by thread #3
  206. ==18304== Locks held: none
  207. ==18304==    at 0x4D539B0: switch_event_dispatch_thread (switch_event.c:324)
  208. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  209. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  210. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  211. ==18304==    by 0x560E4CE: clone (clone.S:95)
  212. ==18304==  Address 0x50fd290 is 0 bytes inside data symbol "SYSTEM_RUNNING"
  213. ==18304==
  214. ==18304== ----------------------------------------------------------------
  215. ==18304==
  216. ==18304==  Lock at 0x75C2C18 was first observed
  217. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  218. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  219. ==18304==    by 0x4DB7AA8: switch_xml_init (switch_xml.c:2416)
  220. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  221. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  222. ==18304==    by 0x10AEC7: main (switch.c:1200)
  223. ==18304==  Address 0x75c2c18 is 1,360,392 bytes inside a block of size 1,363,968 alloc'd
  224. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  225. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  226. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  227. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  228. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  229. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  230. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  231. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  232. ==18304==    by 0x10AEC7: main (switch.c:1200)
  233. ==18304==  Block was alloc'd by thread #1
  234. ==18304==
  235. ==18304==  Lock at 0x75C2CB8 was first observed
  236. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  237. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  238. ==18304==    by 0x4DB7AD8: switch_xml_init (switch_xml.c:2418)
  239. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  240. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  241. ==18304==    by 0x10AEC7: main (switch.c:1200)
  242. ==18304==  Address 0x75c2cb8 is 1,360,552 bytes inside a block of size 1,363,968 alloc'd
  243. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  244. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  245. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  246. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  247. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  248. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  249. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  250. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  251. ==18304==    by 0x10AEC7: main (switch.c:1200)
  252. ==18304==  Block was alloc'd by thread #1
  253. ==18304==
  254. ==18304== Possible data race during read of size 4 at 0x50FC238 by thread #1
  255. ==18304== Locks held: 2, at addresses 0x75C2C18 0x75C2CB8
  256. ==18304==    at 0x4CDA0CB: switch_core_perform_destroy_memory_pool (switch_core_memory.c:492)
  257. ==18304==    by 0x4DB04E2: switch_stun_ip_lookup (switch_stun.c:908)
  258. ==18304==    by 0x4DB3DA4: preprocess_stun_set (switch_xml.c:164)
  259. ==18304==    by 0x4DB5677: preprocess (switch_xml.c:1533)
  260. ==18304==    by 0x4DB57C4: preprocess_glob (switch_xml.c:1383)
  261. ==18304==    by 0x4DB560F: preprocess (switch_xml.c:1537)
  262. ==18304==    by 0x4DBA544: switch_xml_parse_file (switch_xml.c:1682)
  263. ==18304==    by 0x4DBA6CB: __switch_xml_open_root (switch_xml.c:2370)
  264. ==18304==    by 0x4DB6E25: switch_xml_open_root (switch_xml.c:2340)
  265. ==18304==    by 0x4DB7B1C: switch_xml_init (switch_xml.c:2426)
  266. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  267. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  268. ==18304==
  269. ==18304== This conflicts with a previous write of size 4 by thread #2
  270. ==18304== Locks held: none
  271. ==18304==    at 0x4CDA1AF: pool_thread (switch_core_memory.c:575)
  272. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  273. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  274. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  275. ==18304==    by 0x560E4CE: clone (clone.S:95)
  276. ==18304==  Address 0x50fc238 is 24 bytes inside data symbol "memory_manager"
  277. ==18304==
  278. ==18304== ----------------------------------------------------------------
  279. ==18304==
  280. ==18304==  Lock at 0x723A218 was first observed
  281. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  282. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  283. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  284. ==18304==    by 0x4CDA3D7: switch_core_memory_init (switch_core_memory.c:730)
  285. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  286. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  287. ==18304==    by 0x10AEC7: main (switch.c:1200)
  288. ==18304==  Address 0x723a218 is 312 bytes inside a block of size 8,192 alloc'd
  289. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  290. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  291. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  292. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  293. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  294. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  295. ==18304==    by 0x10AEC7: main (switch.c:1200)
  296. ==18304==  Block was alloc'd by thread #1
  297. ==18304==
  298. ==18304==  Lock at 0x75C2C18 was first observed
  299. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  300. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  301. ==18304==    by 0x4DB7AA8: switch_xml_init (switch_xml.c:2416)
  302. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  303. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  304. ==18304==    by 0x10AEC7: main (switch.c:1200)
  305. ==18304==  Address 0x75c2c18 is 1,360,392 bytes inside a block of size 1,363,968 alloc'd
  306. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  307. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  308. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  309. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  310. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  311. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  312. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  313. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  314. ==18304==    by 0x10AEC7: main (switch.c:1200)
  315. ==18304==  Block was alloc'd by thread #1
  316. ==18304==
  317. ==18304==  Lock at 0x75C2CB8 was first observed
  318. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  319. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  320. ==18304==    by 0x4DB7AD8: switch_xml_init (switch_xml.c:2418)
  321. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  322. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  323. ==18304==    by 0x10AEC7: main (switch.c:1200)
  324. ==18304==  Address 0x75c2cb8 is 1,360,552 bytes inside a block of size 1,363,968 alloc'd
  325. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  326. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  327. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  328. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  329. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  330. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  331. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  332. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  333. ==18304==    by 0x10AEC7: main (switch.c:1200)
  334. ==18304==  Block was alloc'd by thread #1
  335. ==18304==
  336. ==18304== Possible data race during write of size 4 at 0x723A1D8 by thread #1
  337. ==18304== Locks held: 3, at addresses 0x723A218 0x75C2C18 0x75C2CB8
  338. ==18304==    at 0x501A3F5: apr_queue_push (apr_queue.c:191)
  339. ==18304==    by 0x4CBDCDA: switch_queue_push (switch_apr.c:1172)
  340. ==18304==    by 0x4CDA0FE: switch_core_perform_destroy_memory_pool (switch_core_memory.c:492)
  341. ==18304==    by 0x4DB04E2: switch_stun_ip_lookup (switch_stun.c:908)
  342. ==18304==    by 0x4DB3DA4: preprocess_stun_set (switch_xml.c:164)
  343. ==18304==    by 0x4DB5677: preprocess (switch_xml.c:1533)
  344. ==18304==    by 0x4DB57C4: preprocess_glob (switch_xml.c:1383)
  345. ==18304==    by 0x4DB560F: preprocess (switch_xml.c:1537)
  346. ==18304==    by 0x4DBA544: switch_xml_parse_file (switch_xml.c:1682)
  347. ==18304==    by 0x4DBA6CB: __switch_xml_open_root (switch_xml.c:2370)
  348. ==18304==    by 0x4DB6E25: switch_xml_open_root (switch_xml.c:2340)
  349. ==18304==    by 0x4DB7B1C: switch_xml_init (switch_xml.c:2426)
  350. ==18304==
  351. ==18304== This conflicts with a previous read of size 4 by thread #2
  352. ==18304== Locks held: none
  353. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  354. ==18304==    by 0x4CDA1C6: pool_thread (switch_core_memory.c:578)
  355. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  356. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  357. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  358. ==18304==    by 0x560E4CE: clone (clone.S:95)
  359. ==18304==  Address 0x723a1d8 is 248 bytes inside a block of size 8,192 alloc'd
  360. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  361. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  362. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  363. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  364. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  365. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  366. ==18304==    by 0x10AEC7: main (switch.c:1200)
  367. ==18304==  Block was alloc'd by thread #1
  368. ==18304==
  369. ==18304== ----------------------------------------------------------------
  370. ==18304==
  371. ==18304==  Lock at 0x75C2C18 was first observed
  372. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  373. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  374. ==18304==    by 0x4DB7AA8: switch_xml_init (switch_xml.c:2416)
  375. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  376. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  377. ==18304==    by 0x10AEC7: main (switch.c:1200)
  378. ==18304==  Address 0x75c2c18 is 1,360,392 bytes inside a block of size 1,363,968 alloc'd
  379. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  380. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  381. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  382. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  383. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  384. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  385. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  386. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  387. ==18304==    by 0x10AEC7: main (switch.c:1200)
  388. ==18304==  Block was alloc'd by thread #1
  389. ==18304==
  390. ==18304==  Lock at 0x75C2CB8 was first observed
  391. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  392. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  393. ==18304==    by 0x4DB7AD8: switch_xml_init (switch_xml.c:2418)
  394. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  395. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  396. ==18304==    by 0x10AEC7: main (switch.c:1200)
  397. ==18304==  Address 0x75c2cb8 is 1,360,552 bytes inside a block of size 1,363,968 alloc'd
  398. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  399. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  400. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  401. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  402. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  403. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  404. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  405. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  406. ==18304==    by 0x10AEC7: main (switch.c:1200)
  407. ==18304==  Block was alloc'd by thread #1
  408. ==18304==
  409. ==18304== Possible data race during read of size 4 at 0x50FC238 by thread #1
  410. ==18304== Locks held: 2, at addresses 0x75C2C18 0x75C2CB8
  411. ==18304==    at 0x4CDA0CB: switch_core_perform_destroy_memory_pool (switch_core_memory.c:492)
  412. ==18304==    by 0x4DB3E22: preprocess_stun_set (switch_xml.c:178)
  413. ==18304==    by 0x4DB5677: preprocess (switch_xml.c:1533)
  414. ==18304==    by 0x4DB57C4: preprocess_glob (switch_xml.c:1383)
  415. ==18304==    by 0x4DB560F: preprocess (switch_xml.c:1537)
  416. ==18304==    by 0x4DBA544: switch_xml_parse_file (switch_xml.c:1682)
  417. ==18304==    by 0x4DBA6CB: __switch_xml_open_root (switch_xml.c:2370)
  418. ==18304==    by 0x4DB6E25: switch_xml_open_root (switch_xml.c:2340)
  419. ==18304==    by 0x4DB7B1C: switch_xml_init (switch_xml.c:2426)
  420. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  421. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  422. ==18304==    by 0x10AEC7: main (switch.c:1200)
  423. ==18304==
  424. ==18304== This conflicts with a previous write of size 4 by thread #2
  425. ==18304== Locks held: none
  426. ==18304==    at 0x4CDA1AF: pool_thread (switch_core_memory.c:575)
  427. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  428. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  429. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  430. ==18304==    by 0x560E4CE: clone (clone.S:95)
  431. ==18304==  Address 0x50fc238 is 24 bytes inside data symbol "memory_manager"
  432. ==18304==
  433. ==18304== ----------------------------------------------------------------
  434. ==18304==
  435. ==18304==  Lock at 0x723A218 was first observed
  436. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  437. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  438. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  439. ==18304==    by 0x4CDA3D7: switch_core_memory_init (switch_core_memory.c:730)
  440. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  441. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  442. ==18304==    by 0x10AEC7: main (switch.c:1200)
  443. ==18304==  Address 0x723a218 is 312 bytes inside a block of size 8,192 alloc'd
  444. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  445. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  446. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  447. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  448. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  449. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  450. ==18304==    by 0x10AEC7: main (switch.c:1200)
  451. ==18304==  Block was alloc'd by thread #1
  452. ==18304==
  453. ==18304==  Lock at 0x75C2C18 was first observed
  454. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  455. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  456. ==18304==    by 0x4DB7AA8: switch_xml_init (switch_xml.c:2416)
  457. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  458. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  459. ==18304==    by 0x10AEC7: main (switch.c:1200)
  460. ==18304==  Address 0x75c2c18 is 1,360,392 bytes inside a block of size 1,363,968 alloc'd
  461. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  462. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  463. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  464. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  465. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  466. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  467. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  468. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  469. ==18304==    by 0x10AEC7: main (switch.c:1200)
  470. ==18304==  Block was alloc'd by thread #1
  471. ==18304==
  472. ==18304==  Lock at 0x75C2CB8 was first observed
  473. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  474. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  475. ==18304==    by 0x4DB7AD8: switch_xml_init (switch_xml.c:2418)
  476. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  477. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  478. ==18304==    by 0x10AEC7: main (switch.c:1200)
  479. ==18304==  Address 0x75c2cb8 is 1,360,552 bytes inside a block of size 1,363,968 alloc'd
  480. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  481. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  482. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  483. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  484. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  485. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  486. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  487. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  488. ==18304==    by 0x10AEC7: main (switch.c:1200)
  489. ==18304==  Block was alloc'd by thread #1
  490. ==18304==
  491. ==18304== Possible data race during write of size 4 at 0x723A1D8 by thread #1
  492. ==18304== Locks held: 3, at addresses 0x723A218 0x75C2C18 0x75C2CB8
  493. ==18304==    at 0x501A3F5: apr_queue_push (apr_queue.c:191)
  494. ==18304==    by 0x4CBDCDA: switch_queue_push (switch_apr.c:1172)
  495. ==18304==    by 0x4CDA0FE: switch_core_perform_destroy_memory_pool (switch_core_memory.c:492)
  496. ==18304==    by 0x4DB3E22: preprocess_stun_set (switch_xml.c:178)
  497. ==18304==    by 0x4DB5677: preprocess (switch_xml.c:1533)
  498. ==18304==    by 0x4DB57C4: preprocess_glob (switch_xml.c:1383)
  499. ==18304==    by 0x4DB560F: preprocess (switch_xml.c:1537)
  500. ==18304==    by 0x4DBA544: switch_xml_parse_file (switch_xml.c:1682)
  501. ==18304==    by 0x4DBA6CB: __switch_xml_open_root (switch_xml.c:2370)
  502. ==18304==    by 0x4DB6E25: switch_xml_open_root (switch_xml.c:2340)
  503. ==18304==    by 0x4DB7B1C: switch_xml_init (switch_xml.c:2426)
  504. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  505. ==18304==
  506. ==18304== This conflicts with a previous read of size 4 by thread #2
  507. ==18304== Locks held: none
  508. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  509. ==18304==    by 0x4CDA1C6: pool_thread (switch_core_memory.c:578)
  510. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  511. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  512. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  513. ==18304==    by 0x560E4CE: clone (clone.S:95)
  514. ==18304==  Address 0x723a1d8 is 248 bytes inside a block of size 8,192 alloc'd
  515. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  516. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  517. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  518. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  519. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  520. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  521. ==18304==    by 0x10AEC7: main (switch.c:1200)
  522. ==18304==  Block was alloc'd by thread #1
  523. ==18304==
  524. ==18304== ----------------------------------------------------------------
  525. ==18304==
  526. ==18304==  Lock at 0x723A218 was first observed
  527. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  528. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  529. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  530. ==18304==    by 0x4CDA3D7: switch_core_memory_init (switch_core_memory.c:730)
  531. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  532. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  533. ==18304==    by 0x10AEC7: main (switch.c:1200)
  534. ==18304==  Address 0x723a218 is 312 bytes inside a block of size 8,192 alloc'd
  535. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  536. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  537. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  538. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  539. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  540. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  541. ==18304==    by 0x10AEC7: main (switch.c:1200)
  542. ==18304==  Block was alloc'd by thread #1
  543. ==18304==
  544. ==18304==  Lock at 0x75C2C18 was first observed
  545. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  546. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  547. ==18304==    by 0x4DB7AA8: switch_xml_init (switch_xml.c:2416)
  548. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  549. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  550. ==18304==    by 0x10AEC7: main (switch.c:1200)
  551. ==18304==  Address 0x75c2c18 is 1,360,392 bytes inside a block of size 1,363,968 alloc'd
  552. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  553. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  554. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  555. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  556. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  557. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  558. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  559. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  560. ==18304==    by 0x10AEC7: main (switch.c:1200)
  561. ==18304==  Block was alloc'd by thread #1
  562. ==18304==
  563. ==18304==  Lock at 0x75C2CB8 was first observed
  564. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  565. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  566. ==18304==    by 0x4DB7AD8: switch_xml_init (switch_xml.c:2418)
  567. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  568. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  569. ==18304==    by 0x10AEC7: main (switch.c:1200)
  570. ==18304==  Address 0x75c2cb8 is 1,360,552 bytes inside a block of size 1,363,968 alloc'd
  571. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  572. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  573. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  574. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  575. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  576. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  577. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  578. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  579. ==18304==    by 0x10AEC7: main (switch.c:1200)
  580. ==18304==  Block was alloc'd by thread #1
  581. ==18304==
  582. ==18304== Possible data race during read of size 4 at 0x723A1D8 by thread #2
  583. ==18304== Locks held: none
  584. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  585. ==18304==    by 0x4CDA1C6: pool_thread (switch_core_memory.c:578)
  586. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  587. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  588. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  589. ==18304==    by 0x560E4CE: clone (clone.S:95)
  590. ==18304==
  591. ==18304== This conflicts with a previous write of size 4 by thread #1
  592. ==18304== Locks held: 3, at addresses 0x723A218 0x75C2C18 0x75C2CB8
  593. ==18304==    at 0x501A3F5: apr_queue_push (apr_queue.c:191)
  594. ==18304==    by 0x4CBDCDA: switch_queue_push (switch_apr.c:1172)
  595. ==18304==    by 0x4CDA0FE: switch_core_perform_destroy_memory_pool (switch_core_memory.c:492)
  596. ==18304==    by 0x4DB3E22: preprocess_stun_set (switch_xml.c:178)
  597. ==18304==    by 0x4DB5677: preprocess (switch_xml.c:1533)
  598. ==18304==    by 0x4DB57C4: preprocess_glob (switch_xml.c:1383)
  599. ==18304==    by 0x4DB560F: preprocess (switch_xml.c:1537)
  600. ==18304==    by 0x4DBA544: switch_xml_parse_file (switch_xml.c:1682)
  601. ==18304==  Address 0x723a1d8 is 248 bytes inside a block of size 8,192 alloc'd
  602. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  603. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  604. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  605. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  606. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  607. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  608. ==18304==    by 0x10AEC7: main (switch.c:1200)
  609. ==18304==  Block was alloc'd by thread #1
  610. ==18304==
  611. ==18304== ---Thread-Announcement------------------------------------------
  612. ==18304==
  613. ==18304== Thread #4 was created
  614. ==18304==    at 0x560E4BE: clone (clone.S:71)
  615. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  616. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  617. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  618. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  619. ==18304==    by 0x4CF0814: check_queue (switch_core_session.c:1855)
  620. ==18304==    by 0x4CF0902: switch_thread_pool_launch_thread (switch_core_session.c:1884)
  621. ==18304==    by 0x4D55620: switch_event_deliver_thread_pool (switch_event.c:292)
  622. ==18304==    by 0x4D55620: switch_event_fire_detailed (switch_event.c:2029)
  623. ==18304==    by 0x4DB6E95: switch_xml_open_root (switch_xml.c:2347)
  624. ==18304==    by 0x4DB6E95: switch_xml_open_root (switch_xml.c:2332)
  625. ==18304==    by 0x4DB7B1C: switch_xml_init (switch_xml.c:2426)
  626. ==18304==    by 0x4D02B52: switch_core_init (switch_core.c:1979)
  627. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  628. ==18304==
  629. ==18304== ----------------------------------------------------------------
  630. ==18304==
  631. ==18304==  Lock at 0x723A218 was first observed
  632. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  633. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  634. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  635. ==18304==    by 0x4CDA3D7: switch_core_memory_init (switch_core_memory.c:730)
  636. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  637. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  638. ==18304==    by 0x10AEC7: main (switch.c:1200)
  639. ==18304==  Address 0x723a218 is 312 bytes inside a block of size 8,192 alloc'd
  640. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  641. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  642. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  643. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  644. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  645. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  646. ==18304==    by 0x10AEC7: main (switch.c:1200)
  647. ==18304==  Block was alloc'd by thread #1
  648. ==18304==
  649. ==18304== Possible data race during write of size 4 at 0x723A1D8 by thread #4
  650. ==18304== Locks held: 1, at address 0x723A218
  651. ==18304==    at 0x501A3F5: apr_queue_push (apr_queue.c:191)
  652. ==18304==    by 0x4CBDCDA: switch_queue_push (switch_apr.c:1172)
  653. ==18304==    by 0x4CDA0FE: switch_core_perform_destroy_memory_pool (switch_core_memory.c:492)
  654. ==18304==    by 0x4CEAB29: switch_core_session_thread_pool_worker (switch_core_session.c:1802)
  655. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  656. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  657. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  658. ==18304==    by 0x560E4CE: clone (clone.S:95)
  659. ==18304==
  660. ==18304== This conflicts with a previous read of size 4 by thread #2
  661. ==18304== Locks held: none
  662. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  663. ==18304==    by 0x4CDA1C6: pool_thread (switch_core_memory.c:578)
  664. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  665. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  666. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  667. ==18304==    by 0x560E4CE: clone (clone.S:95)
  668. ==18304==  Address 0x723a1d8 is 248 bytes inside a block of size 8,192 alloc'd
  669. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  670. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  671. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  672. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  673. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  674. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  675. ==18304==    by 0x10AEC7: main (switch.c:1200)
  676. ==18304==  Block was alloc'd by thread #1
  677. ==18304==
  678. ==18304== ---Thread-Announcement------------------------------------------
  679. ==18304==
  680. ==18304== Thread #5 was created
  681. ==18304==    at 0x560E4BE: clone (clone.S:71)
  682. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  683. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  684. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  685. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  686. ==18304==    by 0x4DB3806: switch_log_init (switch_log.c:701)
  687. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  688. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  689. ==18304==    by 0x10AEC7: main (switch.c:1200)
  690. ==18304==
  691. ==18304== ----------------------------------------------------------------
  692. ==18304==
  693. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  694. ==18304== Locks held: none
  695. ==18304==    at 0x4DB3807: switch_log_init (switch_log.c:703)
  696. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  697. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  698. ==18304==    by 0x10AEC7: main (switch.c:1200)
  699. ==18304==
  700. ==18304== This conflicts with a previous write of size 1 by thread #5
  701. ==18304== Locks held: none
  702. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  703. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  704. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  705. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  706. ==18304==    by 0x560E4CE: clone (clone.S:95)
  707. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  708. ==18304==
  709. ==18304== ----------------------------------------------------------------
  710. ==18304==
  711. ==18304== Possible data race during write of size 4 at 0x50FC554 by thread #1
  712. ==18304== Locks held: none
  713. ==18304==    at 0x4CFFE89: switch_core_session_ctl (switch_core.c:2902)
  714. ==18304==    by 0x4D00480: switch_load_core_config (switch_core.c:2128)
  715. ==18304==    by 0x4D02C18: switch_core_init (switch_core.c:1999)
  716. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  717. ==18304==    by 0x10AEC7: main (switch.c:1200)
  718. ==18304==
  719. ==18304== This conflicts with a previous read of size 4 by thread #4
  720. ==18304== Locks held: none
  721. ==18304==    at 0x4DB2ECA: switch_log_vprintf (switch_log.c:524)
  722. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  723. ==18304==    by 0x4CEAB0C: switch_core_session_thread_pool_worker (switch_core_session.c:1800)
  724. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  725. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  726. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  727. ==18304==    by 0x560E4CE: clone (clone.S:95)
  728. ==18304==  Address 0x50fc554 is 660 bytes inside data symbol "runtime"
  729. ==18304==
  730. ==18304== ----------------------------------------------------------------
  731. ==18304==
  732. ==18304==  Lock at 0x723A218 was first observed
  733. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  734. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  735. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  736. ==18304==    by 0x4CDA3D7: switch_core_memory_init (switch_core_memory.c:730)
  737. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  738. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  739. ==18304==    by 0x10AEC7: main (switch.c:1200)
  740. ==18304==  Address 0x723a218 is 312 bytes inside a block of size 8,192 alloc'd
  741. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  742. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  743. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  744. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  745. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  746. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  747. ==18304==    by 0x10AEC7: main (switch.c:1200)
  748. ==18304==  Block was alloc'd by thread #1
  749. ==18304==
  750. ==18304== Possible data race during write of size 4 at 0x723A1D8 by thread #1
  751. ==18304== Locks held: 1, at address 0x723A218
  752. ==18304==    at 0x501A3F5: apr_queue_push (apr_queue.c:191)
  753. ==18304==    by 0x4CBDCDA: switch_queue_push (switch_apr.c:1172)
  754. ==18304==    by 0x4CDA0FE: switch_core_perform_destroy_memory_pool (switch_core_memory.c:492)
  755. ==18304==    by 0x4CBD263: switch_file_exists (switch_apr.c:531)
  756. ==18304==    by 0x4CE063F: switch_core_gen_certs (switch_core_cert.c:261)
  757. ==18304==    by 0x4D1C83F: switch_core_media_init (switch_core_media.c:14043)
  758. ==18304==    by 0x4D02C29: switch_core_init (switch_core.c:2003)
  759. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  760. ==18304==    by 0x10AEC7: main (switch.c:1200)
  761. ==18304==
  762. ==18304== This conflicts with a previous read of size 4 by thread #2
  763. ==18304== Locks held: none
  764. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  765. ==18304==    by 0x4CDA1C6: pool_thread (switch_core_memory.c:578)
  766. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  767. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  768. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  769. ==18304==    by 0x560E4CE: clone (clone.S:95)
  770. ==18304==  Address 0x723a1d8 is 248 bytes inside a block of size 8,192 alloc'd
  771. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  772. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  773. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  774. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  775. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  776. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  777. ==18304==    by 0x10AEC7: main (switch.c:1200)
  778. ==18304==  Block was alloc'd by thread #1
  779. ==18304==
  780. ==18304== ---Thread-Announcement------------------------------------------
  781. ==18304==
  782. ==18304== Thread #6 was created
  783. ==18304==    at 0x560E4BE: clone (clone.S:71)
  784. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  785. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  786. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  787. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  788. ==18304==    by 0x4D401D4: switch_scheduler_task_thread_start (switch_scheduler.c:348)
  789. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  790. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  791. ==18304==    by 0x10AEC7: main (switch.c:1200)
  792. ==18304==
  793. ==18304== ----------------------------------------------------------------
  794. ==18304==
  795. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #6
  796. ==18304== Locks held: none
  797. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  798. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  799. ==18304==    by 0x4D3FAFC: switch_scheduler_task_thread (switch_scheduler.c:186)
  800. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  801. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  802. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  803. ==18304==    by 0x560E4CE: clone (clone.S:95)
  804. ==18304==
  805. ==18304== This conflicts with a previous write of size 1 by thread #5
  806. ==18304== Locks held: none
  807. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  808. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  809. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  810. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  811. ==18304==    by 0x560E4CE: clone (clone.S:95)
  812. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  813. ==18304==
  814. ==18304== ----------------------------------------------------------------
  815. ==18304==
  816. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  817. ==18304== Locks held: none
  818. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  819. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  820. ==18304==    by 0x4D3FDB7: switch_scheduler_add_task (switch_scheduler.c:252)
  821. ==18304==    by 0x4D02C82: switch_core_init (switch_core.c:2013)
  822. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  823. ==18304==    by 0x10AEC7: main (switch.c:1200)
  824. ==18304==
  825. ==18304== This conflicts with a previous write of size 1 by thread #5
  826. ==18304== Locks held: none
  827. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  828. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  829. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  830. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  831. ==18304==    by 0x560E4CE: clone (clone.S:95)
  832. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  833. ==18304==
  834. ==18304== ----------------------------------------------------------------
  835. ==18304==
  836. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  837. ==18304== Locks held: none
  838. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  839. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  840. ==18304==    by 0x4D3FDB7: switch_scheduler_add_task (switch_scheduler.c:252)
  841. ==18304==    by 0x4D02CB8: switch_core_init (switch_core.c:2015)
  842. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  843. ==18304==    by 0x10AEC7: main (switch.c:1200)
  844. ==18304==
  845. ==18304== This conflicts with a previous write of size 1 by thread #5
  846. ==18304== Locks held: none
  847. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  848. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  849. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  850. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  851. ==18304==    by 0x560E4CE: clone (clone.S:95)
  852. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  853. ==18304==
  854. ==18304== ----------------------------------------------------------------
  855. ==18304==
  856. ==18304== Possible data race during write of size 4 at 0x50FC7A8 by thread #1
  857. ==18304== Locks held: none
  858. ==18304==    at 0x4D02D90: switch_core_init_and_modload (switch_core.c:2468)
  859. ==18304==    by 0x10AEC7: main (switch.c:1200)
  860. ==18304==
  861. ==18304== This conflicts with a previous read of size 4 by thread #6
  862. ==18304== Locks held: none
  863. ==18304==    at 0x4D55564: switch_event_fire_detailed (switch_event.c:2021)
  864. ==18304==    by 0x4D3FBE6: switch_scheduler_task_thread (switch_scheduler.c:193)
  865. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  866. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  867. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  868. ==18304==    by 0x560E4CE: clone (clone.S:95)
  869. ==18304==  Address 0x50fc7a8 is 1256 bytes inside data symbol "runtime"
  870. ==18304==
  871. ==18304== ----------------------------------------------------------------
  872. ==18304==
  873. ==18304== Possible data race during read of size 1 at 0x50FC401 by thread #6
  874. ==18304== Locks held: none
  875. ==18304==    at 0x483EA02: __strlen_sse2 (vg_replace_strmem.c:462)
  876. ==18304==    by 0x4D51D0D: my_dup (switch_event.c:115)
  877. ==18304==    by 0x4D53310: switch_event_add_header_string (switch_event.c:1221)
  878. ==18304==    by 0x4D53310: switch_event_add_header_string (switch_event.c:1218)
  879. ==18304==    by 0x4D54771: switch_event_prep_for_delivery_detailed (switch_event.c:1981)
  880. ==18304==    by 0x4D5498E: switch_event_create_subclass_detailed (switch_event.c:774)
  881. ==18304==    by 0x4D5498E: switch_event_create_subclass_detailed (switch_event.c:743)
  882. ==18304==    by 0x4CFEF7B: send_heartbeat (switch_core.c:81)
  883. ==18304==    by 0x4CFEF7B: heartbeat_callback (switch_core.c:212)
  884. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  885. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  886. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  887. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  888. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  889. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  890. ==18304==
  891. ==18304== This conflicts with a previous write of size 1 by thread #1
  892. ==18304== Locks held: none
  893. ==18304==    at 0x55928D5: _IO_default_xsputn (genops.c:394)
  894. ==18304==    by 0x55928D5: _IO_default_xsputn (genops.c:370)
  895. ==18304==    by 0x5565808: vfprintf (vfprintf.c:1637)
  896. ==18304==    by 0x5587320: vsprintf (iovsprintf.c:42)
  897. ==18304==    by 0x556D773: sprintf (sprintf.c:32)
  898. ==18304==    by 0x5019FCE: apr_uuid_format (uuid.c:29)
  899. ==18304==    by 0x4D02CCF: switch_core_init (switch_core.c:2018)
  900. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  901. ==18304==    by 0x10AEC7: main (switch.c:1200)
  902. ==18304==  Address 0x50fc401 is 321 bytes inside data symbol "runtime"
  903. ==18304==
  904. ==18304== ----------------------------------------------------------------
  905. ==18304==
  906. ==18304== Possible data race during read of size 1 at 0x50FC402 by thread #6
  907. ==18304== Locks held: none
  908. ==18304==    at 0x483EA14: __strlen_sse2 (vg_replace_strmem.c:462)
  909. ==18304==    by 0x4D51D0D: my_dup (switch_event.c:115)
  910. ==18304==    by 0x4D53310: switch_event_add_header_string (switch_event.c:1221)
  911. ==18304==    by 0x4D53310: switch_event_add_header_string (switch_event.c:1218)
  912. ==18304==    by 0x4D54771: switch_event_prep_for_delivery_detailed (switch_event.c:1981)
  913. ==18304==    by 0x4D5498E: switch_event_create_subclass_detailed (switch_event.c:774)
  914. ==18304==    by 0x4D5498E: switch_event_create_subclass_detailed (switch_event.c:743)
  915. ==18304==    by 0x4CFEF7B: send_heartbeat (switch_core.c:81)
  916. ==18304==    by 0x4CFEF7B: heartbeat_callback (switch_core.c:212)
  917. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  918. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  919. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  920. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  921. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  922. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  923. ==18304==
  924. ==18304== This conflicts with a previous write of size 1 by thread #1
  925. ==18304== Locks held: none
  926. ==18304==    at 0x55928D5: _IO_default_xsputn (genops.c:394)
  927. ==18304==    by 0x55928D5: _IO_default_xsputn (genops.c:370)
  928. ==18304==    by 0x5565808: vfprintf (vfprintf.c:1637)
  929. ==18304==    by 0x5587320: vsprintf (iovsprintf.c:42)
  930. ==18304==    by 0x556D773: sprintf (sprintf.c:32)
  931. ==18304==    by 0x5019FCE: apr_uuid_format (uuid.c:29)
  932. ==18304==    by 0x4D02CCF: switch_core_init (switch_core.c:2018)
  933. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  934. ==18304==    by 0x10AEC7: main (switch.c:1200)
  935. ==18304==  Address 0x50fc402 is 322 bytes inside data symbol "runtime"
  936. ==18304==
  937. ==18304== ----------------------------------------------------------------
  938. ==18304==
  939. ==18304== Possible data race during read of size 4 at 0x50FC7A8 by thread #6
  940. ==18304== Locks held: none
  941. ==18304==    at 0x4D55564: switch_event_fire_detailed (switch_event.c:2021)
  942. ==18304==    by 0x4CFF27A: send_heartbeat (switch_core.c:110)
  943. ==18304==    by 0x4CFF27A: heartbeat_callback (switch_core.c:212)
  944. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  945. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  946. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  947. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  948. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  949. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  950. ==18304==    by 0x560E4CE: clone (clone.S:95)
  951. ==18304==
  952. ==18304== This conflicts with a previous write of size 4 by thread #1
  953. ==18304== Locks held: none
  954. ==18304==    at 0x4D02D90: switch_core_init_and_modload (switch_core.c:2468)
  955. ==18304==    by 0x10AEC7: main (switch.c:1200)
  956. ==18304==  Address 0x50fc7a8 is 1256 bytes inside data symbol "runtime"
  957. ==18304==
  958. ==18304== ----------------------------------------------------------------
  959. ==18304==
  960. ==18304== Possible data race during read of size 4 at 0x50FC7A8 by thread #6
  961. ==18304== Locks held: none
  962. ==18304==    at 0x4D55564: switch_event_fire_detailed (switch_event.c:2021)
  963. ==18304==    by 0x4D3FBE6: switch_scheduler_task_thread (switch_scheduler.c:193)
  964. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  965. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  966. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  967. ==18304==    by 0x560E4CE: clone (clone.S:95)
  968. ==18304==
  969. ==18304== This conflicts with a previous write of size 4 by thread #1
  970. ==18304== Locks held: none
  971. ==18304==    at 0x4D02D90: switch_core_init_and_modload (switch_core.c:2468)
  972. ==18304==    by 0x10AEC7: main (switch.c:1200)
  973. ==18304==  Address 0x50fc7a8 is 1256 bytes inside data symbol "runtime"
  974. ==18304==
  975. ==18304== ----------------------------------------------------------------
  976. ==18304==
  977. ==18304==  Lock at 0x7411F00 was first observed
  978. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  979. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  980. ==18304==    by 0x4D525BC: switch_event_init (switch_event.c:702)
  981. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  982. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  983. ==18304==    by 0x10AEC7: main (switch.c:1200)
  984. ==18304==  Address 0x7411f00 is 3,536 bytes inside a block of size 8,192 alloc'd
  985. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  986. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  987. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  988. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  989. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  990. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  991. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  992. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  993. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  994. ==18304==    by 0x10AEC7: main (switch.c:1200)
  995. ==18304==  Block was alloc'd by thread #1
  996. ==18304==
  997. ==18304==  Lock at 0x7412090 was first observed
  998. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  999. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  1000. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  1001. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  1002. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  1003. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  1004. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1005. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1006. ==18304==  Address 0x7412090 is 3,936 bytes inside a block of size 8,192 alloc'd
  1007. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1008. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1009. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1010. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  1011. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  1012. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  1013. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  1014. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  1015. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1016. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1017. ==18304==  Block was alloc'd by thread #1
  1018. ==18304==
  1019. ==18304== Possible data race during read of size 4 at 0x7412050 by thread #6
  1020. ==18304== Locks held: 1, at address 0x7411F00
  1021. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  1022. ==18304==    by 0x4D5566B: switch_event_queue_dispatch_event (switch_event.c:369)
  1023. ==18304==    by 0x4D5566B: switch_event_fire_detailed (switch_event.c:2024)
  1024. ==18304==    by 0x4D3FBE6: switch_scheduler_task_thread (switch_scheduler.c:193)
  1025. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1026. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1027. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1028. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1029. ==18304==
  1030. ==18304== This conflicts with a previous write of size 4 by thread #3
  1031. ==18304== Locks held: 1, at address 0x7412090
  1032. ==18304==    at 0x501A5E5: apr_queue_pop (apr_queue.c:300)
  1033. ==18304==    by 0x4D539D5: switch_event_dispatch_thread (switch_event.c:328)
  1034. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1035. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1036. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1037. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1038. ==18304==  Address 0x7412050 is 3,872 bytes inside a block of size 8,192 alloc'd
  1039. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1040. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1041. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1042. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  1043. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  1044. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  1045. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  1046. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  1047. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1048. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1049. ==18304==  Block was alloc'd by thread #1
  1050. ==18304==
  1051. ==18304== ----------------------------------------------------------------
  1052. ==18304==
  1053. ==18304==  Lock at 0x72FFEB8 was first observed
  1054. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1055. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1056. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1057. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1058. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1059. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1060. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1061. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1062. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1063. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1064. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1065. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1066. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1067. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1068. ==18304==  Block was alloc'd by thread #1
  1069. ==18304==
  1070. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1071. ==18304== Locks held: 1, at address 0x72FFEB8
  1072. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1073. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1074. ==18304==    by 0x4CFDAC0: switch_load_network_lists (switch_core.c:1467)
  1075. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1076. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1077. ==18304==
  1078. ==18304== This conflicts with a previous write of size 1 by thread #5
  1079. ==18304== Locks held: none
  1080. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1081. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1082. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1083. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1084. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1085. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1086. ==18304==
  1087. ==18304== ---Thread-Announcement------------------------------------------
  1088. ==18304==
  1089. ==18304== Thread #8 was created
  1090. ==18304==    at 0x560E4BE: clone (clone.S:71)
  1091. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  1092. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  1093. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  1094. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  1095. ==18304==    by 0x4D3F856: task_thread_loop (switch_scheduler.c:128)
  1096. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  1097. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1098. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1099. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1100. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1101. ==18304==
  1102. ==18304== ----------------------------------------------------------------
  1103. ==18304==
  1104. ==18304==  Lock at 0x7B8A200 was first observed
  1105. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1106. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1107. ==18304==    by 0x4D4019B: switch_scheduler_task_thread_start (switch_scheduler.c:345)
  1108. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  1109. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1110. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1111. ==18304==  Address 0x7b8a200 is 384 bytes inside a block of size 8,192 alloc'd
  1112. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1113. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1114. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1115. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  1116. ==18304==    by 0x4D40172: switch_scheduler_task_thread_start (switch_scheduler.c:343)
  1117. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  1118. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1119. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1120. ==18304==  Block was alloc'd by thread #1
  1121. ==18304==
  1122. ==18304== Possible data race during write of size 8 at 0x7D75AF8 by thread #8
  1123. ==18304== Locks held: none
  1124. ==18304==    at 0x4CFBD04: check_ip_callback (switch_core.c:224)
  1125. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  1126. ==18304==    by 0x4D3FC10: task_own_thread (switch_scheduler.c:95)
  1127. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1128. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1129. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1130. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1131. ==18304==
  1132. ==18304== This conflicts with a previous read of size 8 by thread #6
  1133. ==18304== Locks held: 1, at address 0x7B8A200
  1134. ==18304==    at 0x4D3F789: task_thread_loop (switch_scheduler.c:114)
  1135. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  1136. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1137. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1138. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1139. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1140. ==18304==  Address 0x7d75af8 is 8 bytes inside a block of size 120 alloc'd
  1141. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  1142. ==18304==    by 0x4D3FC90: switch_scheduler_add_task (switch_scheduler.c:221)
  1143. ==18304==    by 0x4D02CB8: switch_core_init (switch_core.c:2015)
  1144. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1145. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1146. ==18304==  Block was alloc'd by thread #1
  1147. ==18304==
  1148. ==18304== ----------------------------------------------------------------
  1149. ==18304==
  1150. ==18304==  Lock at 0x723A218 was first observed
  1151. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1152. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  1153. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  1154. ==18304==    by 0x4CDA3D7: switch_core_memory_init (switch_core_memory.c:730)
  1155. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1156. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1157. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1158. ==18304==  Address 0x723a218 is 312 bytes inside a block of size 8,192 alloc'd
  1159. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1160. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1161. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1162. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  1163. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1164. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1165. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1166. ==18304==  Block was alloc'd by thread #1
  1167. ==18304==
  1168. ==18304== Possible data race during write of size 4 at 0x723A1D8 by thread #8
  1169. ==18304== Locks held: 1, at address 0x723A218
  1170. ==18304==    at 0x501A3F5: apr_queue_push (apr_queue.c:191)
  1171. ==18304==    by 0x4CBDCDA: switch_queue_push (switch_apr.c:1172)
  1172. ==18304==    by 0x4CDA0FE: switch_core_perform_destroy_memory_pool (switch_core_memory.c:492)
  1173. ==18304==    by 0x4D3FC2D: task_own_thread (switch_scheduler.c:96)
  1174. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1175. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1176. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1177. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1178. ==18304==
  1179. ==18304== This conflicts with a previous write of size 4 by thread #1
  1180. ==18304== Locks held: 1, at address 0x723A218
  1181. ==18304==    at 0x501A3F5: apr_queue_push (apr_queue.c:191)
  1182. ==18304==    by 0x4CBDCDA: switch_queue_push (switch_apr.c:1172)
  1183. ==18304==    by 0x4CDA0FE: switch_core_perform_destroy_memory_pool (switch_core_memory.c:492)
  1184. ==18304==    by 0x4CBD263: switch_file_exists (switch_apr.c:531)
  1185. ==18304==    by 0x4CE063F: switch_core_gen_certs (switch_core_cert.c:261)
  1186. ==18304==    by 0x4D1C83F: switch_core_media_init (switch_core_media.c:14043)
  1187. ==18304==    by 0x4D02C29: switch_core_init (switch_core.c:2003)
  1188. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1189. ==18304==  Address 0x723a1d8 is 248 bytes inside a block of size 8,192 alloc'd
  1190. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1191. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1192. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1193. ==18304==    by 0x4CDA355: switch_core_memory_init (switch_core_memory.c:700)
  1194. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1195. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1196. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1197. ==18304==  Block was alloc'd by thread #1
  1198. ==18304==
  1199. ==18304== ----------------------------------------------------------------
  1200. ==18304==
  1201. ==18304==  Lock at 0x72FFEB8 was first observed
  1202. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1203. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1204. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1205. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1206. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1207. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1208. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1209. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1210. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1211. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1212. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1213. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1214. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1215. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1216. ==18304==  Block was alloc'd by thread #1
  1217. ==18304==
  1218. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1219. ==18304== Locks held: 1, at address 0x72FFEB8
  1220. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1221. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1222. ==18304==    by 0x4D4C428: switch_network_list_perform_add_cidr_token (switch_utils.c:658)
  1223. ==18304==    by 0x4D4EAFB: switch_network_list_add_cidr_port_token (switch_utils.c:686)
  1224. ==18304==    by 0x4CFDADB: switch_load_network_lists (switch_core.c:1468)
  1225. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1226. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1227. ==18304==
  1228. ==18304== This conflicts with a previous write of size 1 by thread #5
  1229. ==18304== Locks held: none
  1230. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1231. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1232. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1233. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1234. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1235. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1236. ==18304==
  1237. ==18304== ----------------------------------------------------------------
  1238. ==18304==
  1239. ==18304==  Lock at 0x72FFEB8 was first observed
  1240. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1241. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1242. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1243. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1244. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1245. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1246. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1247. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1248. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1249. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1250. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1251. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1252. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1253. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1254. ==18304==  Block was alloc'd by thread #1
  1255. ==18304==
  1256. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1257. ==18304== Locks held: 1, at address 0x72FFEB8
  1258. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1259. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1260. ==18304==    by 0x4CFDB3C: switch_load_network_lists (switch_core.c:1473)
  1261. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1262. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1263. ==18304==
  1264. ==18304== This conflicts with a previous write of size 1 by thread #5
  1265. ==18304== Locks held: none
  1266. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1267. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1268. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1269. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1270. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1271. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1272. ==18304==
  1273. ==18304== ----------------------------------------------------------------
  1274. ==18304==
  1275. ==18304==  Lock at 0x72FFEB8 was first observed
  1276. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1277. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1278. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1279. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1280. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1281. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1282. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1283. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1284. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1285. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1286. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1287. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1288. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1289. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1290. ==18304==  Block was alloc'd by thread #1
  1291. ==18304==
  1292. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1293. ==18304== Locks held: 1, at address 0x72FFEB8
  1294. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1295. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1296. ==18304==    by 0x4CFDC10: switch_load_network_lists (switch_core.c:1482)
  1297. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1298. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1299. ==18304==
  1300. ==18304== This conflicts with a previous write of size 1 by thread #5
  1301. ==18304== Locks held: none
  1302. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1303. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1304. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1305. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1306. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1307. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1308. ==18304==
  1309. ==18304== ----------------------------------------------------------------
  1310. ==18304==
  1311. ==18304==  Lock at 0x72FFEB8 was first observed
  1312. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1313. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1314. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1315. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1316. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1317. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1318. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1319. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1320. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1321. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1322. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1323. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1324. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1325. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1326. ==18304==  Block was alloc'd by thread #1
  1327. ==18304==
  1328. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1329. ==18304== Locks held: 1, at address 0x72FFEB8
  1330. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1331. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1332. ==18304==    by 0x4CFDD04: switch_load_network_lists (switch_core.c:1493)
  1333. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1334. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1335. ==18304==
  1336. ==18304== This conflicts with a previous write of size 1 by thread #5
  1337. ==18304== Locks held: none
  1338. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1339. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1340. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1341. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1342. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1343. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1344. ==18304==
  1345. ==18304== ----------------------------------------------------------------
  1346. ==18304==
  1347. ==18304==  Lock at 0x72FFEB8 was first observed
  1348. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1349. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1350. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1351. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1352. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1353. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1354. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1355. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1356. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1357. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1358. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1359. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1360. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1361. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1362. ==18304==  Block was alloc'd by thread #1
  1363. ==18304==
  1364. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1365. ==18304== Locks held: 1, at address 0x72FFEB8
  1366. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1367. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1368. ==18304==    by 0x4CFDD9C: switch_load_network_lists (switch_core.c:1501)
  1369. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1370. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1371. ==18304==
  1372. ==18304== This conflicts with a previous write of size 1 by thread #5
  1373. ==18304== Locks held: none
  1374. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1375. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1376. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1377. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1378. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1379. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1380. ==18304==
  1381. ==18304== ----------------------------------------------------------------
  1382. ==18304==
  1383. ==18304==  Lock at 0x72FFEB8 was first observed
  1384. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1385. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1386. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1387. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1388. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1389. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1390. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1391. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1392. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1393. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1394. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1395. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1396. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1397. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1398. ==18304==  Block was alloc'd by thread #1
  1399. ==18304==
  1400. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1401. ==18304== Locks held: 1, at address 0x72FFEB8
  1402. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1403. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1404. ==18304==    by 0x4CFDE90: switch_load_network_lists (switch_core.c:1513)
  1405. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1406. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1407. ==18304==
  1408. ==18304== This conflicts with a previous write of size 1 by thread #5
  1409. ==18304== Locks held: none
  1410. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1411. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1412. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1413. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1414. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1415. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1416. ==18304==
  1417. ==18304== ----------------------------------------------------------------
  1418. ==18304==
  1419. ==18304==  Lock at 0x72FFEB8 was first observed
  1420. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1421. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1422. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1423. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1424. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1425. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1426. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1427. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1428. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1429. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1430. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1431. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1432. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1433. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1434. ==18304==  Block was alloc'd by thread #1
  1435. ==18304==
  1436. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1437. ==18304== Locks held: 1, at address 0x72FFEB8
  1438. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1439. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1440. ==18304==    by 0x4CFDF17: switch_load_network_lists (switch_core.c:1520)
  1441. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1442. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1443. ==18304==
  1444. ==18304== This conflicts with a previous write of size 1 by thread #5
  1445. ==18304== Locks held: none
  1446. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1447. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1448. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1449. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1450. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1451. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1452. ==18304==
  1453. ==18304== ----------------------------------------------------------------
  1454. ==18304==
  1455. ==18304==  Lock at 0x72FFEB8 was first observed
  1456. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1457. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1458. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1459. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1460. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1461. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1462. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1463. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1464. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1465. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1466. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1467. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1468. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1469. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1470. ==18304==  Block was alloc'd by thread #1
  1471. ==18304==
  1472. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1473. ==18304== Locks held: 1, at address 0x72FFEB8
  1474. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1475. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1476. ==18304==    by 0x4CFDF89: switch_load_network_lists (switch_core.c:1527)
  1477. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1478. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1479. ==18304==
  1480. ==18304== This conflicts with a previous write of size 1 by thread #5
  1481. ==18304== Locks held: none
  1482. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1483. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1484. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1485. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1486. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1487. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1488. ==18304==
  1489. ==18304== ----------------------------------------------------------------
  1490. ==18304==
  1491. ==18304==  Lock at 0x72FFEB8 was first observed
  1492. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1493. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1494. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1495. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1496. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1497. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1498. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1499. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1500. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1501. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1502. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1503. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1504. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1505. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1506. ==18304==  Block was alloc'd by thread #1
  1507. ==18304==
  1508. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1509. ==18304== Locks held: 1, at address 0x72FFEB8
  1510. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1511. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1512. ==18304==    by 0x4CFE648: switch_load_network_lists (switch_core.c:1529)
  1513. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1514. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1515. ==18304==
  1516. ==18304== This conflicts with a previous write of size 1 by thread #5
  1517. ==18304== Locks held: none
  1518. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1519. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1520. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1521. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1522. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1523. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1524. ==18304==
  1525. ==18304== ----------------------------------------------------------------
  1526. ==18304==
  1527. ==18304==  Lock at 0x72FFEB8 was first observed
  1528. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1529. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1530. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1531. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1532. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1533. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1534. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1535. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1536. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1537. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1538. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1539. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1540. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1541. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1542. ==18304==  Block was alloc'd by thread #1
  1543. ==18304==
  1544. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1545. ==18304== Locks held: 1, at address 0x72FFEB8
  1546. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1547. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1548. ==18304==    by 0x4CFE07A: switch_load_network_lists (switch_core.c:1539)
  1549. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1550. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1551. ==18304==
  1552. ==18304== This conflicts with a previous write of size 1 by thread #5
  1553. ==18304== Locks held: none
  1554. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1555. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1556. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1557. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1558. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1559. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1560. ==18304==
  1561. ==18304== ----------------------------------------------------------------
  1562. ==18304==
  1563. ==18304==  Lock at 0x72FFEB8 was first observed
  1564. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1565. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1566. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1567. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1568. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1569. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1570. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1571. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1572. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1573. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1574. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1575. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1576. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1577. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1578. ==18304==  Block was alloc'd by thread #1
  1579. ==18304==
  1580. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1581. ==18304== Locks held: 1, at address 0x72FFEB8
  1582. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1583. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1584. ==18304==    by 0x4CFE11D: switch_load_network_lists (switch_core.c:1546)
  1585. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1586. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1587. ==18304==
  1588. ==18304== This conflicts with a previous write of size 1 by thread #5
  1589. ==18304== Locks held: none
  1590. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1591. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1592. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1593. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1594. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1595. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1596. ==18304==
  1597. ==18304== ----------------------------------------------------------------
  1598. ==18304==
  1599. ==18304==  Lock at 0x72FFEB8 was first observed
  1600. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1601. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1602. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1603. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1604. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1605. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1606. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1607. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1608. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1609. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1610. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1611. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1612. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1613. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1614. ==18304==  Block was alloc'd by thread #1
  1615. ==18304==
  1616. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1617. ==18304== Locks held: 1, at address 0x72FFEB8
  1618. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1619. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1620. ==18304==    by 0x4CFE60D: switch_load_network_lists (switch_core.c:1549)
  1621. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1622. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1623. ==18304==
  1624. ==18304== This conflicts with a previous write of size 1 by thread #5
  1625. ==18304== Locks held: none
  1626. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1627. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1628. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1629. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1630. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1631. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1632. ==18304==
  1633. ==18304== ----------------------------------------------------------------
  1634. ==18304==
  1635. ==18304==  Lock at 0x72FFEB8 was first observed
  1636. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1637. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1638. ==18304==    by 0x4D02742: switch_core_init (switch_core.c:1920)
  1639. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1640. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1641. ==18304==  Address 0x72ffeb8 is 400,728 bytes inside a block of size 401,408 alloc'd
  1642. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1643. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1644. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1645. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1646. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  1647. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  1648. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1649. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1650. ==18304==  Block was alloc'd by thread #1
  1651. ==18304==
  1652. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  1653. ==18304== Locks held: 1, at address 0x72FFEB8
  1654. ==18304==    at 0x4DB31FA: switch_log_vprintf (switch_log.c:649)
  1655. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  1656. ==18304==    by 0x4CFE2AD: switch_load_network_lists (switch_core.c:1576)
  1657. ==18304==    by 0x4D02DAE: switch_core_init_and_modload (switch_core.c:2471)
  1658. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1659. ==18304==
  1660. ==18304== This conflicts with a previous write of size 1 by thread #5
  1661. ==18304== Locks held: none
  1662. ==18304==    at 0x4DB3698: log_thread (switch_log.c:462)
  1663. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1664. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1665. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1666. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1667. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  1668. ==18304==
  1669. ==18304== ----------------------------------------------------------------
  1670. ==18304==
  1671. ==18304==  Lock at 0x7B8A200 was first observed
  1672. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1673. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1674. ==18304==    by 0x4D4019B: switch_scheduler_task_thread_start (switch_scheduler.c:345)
  1675. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  1676. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1677. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1678. ==18304==  Address 0x7b8a200 is 384 bytes inside a block of size 8,192 alloc'd
  1679. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1680. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1681. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1682. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  1683. ==18304==    by 0x4D40172: switch_scheduler_task_thread_start (switch_scheduler.c:343)
  1684. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  1685. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1686. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1687. ==18304==  Block was alloc'd by thread #1
  1688. ==18304==
  1689. ==18304== Possible data race during write of size 4 at 0x51215E0 by thread #1
  1690. ==18304== Locks held: none
  1691. ==18304==    at 0x4DC0A26: softtimer_load (switch_time.c:1521)
  1692. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  1693. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  1694. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  1695. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1696. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1697. ==18304==
  1698. ==18304== This conflicts with a previous read of size 4 by thread #6
  1699. ==18304== Locks held: 1, at address 0x7B8A200
  1700. ==18304==    at 0x4DBF130: switch_micro_time_now (switch_time.c:312)
  1701. ==18304==    by 0x4DBF278: switch_epoch_time_now (switch_time.c:323)
  1702. ==18304==    by 0x4D3F785: task_thread_loop (switch_scheduler.c:113)
  1703. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  1704. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1705. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1706. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1707. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1708. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  1709. ==18304==
  1710. ==18304== ----------------------------------------------------------------
  1711. ==18304==
  1712. ==18304==  Lock at 0x7B8A200 was first observed
  1713. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1714. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1715. ==18304==    by 0x4D4019B: switch_scheduler_task_thread_start (switch_scheduler.c:345)
  1716. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  1717. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1718. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1719. ==18304==  Address 0x7b8a200 is 384 bytes inside a block of size 8,192 alloc'd
  1720. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1721. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1722. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1723. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  1724. ==18304==    by 0x4D40172: switch_scheduler_task_thread_start (switch_scheduler.c:343)
  1725. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  1726. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1727. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1728. ==18304==  Block was alloc'd by thread #1
  1729. ==18304==
  1730. ==18304== Possible data race during read of size 4 at 0x51215E0 by thread #6
  1731. ==18304== Locks held: 1, at address 0x7B8A200
  1732. ==18304==    at 0x4DBF130: switch_micro_time_now (switch_time.c:312)
  1733. ==18304==    by 0x4DBF278: switch_epoch_time_now (switch_time.c:323)
  1734. ==18304==    by 0x4D3F785: task_thread_loop (switch_scheduler.c:113)
  1735. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  1736. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1737. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1738. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1739. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1740. ==18304==
  1741. ==18304== This conflicts with a previous write of size 4 by thread #1
  1742. ==18304== Locks held: none
  1743. ==18304==    at 0x4DC0A26: softtimer_load (switch_time.c:1521)
  1744. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  1745. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  1746. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  1747. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1748. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1749. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  1750. ==18304==
  1751. ==18304== ---Thread-Announcement------------------------------------------
  1752. ==18304==
  1753. ==18304== Thread #9 was created
  1754. ==18304==    at 0x560E4BE: clone (clone.S:71)
  1755. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  1756. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  1757. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  1758. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  1759. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1903)
  1760. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  1761. ==18304==    by 0x4CE9AC6: switch_core_sqldb_start_thread (switch_core_sqldb.c:3967)
  1762. ==18304==    by 0x4CE9AC6: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  1763. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1764. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1765. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1766. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1767. ==18304==
  1768. ==18304== ----------------------------------------------------------------
  1769. ==18304==
  1770. ==18304==  Lock at 0x7A48108 was first observed
  1771. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1772. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1773. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  1774. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  1775. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  1776. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  1777. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  1778. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  1779. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1780. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1781. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1782. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1783. ==18304==  Address 0x7a48108 is 1,144 bytes inside a block of size 8,192 alloc'd
  1784. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1785. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1786. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1787. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  1788. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  1789. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  1790. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  1791. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  1792. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  1793. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  1794. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1795. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1796. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1797. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1798. ==18304==  Block was alloc'd by thread #1
  1799. ==18304==
  1800. ==18304==  Lock at 0x7B89720 was first observed
  1801. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1802. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1803. ==18304==    by 0x4CE94C1: switch_core_sqldb_start (switch_core_sqldb.c:3629)
  1804. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1805. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1806. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1807. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1808. ==18304==  Address 0x7b89720 is 800,480 bytes inside a block of size 802,816 alloc'd
  1809. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1810. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1811. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1812. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1813. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  1814. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  1815. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1816. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1817. ==18304==  Block was alloc'd by thread #1
  1818. ==18304==
  1819. ==18304==  Lock at 0x79DD5A8 was first observed
  1820. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1821. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1822. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  1823. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  1824. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  1825. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1826. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1827. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1828. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1829. ==18304==  Address 0x79dd5a8 is 456 bytes inside a block of size 8,192 alloc'd
  1830. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1831. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1832. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1833. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  1834. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  1835. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  1836. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  1837. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1838. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1839. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1840. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1841. ==18304==  Block was alloc'd by thread #1
  1842. ==18304==
  1843. ==18304==  Lock at 0x7EB61E8 was first observed
  1844. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1845. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1846. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  1847. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  1848. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  1849. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  1850. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1851. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1852. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1853. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1854. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  1855. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1856. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1857. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1858. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  1859. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  1860. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  1861. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  1862. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  1863. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1864. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1865. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1866. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1867. ==18304==  Block was alloc'd by thread #9
  1868. ==18304==
  1869. ==18304== Possible data race during read of size 4 at 0x79DD530 by thread #1
  1870. ==18304== Locks held: 2, at addresses 0x7A48108 0x7B89720
  1871. ==18304==    at 0x4CE5AEA: switch_sql_queue_manager_start (switch_core_sqldb.c:1904)
  1872. ==18304==    by 0x4CE5AEA: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  1873. ==18304==    by 0x4CE9AC6: switch_core_sqldb_start_thread (switch_core_sqldb.c:3967)
  1874. ==18304==    by 0x4CE9AC6: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  1875. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1876. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1877. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1878. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1879. ==18304==
  1880. ==18304== This conflicts with a previous write of size 4 by thread #9
  1881. ==18304== Locks held: 2, at addresses 0x79DD5A8 0x7EB61E8
  1882. ==18304==    at 0x4CE329A: switch_user_sql_thread (switch_core_sqldb.c:2306)
  1883. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1884. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1885. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1886. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1887. ==18304==  Address 0x79dd530 is 336 bytes inside a block of size 8,192 alloc'd
  1888. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1889. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1890. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1891. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  1892. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  1893. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  1894. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  1895. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1896. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1897. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1898. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1899. ==18304==  Block was alloc'd by thread #1
  1900. ==18304==
  1901. ==18304== ----------------------------------------------------------------
  1902. ==18304==
  1903. ==18304==  Lock at 0x7A48108 was first observed
  1904. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1905. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1906. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  1907. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  1908. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  1909. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  1910. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  1911. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  1912. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1913. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1914. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1915. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1916. ==18304==  Address 0x7a48108 is 1,144 bytes inside a block of size 8,192 alloc'd
  1917. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1918. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1919. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1920. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  1921. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  1922. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  1923. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  1924. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  1925. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  1926. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  1927. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1928. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1929. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1930. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1931. ==18304==  Block was alloc'd by thread #1
  1932. ==18304==
  1933. ==18304==  Lock at 0x7B89720 was first observed
  1934. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1935. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1936. ==18304==    by 0x4CE94C1: switch_core_sqldb_start (switch_core_sqldb.c:3629)
  1937. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1938. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1939. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1940. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1941. ==18304==  Address 0x7b89720 is 800,480 bytes inside a block of size 802,816 alloc'd
  1942. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1943. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  1944. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  1945. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  1946. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  1947. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  1948. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  1949. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1950. ==18304==  Block was alloc'd by thread #1
  1951. ==18304==
  1952. ==18304==  Lock at 0x7EB61E8 was first observed
  1953. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  1954. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  1955. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  1956. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  1957. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  1958. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  1959. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1960. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1961. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1962. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1963. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  1964. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  1965. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  1966. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  1967. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  1968. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  1969. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  1970. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  1971. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  1972. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1973. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1974. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1975. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1976. ==18304==  Block was alloc'd by thread #9
  1977. ==18304==
  1978. ==18304== Possible data race during read of size 8 at 0x79DD4F8 by thread #1
  1979. ==18304== Locks held: 2, at addresses 0x7A48108 0x7B89720
  1980. ==18304==    at 0x4CE5B06: switch_sql_queue_manager_start (switch_core_sqldb.c:1908)
  1981. ==18304==    by 0x4CE5B06: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  1982. ==18304==    by 0x4CE9AC6: switch_core_sqldb_start_thread (switch_core_sqldb.c:3967)
  1983. ==18304==    by 0x4CE9AC6: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  1984. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  1985. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  1986. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  1987. ==18304==    by 0x10AEC7: main (switch.c:1200)
  1988. ==18304==
  1989. ==18304== This conflicts with a previous write of size 8 by thread #9
  1990. ==18304== Locks held: 1, at address 0x7EB61E8
  1991. ==18304==    at 0x4CE23D0: _switch_cache_db_get_db_handle (switch_core_sqldb.c:678)
  1992. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  1993. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  1994. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  1995. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  1996. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  1997. ==18304==    by 0x560E4CE: clone (clone.S:95)
  1998. ==18304==  Address 0x79dd4f8 is 280 bytes inside a block of size 8,192 alloc'd
  1999. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2000. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2001. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2002. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2003. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2004. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2005. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2006. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2007. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2008. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2009. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2010. ==18304==  Block was alloc'd by thread #1
  2011. ==18304==
  2012. ==18304== ----------------------------------------------------------------
  2013. ==18304==
  2014. ==18304== Thread #1: lock order "0x7B89680 before 0x7A48108" violated
  2015. ==18304==
  2016. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7A48108
  2017. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  2018. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  2019. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  2020. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2021. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  2022. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  2023. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  2024. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2025. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2026. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2027. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2028. ==18304==
  2029. ==18304==  followed by a later acquisition of lock at 0x7B89680
  2030. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  2031. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  2032. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  2033. ==18304==    by 0x4CE9DD4: switch_core_sqldb_start (switch_core_sqldb.c:3905)
  2034. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2035. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2036. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2037. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2038. ==18304==
  2039. ==18304== Required order was established by acquisition of lock at 0x7B89680
  2040. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  2041. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  2042. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  2043. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2044. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  2045. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  2046. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  2047. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2048. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2049. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2050. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2051. ==18304==
  2052. ==18304==  followed by a later acquisition of lock at 0x7A48108
  2053. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  2054. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  2055. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  2056. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2057. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  2058. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  2059. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  2060. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2061. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2062. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2063. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2064. ==18304==
  2065. ==18304==  Lock at 0x7B89680 was first observed
  2066. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2067. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2068. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  2069. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2070. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2071. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2072. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2073. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  2074. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2075. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  2076. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  2077. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  2078. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  2079. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  2080. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  2081. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2082. ==18304==  Block was alloc'd by thread #1
  2083. ==18304==
  2084. ==18304==  Lock at 0x7A48108 was first observed
  2085. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2086. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2087. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  2088. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2089. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2090. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  2091. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  2092. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  2093. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2094. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2095. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2096. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2097. ==18304==  Address 0x7a48108 is 1,144 bytes inside a block of size 8,192 alloc'd
  2098. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2099. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2100. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2101. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2102. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  2103. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2104. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2105. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  2106. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  2107. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  2108. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2109. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2110. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2111. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2112. ==18304==  Block was alloc'd by thread #1
  2113. ==18304==
  2114. ==18304==
  2115. ==18304== ----------------------------------------------------------------
  2116. ==18304==
  2117. ==18304==  Lock at 0x79DD5A8 was first observed
  2118. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2119. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2120. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  2121. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2122. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2123. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2124. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2125. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2126. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2127. ==18304==  Address 0x79dd5a8 is 456 bytes inside a block of size 8,192 alloc'd
  2128. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2129. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2130. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2131. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2132. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2133. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2134. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2135. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2136. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2137. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2138. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2139. ==18304==  Block was alloc'd by thread #1
  2140. ==18304==
  2141. ==18304==  Lock at 0x7EB61E8 was first observed
  2142. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2143. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2144. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  2145. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2146. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2147. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2148. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2149. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2150. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2151. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2152. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  2153. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2154. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2155. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2156. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2157. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  2158. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2159. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2160. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2161. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2162. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2163. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2164. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2165. ==18304==  Block was alloc'd by thread #9
  2166. ==18304==
  2167. ==18304== Possible data race during read of size 4 at 0x79DD534 by thread #3
  2168. ==18304== Locks held: none
  2169. ==18304==    at 0x4CE5C66: switch_sql_queue_manager_push (switch_core_sqldb.c:1955)
  2170. ==18304==    by 0x4CE6010: core_event_handler (switch_core_sqldb.c:2879)
  2171. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  2172. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  2173. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2174. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2175. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2176. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2177. ==18304==
  2178. ==18304== This conflicts with a previous write of size 4 by thread #9
  2179. ==18304== Locks held: 2, at addresses 0x79DD5A8 0x7EB61E8
  2180. ==18304==    at 0x4CE329A: switch_user_sql_thread (switch_core_sqldb.c:2306)
  2181. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2182. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2183. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2184. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2185. ==18304==  Address 0x79dd534 is 340 bytes inside a block of size 8,192 alloc'd
  2186. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2187. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2188. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2189. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2190. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2191. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2192. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2193. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2194. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2195. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2196. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2197. ==18304==  Block was alloc'd by thread #1
  2198. ==18304==
  2199. ==18304== ----------------------------------------------------------------
  2200. ==18304==
  2201. ==18304==  Lock at 0x79DD648 was first observed
  2202. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2203. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2204. ==18304==    by 0x4CE8772: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2090)
  2205. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2206. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2207. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2208. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2209. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2210. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2211. ==18304==  Address 0x79dd648 is 616 bytes inside a block of size 8,192 alloc'd
  2212. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2213. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2214. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2215. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2216. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2217. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2218. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2219. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2220. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2221. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2222. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2223. ==18304==  Block was alloc'd by thread #1
  2224. ==18304==
  2225. ==18304==  Lock at 0x79DD770 was first observed
  2226. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2227. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  2228. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  2229. ==18304==    by 0x4CE8825: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2098)
  2230. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2231. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2232. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2233. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2234. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2235. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2236. ==18304==  Address 0x79dd770 is 912 bytes inside a block of size 8,192 alloc'd
  2237. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2238. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2239. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2240. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2241. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2242. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2243. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2244. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2245. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2246. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2247. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2248. ==18304==  Block was alloc'd by thread #1
  2249. ==18304==
  2250. ==18304==  Lock at 0x79DD5A8 was first observed
  2251. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2252. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2253. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  2254. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2255. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2256. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2257. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2258. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2259. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2260. ==18304==  Address 0x79dd5a8 is 456 bytes inside a block of size 8,192 alloc'd
  2261. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2262. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2263. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2264. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2265. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2266. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2267. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2268. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2269. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2270. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2271. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2272. ==18304==  Block was alloc'd by thread #1
  2273. ==18304==
  2274. ==18304==  Lock at 0x7EB61E8 was first observed
  2275. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2276. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2277. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  2278. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2279. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2280. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2281. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2282. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2283. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2284. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2285. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  2286. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2287. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2288. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2289. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2290. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  2291. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2292. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2293. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2294. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2295. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2296. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2297. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2298. ==18304==  Block was alloc'd by thread #9
  2299. ==18304==
  2300. ==18304== Possible data race during write of size 4 at 0x79DD730 by thread #3
  2301. ==18304== Locks held: 2, at addresses 0x79DD648 0x79DD770
  2302. ==18304==    at 0x501A4DF: apr_queue_trypush (apr_queue.c:231)
  2303. ==18304==    by 0x4CBDD3A: switch_queue_trypush (switch_apr.c:1198)
  2304. ==18304==    by 0x4CE5CAF: switch_sql_queue_manager_push (switch_core_sqldb.c:1975)
  2305. ==18304==    by 0x4CE5CAF: switch_sql_queue_manager_push (switch_core_sqldb.c:1949)
  2306. ==18304==    by 0x4CE6010: core_event_handler (switch_core_sqldb.c:2879)
  2307. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  2308. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  2309. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2310. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2311. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2312. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2313. ==18304==
  2314. ==18304== This conflicts with a previous read of size 4 by thread #9
  2315. ==18304== Locks held: 2, at addresses 0x79DD5A8 0x7EB61E8
  2316. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  2317. ==18304==    by 0x4CE32F9: qm_ttl (switch_core_sqldb.c:1668)
  2318. ==18304==    by 0x4CE32F9: switch_user_sql_thread (switch_core_sqldb.c:2325)
  2319. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2320. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2321. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2322. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2323. ==18304==  Address 0x79dd730 is 848 bytes inside a block of size 8,192 alloc'd
  2324. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2325. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2326. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2327. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2328. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2329. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2330. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2331. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2332. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2333. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2334. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2335. ==18304==  Block was alloc'd by thread #1
  2336. ==18304==
  2337. ==18304== ----------------------------------------------------------------
  2338. ==18304==
  2339. ==18304== Thread #9: lock order "0x79DD5A8 before 0x79DD5F8" violated
  2340. ==18304==
  2341. ==18304== Observed (incorrect) order is: acquisition of lock at 0x79DD5F8
  2342. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  2343. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  2344. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2345. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2346. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2347. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2348. ==18304==
  2349. ==18304==  followed by a later acquisition of lock at 0x79DD5A8
  2350. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  2351. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  2352. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2353. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2354. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2355. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2356. ==18304==
  2357. ==18304== Required order was established by acquisition of lock at 0x79DD5A8
  2358. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  2359. ==18304==    by 0x4CE3278: switch_user_sql_thread (switch_core_sqldb.c:2289)
  2360. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2361. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2362. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2363. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2364. ==18304==
  2365. ==18304==  followed by a later acquisition of lock at 0x79DD5F8
  2366. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  2367. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  2368. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2369. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2370. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2371. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2372. ==18304==
  2373. ==18304==  Lock at 0x79DD5A8 was first observed
  2374. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2375. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2376. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  2377. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2378. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2379. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2380. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2381. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2382. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2383. ==18304==  Address 0x79dd5a8 is 456 bytes inside a block of size 8,192 alloc'd
  2384. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2385. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2386. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2387. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2388. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2389. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2390. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2391. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2392. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2393. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2394. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2395. ==18304==  Block was alloc'd by thread #1
  2396. ==18304==
  2397. ==18304==  Lock at 0x79DD5F8 was first observed
  2398. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2399. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2400. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  2401. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2402. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2403. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2404. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2405. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2406. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2407. ==18304==  Address 0x79dd5f8 is 536 bytes inside a block of size 8,192 alloc'd
  2408. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2409. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2410. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2411. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2412. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2413. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2414. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2415. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2416. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2417. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2418. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2419. ==18304==  Block was alloc'd by thread #1
  2420. ==18304==
  2421. ==18304==
  2422. ==18304== ----------------------------------------------------------------
  2423. ==18304==
  2424. ==18304==  Lock at 0x7B89720 was first observed
  2425. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2426. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2427. ==18304==    by 0x4CE94C1: switch_core_sqldb_start (switch_core_sqldb.c:3629)
  2428. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2429. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2430. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2431. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2432. ==18304==  Address 0x7b89720 is 800,480 bytes inside a block of size 802,816 alloc'd
  2433. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2434. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  2435. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  2436. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  2437. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  2438. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  2439. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  2440. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2441. ==18304==  Block was alloc'd by thread #1
  2442. ==18304==
  2443. ==18304==  Lock at 0x7EB61E8 was first observed
  2444. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2445. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2446. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  2447. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2448. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2449. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2450. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2451. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2452. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2453. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2454. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  2455. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2456. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2457. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2458. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2459. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  2460. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2461. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2462. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2463. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2464. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2465. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2466. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2467. ==18304==  Block was alloc'd by thread #9
  2468. ==18304==
  2469. ==18304== Possible data race during read of size 8 at 0x79DD4F8 by thread #1
  2470. ==18304== Locks held: 1, at address 0x7B89720
  2471. ==18304==    at 0x4CE8DAB: switch_core_dbtype (switch_core_sqldb.c:3410)
  2472. ==18304==    by 0x4CD1C0B: switch_console_set_complete (switch_console.c:1872)
  2473. ==18304==    by 0x4DDA3AD: mod_vpx_load (switch_vpx.c:2029)
  2474. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  2475. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  2476. ==18304==    by 0x4D45EB5: switch_loadable_module_load_module (switch_loadable_module.c:1812)
  2477. ==18304==    by 0x4D46A07: switch_loadable_module_init (switch_loadable_module.c:2264)
  2478. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2479. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2480. ==18304==
  2481. ==18304== This conflicts with a previous write of size 8 by thread #9
  2482. ==18304== Locks held: 1, at address 0x7EB61E8
  2483. ==18304==    at 0x4CE23D0: _switch_cache_db_get_db_handle (switch_core_sqldb.c:678)
  2484. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2485. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2486. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2487. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2488. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2489. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2490. ==18304==  Address 0x79dd4f8 is 280 bytes inside a block of size 8,192 alloc'd
  2491. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2492. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2493. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2494. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2495. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2496. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2497. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2498. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2499. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2500. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2501. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2502. ==18304==  Block was alloc'd by thread #1
  2503. ==18304==
  2504. ==18304== ----------------------------------------------------------------
  2505. ==18304==
  2506. ==18304==  Lock at 0x79DD5A8 was first observed
  2507. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2508. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2509. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  2510. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2511. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2512. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2513. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2514. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2515. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2516. ==18304==  Address 0x79dd5a8 is 456 bytes inside a block of size 8,192 alloc'd
  2517. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2518. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2519. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2520. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2521. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2522. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2523. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2524. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2525. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2526. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2527. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2528. ==18304==  Block was alloc'd by thread #1
  2529. ==18304==
  2530. ==18304==  Lock at 0x7EB61E8 was first observed
  2531. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2532. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2533. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  2534. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2535. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2536. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2537. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2538. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2539. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2540. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2541. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  2542. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2543. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2544. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2545. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2546. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  2547. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2548. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2549. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2550. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2551. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2552. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2553. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2554. ==18304==  Block was alloc'd by thread #9
  2555. ==18304==
  2556. ==18304== Possible data race during read of size 4 at 0x79DD534 by thread #1
  2557. ==18304== Locks held: none
  2558. ==18304==    at 0x4CE5C66: switch_sql_queue_manager_push (switch_core_sqldb.c:1955)
  2559. ==18304==    by 0x4CD1B9C: switch_console_set_complete (switch_console.c:1902)
  2560. ==18304==    by 0x4DDA3AD: mod_vpx_load (switch_vpx.c:2029)
  2561. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  2562. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  2563. ==18304==    by 0x4D45EB5: switch_loadable_module_load_module (switch_loadable_module.c:1812)
  2564. ==18304==    by 0x4D46A07: switch_loadable_module_init (switch_loadable_module.c:2264)
  2565. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2566. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2567. ==18304==
  2568. ==18304== This conflicts with a previous write of size 4 by thread #9
  2569. ==18304== Locks held: 2, at addresses 0x79DD5A8 0x7EB61E8
  2570. ==18304==    at 0x4CE329A: switch_user_sql_thread (switch_core_sqldb.c:2306)
  2571. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2572. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2573. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2574. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2575. ==18304==  Address 0x79dd534 is 340 bytes inside a block of size 8,192 alloc'd
  2576. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2577. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2578. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2579. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2580. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2581. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2582. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2583. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2584. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2585. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2586. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2587. ==18304==  Block was alloc'd by thread #1
  2588. ==18304==
  2589. ==18304== ----------------------------------------------------------------
  2590. ==18304==
  2591. ==18304==  Lock at 0x79DD648 was first observed
  2592. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2593. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2594. ==18304==    by 0x4CE8772: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2090)
  2595. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2596. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2597. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2598. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2599. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2600. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2601. ==18304==  Address 0x79dd648 is 616 bytes inside a block of size 8,192 alloc'd
  2602. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2603. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2604. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2605. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2606. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2607. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2608. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2609. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2610. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2611. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2612. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2613. ==18304==  Block was alloc'd by thread #1
  2614. ==18304==
  2615. ==18304==  Lock at 0x90FC610 was first observed
  2616. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2617. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  2618. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  2619. ==18304==    by 0x4CE8825: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2098)
  2620. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2621. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2622. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2623. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2624. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2625. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2626. ==18304==  Address 0x90fc610 is 800,144 bytes inside a block of size 802,816 alloc'd
  2627. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2628. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  2629. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  2630. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  2631. ==18304==    by 0x4CE8825: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2098)
  2632. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2633. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2634. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2635. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2636. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2637. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2638. ==18304==  Block was alloc'd by thread #1
  2639. ==18304==
  2640. ==18304==  Lock at 0x79DD5A8 was first observed
  2641. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2642. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2643. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  2644. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2645. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2646. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2647. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2648. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2649. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2650. ==18304==  Address 0x79dd5a8 is 456 bytes inside a block of size 8,192 alloc'd
  2651. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2652. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2653. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2654. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2655. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2656. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2657. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2658. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2659. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2660. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2661. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2662. ==18304==  Block was alloc'd by thread #1
  2663. ==18304==
  2664. ==18304==  Lock at 0x7EB61E8 was first observed
  2665. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2666. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2667. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  2668. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2669. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2670. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2671. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2672. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2673. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2674. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2675. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  2676. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2677. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2678. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2679. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2680. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  2681. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2682. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2683. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2684. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2685. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2686. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2687. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2688. ==18304==  Block was alloc'd by thread #9
  2689. ==18304==
  2690. ==18304== Possible data race during write of size 4 at 0x90FC5D0 by thread #1
  2691. ==18304== Locks held: 2, at addresses 0x79DD648 0x90FC610
  2692. ==18304==    at 0x501A4DF: apr_queue_trypush (apr_queue.c:231)
  2693. ==18304==    by 0x4CBDD3A: switch_queue_trypush (switch_apr.c:1198)
  2694. ==18304==    by 0x4CE5CAF: switch_sql_queue_manager_push (switch_core_sqldb.c:1975)
  2695. ==18304==    by 0x4CE5CAF: switch_sql_queue_manager_push (switch_core_sqldb.c:1949)
  2696. ==18304==    by 0x4CD1B9C: switch_console_set_complete (switch_console.c:1902)
  2697. ==18304==    by 0x4DDA3AD: mod_vpx_load (switch_vpx.c:2029)
  2698. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  2699. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  2700. ==18304==    by 0x4D45EB5: switch_loadable_module_load_module (switch_loadable_module.c:1812)
  2701. ==18304==    by 0x4D46A07: switch_loadable_module_init (switch_loadable_module.c:2264)
  2702. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2703. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2704. ==18304==
  2705. ==18304== This conflicts with a previous read of size 4 by thread #9
  2706. ==18304== Locks held: 2, at addresses 0x79DD5A8 0x7EB61E8
  2707. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  2708. ==18304==    by 0x4CE3901: qm_ttl (switch_core_sqldb.c:1668)
  2709. ==18304==    by 0x4CE3901: switch_user_sql_thread (switch_core_sqldb.c:2360)
  2710. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2711. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2712. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2713. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2714. ==18304==  Address 0x90fc5d0 is 800,080 bytes inside a block of size 802,816 alloc'd
  2715. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2716. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  2717. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  2718. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  2719. ==18304==    by 0x4CE8825: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2098)
  2720. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2721. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2722. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2723. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2724. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2725. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2726. ==18304==  Block was alloc'd by thread #1
  2727. ==18304==
  2728. ==18304== ----------------------------------------------------------------
  2729. ==18304==
  2730. ==18304==  Lock at 0x79DD5A8 was first observed
  2731. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2732. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2733. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  2734. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2735. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2736. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2737. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2738. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2739. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2740. ==18304==  Address 0x79dd5a8 is 456 bytes inside a block of size 8,192 alloc'd
  2741. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2742. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2743. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2744. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2745. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2746. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2747. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2748. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2749. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2750. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2751. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2752. ==18304==  Block was alloc'd by thread #1
  2753. ==18304==
  2754. ==18304==  Lock at 0x7EB61E8 was first observed
  2755. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2756. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2757. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  2758. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2759. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2760. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2761. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2762. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2763. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2764. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2765. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  2766. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2767. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2768. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2769. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2770. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  2771. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  2772. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  2773. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  2774. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2775. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2776. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2777. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2778. ==18304==  Block was alloc'd by thread #9
  2779. ==18304==
  2780. ==18304==  Lock at 0x79DD648 was first observed
  2781. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2782. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2783. ==18304==    by 0x4CE8772: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2090)
  2784. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2785. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2786. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2787. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2788. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2789. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2790. ==18304==  Address 0x79dd648 is 616 bytes inside a block of size 8,192 alloc'd
  2791. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2792. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2793. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2794. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2795. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  2796. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2797. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2798. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2799. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2800. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2801. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2802. ==18304==  Block was alloc'd by thread #1
  2803. ==18304==
  2804. ==18304==  Lock at 0x90FC610 was first observed
  2805. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2806. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  2807. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  2808. ==18304==    by 0x4CE8825: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2098)
  2809. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2810. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2811. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2812. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2813. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2814. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2815. ==18304==  Address 0x90fc610 is 800,144 bytes inside a block of size 802,816 alloc'd
  2816. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2817. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  2818. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  2819. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  2820. ==18304==    by 0x4CE8825: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2098)
  2821. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2822. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2823. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2824. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2825. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2826. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2827. ==18304==  Block was alloc'd by thread #1
  2828. ==18304==
  2829. ==18304== Possible data race during read of size 4 at 0x90FC5D0 by thread #9
  2830. ==18304== Locks held: 2, at addresses 0x79DD5A8 0x7EB61E8
  2831. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  2832. ==18304==    by 0x4CE3901: qm_ttl (switch_core_sqldb.c:1668)
  2833. ==18304==    by 0x4CE3901: switch_user_sql_thread (switch_core_sqldb.c:2360)
  2834. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2835. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2836. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2837. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2838. ==18304==
  2839. ==18304== This conflicts with a previous write of size 4 by thread #1
  2840. ==18304== Locks held: 2, at addresses 0x79DD648 0x90FC610
  2841. ==18304==    at 0x501A4DF: apr_queue_trypush (apr_queue.c:231)
  2842. ==18304==    by 0x4CBDD3A: switch_queue_trypush (switch_apr.c:1198)
  2843. ==18304==    by 0x4CE5CAF: switch_sql_queue_manager_push (switch_core_sqldb.c:1975)
  2844. ==18304==    by 0x4CE5CAF: switch_sql_queue_manager_push (switch_core_sqldb.c:1949)
  2845. ==18304==    by 0x4CD1B9C: switch_console_set_complete (switch_console.c:1902)
  2846. ==18304==    by 0x4DDA3D1: mod_vpx_load (switch_vpx.c:2032)
  2847. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  2848. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  2849. ==18304==    by 0x4D45EB5: switch_loadable_module_load_module (switch_loadable_module.c:1812)
  2850. ==18304==    by 0x4D46A07: switch_loadable_module_init (switch_loadable_module.c:2264)
  2851. ==18304==  Address 0x90fc5d0 is 800,080 bytes inside a block of size 802,816 alloc'd
  2852. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2853. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  2854. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  2855. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  2856. ==18304==    by 0x4CE8825: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2098)
  2857. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  2858. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  2859. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  2860. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  2861. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2862. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2863. ==18304==  Block was alloc'd by thread #1
  2864. ==18304==
  2865. ==18304== ----------------------------------------------------------------
  2866. ==18304==
  2867. ==18304==  Lock at 0x7411F00 was first observed
  2868. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2869. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2870. ==18304==    by 0x4D525BC: switch_event_init (switch_event.c:702)
  2871. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  2872. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  2873. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2874. ==18304==  Address 0x7411f00 is 3,536 bytes inside a block of size 8,192 alloc'd
  2875. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2876. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  2877. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  2878. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  2879. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  2880. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  2881. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  2882. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  2883. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  2884. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2885. ==18304==  Block was alloc'd by thread #1
  2886. ==18304==
  2887. ==18304==  Lock at 0x79E2370 was first observed
  2888. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2889. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2890. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  2891. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2892. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2893. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  2894. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2895. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2896. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2897. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2898. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  2899. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2900. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2901. ==18304==  Block was alloc'd by thread #1
  2902. ==18304==
  2903. ==18304==  Lock at 0x7412090 was first observed
  2904. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2905. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  2906. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  2907. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  2908. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  2909. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  2910. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  2911. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2912. ==18304==  Address 0x7412090 is 3,936 bytes inside a block of size 8,192 alloc'd
  2913. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2914. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  2915. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  2916. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  2917. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  2918. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  2919. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  2920. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  2921. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  2922. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2923. ==18304==  Block was alloc'd by thread #1
  2924. ==18304==
  2925. ==18304== Possible data race during read of size 4 at 0x7412050 by thread #1
  2926. ==18304== Locks held: 2, at addresses 0x7411F00 0x79E2370
  2927. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  2928. ==18304==    by 0x4D5566B: switch_event_queue_dispatch_event (switch_event.c:369)
  2929. ==18304==    by 0x4D5566B: switch_event_fire_detailed (switch_event.c:2024)
  2930. ==18304==    by 0x4D43569: switch_loadable_module_process (switch_loadable_module.c:271)
  2931. ==18304==    by 0x4D43C05: switch_loadable_module_load_module_ex (switch_loadable_module.c:1861)
  2932. ==18304==    by 0x4D45EB5: switch_loadable_module_load_module (switch_loadable_module.c:1812)
  2933. ==18304==    by 0x4D46A07: switch_loadable_module_init (switch_loadable_module.c:2264)
  2934. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2935. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2936. ==18304==
  2937. ==18304== This conflicts with a previous write of size 4 by thread #3
  2938. ==18304== Locks held: 1, at address 0x7412090
  2939. ==18304==    at 0x501A5E5: apr_queue_pop (apr_queue.c:300)
  2940. ==18304==    by 0x4D539D5: switch_event_dispatch_thread (switch_event.c:328)
  2941. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  2942. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  2943. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  2944. ==18304==    by 0x560E4CE: clone (clone.S:95)
  2945. ==18304==  Address 0x7412050 is 3,872 bytes inside a block of size 8,192 alloc'd
  2946. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2947. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  2948. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  2949. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  2950. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  2951. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  2952. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  2953. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  2954. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  2955. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2956. ==18304==  Block was alloc'd by thread #1
  2957. ==18304==
  2958. ==18304== ----------------------------------------------------------------
  2959. ==18304==
  2960. ==18304==  Lock at 0x7411F00 was first observed
  2961. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2962. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2963. ==18304==    by 0x4D525BC: switch_event_init (switch_event.c:702)
  2964. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  2965. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  2966. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2967. ==18304==  Address 0x7411f00 is 3,536 bytes inside a block of size 8,192 alloc'd
  2968. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2969. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  2970. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  2971. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  2972. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  2973. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  2974. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  2975. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  2976. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  2977. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2978. ==18304==  Block was alloc'd by thread #1
  2979. ==18304==
  2980. ==18304==  Lock at 0x79E2370 was first observed
  2981. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2982. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  2983. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  2984. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2985. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2986. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  2987. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  2988. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  2989. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  2990. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  2991. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  2992. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  2993. ==18304==    by 0x10AEC7: main (switch.c:1200)
  2994. ==18304==  Block was alloc'd by thread #1
  2995. ==18304==
  2996. ==18304==  Lock at 0x7412090 was first observed
  2997. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  2998. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  2999. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  3000. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  3001. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  3002. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  3003. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3004. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3005. ==18304==  Address 0x7412090 is 3,936 bytes inside a block of size 8,192 alloc'd
  3006. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3007. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  3008. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  3009. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  3010. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  3011. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  3012. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  3013. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  3014. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3015. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3016. ==18304==  Block was alloc'd by thread #1
  3017. ==18304==
  3018. ==18304== Possible data race during read of size 4 at 0x7412050 by thread #1
  3019. ==18304== Locks held: 2, at addresses 0x7411F00 0x79E2370
  3020. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  3021. ==18304==    by 0x4D5566B: switch_event_queue_dispatch_event (switch_event.c:369)
  3022. ==18304==    by 0x4D5566B: switch_event_fire_detailed (switch_event.c:2024)
  3023. ==18304==    by 0x4D433DD: switch_loadable_module_process (switch_loadable_module.c:422)
  3024. ==18304==    by 0x4D43C05: switch_loadable_module_load_module_ex (switch_loadable_module.c:1861)
  3025. ==18304==    by 0x4D45EB5: switch_loadable_module_load_module (switch_loadable_module.c:1812)
  3026. ==18304==    by 0x4D46A07: switch_loadable_module_init (switch_loadable_module.c:2264)
  3027. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3028. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3029. ==18304==
  3030. ==18304== This conflicts with a previous write of size 4 by thread #3
  3031. ==18304== Locks held: 1, at address 0x7412090
  3032. ==18304==    at 0x501A5E5: apr_queue_pop (apr_queue.c:300)
  3033. ==18304==    by 0x4D539D5: switch_event_dispatch_thread (switch_event.c:328)
  3034. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3035. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3036. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3037. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3038. ==18304==  Address 0x7412050 is 3,872 bytes inside a block of size 8,192 alloc'd
  3039. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3040. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  3041. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  3042. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  3043. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  3044. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  3045. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  3046. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  3047. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3048. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3049. ==18304==  Block was alloc'd by thread #1
  3050. ==18304==
  3051. ==18304== ----------------------------------------------------------------
  3052. ==18304==
  3053. ==18304==  Lock at 0x7411F00 was first observed
  3054. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3055. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  3056. ==18304==    by 0x4D525BC: switch_event_init (switch_event.c:702)
  3057. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  3058. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3059. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3060. ==18304==  Address 0x7411f00 is 3,536 bytes inside a block of size 8,192 alloc'd
  3061. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3062. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  3063. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  3064. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  3065. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  3066. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  3067. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  3068. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  3069. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3070. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3071. ==18304==  Block was alloc'd by thread #1
  3072. ==18304==
  3073. ==18304==  Lock at 0x7412090 was first observed
  3074. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3075. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  3076. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  3077. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  3078. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  3079. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  3080. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3081. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3082. ==18304==  Address 0x7412090 is 3,936 bytes inside a block of size 8,192 alloc'd
  3083. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3084. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  3085. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  3086. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  3087. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  3088. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  3089. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  3090. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  3091. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3092. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3093. ==18304==  Block was alloc'd by thread #1
  3094. ==18304==
  3095. ==18304== Possible data race during read of size 4 at 0x7412050 by thread #1
  3096. ==18304== Locks held: 1, at address 0x7411F00
  3097. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  3098. ==18304==    by 0x4D5566B: switch_event_queue_dispatch_event (switch_event.c:369)
  3099. ==18304==    by 0x4D5566B: switch_event_fire_detailed (switch_event.c:2024)
  3100. ==18304==    by 0x9576744: config_sofia (sofia.c:6201)
  3101. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  3102. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  3103. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  3104. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  3105. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3106. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3107. ==18304==
  3108. ==18304== This conflicts with a previous write of size 4 by thread #3
  3109. ==18304== Locks held: 1, at address 0x7412090
  3110. ==18304==    at 0x501A5E5: apr_queue_pop (apr_queue.c:300)
  3111. ==18304==    by 0x4D539D5: switch_event_dispatch_thread (switch_event.c:328)
  3112. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3113. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3114. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3115. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3116. ==18304==  Address 0x7412050 is 3,872 bytes inside a block of size 8,192 alloc'd
  3117. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3118. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  3119. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  3120. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  3121. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  3122. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  3123. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  3124. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  3125. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3126. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3127. ==18304==  Block was alloc'd by thread #1
  3128. ==18304==
  3129. ==18304== ---Thread-Announcement------------------------------------------
  3130. ==18304==
  3131. ==18304== Thread #12 was created
  3132. ==18304==    at 0x560E4BE: clone (clone.S:71)
  3133. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  3134. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  3135. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  3136. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  3137. ==18304==    by 0x9573DA0: launch_sofia_profile_thread (sofia.c:3558)
  3138. ==18304==    by 0x95761BA: config_sofia (sofia.c:6190)
  3139. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  3140. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  3141. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  3142. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  3143. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3144. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3145. ==18304==
  3146. ==18304== ---Thread-Announcement------------------------------------------
  3147. ==18304==
  3148. ==18304== Thread #11 was created
  3149. ==18304==    at 0x560E4BE: clone (clone.S:71)
  3150. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  3151. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  3152. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  3153. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  3154. ==18304==    by 0x9573DA0: launch_sofia_profile_thread (sofia.c:3558)
  3155. ==18304==    by 0x95761BA: config_sofia (sofia.c:6190)
  3156. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  3157. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  3158. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  3159. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  3160. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3161. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3162. ==18304==
  3163. ==18304== ----------------------------------------------------------------
  3164. ==18304==
  3165. ==18304==  Lock at 0x92F1C28 was first observed
  3166. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3167. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3168. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3169. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3170. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3171. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3172. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3173. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3174. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3175. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3176. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  3177. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3178. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3179. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3180. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3181. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3182. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3183. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3184. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3185. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3186. ==18304==  Block was alloc'd by thread #12
  3187. ==18304==
  3188. ==18304==  Lock at 0x7B89680 was first observed
  3189. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3190. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  3191. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  3192. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  3193. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  3194. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3195. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3196. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  3197. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3198. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  3199. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  3200. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  3201. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  3202. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  3203. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3204. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3205. ==18304==  Block was alloc'd by thread #1
  3206. ==18304==
  3207. ==18304==  Lock at 0x91CE338 was first observed
  3208. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3209. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3210. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3211. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3212. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3213. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3214. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3215. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3216. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3217. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3218. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  3219. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3220. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3221. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3222. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3223. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3224. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3225. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3226. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3227. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3228. ==18304==  Block was alloc'd by thread #11
  3229. ==18304==
  3230. ==18304== Possible data race during read of size 4 at 0x50FC298 by thread #12
  3231. ==18304== Locks held: 1, at address 0x92F1C28
  3232. ==18304==    at 0x4CE20F7: _switch_cache_db_get_db_handle (switch_core_sqldb.c:526)
  3233. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3234. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3235. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3236. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3237. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3238. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3239. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3240. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3241. ==18304==
  3242. ==18304== This conflicts with a previous write of size 4 by thread #11
  3243. ==18304== Locks held: 2, at addresses 0x7B89680 0x91CE338
  3244. ==18304==    at 0x4CE2707: add_handle (switch_core_sqldb.c:124)
  3245. ==18304==    by 0x4CE2707: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  3246. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3247. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3248. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3249. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3250. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3251. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3252. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3253. ==18304==  Address 0x50fc298 is 56 bytes inside data symbol "sql_manager"
  3254. ==18304==
  3255. ==18304== ---Thread-Announcement------------------------------------------
  3256. ==18304==
  3257. ==18304== Thread #7 was created
  3258. ==18304==    at 0x560E4BE: clone (clone.S:71)
  3259. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  3260. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  3261. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  3262. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  3263. ==18304==    by 0x4CF0814: check_queue (switch_core_session.c:1855)
  3264. ==18304==    by 0x4CF0902: switch_thread_pool_launch_thread (switch_core_session.c:1884)
  3265. ==18304==    by 0x4D55620: switch_event_deliver_thread_pool (switch_event.c:292)
  3266. ==18304==    by 0x4D55620: switch_event_fire_detailed (switch_event.c:2029)
  3267. ==18304==    by 0x4D3FBE6: switch_scheduler_task_thread (switch_scheduler.c:193)
  3268. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3269. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3270. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3271. ==18304==
  3272. ==18304== ----------------------------------------------------------------
  3273. ==18304==
  3274. ==18304== Possible data race during read of size 4 at 0x51215E0 by thread #7
  3275. ==18304== Locks held: none
  3276. ==18304==    at 0x4DBF130: switch_micro_time_now (switch_time.c:312)
  3277. ==18304==    by 0x4DB2EAA: switch_log_vprintf (switch_log.c:517)
  3278. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  3279. ==18304==    by 0x4CEAB0C: switch_core_session_thread_pool_worker (switch_core_session.c:1800)
  3280. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3281. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3282. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3283. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3284. ==18304==
  3285. ==18304== This conflicts with a previous write of size 4 by thread #1
  3286. ==18304== Locks held: none
  3287. ==18304==    at 0x4DC0A26: softtimer_load (switch_time.c:1521)
  3288. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  3289. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  3290. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  3291. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3292. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3293. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  3294. ==18304==
  3295. ==18304== ----------------------------------------------------------------
  3296. ==18304==
  3297. ==18304== Thread #11: lock order "0x7B89680 before 0x92EE5D8" violated
  3298. ==18304==
  3299. ==18304== Observed (incorrect) order is: acquisition of lock at 0x92EE5D8
  3300. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  3301. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  3302. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  3303. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3304. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3305. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3306. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3307. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3308. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3309. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3310. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3311. ==18304==
  3312. ==18304==  followed by a later acquisition of lock at 0x7B89680
  3313. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  3314. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  3315. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  3316. ==18304==    by 0x9599BD2: sofia_glue_init_sql (sofia_glue.c:2680)
  3317. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3318. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3319. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3320. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3321. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3322. ==18304==
  3323. ==18304== Required order was established by acquisition of lock at 0x7B89680
  3324. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  3325. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  3326. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  3327. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3328. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3329. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3330. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3331. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3332. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3333. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3334. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3335. ==18304==
  3336. ==18304==  followed by a later acquisition of lock at 0x92EE5D8
  3337. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  3338. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  3339. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  3340. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3341. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3342. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3343. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3344. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3345. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3346. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3347. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3348. ==18304==
  3349. ==18304==  Lock at 0x7B89680 was first observed
  3350. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3351. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  3352. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  3353. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  3354. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  3355. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3356. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3357. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  3358. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3359. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  3360. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  3361. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  3362. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  3363. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  3364. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3365. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3366. ==18304==  Block was alloc'd by thread #1
  3367. ==18304==
  3368. ==18304==  Lock at 0x92EE5D8 was first observed
  3369. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3370. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  3371. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  3372. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  3373. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3374. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3375. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3376. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3377. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3378. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3379. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3380. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3381. ==18304==  Address 0x92ee5d8 is 1,144 bytes inside a block of size 8,192 alloc'd
  3382. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3383. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  3384. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  3385. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  3386. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  3387. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  3388. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3389. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3390. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3391. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3392. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3393. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3394. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3395. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3396. ==18304==  Block was alloc'd by thread #11
  3397. ==18304==
  3398. ==18304==
  3399. ==18304== ----------------------------------------------------------------
  3400. ==18304==
  3401. ==18304==  Lock at 0x79DD5A8 was first observed
  3402. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3403. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  3404. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  3405. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  3406. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  3407. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  3408. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  3409. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3410. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3411. ==18304==  Address 0x79dd5a8 is 456 bytes inside a block of size 8,192 alloc'd
  3412. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3413. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  3414. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  3415. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  3416. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  3417. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  3418. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  3419. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  3420. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  3421. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3422. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3423. ==18304==  Block was alloc'd by thread #1
  3424. ==18304==
  3425. ==18304==  Lock at 0x7EB61E8 was first observed
  3426. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3427. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  3428. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  3429. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  3430. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3431. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  3432. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3433. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3434. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3435. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3436. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  3437. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3438. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  3439. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  3440. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  3441. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  3442. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  3443. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3444. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  3445. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3446. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3447. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3448. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3449. ==18304==  Block was alloc'd by thread #9
  3450. ==18304==
  3451. ==18304==  Lock at 0x79DD648 was first observed
  3452. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3453. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  3454. ==18304==    by 0x4CE8772: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2090)
  3455. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  3456. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  3457. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  3458. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  3459. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3460. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3461. ==18304==  Address 0x79dd648 is 616 bytes inside a block of size 8,192 alloc'd
  3462. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3463. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  3464. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  3465. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  3466. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  3467. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  3468. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  3469. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  3470. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  3471. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3472. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3473. ==18304==  Block was alloc'd by thread #1
  3474. ==18304==
  3475. ==18304==  Lock at 0x79DD770 was first observed
  3476. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3477. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  3478. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  3479. ==18304==    by 0x4CE8825: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2098)
  3480. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  3481. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  3482. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  3483. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  3484. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3485. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3486. ==18304==  Address 0x79dd770 is 912 bytes inside a block of size 8,192 alloc'd
  3487. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3488. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  3489. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  3490. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  3491. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  3492. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  3493. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  3494. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  3495. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  3496. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3497. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3498. ==18304==  Block was alloc'd by thread #1
  3499. ==18304==
  3500. ==18304== Possible data race during read of size 4 at 0x79DD730 by thread #9
  3501. ==18304== Locks held: 2, at addresses 0x79DD5A8 0x7EB61E8
  3502. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  3503. ==18304==    by 0x4CE32F9: qm_ttl (switch_core_sqldb.c:1668)
  3504. ==18304==    by 0x4CE32F9: switch_user_sql_thread (switch_core_sqldb.c:2325)
  3505. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3506. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3507. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3508. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3509. ==18304==
  3510. ==18304== This conflicts with a previous write of size 4 by thread #3
  3511. ==18304== Locks held: 2, at addresses 0x79DD648 0x79DD770
  3512. ==18304==    at 0x501A4DF: apr_queue_trypush (apr_queue.c:231)
  3513. ==18304==    by 0x4CBDD3A: switch_queue_trypush (switch_apr.c:1198)
  3514. ==18304==    by 0x4CE5CAF: switch_sql_queue_manager_push (switch_core_sqldb.c:1975)
  3515. ==18304==    by 0x4CE5CAF: switch_sql_queue_manager_push (switch_core_sqldb.c:1949)
  3516. ==18304==    by 0x4CE6010: core_event_handler (switch_core_sqldb.c:2879)
  3517. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  3518. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  3519. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3520. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3521. ==18304==  Address 0x79dd730 is 848 bytes inside a block of size 8,192 alloc'd
  3522. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3523. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  3524. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  3525. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  3526. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  3527. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  3528. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  3529. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  3530. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  3531. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3532. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3533. ==18304==  Block was alloc'd by thread #1
  3534. ==18304==
  3535. ==18304== ----------------------------------------------------------------
  3536. ==18304==
  3537. ==18304== Thread #12: lock order "0x7B89680 before 0x9325EE8" violated
  3538. ==18304==
  3539. ==18304== Observed (incorrect) order is: acquisition of lock at 0x9325EE8
  3540. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  3541. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  3542. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  3543. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3544. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3545. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3546. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3547. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3548. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3549. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3550. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3551. ==18304==
  3552. ==18304==  followed by a later acquisition of lock at 0x7B89680
  3553. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  3554. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  3555. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  3556. ==18304==    by 0x9599BD2: sofia_glue_init_sql (sofia_glue.c:2680)
  3557. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3558. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3559. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3560. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3561. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3562. ==18304==
  3563. ==18304== Required order was established by acquisition of lock at 0x7B89680
  3564. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  3565. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  3566. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  3567. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3568. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3569. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3570. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3571. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3572. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3573. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3574. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3575. ==18304==
  3576. ==18304==  followed by a later acquisition of lock at 0x9325EE8
  3577. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  3578. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  3579. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  3580. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3581. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3582. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3583. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3584. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3585. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3586. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3587. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3588. ==18304==
  3589. ==18304==  Lock at 0x7B89680 was first observed
  3590. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3591. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  3592. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  3593. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  3594. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  3595. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  3596. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3597. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  3598. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3599. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  3600. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  3601. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  3602. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  3603. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  3604. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  3605. ==18304==    by 0x10AEC7: main (switch.c:1200)
  3606. ==18304==  Block was alloc'd by thread #1
  3607. ==18304==
  3608. ==18304==  Lock at 0x9325EE8 was first observed
  3609. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3610. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  3611. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  3612. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  3613. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3614. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3615. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3616. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3617. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3618. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3619. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3620. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3621. ==18304==  Address 0x9325ee8 is 1,144 bytes inside a block of size 8,192 alloc'd
  3622. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  3623. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  3624. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  3625. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  3626. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  3627. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  3628. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  3629. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  3630. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  3631. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  3632. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3633. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3634. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3635. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3636. ==18304==  Block was alloc'd by thread #12
  3637. ==18304==
  3638. ==18304==
  3639. ==18304== ----------------------------------------------------------------
  3640. ==18304==
  3641. ==18304==  Lock at 0x92F1C28 was first observed
  3642. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3643. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3644. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3645. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3646. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3647. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3648. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3649. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3650. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3651. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3652. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  3653. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3654. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3655. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3656. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3657. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3658. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3659. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3660. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3661. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3662. ==18304==  Block was alloc'd by thread #12
  3663. ==18304==
  3664. ==18304==  Lock at 0x91CE338 was first observed
  3665. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3666. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3667. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3668. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3669. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3670. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3671. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3672. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3673. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3674. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3675. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  3676. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3677. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3678. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3679. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3680. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3681. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3682. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3683. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3684. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3685. ==18304==  Block was alloc'd by thread #11
  3686. ==18304==
  3687. ==18304== Possible data race during read of size 4 at 0x9638820 by thread #12
  3688. ==18304== Locks held: 1, at address 0x92F1C28
  3689. ==18304==    at 0x94C901C: nua_create (nua.c:138)
  3690. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  3691. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3692. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3693. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3694. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3695. ==18304==
  3696. ==18304== This conflicts with a previous write of size 4 by thread #11
  3697. ==18304== Locks held: 1, at address 0x91CE338
  3698. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  3699. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  3700. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  3701. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  3702. ==18304==    by 0x94C906F: nua_create (nua.c:138)
  3703. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  3704. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3705. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3706. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3707. ==18304==  Address 0x9638820 is 32 bytes inside data symbol "nua_log"
  3708. ==18304==
  3709. ==18304== ---Thread-Announcement------------------------------------------
  3710. ==18304==
  3711. ==18304== Thread #17 was created
  3712. ==18304==    at 0x560E4BE: clone (clone.S:71)
  3713. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  3714. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  3715. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  3716. ==18304==    by 0x95206B5: su_pthreaded_port_start (su_pthread_port.c:270)
  3717. ==18304==    by 0x94C918D: nua_create (nua.c:164)
  3718. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  3719. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3720. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3721. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3722. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3723. ==18304==
  3724. ==18304== ----------------------------------------------------------------
  3725. ==18304==
  3726. ==18304==  Lock at 0x9798D68 was first observed
  3727. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3728. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3729. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3730. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3731. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3732. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3733. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3734. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3735. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  3736. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3737. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3738. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3739. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3740. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3741. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3742. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3743. ==18304==  Block was alloc'd by thread #17
  3744. ==18304==
  3745. ==18304==  Lock at 0x91CE338 was first observed
  3746. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3747. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3748. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3749. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3750. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3751. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3752. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3753. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3754. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3755. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3756. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  3757. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3758. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3759. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3760. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3761. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3762. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3763. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3764. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3765. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3766. ==18304==  Block was alloc'd by thread #11
  3767. ==18304==
  3768. ==18304== Possible data race during read of size 4 at 0x9638820 by thread #17
  3769. ==18304== Locks held: 1, at address 0x9798D68
  3770. ==18304==    at 0x94E9902: nua_stack_init (nua_stack.c:128)
  3771. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  3772. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3773. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3774. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3775. ==18304==
  3776. ==18304== This conflicts with a previous write of size 4 by thread #11
  3777. ==18304== Locks held: 1, at address 0x91CE338
  3778. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  3779. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  3780. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  3781. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  3782. ==18304==    by 0x94C906F: nua_create (nua.c:138)
  3783. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  3784. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3785. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3786. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3787. ==18304==  Address 0x9638820 is 32 bytes inside data symbol "nua_log"
  3788. ==18304==
  3789. ==18304== ---Thread-Announcement------------------------------------------
  3790. ==18304==
  3791. ==18304== Thread #16 was created
  3792. ==18304==    at 0x560E4BE: clone (clone.S:71)
  3793. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  3794. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  3795. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  3796. ==18304==    by 0x95206B5: su_pthreaded_port_start (su_pthread_port.c:270)
  3797. ==18304==    by 0x94C918D: nua_create (nua.c:164)
  3798. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  3799. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3800. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3801. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3802. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3803. ==18304==
  3804. ==18304== ----------------------------------------------------------------
  3805. ==18304==
  3806. ==18304==  Lock at 0x9798D68 was first observed
  3807. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3808. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3809. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3810. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3811. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3812. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3813. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3814. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3815. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  3816. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3817. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3818. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3819. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3820. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3821. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3822. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3823. ==18304==  Block was alloc'd by thread #17
  3824. ==18304==
  3825. ==18304==  Lock at 0x9366808 was first observed
  3826. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3827. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3828. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3829. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3830. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3831. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3832. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3833. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3834. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  3835. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3836. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3837. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3838. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3839. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3840. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3841. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3842. ==18304==  Block was alloc'd by thread #16
  3843. ==18304==
  3844. ==18304== Possible data race during read of size 4 at 0x9639F38 by thread #17
  3845. ==18304== Locks held: 1, at address 0x9798D68
  3846. ==18304==    at 0x94E9954: nua_stack_init (nua_stack.c:130)
  3847. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  3848. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3849. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3850. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3851. ==18304==
  3852. ==18304== This conflicts with a previous write of size 4 by thread #16
  3853. ==18304== Locks held: 1, at address 0x9366808
  3854. ==18304==    at 0x94E9C00: nua_stack_init (nua_stack.c:141)
  3855. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  3856. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3857. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3858. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3859. ==18304==  Address 0x9639f38 is 0 bytes inside data symbol "initialized_logs.15078"
  3860. ==18304==
  3861. ==18304== ----------------------------------------------------------------
  3862. ==18304==
  3863. ==18304==  Lock at 0x9798D68 was first observed
  3864. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3865. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3866. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3867. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3868. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3869. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3870. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3871. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3872. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  3873. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3874. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3875. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3876. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3877. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3878. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3879. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3880. ==18304==  Block was alloc'd by thread #17
  3881. ==18304==
  3882. ==18304==  Lock at 0x91CE338 was first observed
  3883. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3884. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3885. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3886. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3887. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3888. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3889. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3890. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3891. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3892. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3893. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  3894. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3895. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3896. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3897. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  3898. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  3899. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3900. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3901. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3902. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3903. ==18304==  Block was alloc'd by thread #11
  3904. ==18304==
  3905. ==18304== Possible data race during read of size 4 at 0x9638820 by thread #17
  3906. ==18304== Locks held: 1, at address 0x9798D68
  3907. ==18304==    at 0x94D6DFC: nua_stack_set_params (nua_params.c:482)
  3908. ==18304==    by 0x94E9A84: nua_stack_init (nua_stack.c:171)
  3909. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  3910. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3911. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3912. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3913. ==18304==
  3914. ==18304== This conflicts with a previous write of size 4 by thread #11
  3915. ==18304== Locks held: 1, at address 0x91CE338
  3916. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  3917. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  3918. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  3919. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  3920. ==18304==    by 0x94C906F: nua_create (nua.c:138)
  3921. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  3922. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  3923. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3924. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3925. ==18304==  Address 0x9638820 is 32 bytes inside data symbol "nua_log"
  3926. ==18304==
  3927. ==18304== ----------------------------------------------------------------
  3928. ==18304==
  3929. ==18304==  Lock at 0x9798D68 was first observed
  3930. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3931. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3932. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3933. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3934. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3935. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3936. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3937. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3938. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  3939. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3940. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3941. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3942. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3943. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3944. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3945. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3946. ==18304==  Block was alloc'd by thread #17
  3947. ==18304==
  3948. ==18304==  Lock at 0x9366808 was first observed
  3949. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3950. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3951. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3952. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3953. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3954. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3955. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3956. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3957. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  3958. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  3959. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  3960. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  3961. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3962. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3963. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3964. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3965. ==18304==  Block was alloc'd by thread #16
  3966. ==18304==
  3967. ==18304== Possible data race during read of size 4 at 0x9639180 by thread #17
  3968. ==18304== Locks held: 1, at address 0x9798D68
  3969. ==18304==    at 0x9503E20: soa_create (soa.c:228)
  3970. ==18304==    by 0x94D7CA7: nua_stack_set_params (nua_params.c:539)
  3971. ==18304==    by 0x94E9A84: nua_stack_init (nua_stack.c:171)
  3972. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  3973. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3974. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  3975. ==18304==    by 0x560E4CE: clone (clone.S:95)
  3976. ==18304==
  3977. ==18304== This conflicts with a previous write of size 4 by thread #16
  3978. ==18304== Locks held: 1, at address 0x9366808
  3979. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  3980. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  3981. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  3982. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  3983. ==18304==    by 0x9503E96: soa_create (soa.c:228)
  3984. ==18304==    by 0x94D7CA7: nua_stack_set_params (nua_params.c:539)
  3985. ==18304==    by 0x94E9A84: nua_stack_init (nua_stack.c:171)
  3986. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  3987. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3988. ==18304==  Address 0x9639180 is 32 bytes inside data symbol "soa_log"
  3989. ==18304==
  3990. ==18304== ----------------------------------------------------------------
  3991. ==18304==
  3992. ==18304==  Lock at 0x9798D68 was first observed
  3993. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  3994. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  3995. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  3996. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  3997. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  3998. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  3999. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4000. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4001. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4002. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4003. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4004. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4005. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4006. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4007. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4008. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4009. ==18304==  Block was alloc'd by thread #17
  4010. ==18304==
  4011. ==18304==  Lock at 0x9366808 was first observed
  4012. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4013. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4014. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4015. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4016. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4017. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4018. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4019. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4020. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4021. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4022. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4023. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4024. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4025. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4026. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4027. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4028. ==18304==  Block was alloc'd by thread #16
  4029. ==18304==
  4030. ==18304== Possible data race during read of size 4 at 0x9638500 by thread #17
  4031. ==18304== Locks held: 1, at address 0x9798D68
  4032. ==18304==    at 0x94B23BC: nta_agent_create (nta.c:966)
  4033. ==18304==    by 0x94E9AEF: nua_stack_init (nua_stack.c:176)
  4034. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4035. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4036. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4037. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4038. ==18304==
  4039. ==18304== This conflicts with a previous write of size 4 by thread #16
  4040. ==18304== Locks held: 1, at address 0x9366808
  4041. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  4042. ==18304==    by 0x94E9BE7: nua_stack_init (nua_stack.c:137)
  4043. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4044. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4045. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4046. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4047. ==18304==  Address 0x9638500 is 32 bytes inside data symbol "nta_log"
  4048. ==18304==
  4049. ==18304== ----------------------------------------------------------------
  4050. ==18304==
  4051. ==18304==  Lock at 0x9798D68 was first observed
  4052. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4053. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4054. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4055. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4056. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4057. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4058. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4059. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4060. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4061. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4062. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4063. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4064. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4065. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4066. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4067. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4068. ==18304==  Block was alloc'd by thread #17
  4069. ==18304==
  4070. ==18304==  Lock at 0x9366808 was first observed
  4071. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4072. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4073. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4074. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4075. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4076. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4077. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4078. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4079. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4080. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4081. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4082. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4083. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4084. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4085. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4086. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4087. ==18304==  Block was alloc'd by thread #16
  4088. ==18304==
  4089. ==18304== Possible data race during read of size 8 at 0x9639FD8 by thread #17
  4090. ==18304== Locks held: 1, at address 0x9798D68
  4091. ==18304==    at 0x9529887: get_state (su_uniqueid.c:120)
  4092. ==18304==    by 0x9529B28: su_random64 (su_uniqueid.c:360)
  4093. ==18304==    by 0x9529EC8: su_random (su_uniqueid.c:426)
  4094. ==18304==    by 0x94A786F: agent_tag_init (nta.c:1196)
  4095. ==18304==    by 0x94B2478: nta_agent_create (nta.c:975)
  4096. ==18304==    by 0x94E9AEF: nua_stack_init (nua_stack.c:176)
  4097. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4098. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4099. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4100. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4101. ==18304==
  4102. ==18304== This conflicts with a previous write of size 8 by thread #16
  4103. ==18304== Locks held: 1, at address 0x9366808
  4104. ==18304==    at 0x9529854: init_once (su_uniqueid.c:101)
  4105. ==18304==    by 0x5188996: __pthread_once_slow (pthread_once.c:116)
  4106. ==18304==    by 0x9529886: get_state (su_uniqueid.c:118)
  4107. ==18304==    by 0x9529B28: su_random64 (su_uniqueid.c:360)
  4108. ==18304==    by 0x9529EC8: su_random (su_uniqueid.c:426)
  4109. ==18304==    by 0x94A786F: agent_tag_init (nta.c:1196)
  4110. ==18304==    by 0x94B2478: nta_agent_create (nta.c:975)
  4111. ==18304==    by 0x94E9AEF: nua_stack_init (nua_stack.c:176)
  4112. ==18304==  Address 0x9639fd8 is 0 bytes inside data symbol "urandom"
  4113. ==18304==
  4114. ==18304== ---Thread-Announcement------------------------------------------
  4115. ==18304==
  4116. ==18304== Thread #13 was created
  4117. ==18304==    at 0x560E4BE: clone (clone.S:71)
  4118. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  4119. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  4120. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  4121. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  4122. ==18304==    by 0x9573DA0: launch_sofia_profile_thread (sofia.c:3558)
  4123. ==18304==    by 0x95761BA: config_sofia (sofia.c:6190)
  4124. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  4125. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  4126. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  4127. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  4128. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  4129. ==18304==    by 0x10AEC7: main (switch.c:1200)
  4130. ==18304==
  4131. ==18304== ----------------------------------------------------------------
  4132. ==18304==
  4133. ==18304==  Lock at 0x9798D68 was first observed
  4134. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4135. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4136. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4137. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4138. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4139. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4140. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4141. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4142. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4143. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4144. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4145. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4146. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4147. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4148. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4149. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4150. ==18304==  Block was alloc'd by thread #17
  4151. ==18304==
  4152. ==18304==  Lock at 0x91CE8A8 was first observed
  4153. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4154. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4155. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4156. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4157. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  4158. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  4159. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  4160. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4161. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4162. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4163. ==18304==  Address 0x91ce8a8 is 120 bytes inside a block of size 216 alloc'd
  4164. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4165. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4166. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4167. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  4168. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  4169. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  4170. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4171. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4172. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4173. ==18304==  Block was alloc'd by thread #13
  4174. ==18304==
  4175. ==18304==  Lock at 0x931A0C8 was first observed
  4176. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4177. ==18304==    by 0x570C379: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4178. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4179. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  4180. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  4181. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  4182. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  4183. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  4184. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  4185. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  4186. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4187. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4188. ==18304==  Address 0x931a0c8 is 8 bytes inside a block of size 48 alloc'd
  4189. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  4190. ==18304==    by 0x572CC53: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4191. ==18304==    by 0x56FD703: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4192. ==18304==    by 0x56FD798: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4193. ==18304==    by 0x570C34C: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4194. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4195. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  4196. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  4197. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  4198. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  4199. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  4200. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  4201. ==18304==  Block was alloc'd by thread #13
  4202. ==18304==
  4203. ==18304==  Lock at 0x9790E48 was first observed
  4204. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4205. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  4206. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  4207. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  4208. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  4209. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  4210. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  4211. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  4212. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  4213. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4214. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4215. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4216. ==18304==  Address 0x9790e48 is 1,144 bytes inside a block of size 8,192 alloc'd
  4217. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  4218. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  4219. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  4220. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  4221. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  4222. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  4223. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  4224. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  4225. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  4226. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  4227. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  4228. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4229. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4230. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4231. ==18304==  Block was alloc'd by thread #13
  4232. ==18304==
  4233. ==18304== Possible data race during read of size 8 at 0x97994A8 by thread #17
  4234. ==18304== Locks held: 1, at address 0x9798D68
  4235. ==18304==    at 0x483F97D: memcpy@GLIBC_2.2.5 (vg_replace_strmem.c:1033)
  4236. ==18304==    by 0x559078A: _IO_file_xsgetn (fileops.c:1303)
  4237. ==18304==    by 0x5585686: fread (iofread.c:38)
  4238. ==18304==    by 0x9529B6A: su_random64 (su_uniqueid.c:368)
  4239. ==18304==    by 0x9529B6A: su_random64 (su_uniqueid.c:358)
  4240. ==18304==    by 0x9529EC8: su_random (su_uniqueid.c:426)
  4241. ==18304==    by 0x94A786F: agent_tag_init (nta.c:1196)
  4242. ==18304==    by 0x94B2478: nta_agent_create (nta.c:975)
  4243. ==18304==    by 0x94E9AEF: nua_stack_init (nua_stack.c:176)
  4244. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4245. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4246. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4247. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4248. ==18304==
  4249. ==18304== This conflicts with a previous write of size 1 by thread #13
  4250. ==18304== Locks held: 3, at addresses 0x91CE8A8 0x931A0C8 0x9790E48
  4251. ==18304==    at 0x4841980: memset (vg_replace_strmem.c:1251)
  4252. ==18304==    by 0x5700540: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4253. ==18304==    by 0x5731C0A: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4254. ==18304==    by 0x5731CD9: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4255. ==18304==    by 0x573201B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4256. ==18304==    by 0x5789A33: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4257. ==18304==    by 0x5796757: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4258. ==18304==    by 0x579AA8F: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  4259. ==18304==  Address 0x97994a8 is 8 bytes inside a block of size 4,096 alloc'd
  4260. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  4261. ==18304==    by 0x558471B: _IO_file_doallocate (filedoalloc.c:101)
  4262. ==18304==    by 0x55926FF: _IO_doallocbuf (genops.c:347)
  4263. ==18304==    by 0x5590773: _IO_file_xsgetn (fileops.c:1295)
  4264. ==18304==    by 0x5585686: fread (iofread.c:38)
  4265. ==18304==    by 0x9529B6A: su_random64 (su_uniqueid.c:368)
  4266. ==18304==    by 0x9529B6A: su_random64 (su_uniqueid.c:358)
  4267. ==18304==    by 0x9529EC8: su_random (su_uniqueid.c:426)
  4268. ==18304==    by 0x94A786F: agent_tag_init (nta.c:1196)
  4269. ==18304==    by 0x94B2478: nta_agent_create (nta.c:975)
  4270. ==18304==    by 0x94E9AEF: nua_stack_init (nua_stack.c:176)
  4271. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4272. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4273. ==18304==  Block was alloc'd by thread #16
  4274. ==18304==
  4275. ==18304== ----------------------------------------------------------------
  4276. ==18304==
  4277. ==18304==  Lock at 0x9798D68 was first observed
  4278. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4279. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4280. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4281. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4282. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4283. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4284. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4285. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4286. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4287. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4288. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4289. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4290. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4291. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4292. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4293. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4294. ==18304==  Block was alloc'd by thread #17
  4295. ==18304==
  4296. ==18304==  Lock at 0x9366808 was first observed
  4297. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4298. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4299. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4300. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4301. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4302. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4303. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4304. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4305. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4306. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4307. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4308. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4309. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4310. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4311. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4312. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4313. ==18304==  Block was alloc'd by thread #16
  4314. ==18304==
  4315. ==18304== Possible data race during read of size 4 at 0x9638500 by thread #17
  4316. ==18304== Locks held: 1, at address 0x9798D68
  4317. ==18304==    at 0x94B2503: nta_agent_create (nta.c:985)
  4318. ==18304==    by 0x94E9AEF: nua_stack_init (nua_stack.c:176)
  4319. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4320. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4321. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4322. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4323. ==18304==
  4324. ==18304== This conflicts with a previous write of size 4 by thread #16
  4325. ==18304== Locks held: 1, at address 0x9366808
  4326. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  4327. ==18304==    by 0x94E9BE7: nua_stack_init (nua_stack.c:137)
  4328. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4329. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4330. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4331. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4332. ==18304==  Address 0x9638500 is 32 bytes inside data symbol "nta_log"
  4333. ==18304==
  4334. ==18304== ----------------------------------------------------------------
  4335. ==18304==
  4336. ==18304==  Lock at 0x9798D68 was first observed
  4337. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4338. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4339. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4340. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4341. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4342. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4343. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4344. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4345. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4346. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4347. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4348. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4349. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4350. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4351. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4352. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4353. ==18304==  Block was alloc'd by thread #17
  4354. ==18304==
  4355. ==18304==  Lock at 0x9366808 was first observed
  4356. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4357. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4358. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4359. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4360. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4361. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4362. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4363. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4364. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4365. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4366. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4367. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4368. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4369. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4370. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4371. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4372. ==18304==  Block was alloc'd by thread #16
  4373. ==18304==
  4374. ==18304== Possible data race during read of size 4 at 0x9638500 by thread #17
  4375. ==18304== Locks held: 1, at address 0x9798D68
  4376. ==18304==    at 0x94B2620: nta_agent_create (nta.c:995)
  4377. ==18304==    by 0x94E9AEF: nua_stack_init (nua_stack.c:176)
  4378. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4379. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4380. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4381. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4382. ==18304==
  4383. ==18304== This conflicts with a previous write of size 4 by thread #16
  4384. ==18304== Locks held: 1, at address 0x9366808
  4385. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  4386. ==18304==    by 0x94E9BE7: nua_stack_init (nua_stack.c:137)
  4387. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4388. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4389. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4390. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4391. ==18304==  Address 0x9638500 is 32 bytes inside data symbol "nta_log"
  4392. ==18304==
  4393. ==18304== ----------------------------------------------------------------
  4394. ==18304==
  4395. ==18304==  Lock at 0x9798D68 was first observed
  4396. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4397. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4398. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4399. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4400. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4401. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4402. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4403. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4404. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4405. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4406. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4407. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4408. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4409. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4410. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4411. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4412. ==18304==  Block was alloc'd by thread #17
  4413. ==18304==
  4414. ==18304==  Lock at 0x9366808 was first observed
  4415. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4416. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4417. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4418. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4419. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4420. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4421. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4422. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4423. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4424. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4425. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4426. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4427. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4428. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4429. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4430. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4431. ==18304==  Block was alloc'd by thread #16
  4432. ==18304==
  4433. ==18304== Possible data race during read of size 4 at 0x96395E0 by thread #17
  4434. ==18304== Locks held: 1, at address 0x9798D68
  4435. ==18304==    at 0x952D8D8: tport_tcreate (tport.c:498)
  4436. ==18304==    by 0x94B13E1: agent_create_master_transport (nta.c:2283)
  4437. ==18304==    by 0x94B13E1: nta_agent_add_tport (nta.c:2224)
  4438. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4439. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4440. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4441. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4442. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4443. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4444. ==18304==
  4445. ==18304== This conflicts with a previous write of size 4 by thread #16
  4446. ==18304== Locks held: 1, at address 0x9366808
  4447. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  4448. ==18304==    by 0x94E9BDB: nua_stack_init (nua_stack.c:136)
  4449. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4450. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4451. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4452. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4453. ==18304==  Address 0x96395e0 is 32 bytes inside data symbol "tport_log"
  4454. ==18304==
  4455. ==18304== ----------------------------------------------------------------
  4456. ==18304==
  4457. ==18304==  Lock at 0x9798D68 was first observed
  4458. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4459. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4460. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4461. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4462. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4463. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4464. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4465. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4466. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4467. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4468. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4469. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4470. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4471. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4472. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4473. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4474. ==18304==  Block was alloc'd by thread #17
  4475. ==18304==
  4476. ==18304==  Lock at 0x9366808 was first observed
  4477. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4478. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4479. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4480. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4481. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4482. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4483. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4484. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4485. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4486. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4487. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4488. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4489. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4490. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4491. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4492. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4493. ==18304==  Block was alloc'd by thread #16
  4494. ==18304==
  4495. ==18304== Possible data race during read of size 4 at 0x96395E0 by thread #17
  4496. ==18304== Locks held: 1, at address 0x9798D68
  4497. ==18304==    at 0x95311DD: tport_listen (tport.c:749)
  4498. ==18304==    by 0x95311DD: tport_bind_server (tport.c:1695)
  4499. ==18304==    by 0x95311DD: tport_tbind (tport.c:1528)
  4500. ==18304==    by 0x94B0E80: nta_agent_add_tport (nta.c:2232)
  4501. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4502. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4503. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4504. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4505. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4506. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4507. ==18304==
  4508. ==18304== This conflicts with a previous write of size 4 by thread #16
  4509. ==18304== Locks held: 1, at address 0x9366808
  4510. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  4511. ==18304==    by 0x94E9BDB: nua_stack_init (nua_stack.c:136)
  4512. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4513. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4514. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4515. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4516. ==18304==  Address 0x96395e0 is 32 bytes inside data symbol "tport_log"
  4517. ==18304==
  4518. ==18304== ----------------------------------------------------------------
  4519. ==18304==
  4520. ==18304==  Lock at 0x9798D68 was first observed
  4521. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4522. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4523. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4524. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4525. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4526. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4527. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4528. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4529. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4530. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4531. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4532. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4533. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4534. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4535. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4536. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4537. ==18304==  Block was alloc'd by thread #17
  4538. ==18304==
  4539. ==18304==  Lock at 0x9366808 was first observed
  4540. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4541. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4542. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4543. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4544. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4545. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4546. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4547. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4548. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4549. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4550. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4551. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4552. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4553. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4554. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4555. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4556. ==18304==  Block was alloc'd by thread #16
  4557. ==18304==
  4558. ==18304== Possible data race during read of size 4 at 0x9638500 by thread #17
  4559. ==18304== Locks held: 1, at address 0x9798D68
  4560. ==18304==    at 0x94B0E8C: nta_agent_add_tport (nta.c:2244)
  4561. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4562. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4563. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4564. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4565. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4566. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4567. ==18304==
  4568. ==18304== This conflicts with a previous write of size 4 by thread #16
  4569. ==18304== Locks held: 1, at address 0x9366808
  4570. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  4571. ==18304==    by 0x94E9BE7: nua_stack_init (nua_stack.c:137)
  4572. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4573. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4574. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4575. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4576. ==18304==  Address 0x9638500 is 32 bytes inside data symbol "nta_log"
  4577. ==18304==
  4578. ==18304== ----------------------------------------------------------------
  4579. ==18304==
  4580. ==18304==  Lock at 0x9798D68 was first observed
  4581. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4582. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4583. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4584. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4585. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4586. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4587. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4588. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4589. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4590. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4591. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4592. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4593. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4594. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4595. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4596. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4597. ==18304==  Block was alloc'd by thread #17
  4598. ==18304==
  4599. ==18304==  Lock at 0x9366808 was first observed
  4600. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4601. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4602. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4603. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4604. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4605. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4606. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4607. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4608. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4609. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4610. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4611. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4612. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4613. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4614. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4615. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4616. ==18304==  Block was alloc'd by thread #16
  4617. ==18304==
  4618. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #17
  4619. ==18304== Locks held: 1, at address 0x9798D68
  4620. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  4621. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  4622. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4623. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4624. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4625. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4626. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4627. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4628. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4629. ==18304==
  4630. ==18304== This conflicts with a previous write of size 8 by thread #16
  4631. ==18304== Locks held: 1, at address 0x9366808
  4632. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  4633. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  4634. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4635. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4636. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4637. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4638. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4639. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4640. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4641. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  4642. ==18304==
  4643. ==18304== ----------------------------------------------------------------
  4644. ==18304==
  4645. ==18304==  Lock at 0x9798D68 was first observed
  4646. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4647. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4648. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4649. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4650. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4651. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4652. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4653. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4654. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4655. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4656. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4657. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4658. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4659. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4660. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4661. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4662. ==18304==  Block was alloc'd by thread #17
  4663. ==18304==
  4664. ==18304==  Lock at 0x9366808 was first observed
  4665. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4666. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4667. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4668. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4669. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4670. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4671. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4672. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4673. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4674. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4675. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4676. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4677. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4678. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4679. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4680. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4681. ==18304==  Block was alloc'd by thread #16
  4682. ==18304==
  4683. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #17
  4684. ==18304== Locks held: 1, at address 0x9798D68
  4685. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  4686. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  4687. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4688. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4689. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4690. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4691. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4692. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4693. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4694. ==18304==
  4695. ==18304== This conflicts with a previous write of size 8 by thread #16
  4696. ==18304== Locks held: 1, at address 0x9366808
  4697. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  4698. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  4699. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4700. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4701. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4702. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4703. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4704. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4705. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4706. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  4707. ==18304==
  4708. ==18304== ----------------------------------------------------------------
  4709. ==18304==
  4710. ==18304==  Lock at 0x9798D68 was first observed
  4711. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4712. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4713. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4714. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4715. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4716. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4717. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4718. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4719. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4720. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4721. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4722. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4723. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4724. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4725. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4726. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4727. ==18304==  Block was alloc'd by thread #17
  4728. ==18304==
  4729. ==18304==  Lock at 0x9366808 was first observed
  4730. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4731. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4732. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4733. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4734. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4735. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4736. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4737. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4738. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4739. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4740. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4741. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4742. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4743. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4744. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4745. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4746. ==18304==  Block was alloc'd by thread #16
  4747. ==18304==
  4748. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #17
  4749. ==18304== Locks held: 1, at address 0x9798D68
  4750. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  4751. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  4752. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4753. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4754. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4755. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4756. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4757. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4758. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4759. ==18304==
  4760. ==18304== This conflicts with a previous write of size 8 by thread #16
  4761. ==18304== Locks held: 1, at address 0x9366808
  4762. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  4763. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  4764. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4765. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4766. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4767. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4768. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4769. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4770. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4771. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  4772. ==18304==
  4773. ==18304== ----------------------------------------------------------------
  4774. ==18304==
  4775. ==18304==  Lock at 0x9798D68 was first observed
  4776. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4777. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4778. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4779. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4780. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4781. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4782. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4783. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4784. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4785. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4786. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4787. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4788. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4789. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4790. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4791. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4792. ==18304==  Block was alloc'd by thread #17
  4793. ==18304==
  4794. ==18304==  Lock at 0x9366808 was first observed
  4795. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4796. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4797. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4798. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4799. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4800. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4801. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4802. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4803. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4804. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4805. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4806. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4807. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4808. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4809. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4810. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4811. ==18304==  Block was alloc'd by thread #16
  4812. ==18304==
  4813. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #17
  4814. ==18304== Locks held: 1, at address 0x9798D68
  4815. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  4816. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  4817. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4818. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4819. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4820. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4821. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4822. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4823. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4824. ==18304==
  4825. ==18304== This conflicts with a previous write of size 8 by thread #16
  4826. ==18304== Locks held: 1, at address 0x9366808
  4827. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  4828. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  4829. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4830. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4831. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4832. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4833. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4834. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4835. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4836. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  4837. ==18304==
  4838. ==18304== ----------------------------------------------------------------
  4839. ==18304==
  4840. ==18304==  Lock at 0x9798D68 was first observed
  4841. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4842. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4843. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4844. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4845. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4846. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4847. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4848. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4849. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4850. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4851. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4852. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4853. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4854. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4855. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4856. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4857. ==18304==  Block was alloc'd by thread #17
  4858. ==18304==
  4859. ==18304==  Lock at 0x9366808 was first observed
  4860. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4861. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4862. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4863. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4864. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4865. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4866. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4867. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4868. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4869. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4870. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4871. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4872. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4873. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4874. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4875. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4876. ==18304==  Block was alloc'd by thread #16
  4877. ==18304==
  4878. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #17
  4879. ==18304== Locks held: 1, at address 0x9798D68
  4880. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  4881. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  4882. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4883. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4884. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4885. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4886. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4887. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4888. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4889. ==18304==
  4890. ==18304== This conflicts with a previous write of size 8 by thread #16
  4891. ==18304== Locks held: 1, at address 0x9366808
  4892. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  4893. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  4894. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4895. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4896. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4897. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4898. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4899. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4900. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4901. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  4902. ==18304==
  4903. ==18304== ----------------------------------------------------------------
  4904. ==18304==
  4905. ==18304==  Lock at 0x9798D68 was first observed
  4906. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4907. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4908. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4909. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4910. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4911. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4912. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4913. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4914. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4915. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4916. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4917. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4918. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4919. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4920. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4921. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4922. ==18304==  Block was alloc'd by thread #17
  4923. ==18304==
  4924. ==18304==  Lock at 0x9366808 was first observed
  4925. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4926. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4927. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4928. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4929. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4930. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4931. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4932. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4933. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4934. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4935. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4936. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4937. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4938. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4939. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4940. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4941. ==18304==  Block was alloc'd by thread #16
  4942. ==18304==
  4943. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #17
  4944. ==18304== Locks held: 1, at address 0x9798D68
  4945. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  4946. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  4947. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4948. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4949. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4950. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4951. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4952. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4953. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4954. ==18304==
  4955. ==18304== This conflicts with a previous write of size 8 by thread #16
  4956. ==18304== Locks held: 1, at address 0x9366808
  4957. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  4958. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  4959. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  4960. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  4961. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  4962. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  4963. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4964. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4965. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4966. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  4967. ==18304==
  4968. ==18304== ----------------------------------------------------------------
  4969. ==18304==
  4970. ==18304==  Lock at 0x9798D68 was first observed
  4971. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4972. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4973. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4974. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4975. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4976. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4977. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4978. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4979. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  4980. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  4981. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  4982. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  4983. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4984. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4985. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4986. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4987. ==18304==  Block was alloc'd by thread #17
  4988. ==18304==
  4989. ==18304==  Lock at 0x9366808 was first observed
  4990. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  4991. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  4992. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  4993. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  4994. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  4995. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  4996. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  4997. ==18304==    by 0x560E4CE: clone (clone.S:95)
  4998. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  4999. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5000. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5001. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5002. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5003. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5004. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5005. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5006. ==18304==  Block was alloc'd by thread #16
  5007. ==18304==
  5008. ==18304== Possible data race during read of size 8 at 0x963A0B8 by thread #17
  5009. ==18304== Locks held: 1, at address 0x9798D68
  5010. ==18304==    at 0x9519A90: su_block_find (su_alloc.c:304)
  5011. ==18304==    by 0x9519A90: su_free (su_alloc.c:918)
  5012. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  5013. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  5014. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  5015. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  5016. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5017. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5018. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5019. ==18304==
  5020. ==18304== This conflicts with a previous write of size 8 by thread #16
  5021. ==18304== Locks held: 1, at address 0x9366808
  5022. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  5023. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  5024. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  5025. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  5026. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  5027. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  5028. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5029. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5030. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5031. ==18304==  Address 0x963a0b8 is 0 bytes inside data symbol "max_size_su_block_find"
  5032. ==18304==
  5033. ==18304== ----------------------------------------------------------------
  5034. ==18304==
  5035. ==18304==  Lock at 0x9798D68 was first observed
  5036. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5037. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5038. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5039. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5040. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5041. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5042. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5043. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5044. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  5045. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5046. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5047. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5048. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5049. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5050. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5051. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5052. ==18304==  Block was alloc'd by thread #17
  5053. ==18304==
  5054. ==18304==  Lock at 0x9366808 was first observed
  5055. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5056. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5057. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5058. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5059. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5060. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5061. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5062. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5063. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  5064. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5065. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5066. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5067. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5068. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5069. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5070. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5071. ==18304==  Block was alloc'd by thread #16
  5072. ==18304==
  5073. ==18304== Possible data race during read of size 8 at 0x963A078 by thread #17
  5074. ==18304== Locks held: 1, at address 0x9798D68
  5075. ==18304==    at 0x9519AA0: su_block_find (su_alloc.c:306)
  5076. ==18304==    by 0x9519AA0: su_free (su_alloc.c:918)
  5077. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  5078. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  5079. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  5080. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  5081. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5082. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5083. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5084. ==18304==
  5085. ==18304== This conflicts with a previous write of size 8 by thread #16
  5086. ==18304== Locks held: 1, at address 0x9366808
  5087. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  5088. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  5089. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  5090. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  5091. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  5092. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  5093. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5094. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5095. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5096. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  5097. ==18304==
  5098. ==18304== ----------------------------------------------------------------
  5099. ==18304==
  5100. ==18304==  Lock at 0x9798D68 was first observed
  5101. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5102. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5103. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5104. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5105. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5106. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5107. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5108. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5109. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  5110. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5111. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5112. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5113. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5114. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5115. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5116. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5117. ==18304==  Block was alloc'd by thread #17
  5118. ==18304==
  5119. ==18304==  Lock at 0x91CE338 was first observed
  5120. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5121. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5122. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5123. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5124. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5125. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5126. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5127. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5128. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5129. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5130. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  5131. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5132. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5133. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5134. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5135. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5136. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5137. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5138. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5139. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5140. ==18304==  Block was alloc'd by thread #11
  5141. ==18304==
  5142. ==18304== Possible data race during read of size 4 at 0x9638820 by thread #17
  5143. ==18304== Locks held: 1, at address 0x9798D68
  5144. ==18304==    at 0x94DC6B1: nua_registration_from_via (nua_register.c:1470)
  5145. ==18304==    by 0x94DC9E3: nua_stack_init_registrations (nua_register.c:1346)
  5146. ==18304==    by 0x94DCD5A: nua_stack_init_transport (nua_register.c:1245)
  5147. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  5148. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  5149. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5150. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5151. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5152. ==18304==
  5153. ==18304== This conflicts with a previous write of size 4 by thread #11
  5154. ==18304== Locks held: 1, at address 0x91CE338
  5155. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  5156. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  5157. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  5158. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  5159. ==18304==    by 0x94C906F: nua_create (nua.c:138)
  5160. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  5161. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5162. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5163. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5164. ==18304==  Address 0x9638820 is 32 bytes inside data symbol "nua_log"
  5165. ==18304==
  5166. ==18304== ----------------------------------------------------------------
  5167. ==18304==
  5168. ==18304==  Lock at 0x92F1C28 was first observed
  5169. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5170. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5171. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5172. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5173. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5174. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5175. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5176. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5177. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5178. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5179. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  5180. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5181. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5182. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5183. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5184. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5185. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5186. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5187. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5188. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5189. ==18304==  Block was alloc'd by thread #12
  5190. ==18304==
  5191. ==18304==  Lock at 0x91CE338 was first observed
  5192. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5193. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5194. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5195. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5196. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5197. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5198. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5199. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5200. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5201. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5202. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  5203. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5204. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5205. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5206. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5207. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5208. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5209. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5210. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5211. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5212. ==18304==  Block was alloc'd by thread #11
  5213. ==18304==
  5214. ==18304== Possible data race during read of size 4 at 0x9638820 by thread #12
  5215. ==18304== Locks held: 1, at address 0x92F1C28
  5216. ==18304==    at 0x94C97A6: nua_set_params (nua.c:575)
  5217. ==18304==    by 0x957DC91: sofia_profile_thread_run (sofia.c:3279)
  5218. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5219. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5220. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5221. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5222. ==18304==
  5223. ==18304== This conflicts with a previous write of size 4 by thread #11
  5224. ==18304== Locks held: 1, at address 0x91CE338
  5225. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  5226. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  5227. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  5228. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  5229. ==18304==    by 0x94C906F: nua_create (nua.c:138)
  5230. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  5231. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5232. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5233. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5234. ==18304==  Address 0x9638820 is 32 bytes inside data symbol "nua_log"
  5235. ==18304==
  5236. ==18304== ----------------------------------------------------------------
  5237. ==18304==
  5238. ==18304==  Lock at 0x92F1C28 was first observed
  5239. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5240. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5241. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5242. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5243. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5244. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5245. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5246. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5247. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5248. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5249. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  5250. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5251. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5252. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5253. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5254. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5255. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5256. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5257. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5258. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5259. ==18304==  Block was alloc'd by thread #12
  5260. ==18304==
  5261. ==18304==  Lock at 0x936E898 was first observed
  5262. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5263. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  5264. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  5265. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5266. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5267. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5268. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5269. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5270. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5271. ==18304==  Address 0x936e898 is 40 bytes inside a block of size 80 alloc'd
  5272. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5273. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  5274. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  5275. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5276. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5277. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5278. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5279. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5280. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5281. ==18304==  Block was alloc'd by thread #17
  5282. ==18304==
  5283. ==18304==  Lock at 0x9798D68 was first observed
  5284. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5285. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5286. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5287. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5288. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5289. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5290. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5291. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5292. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  5293. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5294. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5295. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5296. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5297. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5298. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5299. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5300. ==18304==  Block was alloc'd by thread #17
  5301. ==18304==
  5302. ==18304== Possible data race during write of size 8 at 0x9798D28 by thread #12
  5303. ==18304== Locks held: 2, at addresses 0x92F1C28 0x936E898
  5304. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  5305. ==18304==    by 0x94E88F1: nua_signal (nua_stack.c:525)
  5306. ==18304==    by 0x94C9824: nua_set_params (nua.c:577)
  5307. ==18304==    by 0x957DC91: sofia_profile_thread_run (sofia.c:3279)
  5308. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5309. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5310. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5311. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5312. ==18304==
  5313. ==18304== This conflicts with a previous read of size 8 by thread #17
  5314. ==18304== Locks held: 1, at address 0x9798D68
  5315. ==18304==    at 0x951B845: su_base_port_run (su_base_port.c:334)
  5316. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  5317. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5318. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5319. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5320. ==18304==  Address 0x9798d28 is 56 bytes inside a block of size 216 alloc'd
  5321. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5322. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5323. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5324. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5325. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5326. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5327. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5328. ==18304==  Block was alloc'd by thread #17
  5329. ==18304==
  5330. ==18304== ----------------------------------------------------------------
  5331. ==18304==
  5332. ==18304==  Lock at 0x92F1C28 was first observed
  5333. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5334. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5335. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5336. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5337. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5338. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5339. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5340. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5341. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5342. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5343. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  5344. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5345. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5346. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5347. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5348. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5349. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5350. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5351. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5352. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5353. ==18304==  Block was alloc'd by thread #12
  5354. ==18304==
  5355. ==18304==  Lock at 0x91CE338 was first observed
  5356. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5357. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5358. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5359. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5360. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5361. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5362. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5363. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5364. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5365. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5366. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  5367. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5368. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5369. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5370. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5371. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5372. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5373. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5374. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5375. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5376. ==18304==  Block was alloc'd by thread #11
  5377. ==18304==
  5378. ==18304== Possible data race during read of size 4 at 0x9638820 by thread #12
  5379. ==18304== Locks held: 1, at address 0x92F1C28
  5380. ==18304==    at 0x94E8904: nua_signal (nua_stack.c:528)
  5381. ==18304==    by 0x94C9824: nua_set_params (nua.c:577)
  5382. ==18304==    by 0x957DC91: sofia_profile_thread_run (sofia.c:3279)
  5383. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5384. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5385. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5386. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5387. ==18304==
  5388. ==18304== This conflicts with a previous write of size 4 by thread #11
  5389. ==18304== Locks held: 1, at address 0x91CE338
  5390. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  5391. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  5392. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  5393. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  5394. ==18304==    by 0x94C906F: nua_create (nua.c:138)
  5395. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  5396. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5397. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5398. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5399. ==18304==  Address 0x9638820 is 32 bytes inside data symbol "nua_log"
  5400. ==18304==
  5401. ==18304== ---Thread-Announcement------------------------------------------
  5402. ==18304==
  5403. ==18304== Thread #18 was created
  5404. ==18304==    at 0x560E4BE: clone (clone.S:71)
  5405. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  5406. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  5407. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  5408. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  5409. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1903)
  5410. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  5411. ==18304==    by 0x957DF6D: sofia_profile_thread_run (sofia.c:3391)
  5412. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5413. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5414. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5415. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5416. ==18304==
  5417. ==18304== ----------------------------------------------------------------
  5418. ==18304==
  5419. ==18304== Thread #18: lock order "0x9325EE8 before 0x7B89680" violated
  5420. ==18304==
  5421. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  5422. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  5423. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  5424. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  5425. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5426. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  5427. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5428. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5429. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5430. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5431. ==18304==
  5432. ==18304==  followed by a later acquisition of lock at 0x9325EE8
  5433. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  5434. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  5435. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  5436. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  5437. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5438. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  5439. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5440. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5441. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5442. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5443. ==18304==
  5444. ==18304== Required order was established by acquisition of lock at 0x9325EE8
  5445. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  5446. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  5447. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  5448. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5449. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5450. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5451. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5452. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5453. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5454. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5455. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5456. ==18304==
  5457. ==18304==  followed by a later acquisition of lock at 0x7B89680
  5458. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  5459. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  5460. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  5461. ==18304==    by 0x9599BD2: sofia_glue_init_sql (sofia_glue.c:2680)
  5462. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5463. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5464. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5465. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5466. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5467. ==18304==
  5468. ==18304==  Lock at 0x9325EE8 was first observed
  5469. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5470. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  5471. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  5472. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  5473. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5474. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5475. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5476. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5477. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5478. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5479. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5480. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5481. ==18304==  Address 0x9325ee8 is 1,144 bytes inside a block of size 8,192 alloc'd
  5482. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5483. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  5484. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  5485. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  5486. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  5487. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  5488. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5489. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5490. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5491. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5492. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5493. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5494. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5495. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5496. ==18304==  Block was alloc'd by thread #12
  5497. ==18304==
  5498. ==18304==  Lock at 0x7B89680 was first observed
  5499. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5500. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  5501. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  5502. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  5503. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  5504. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  5505. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5506. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  5507. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5508. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  5509. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  5510. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  5511. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  5512. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  5513. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  5514. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5515. ==18304==  Block was alloc'd by thread #1
  5516. ==18304==
  5517. ==18304==
  5518. ==18304== ----------------------------------------------------------------
  5519. ==18304==
  5520. ==18304== Thread #13: lock order "0x7B89680 before 0x9790E48" violated
  5521. ==18304==
  5522. ==18304== Observed (incorrect) order is: acquisition of lock at 0x9790E48
  5523. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  5524. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  5525. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  5526. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5527. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5528. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5529. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5530. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5531. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5532. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5533. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5534. ==18304==
  5535. ==18304==  followed by a later acquisition of lock at 0x7B89680
  5536. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  5537. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  5538. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  5539. ==18304==    by 0x9599BD2: sofia_glue_init_sql (sofia_glue.c:2680)
  5540. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5541. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5542. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5543. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5544. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5545. ==18304==
  5546. ==18304== Required order was established by acquisition of lock at 0x7B89680
  5547. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  5548. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  5549. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  5550. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5551. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5552. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5553. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5554. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5555. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5556. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5557. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5558. ==18304==
  5559. ==18304==  followed by a later acquisition of lock at 0x9790E48
  5560. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  5561. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  5562. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  5563. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5564. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5565. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5566. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5567. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5568. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5569. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5570. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5571. ==18304==
  5572. ==18304==  Lock at 0x7B89680 was first observed
  5573. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5574. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  5575. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  5576. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  5577. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  5578. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  5579. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5580. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  5581. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5582. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  5583. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  5584. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  5585. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  5586. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  5587. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  5588. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5589. ==18304==  Block was alloc'd by thread #1
  5590. ==18304==
  5591. ==18304==  Lock at 0x9790E48 was first observed
  5592. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5593. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  5594. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  5595. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  5596. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5597. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5598. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5599. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5600. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5601. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5602. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5603. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5604. ==18304==  Address 0x9790e48 is 1,144 bytes inside a block of size 8,192 alloc'd
  5605. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5606. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  5607. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  5608. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  5609. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  5610. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  5611. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5612. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5613. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5614. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5615. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5616. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5617. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5618. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5619. ==18304==  Block was alloc'd by thread #13
  5620. ==18304==
  5621. ==18304==
  5622. ==18304== ----------------------------------------------------------------
  5623. ==18304==
  5624. ==18304==  Lock at 0x92F1C28 was first observed
  5625. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5626. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5627. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5628. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5629. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5630. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5631. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5632. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5633. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5634. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5635. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  5636. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5637. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5638. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5639. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5640. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5641. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5642. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5643. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5644. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5645. ==18304==  Block was alloc'd by thread #12
  5646. ==18304==
  5647. ==18304==  Lock at 0x9325EE8 was first observed
  5648. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5649. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  5650. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  5651. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  5652. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5653. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5654. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5655. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5656. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5657. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5658. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5659. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5660. ==18304==  Address 0x9325ee8 is 1,144 bytes inside a block of size 8,192 alloc'd
  5661. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5662. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  5663. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  5664. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  5665. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  5666. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  5667. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5668. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5669. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5670. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5671. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5672. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5673. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5674. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5675. ==18304==  Block was alloc'd by thread #12
  5676. ==18304==
  5677. ==18304==  Lock at 0x97FFDA0 was first observed
  5678. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5679. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  5680. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  5681. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  5682. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5683. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5684. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5685. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5686. ==18304==  Address 0x97ffda0 is 480 bytes inside a block of size 8,192 alloc'd
  5687. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5688. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  5689. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  5690. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  5691. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  5692. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  5693. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5694. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5695. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5696. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5697. ==18304==  Block was alloc'd by thread #12
  5698. ==18304==
  5699. ==18304== Possible data race during read of size 4 at 0x97FFD10 by thread #12
  5700. ==18304== Locks held: 1, at address 0x92F1C28
  5701. ==18304==    at 0x4CE5AEA: switch_sql_queue_manager_start (switch_core_sqldb.c:1904)
  5702. ==18304==    by 0x4CE5AEA: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  5703. ==18304==    by 0x957DF6D: sofia_profile_thread_run (sofia.c:3391)
  5704. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5705. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5706. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5707. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5708. ==18304==
  5709. ==18304== This conflicts with a previous write of size 4 by thread #18
  5710. ==18304== Locks held: 2, at addresses 0x9325EE8 0x97FFDA0
  5711. ==18304==    at 0x4CE329A: switch_user_sql_thread (switch_core_sqldb.c:2306)
  5712. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5713. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5714. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5715. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5716. ==18304==  Address 0x97ffd10 is 336 bytes inside a block of size 8,192 alloc'd
  5717. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5718. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  5719. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  5720. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  5721. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  5722. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  5723. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5724. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5725. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5726. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5727. ==18304==  Block was alloc'd by thread #12
  5728. ==18304==
  5729. ==18304== ----------------------------------------------------------------
  5730. ==18304==
  5731. ==18304==  Lock at 0x92F1C28 was first observed
  5732. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5733. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5734. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5735. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5736. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5737. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5738. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5739. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5740. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5741. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5742. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  5743. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5744. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5745. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5746. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5747. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5748. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5749. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5750. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5751. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5752. ==18304==  Block was alloc'd by thread #12
  5753. ==18304==
  5754. ==18304==  Lock at 0x9325EE8 was first observed
  5755. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5756. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  5757. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  5758. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  5759. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5760. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5761. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5762. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5763. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5764. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5765. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5766. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5767. ==18304==  Address 0x9325ee8 is 1,144 bytes inside a block of size 8,192 alloc'd
  5768. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5769. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  5770. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  5771. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  5772. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  5773. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  5774. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5775. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  5776. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  5777. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  5778. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5779. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5780. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5781. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5782. ==18304==  Block was alloc'd by thread #12
  5783. ==18304==
  5784. ==18304== Possible data race during read of size 8 at 0x97FFCD8 by thread #12
  5785. ==18304== Locks held: 1, at address 0x92F1C28
  5786. ==18304==    at 0x4CE5B06: switch_sql_queue_manager_start (switch_core_sqldb.c:1908)
  5787. ==18304==    by 0x4CE5B06: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  5788. ==18304==    by 0x957DF6D: sofia_profile_thread_run (sofia.c:3391)
  5789. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5790. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5791. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5792. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5793. ==18304==
  5794. ==18304== This conflicts with a previous write of size 8 by thread #18
  5795. ==18304== Locks held: 1, at address 0x9325EE8
  5796. ==18304==    at 0x4CE23D0: _switch_cache_db_get_db_handle (switch_core_sqldb.c:678)
  5797. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  5798. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  5799. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5800. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5801. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5802. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5803. ==18304==  Address 0x97ffcd8 is 280 bytes inside a block of size 8,192 alloc'd
  5804. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5805. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  5806. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  5807. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  5808. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  5809. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  5810. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5811. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5812. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5813. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5814. ==18304==  Block was alloc'd by thread #12
  5815. ==18304==
  5816. ==18304== ----------------------------------------------------------------
  5817. ==18304==
  5818. ==18304==  Lock at 0x7411F00 was first observed
  5819. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5820. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  5821. ==18304==    by 0x4D525BC: switch_event_init (switch_event.c:702)
  5822. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  5823. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  5824. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5825. ==18304==  Address 0x7411f00 is 3,536 bytes inside a block of size 8,192 alloc'd
  5826. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5827. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  5828. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  5829. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  5830. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  5831. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  5832. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  5833. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  5834. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  5835. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5836. ==18304==  Block was alloc'd by thread #1
  5837. ==18304==
  5838. ==18304==  Lock at 0x92F1C28 was first observed
  5839. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5840. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5841. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5842. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5843. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5844. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5845. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5846. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5847. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5848. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5849. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  5850. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5851. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5852. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5853. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5854. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5855. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5856. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5857. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5858. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5859. ==18304==  Block was alloc'd by thread #12
  5860. ==18304==
  5861. ==18304==  Lock at 0x7412090 was first observed
  5862. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5863. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  5864. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  5865. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  5866. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  5867. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  5868. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  5869. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5870. ==18304==  Address 0x7412090 is 3,936 bytes inside a block of size 8,192 alloc'd
  5871. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5872. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  5873. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  5874. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  5875. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  5876. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  5877. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  5878. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  5879. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  5880. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5881. ==18304==  Block was alloc'd by thread #1
  5882. ==18304==
  5883. ==18304==  Lock at 0x79E2370 was first observed
  5884. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5885. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  5886. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  5887. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  5888. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5889. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  5890. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5891. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  5892. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  5893. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  5894. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  5895. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  5896. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5897. ==18304==  Block was alloc'd by thread #1
  5898. ==18304==
  5899. ==18304== Possible data race during read of size 4 at 0x7412050 by thread #12
  5900. ==18304== Locks held: 2, at addresses 0x7411F00 0x92F1C28
  5901. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  5902. ==18304==    by 0x4D5566B: switch_event_queue_dispatch_event (switch_event.c:369)
  5903. ==18304==    by 0x4D5566B: switch_event_fire_detailed (switch_event.c:2024)
  5904. ==18304==    by 0x957E088: sofia_profile_thread_run (sofia.c:3406)
  5905. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5906. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5907. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5908. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5909. ==18304==
  5910. ==18304== This conflicts with a previous write of size 4 by thread #1
  5911. ==18304== Locks held: 2, at addresses 0x7412090 0x79E2370
  5912. ==18304==    at 0x501A3F5: apr_queue_push (apr_queue.c:191)
  5913. ==18304==    by 0x4CBDCDA: switch_queue_push (switch_apr.c:1172)
  5914. ==18304==    by 0x4D555C8: switch_event_queue_dispatch_event (switch_event.c:389)
  5915. ==18304==    by 0x4D555C8: switch_event_fire_detailed (switch_event.c:2024)
  5916. ==18304==    by 0x4D43315: switch_loadable_module_process (switch_loadable_module.c:198)
  5917. ==18304==    by 0x4D43C05: switch_loadable_module_load_module_ex (switch_loadable_module.c:1861)
  5918. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  5919. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  5920. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5921. ==18304==  Address 0x7412050 is 3,872 bytes inside a block of size 8,192 alloc'd
  5922. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  5923. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  5924. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  5925. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  5926. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  5927. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  5928. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  5929. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  5930. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  5931. ==18304==    by 0x10AEC7: main (switch.c:1200)
  5932. ==18304==  Block was alloc'd by thread #1
  5933. ==18304==
  5934. ==18304== ----------------------------------------------------------------
  5935. ==18304==
  5936. ==18304==  Lock at 0x91CE338 was first observed
  5937. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5938. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5939. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5940. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5941. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5942. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5943. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5944. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5945. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5946. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5947. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  5948. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5949. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5950. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5951. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  5952. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  5953. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5954. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5955. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5956. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5957. ==18304==  Block was alloc'd by thread #11
  5958. ==18304==
  5959. ==18304==  Lock at 0x9366808 was first observed
  5960. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  5961. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  5962. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  5963. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  5964. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5965. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5966. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5967. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5968. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  5969. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  5970. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  5971. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  5972. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  5973. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5974. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5975. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5976. ==18304==  Block was alloc'd by thread #16
  5977. ==18304==
  5978. ==18304== Possible data race during read of size 1 at 0x9676530 by thread #11
  5979. ==18304== Locks held: 1, at address 0x91CE338
  5980. ==18304==    at 0x48396DC: my_memcmp (hg_intercepts.c:211)
  5981. ==18304==    by 0x4839A2D: mutex_destroy_WRK (hg_intercepts.c:850)
  5982. ==18304==    by 0x9520766: su_pthreaded_port_start (su_pthread_port.c:287)
  5983. ==18304==    by 0x94C918D: nua_create (nua.c:164)
  5984. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  5985. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  5986. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5987. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5988. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5989. ==18304==
  5990. ==18304== This conflicts with a previous write of size 4 by thread #16
  5991. ==18304== Locks held: 1, at address 0x9366808
  5992. ==18304==    at 0x5184EBA: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:50)
  5993. ==18304==    by 0x483A236: mutex_unlock_WRK (hg_intercepts.c:1097)
  5994. ==18304==    by 0x9520390: su_pthread_port_return_to_parent (su_pthread_port.c:392)
  5995. ==18304==    by 0x9520390: su_pthread_port_clone_main (su_pthread_port.c:341)
  5996. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  5997. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  5998. ==18304==    by 0x560E4CE: clone (clone.S:95)
  5999. ==18304==  Address 0x9676530 is on thread #11's stack
  6000. ==18304==  in frame #2, created by su_pthreaded_port_start (su_pthread_port.c:235)
  6001. ==18304==
  6002. ==18304== ----------------------------------------------------------------
  6003. ==18304==
  6004. ==18304==  Lock at 0x9798D68 was first observed
  6005. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6006. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6007. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6008. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6009. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6010. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6011. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6012. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6013. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6014. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6015. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6016. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6017. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6018. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6019. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6020. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6021. ==18304==  Block was alloc'd by thread #17
  6022. ==18304==
  6023. ==18304==  Lock at 0x92F1C28 was first observed
  6024. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6025. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6026. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6027. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6028. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  6029. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  6030. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  6031. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6032. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6033. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6034. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  6035. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6036. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6037. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6038. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  6039. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  6040. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  6041. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6042. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6043. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6044. ==18304==  Block was alloc'd by thread #12
  6045. ==18304==
  6046. ==18304==  Lock at 0x936E898 was first observed
  6047. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6048. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  6049. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  6050. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6051. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6052. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6053. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6054. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6055. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6056. ==18304==  Address 0x936e898 is 40 bytes inside a block of size 80 alloc'd
  6057. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6058. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  6059. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  6060. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6061. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6062. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6063. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6064. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6065. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6066. ==18304==  Block was alloc'd by thread #17
  6067. ==18304==
  6068. ==18304== Possible data race during read of size 8 at 0x9798D28 by thread #17
  6069. ==18304== Locks held: 1, at address 0x9798D68
  6070. ==18304==    at 0x951B845: su_base_port_run (su_base_port.c:334)
  6071. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6072. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6073. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6074. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6075. ==18304==
  6076. ==18304== This conflicts with a previous write of size 8 by thread #12
  6077. ==18304== Locks held: 2, at addresses 0x92F1C28 0x936E898
  6078. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  6079. ==18304==    by 0x94E88F1: nua_signal (nua_stack.c:525)
  6080. ==18304==    by 0x94C9824: nua_set_params (nua.c:577)
  6081. ==18304==    by 0x957DC91: sofia_profile_thread_run (sofia.c:3279)
  6082. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  6083. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6084. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6085. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6086. ==18304==  Address 0x9798d28 is 56 bytes inside a block of size 216 alloc'd
  6087. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6088. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6089. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6090. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6091. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6092. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6093. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6094. ==18304==  Block was alloc'd by thread #17
  6095. ==18304==
  6096. ==18304== ----------------------------------------------------------------
  6097. ==18304==
  6098. ==18304==  Lock at 0x9798D68 was first observed
  6099. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6100. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6101. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6102. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6103. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6104. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6105. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6106. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6107. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6108. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6109. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6110. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6111. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6112. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6113. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6114. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6115. ==18304==  Block was alloc'd by thread #17
  6116. ==18304==
  6117. ==18304==  Lock at 0x91CE338 was first observed
  6118. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6119. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6120. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6121. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6122. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  6123. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  6124. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  6125. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6126. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6127. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6128. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  6129. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6130. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6131. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6132. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  6133. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  6134. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  6135. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6136. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6137. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6138. ==18304==  Block was alloc'd by thread #11
  6139. ==18304==
  6140. ==18304== Possible data race during read of size 4 at 0x963881C by thread #17
  6141. ==18304== Locks held: 1, at address 0x9798D68
  6142. ==18304==    at 0x94E9F52: nua_stack_signal (nua_stack.c:565)
  6143. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6144. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6145. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6146. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6147. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6148. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6149. ==18304==
  6150. ==18304== This conflicts with a previous write of size 4 by thread #11
  6151. ==18304== Locks held: 1, at address 0x91CE338
  6152. ==18304==    at 0x951DCC2: su_log_init.part.0 (su_log.c:177)
  6153. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  6154. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  6155. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  6156. ==18304==    by 0x94C906F: nua_create (nua.c:138)
  6157. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  6158. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  6159. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6160. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6161. ==18304==  Address 0x963881c is 28 bytes inside data symbol "nua_log"
  6162. ==18304==
  6163. ==18304== ----------------------------------------------------------------
  6164. ==18304==
  6165. ==18304==  Lock at 0x9798D68 was first observed
  6166. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6167. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6168. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6169. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6170. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6171. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6172. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6173. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6174. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6175. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6176. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6177. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6178. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6179. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6180. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6181. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6182. ==18304==  Block was alloc'd by thread #17
  6183. ==18304==
  6184. ==18304==  Lock at 0x91CE338 was first observed
  6185. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6186. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6187. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6188. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6189. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  6190. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  6191. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  6192. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6193. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6194. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6195. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  6196. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6197. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6198. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6199. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  6200. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  6201. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  6202. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6203. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6204. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6205. ==18304==  Block was alloc'd by thread #11
  6206. ==18304==
  6207. ==18304== Possible data race during read of size 4 at 0x9638820 by thread #17
  6208. ==18304== Locks held: 1, at address 0x9798D68
  6209. ==18304==    at 0x94D6DFC: nua_stack_set_params (nua_params.c:482)
  6210. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6211. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6212. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6213. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6214. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6215. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6216. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6217. ==18304==
  6218. ==18304== This conflicts with a previous write of size 4 by thread #11
  6219. ==18304== Locks held: 1, at address 0x91CE338
  6220. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  6221. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  6222. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  6223. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  6224. ==18304==    by 0x94C906F: nua_create (nua.c:138)
  6225. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  6226. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  6227. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6228. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6229. ==18304==  Address 0x9638820 is 32 bytes inside data symbol "nua_log"
  6230. ==18304==
  6231. ==18304== ----------------------------------------------------------------
  6232. ==18304==
  6233. ==18304==  Lock at 0x9798D68 was first observed
  6234. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6235. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6236. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6237. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6238. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6239. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6240. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6241. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6242. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6243. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6244. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6245. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6246. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6247. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6248. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6249. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6250. ==18304==  Block was alloc'd by thread #17
  6251. ==18304==
  6252. ==18304==  Lock at 0x9366808 was first observed
  6253. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6254. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6255. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6256. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6257. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6258. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6259. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6260. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6261. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6262. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6263. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6264. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6265. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6266. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6267. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6268. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6269. ==18304==  Block was alloc'd by thread #16
  6270. ==18304==
  6271. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #17
  6272. ==18304== Locks held: 1, at address 0x9798D68
  6273. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  6274. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  6275. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6276. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6277. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  6278. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6279. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6280. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6281. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6282. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6283. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6284. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6285. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6286. ==18304==
  6287. ==18304== This conflicts with a previous write of size 8 by thread #16
  6288. ==18304== Locks held: 1, at address 0x9366808
  6289. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  6290. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  6291. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6292. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6293. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6294. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6295. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6296. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6297. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6298. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  6299. ==18304==
  6300. ==18304== ----------------------------------------------------------------
  6301. ==18304==
  6302. ==18304==  Lock at 0x9798D68 was first observed
  6303. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6304. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6305. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6306. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6307. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6308. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6309. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6310. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6311. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6312. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6313. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6314. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6315. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6316. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6317. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6318. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6319. ==18304==  Block was alloc'd by thread #17
  6320. ==18304==
  6321. ==18304==  Lock at 0x9366808 was first observed
  6322. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6323. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6324. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6325. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6326. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6327. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6328. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6329. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6330. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6331. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6332. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6333. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6334. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6335. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6336. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6337. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6338. ==18304==  Block was alloc'd by thread #16
  6339. ==18304==
  6340. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #17
  6341. ==18304== Locks held: 1, at address 0x9798D68
  6342. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  6343. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  6344. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6345. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6346. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  6347. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6348. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6349. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6350. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6351. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6352. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6353. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6354. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6355. ==18304==
  6356. ==18304== This conflicts with a previous write of size 8 by thread #16
  6357. ==18304== Locks held: 1, at address 0x9366808
  6358. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  6359. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  6360. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6361. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6362. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6363. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6364. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6365. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6366. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6367. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  6368. ==18304==
  6369. ==18304== ----------------------------------------------------------------
  6370. ==18304==
  6371. ==18304==  Lock at 0x9798D68 was first observed
  6372. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6373. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6374. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6375. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6376. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6377. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6378. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6379. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6380. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6381. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6382. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6383. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6384. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6385. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6386. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6387. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6388. ==18304==  Block was alloc'd by thread #17
  6389. ==18304==
  6390. ==18304==  Lock at 0x9366808 was first observed
  6391. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6392. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6393. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6394. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6395. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6396. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6397. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6398. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6399. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6400. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6401. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6402. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6403. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6404. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6405. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6406. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6407. ==18304==  Block was alloc'd by thread #16
  6408. ==18304==
  6409. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #17
  6410. ==18304== Locks held: 1, at address 0x9798D68
  6411. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  6412. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  6413. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6414. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6415. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  6416. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6417. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6418. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6419. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6420. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6421. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6422. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6423. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6424. ==18304==
  6425. ==18304== This conflicts with a previous write of size 8 by thread #16
  6426. ==18304== Locks held: 1, at address 0x9366808
  6427. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  6428. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  6429. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6430. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6431. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6432. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6433. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6434. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6435. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6436. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  6437. ==18304==
  6438. ==18304== ----------------------------------------------------------------
  6439. ==18304==
  6440. ==18304==  Lock at 0x9798D68 was first observed
  6441. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6442. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6443. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6444. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6445. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6446. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6447. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6448. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6449. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6450. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6451. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6452. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6453. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6454. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6455. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6456. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6457. ==18304==  Block was alloc'd by thread #17
  6458. ==18304==
  6459. ==18304==  Lock at 0x9366808 was first observed
  6460. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6461. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6462. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6463. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6464. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6465. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6466. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6467. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6468. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6469. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6470. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6471. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6472. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6473. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6474. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6475. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6476. ==18304==  Block was alloc'd by thread #16
  6477. ==18304==
  6478. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #17
  6479. ==18304== Locks held: 1, at address 0x9798D68
  6480. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  6481. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  6482. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6483. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6484. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  6485. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6486. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6487. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6488. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6489. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6490. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6491. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6492. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6493. ==18304==
  6494. ==18304== This conflicts with a previous write of size 8 by thread #16
  6495. ==18304== Locks held: 1, at address 0x9366808
  6496. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  6497. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  6498. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6499. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6500. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6501. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6502. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6503. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6504. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6505. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  6506. ==18304==
  6507. ==18304== ----------------------------------------------------------------
  6508. ==18304==
  6509. ==18304==  Lock at 0x9798D68 was first observed
  6510. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6511. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6512. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6513. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6514. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6515. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6516. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6517. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6518. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6519. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6520. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6521. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6522. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6523. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6524. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6525. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6526. ==18304==  Block was alloc'd by thread #17
  6527. ==18304==
  6528. ==18304==  Lock at 0x9366808 was first observed
  6529. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6530. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6531. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6532. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6533. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6534. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6535. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6536. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6537. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6538. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6539. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6540. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6541. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6542. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6543. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6544. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6545. ==18304==  Block was alloc'd by thread #16
  6546. ==18304==
  6547. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #17
  6548. ==18304== Locks held: 1, at address 0x9798D68
  6549. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  6550. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  6551. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6552. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6553. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  6554. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6555. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6556. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6557. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6558. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6559. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6560. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6561. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6562. ==18304==
  6563. ==18304== This conflicts with a previous write of size 8 by thread #16
  6564. ==18304== Locks held: 1, at address 0x9366808
  6565. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  6566. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  6567. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6568. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6569. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6570. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6571. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6572. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6573. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6574. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  6575. ==18304==
  6576. ==18304== ----------------------------------------------------------------
  6577. ==18304==
  6578. ==18304==  Lock at 0x9798D68 was first observed
  6579. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6580. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6581. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6582. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6583. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6584. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6585. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6586. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6587. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6588. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6589. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6590. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6591. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6592. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6593. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6594. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6595. ==18304==  Block was alloc'd by thread #17
  6596. ==18304==
  6597. ==18304==  Lock at 0x9366808 was first observed
  6598. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6599. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6600. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6601. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6602. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6603. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6604. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6605. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6606. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6607. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6608. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6609. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6610. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6611. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6612. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6613. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6614. ==18304==  Block was alloc'd by thread #16
  6615. ==18304==
  6616. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #17
  6617. ==18304== Locks held: 1, at address 0x9798D68
  6618. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  6619. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  6620. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6621. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6622. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  6623. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6624. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6625. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6626. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6627. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6628. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6629. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6630. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6631. ==18304==
  6632. ==18304== This conflicts with a previous write of size 8 by thread #16
  6633. ==18304== Locks held: 1, at address 0x9366808
  6634. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  6635. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  6636. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6637. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6638. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6639. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6640. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6641. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6642. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6643. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  6644. ==18304==
  6645. ==18304== ----------------------------------------------------------------
  6646. ==18304==
  6647. ==18304==  Lock at 0x9798D68 was first observed
  6648. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6649. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6650. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6651. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6652. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6653. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6654. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6655. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6656. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6657. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6658. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6659. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6660. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6661. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6662. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6663. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6664. ==18304==  Block was alloc'd by thread #17
  6665. ==18304==
  6666. ==18304==  Lock at 0x9366808 was first observed
  6667. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6668. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6669. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6670. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6671. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6672. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6673. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6674. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6675. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6676. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6677. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6678. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6679. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6680. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6681. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6682. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6683. ==18304==  Block was alloc'd by thread #16
  6684. ==18304==
  6685. ==18304== Possible data race during read of size 8 at 0x963A0B8 by thread #17
  6686. ==18304== Locks held: 1, at address 0x9798D68
  6687. ==18304==    at 0x9519A90: su_block_find (su_alloc.c:304)
  6688. ==18304==    by 0x9519A90: su_free (su_alloc.c:918)
  6689. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6690. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6691. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  6692. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6693. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6694. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6695. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6696. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6697. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6698. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6699. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6700. ==18304==
  6701. ==18304== This conflicts with a previous write of size 8 by thread #16
  6702. ==18304== Locks held: 1, at address 0x9366808
  6703. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  6704. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  6705. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6706. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6707. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6708. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6709. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6710. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6711. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6712. ==18304==  Address 0x963a0b8 is 0 bytes inside data symbol "max_size_su_block_find"
  6713. ==18304==
  6714. ==18304== ----------------------------------------------------------------
  6715. ==18304==
  6716. ==18304==  Lock at 0x9798D68 was first observed
  6717. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6718. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6719. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6720. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6721. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6722. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6723. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6724. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6725. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6726. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6727. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6728. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6729. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6730. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6731. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6732. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6733. ==18304==  Block was alloc'd by thread #17
  6734. ==18304==
  6735. ==18304==  Lock at 0x9366808 was first observed
  6736. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6737. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6738. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6739. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6740. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6741. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6742. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6743. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6744. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6745. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6746. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6747. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6748. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6749. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6750. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6751. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6752. ==18304==  Block was alloc'd by thread #16
  6753. ==18304==
  6754. ==18304== Possible data race during read of size 8 at 0x963A078 by thread #17
  6755. ==18304== Locks held: 1, at address 0x9798D68
  6756. ==18304==    at 0x9519AA0: su_block_find (su_alloc.c:306)
  6757. ==18304==    by 0x9519AA0: su_free (su_alloc.c:918)
  6758. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6759. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6760. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  6761. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6762. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6763. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6764. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6765. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6766. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6767. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6768. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6769. ==18304==
  6770. ==18304== This conflicts with a previous write of size 8 by thread #16
  6771. ==18304== Locks held: 1, at address 0x9366808
  6772. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  6773. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  6774. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6775. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6776. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6777. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6778. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6779. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6780. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6781. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  6782. ==18304==
  6783. ==18304==
  6784. ==18304== More than 100 errors detected.  Subsequent errors
  6785. ==18304== will still be recorded, but in less detail than before.
  6786. ==18304== ----------------------------------------------------------------
  6787. ==18304==
  6788. ==18304==  Lock at 0x9798D68 was first observed
  6789. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6790. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6791. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6792. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6793. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6794. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6795. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6796. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6797. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6798. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6799. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6800. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6801. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6802. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6803. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6804. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6805. ==18304==  Block was alloc'd by thread #17
  6806. ==18304==
  6807. ==18304==  Lock at 0x9366808 was first observed
  6808. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6809. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6810. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6811. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6812. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6813. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6814. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6815. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6816. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6817. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6818. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6819. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6820. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6821. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6822. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6823. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6824. ==18304==  Block was alloc'd by thread #16
  6825. ==18304==
  6826. ==18304== Possible data race during write of size 8 at 0x963A078 by thread #17
  6827. ==18304== Locks held: 1, at address 0x9798D68
  6828. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  6829. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  6830. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6831. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6832. ==18304==    by 0x94D6615: nhp_set_tags (nua_params.c:894)
  6833. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6834. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6835. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6836. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6837. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6838. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6839. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6840. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6841. ==18304==
  6842. ==18304== This conflicts with a previous write of size 8 by thread #16
  6843. ==18304== Locks held: 1, at address 0x9366808
  6844. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  6845. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  6846. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6847. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6848. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6849. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6850. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6851. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6852. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6853. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  6854. ==18304==
  6855. ==18304== ----------------------------------------------------------------
  6856. ==18304==
  6857. ==18304==  Lock at 0x9798D68 was first observed
  6858. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6859. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6860. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6861. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6862. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6863. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6864. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6865. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6866. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6867. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6868. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6869. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6870. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6871. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6872. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6873. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6874. ==18304==  Block was alloc'd by thread #17
  6875. ==18304==
  6876. ==18304==  Lock at 0x9366808 was first observed
  6877. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6878. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6879. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6880. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6881. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6882. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6883. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6884. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6885. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6886. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6887. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6888. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6889. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6890. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6891. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6892. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6893. ==18304==  Block was alloc'd by thread #16
  6894. ==18304==
  6895. ==18304== Possible data race during write of size 8 at 0x963A058 by thread #17
  6896. ==18304== Locks held: 1, at address 0x9798D68
  6897. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  6898. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  6899. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6900. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6901. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  6902. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6903. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6904. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6905. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6906. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6907. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6908. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6909. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6910. ==18304==
  6911. ==18304== This conflicts with a previous read of size 8 by thread #16
  6912. ==18304== Locks held: 1, at address 0x9366808
  6913. ==18304==    at 0x9519AB2: su_block_find (su_alloc.c:312)
  6914. ==18304==    by 0x9519AB2: su_free (su_alloc.c:918)
  6915. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6916. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6917. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6918. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6919. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6920. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6921. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6922. ==18304==  Address 0x963a058 is 0 bytes inside data symbol "su_block_find_collision"
  6923. ==18304==
  6924. ==18304== ----------------------------------------------------------------
  6925. ==18304==
  6926. ==18304==  Lock at 0x9798D68 was first observed
  6927. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6928. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6929. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6930. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6931. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6932. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6933. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6934. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6935. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  6936. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6937. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6938. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6939. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6940. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6941. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6942. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6943. ==18304==  Block was alloc'd by thread #17
  6944. ==18304==
  6945. ==18304==  Lock at 0x9366808 was first observed
  6946. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6947. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6948. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6949. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  6950. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6951. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6952. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6953. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6954. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  6955. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  6956. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  6957. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  6958. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  6959. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6960. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6961. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6962. ==18304==  Block was alloc'd by thread #16
  6963. ==18304==
  6964. ==18304== Possible data race during write of size 8 at 0x963A0A8 by thread #17
  6965. ==18304== Locks held: 1, at address 0x9798D68
  6966. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  6967. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  6968. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  6969. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  6970. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  6971. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  6972. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  6973. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  6974. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  6975. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  6976. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6977. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6978. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6979. ==18304==
  6980. ==18304== This conflicts with a previous read of size 8 by thread #16
  6981. ==18304== Locks held: 1, at address 0x9366808
  6982. ==18304==    at 0x9519AB9: su_block_find (su_alloc.c:312)
  6983. ==18304==    by 0x9519AB9: su_free (su_alloc.c:918)
  6984. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  6985. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  6986. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  6987. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  6988. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  6989. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  6990. ==18304==    by 0x560E4CE: clone (clone.S:95)
  6991. ==18304==  Address 0x963a0a8 is 0 bytes inside data symbol "su_block_find_collision_used"
  6992. ==18304==
  6993. ==18304== ----------------------------------------------------------------
  6994. ==18304==
  6995. ==18304==  Lock at 0x9798D68 was first observed
  6996. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  6997. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  6998. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  6999. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7000. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7001. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7002. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7003. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7004. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7005. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7006. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7007. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7008. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7009. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7010. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7011. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7012. ==18304==  Block was alloc'd by thread #17
  7013. ==18304==
  7014. ==18304==  Lock at 0x9366808 was first observed
  7015. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7016. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7017. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7018. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7019. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7020. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7021. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7022. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7023. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7024. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7025. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7026. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7027. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7028. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7029. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7030. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7031. ==18304==  Block was alloc'd by thread #16
  7032. ==18304==
  7033. ==18304== Possible data race during write of size 8 at 0x963A070 by thread #17
  7034. ==18304== Locks held: 1, at address 0x9798D68
  7035. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  7036. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  7037. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  7038. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  7039. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  7040. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  7041. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7042. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7043. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7044. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7045. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7046. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7047. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7048. ==18304==
  7049. ==18304== This conflicts with a previous read of size 8 by thread #16
  7050. ==18304== Locks held: 1, at address 0x9366808
  7051. ==18304==    at 0x9519AC3: su_block_find (su_alloc.c:312)
  7052. ==18304==    by 0x9519AC3: su_free (su_alloc.c:918)
  7053. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7054. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7055. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7056. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7057. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7058. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7059. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7060. ==18304==  Address 0x963a070 is 0 bytes inside data symbol "su_block_find_collision_size"
  7061. ==18304==
  7062. ==18304== ----------------------------------------------------------------
  7063. ==18304==
  7064. ==18304==  Lock at 0x9798D68 was first observed
  7065. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7066. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7067. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7068. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7069. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7070. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7071. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7072. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7073. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7074. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7075. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7076. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7077. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7078. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7079. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7080. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7081. ==18304==  Block was alloc'd by thread #17
  7082. ==18304==
  7083. ==18304==  Lock at 0x9366808 was first observed
  7084. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7085. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7086. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7087. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7088. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7089. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7090. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7091. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7092. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7093. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7094. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7095. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7096. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7097. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7098. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7099. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7100. ==18304==  Block was alloc'd by thread #16
  7101. ==18304==
  7102. ==18304== Possible data race during write of size 8 at 0x963A090 by thread #17
  7103. ==18304== Locks held: 1, at address 0x9798D68
  7104. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  7105. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  7106. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  7107. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  7108. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  7109. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  7110. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7111. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7112. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7113. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7114. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7115. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7116. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7117. ==18304==
  7118. ==18304== This conflicts with a previous read of size 8 by thread #16
  7119. ==18304== Locks held: 1, at address 0x9366808
  7120. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  7121. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  7122. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7123. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7124. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7125. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7126. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7127. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7128. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7129. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  7130. ==18304==
  7131. ==18304== ----------------------------------------------------------------
  7132. ==18304==
  7133. ==18304==  Lock at 0x9798D68 was first observed
  7134. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7135. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7136. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7137. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7138. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7139. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7140. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7141. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7142. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7143. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7144. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7145. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7146. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7147. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7148. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7149. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7150. ==18304==  Block was alloc'd by thread #17
  7151. ==18304==
  7152. ==18304==  Lock at 0x9366808 was first observed
  7153. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7154. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7155. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7156. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7157. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7158. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7159. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7160. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7161. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7162. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7163. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7164. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7165. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7166. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7167. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7168. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7169. ==18304==  Block was alloc'd by thread #16
  7170. ==18304==
  7171. ==18304== Possible data race during write of size 8 at 0x963A0B8 by thread #17
  7172. ==18304== Locks held: 1, at address 0x9798D68
  7173. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  7174. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  7175. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  7176. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  7177. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  7178. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  7179. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7180. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7181. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7182. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7183. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7184. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7185. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7186. ==18304==
  7187. ==18304== This conflicts with a previous write of size 8 by thread #16
  7188. ==18304== Locks held: 1, at address 0x9366808
  7189. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  7190. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  7191. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7192. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7193. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7194. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7195. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7196. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7197. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7198. ==18304==  Address 0x963a0b8 is 0 bytes inside data symbol "max_size_su_block_find"
  7199. ==18304==
  7200. ==18304== ----------------------------------------------------------------
  7201. ==18304==
  7202. ==18304==  Lock at 0x9798D68 was first observed
  7203. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7204. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7205. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7206. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7207. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7208. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7209. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7210. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7211. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7212. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7213. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7214. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7215. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7216. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7217. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7218. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7219. ==18304==  Block was alloc'd by thread #17
  7220. ==18304==
  7221. ==18304==  Lock at 0x9366808 was first observed
  7222. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7223. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7224. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7225. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7226. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7227. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7228. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7229. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7230. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7231. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7232. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7233. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7234. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7235. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7236. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7237. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7238. ==18304==  Block was alloc'd by thread #16
  7239. ==18304==
  7240. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #17
  7241. ==18304== Locks held: 1, at address 0x9798D68
  7242. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  7243. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  7244. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  7245. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  7246. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7247. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7248. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7249. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7250. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7251. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7252. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7253. ==18304==
  7254. ==18304== This conflicts with a previous write of size 8 by thread #16
  7255. ==18304== Locks held: 1, at address 0x9366808
  7256. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  7257. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  7258. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7259. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7260. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7261. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7262. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7263. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7264. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7265. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  7266. ==18304==
  7267. ==18304== ----------------------------------------------------------------
  7268. ==18304==
  7269. ==18304==  Lock at 0x9798D68 was first observed
  7270. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7271. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7272. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7273. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7274. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7275. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7276. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7277. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7278. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7279. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7280. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7281. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7282. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7283. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7284. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7285. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7286. ==18304==  Block was alloc'd by thread #17
  7287. ==18304==
  7288. ==18304==  Lock at 0x9366808 was first observed
  7289. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7290. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7291. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7292. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7293. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7294. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7295. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7296. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7297. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7298. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7299. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7300. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7301. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7302. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7303. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7304. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7305. ==18304==  Block was alloc'd by thread #16
  7306. ==18304==
  7307. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #17
  7308. ==18304== Locks held: 1, at address 0x9798D68
  7309. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  7310. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  7311. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  7312. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  7313. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7314. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7315. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7316. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7317. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7318. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7319. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7320. ==18304==
  7321. ==18304== This conflicts with a previous write of size 8 by thread #16
  7322. ==18304== Locks held: 1, at address 0x9366808
  7323. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  7324. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  7325. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7326. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7327. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7328. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7329. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7330. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7331. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7332. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  7333. ==18304==
  7334. ==18304== ----------------------------------------------------------------
  7335. ==18304==
  7336. ==18304==  Lock at 0x9798D68 was first observed
  7337. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7338. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7339. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7340. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7341. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7342. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7343. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7344. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7345. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7346. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7347. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7348. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7349. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7350. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7351. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7352. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7353. ==18304==  Block was alloc'd by thread #17
  7354. ==18304==
  7355. ==18304==  Lock at 0x9366808 was first observed
  7356. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7357. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7358. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7359. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7360. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7361. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7362. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7363. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7364. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7365. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7366. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7367. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7368. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7369. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7370. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7371. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7372. ==18304==  Block was alloc'd by thread #16
  7373. ==18304==
  7374. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #17
  7375. ==18304== Locks held: 1, at address 0x9798D68
  7376. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  7377. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  7378. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  7379. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  7380. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7381. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7382. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7383. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7384. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7385. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7386. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7387. ==18304==
  7388. ==18304== This conflicts with a previous write of size 8 by thread #16
  7389. ==18304== Locks held: 1, at address 0x9366808
  7390. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  7391. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  7392. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7393. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7394. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7395. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7396. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7397. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7398. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7399. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  7400. ==18304==
  7401. ==18304== ----------------------------------------------------------------
  7402. ==18304==
  7403. ==18304==  Lock at 0x9798D68 was first observed
  7404. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7405. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7406. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7407. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7408. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7409. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7410. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7411. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7412. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7413. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7414. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7415. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7416. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7417. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7418. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7419. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7420. ==18304==  Block was alloc'd by thread #17
  7421. ==18304==
  7422. ==18304==  Lock at 0x9366808 was first observed
  7423. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7424. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7425. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7426. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7427. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7428. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7429. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7430. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7431. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7432. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7433. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7434. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7435. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7436. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7437. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7438. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7439. ==18304==  Block was alloc'd by thread #16
  7440. ==18304==
  7441. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #17
  7442. ==18304== Locks held: 1, at address 0x9798D68
  7443. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  7444. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  7445. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  7446. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  7447. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7448. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7449. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7450. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7451. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7452. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7453. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7454. ==18304==
  7455. ==18304== This conflicts with a previous write of size 8 by thread #16
  7456. ==18304== Locks held: 1, at address 0x9366808
  7457. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  7458. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  7459. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7460. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7461. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7462. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7463. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7464. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7465. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7466. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  7467. ==18304==
  7468. ==18304== ----------------------------------------------------------------
  7469. ==18304==
  7470. ==18304==  Lock at 0x9798D68 was first observed
  7471. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7472. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7473. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7474. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7475. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7476. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7477. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7478. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7479. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7480. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7481. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7482. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7483. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7484. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7485. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7486. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7487. ==18304==  Block was alloc'd by thread #17
  7488. ==18304==
  7489. ==18304==  Lock at 0x9366808 was first observed
  7490. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7491. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7492. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7493. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7494. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7495. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7496. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7497. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7498. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7499. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7500. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7501. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7502. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7503. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7504. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7505. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7506. ==18304==  Block was alloc'd by thread #16
  7507. ==18304==
  7508. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #17
  7509. ==18304== Locks held: 1, at address 0x9798D68
  7510. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  7511. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  7512. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  7513. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  7514. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7515. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7516. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7517. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7518. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7519. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7520. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7521. ==18304==
  7522. ==18304== This conflicts with a previous write of size 8 by thread #16
  7523. ==18304== Locks held: 1, at address 0x9366808
  7524. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  7525. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  7526. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7527. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7528. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7529. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7530. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7531. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7532. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7533. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  7534. ==18304==
  7535. ==18304== ----------------------------------------------------------------
  7536. ==18304==
  7537. ==18304==  Lock at 0x9798D68 was first observed
  7538. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7539. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7540. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7541. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7542. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7543. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7544. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7545. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7546. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7547. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7548. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7549. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7550. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7551. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7552. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7553. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7554. ==18304==  Block was alloc'd by thread #17
  7555. ==18304==
  7556. ==18304==  Lock at 0x9366808 was first observed
  7557. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7558. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7559. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7560. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7561. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7562. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7563. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7564. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7565. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7566. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7567. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7568. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7569. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7570. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7571. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7572. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7573. ==18304==  Block was alloc'd by thread #16
  7574. ==18304==
  7575. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #17
  7576. ==18304== Locks held: 1, at address 0x9798D68
  7577. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  7578. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  7579. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  7580. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  7581. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7582. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7583. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7584. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7585. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7586. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7587. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7588. ==18304==
  7589. ==18304== This conflicts with a previous write of size 8 by thread #16
  7590. ==18304== Locks held: 1, at address 0x9366808
  7591. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  7592. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  7593. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7594. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7595. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7596. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7597. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7598. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7599. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7600. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  7601. ==18304==
  7602. ==18304== ----------------------------------------------------------------
  7603. ==18304==
  7604. ==18304==  Lock at 0x9798D68 was first observed
  7605. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7606. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7607. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7608. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7609. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7610. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7611. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7612. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7613. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7614. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7615. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7616. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7617. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7618. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7619. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7620. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7621. ==18304==  Block was alloc'd by thread #17
  7622. ==18304==
  7623. ==18304==  Lock at 0x9366808 was first observed
  7624. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7625. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7626. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7627. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7628. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7629. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7630. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7631. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7632. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7633. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7634. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7635. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7636. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7637. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7638. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7639. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7640. ==18304==  Block was alloc'd by thread #16
  7641. ==18304==
  7642. ==18304== Possible data race during read of size 8 at 0x963A0B8 by thread #17
  7643. ==18304== Locks held: 1, at address 0x9798D68
  7644. ==18304==    at 0x9519A90: su_block_find (su_alloc.c:304)
  7645. ==18304==    by 0x9519A90: su_free (su_alloc.c:918)
  7646. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  7647. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  7648. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7649. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7650. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7651. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7652. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7653. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7654. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7655. ==18304==
  7656. ==18304== This conflicts with a previous write of size 8 by thread #16
  7657. ==18304== Locks held: 1, at address 0x9366808
  7658. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  7659. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  7660. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7661. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7662. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7663. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7664. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7665. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7666. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7667. ==18304==  Address 0x963a0b8 is 0 bytes inside data symbol "max_size_su_block_find"
  7668. ==18304==
  7669. ==18304== ----------------------------------------------------------------
  7670. ==18304==
  7671. ==18304==  Lock at 0x9798D68 was first observed
  7672. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7673. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7674. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7675. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7676. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7677. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7678. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7679. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7680. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7681. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7682. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7683. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7684. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7685. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7686. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7687. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7688. ==18304==  Block was alloc'd by thread #17
  7689. ==18304==
  7690. ==18304==  Lock at 0x9366808 was first observed
  7691. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7692. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7693. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7694. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7695. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7696. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7697. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7698. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7699. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7700. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7701. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7702. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7703. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7704. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7705. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7706. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7707. ==18304==  Block was alloc'd by thread #16
  7708. ==18304==
  7709. ==18304== Possible data race during read of size 8 at 0x963A078 by thread #17
  7710. ==18304== Locks held: 1, at address 0x9798D68
  7711. ==18304==    at 0x9519AA0: su_block_find (su_alloc.c:306)
  7712. ==18304==    by 0x9519AA0: su_free (su_alloc.c:918)
  7713. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  7714. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  7715. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7716. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7717. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7718. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7719. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7720. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7721. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7722. ==18304==
  7723. ==18304== This conflicts with a previous write of size 8 by thread #16
  7724. ==18304== Locks held: 1, at address 0x9366808
  7725. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  7726. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  7727. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7728. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7729. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7730. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7731. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7732. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7733. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7734. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  7735. ==18304==
  7736. ==18304== ----------------------------------------------------------------
  7737. ==18304==
  7738. ==18304==  Lock at 0x9798D68 was first observed
  7739. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7740. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7741. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7742. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7743. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7744. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7745. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7746. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7747. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7748. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7749. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7750. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7751. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7752. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7753. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7754. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7755. ==18304==  Block was alloc'd by thread #17
  7756. ==18304==
  7757. ==18304==  Lock at 0x9366808 was first observed
  7758. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7759. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7760. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7761. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7762. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7763. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7764. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7765. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7766. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7767. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7768. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7769. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7770. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7771. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7772. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7773. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7774. ==18304==  Block was alloc'd by thread #16
  7775. ==18304==
  7776. ==18304== Possible data race during write of size 8 at 0x963A078 by thread #17
  7777. ==18304== Locks held: 1, at address 0x9798D68
  7778. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  7779. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  7780. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  7781. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  7782. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7783. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7784. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7785. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7786. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7787. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7788. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7789. ==18304==
  7790. ==18304== This conflicts with a previous write of size 8 by thread #16
  7791. ==18304== Locks held: 1, at address 0x9366808
  7792. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  7793. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  7794. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  7795. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  7796. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  7797. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7798. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7799. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7800. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7801. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  7802. ==18304==
  7803. ==18304== ----------------------------------------------------------------
  7804. ==18304==
  7805. ==18304==  Lock at 0x9798D68 was first observed
  7806. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7807. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7808. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7809. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7810. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7811. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7812. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7813. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7814. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  7815. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7816. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7817. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7818. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7819. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7820. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7821. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7822. ==18304==  Block was alloc'd by thread #17
  7823. ==18304==
  7824. ==18304==  Lock at 0x9366808 was first observed
  7825. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7826. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7827. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7828. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7829. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7830. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7831. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7832. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7833. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  7834. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7835. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7836. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7837. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  7838. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7839. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7840. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7841. ==18304==  Block was alloc'd by thread #16
  7842. ==18304==
  7843. ==18304== Possible data race during read of size 4 at 0x9639180 by thread #17
  7844. ==18304== Locks held: 1, at address 0x9798D68
  7845. ==18304==    at 0x95044B0: soa_set_params (soa.c:402)
  7846. ==18304==    by 0x94D778F: nua_stack_set_params (nua_params.c:552)
  7847. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  7848. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  7849. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  7850. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  7851. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7852. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7853. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7854. ==18304==
  7855. ==18304== This conflicts with a previous write of size 4 by thread #16
  7856. ==18304== Locks held: 1, at address 0x9366808
  7857. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  7858. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  7859. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  7860. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  7861. ==18304==    by 0x9503E96: soa_create (soa.c:228)
  7862. ==18304==    by 0x94D7CA7: nua_stack_set_params (nua_params.c:539)
  7863. ==18304==    by 0x94E9A84: nua_stack_init (nua_stack.c:171)
  7864. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  7865. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7866. ==18304==  Address 0x9639180 is 32 bytes inside data symbol "soa_log"
  7867. ==18304==
  7868. ==18304== ----------------------------------------------------------------
  7869. ==18304==
  7870. ==18304==  Lock at 0x7412090 was first observed
  7871. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7872. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  7873. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  7874. ==18304==    by 0x4D524FC: check_dispatch (switch_event.c:634)
  7875. ==18304==    by 0x4D526E7: switch_event_init (switch_event.c:734)
  7876. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  7877. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  7878. ==18304==    by 0x10AEC7: main (switch.c:1200)
  7879. ==18304==  Address 0x7412090 is 3,936 bytes inside a block of size 8,192 alloc'd
  7880. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  7881. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  7882. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  7883. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  7884. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  7885. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  7886. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  7887. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  7888. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  7889. ==18304==    by 0x10AEC7: main (switch.c:1200)
  7890. ==18304==  Block was alloc'd by thread #1
  7891. ==18304==
  7892. ==18304==  Lock at 0x7411F00 was first observed
  7893. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7894. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  7895. ==18304==    by 0x4D525BC: switch_event_init (switch_event.c:702)
  7896. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  7897. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  7898. ==18304==    by 0x10AEC7: main (switch.c:1200)
  7899. ==18304==  Address 0x7411f00 is 3,536 bytes inside a block of size 8,192 alloc'd
  7900. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  7901. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  7902. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  7903. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  7904. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  7905. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  7906. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  7907. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  7908. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  7909. ==18304==    by 0x10AEC7: main (switch.c:1200)
  7910. ==18304==  Block was alloc'd by thread #1
  7911. ==18304==
  7912. ==18304==  Lock at 0x92F1C28 was first observed
  7913. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7914. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7915. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7916. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7917. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  7918. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  7919. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  7920. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7921. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7922. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7923. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  7924. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7925. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7926. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7927. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  7928. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  7929. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  7930. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7931. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7932. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7933. ==18304==  Block was alloc'd by thread #12
  7934. ==18304==
  7935. ==18304== Possible data race during write of size 4 at 0x7412050 by thread #3
  7936. ==18304== Locks held: 1, at address 0x7412090
  7937. ==18304==    at 0x501A5E5: apr_queue_pop (apr_queue.c:300)
  7938. ==18304==    by 0x4D539D5: switch_event_dispatch_thread (switch_event.c:328)
  7939. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  7940. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7941. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7942. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7943. ==18304==
  7944. ==18304== This conflicts with a previous read of size 4 by thread #12
  7945. ==18304== Locks held: 2, at addresses 0x7411F00 0x92F1C28
  7946. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  7947. ==18304==    by 0x4D5566B: switch_event_queue_dispatch_event (switch_event.c:369)
  7948. ==18304==    by 0x4D5566B: switch_event_fire_detailed (switch_event.c:2024)
  7949. ==18304==    by 0x957E088: sofia_profile_thread_run (sofia.c:3406)
  7950. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  7951. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7952. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7953. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7954. ==18304==  Address 0x7412050 is 3,872 bytes inside a block of size 8,192 alloc'd
  7955. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  7956. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  7957. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  7958. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  7959. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  7960. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  7961. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  7962. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  7963. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  7964. ==18304==    by 0x10AEC7: main (switch.c:1200)
  7965. ==18304==  Block was alloc'd by thread #1
  7966. ==18304==
  7967. ==18304== ---Thread-Announcement------------------------------------------
  7968. ==18304==
  7969. ==18304== Thread #20 was created
  7970. ==18304==    at 0x560E4BE: clone (clone.S:71)
  7971. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  7972. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  7973. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  7974. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  7975. ==18304==    by 0x9573BA8: launch_sofia_worker_thread (sofia.c:3117)
  7976. ==18304==    by 0x957E108: sofia_profile_thread_run (sofia.c:3416)
  7977. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  7978. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7979. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7980. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7981. ==18304==
  7982. ==18304== ----------------------------------------------------------------
  7983. ==18304==
  7984. ==18304==  Lock at 0x92F1C28 was first observed
  7985. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  7986. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  7987. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  7988. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  7989. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  7990. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  7991. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  7992. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  7993. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  7994. ==18304==    by 0x560E4CE: clone (clone.S:95)
  7995. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  7996. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  7997. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  7998. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  7999. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  8000. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  8001. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8002. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8003. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8004. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8005. ==18304==  Block was alloc'd by thread #12
  8006. ==18304==
  8007. ==18304==  Lock at 0x92F65E8 was first observed
  8008. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8009. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  8010. ==18304==    by 0x9575ECF: config_sofia (sofia.c:4547)
  8011. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  8012. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  8013. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  8014. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  8015. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  8016. ==18304==    by 0x10AEC7: main (switch.c:1200)
  8017. ==18304==  Address 0x92f65e8 is 7,640 bytes inside a block of size 8,192 alloc'd
  8018. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  8019. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  8020. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  8021. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  8022. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  8023. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  8024. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  8025. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  8026. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  8027. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  8028. ==18304==    by 0x10AEC7: main (switch.c:1200)
  8029. ==18304==  Block was alloc'd by thread #1
  8030. ==18304==
  8031. ==18304== Possible data race during read of size 1 at 0x92F4E30 by thread #12
  8032. ==18304== Locks held: 1, at address 0x92F1C28
  8033. ==18304==    at 0x9573BBF: launch_sofia_worker_thread (sofia.c:3119)
  8034. ==18304==    by 0x957E108: sofia_profile_thread_run (sofia.c:3416)
  8035. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8036. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8037. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8038. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8039. ==18304==
  8040. ==18304== This conflicts with a previous write of size 1 by thread #20
  8041. ==18304== Locks held: 1, at address 0x92F65E8
  8042. ==18304==    at 0x9567704: sofia_profile_worker_thread_run (sofia.c:2962)
  8043. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8044. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8045. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8046. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8047. ==18304==  Address 0x92f4e30 is 1,568 bytes inside a block of size 8,192 alloc'd
  8048. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  8049. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  8050. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  8051. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  8052. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  8053. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  8054. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  8055. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  8056. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  8057. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  8058. ==18304==    by 0x10AEC7: main (switch.c:1200)
  8059. ==18304==  Block was alloc'd by thread #1
  8060. ==18304==
  8061. ==18304== ---Thread-Announcement------------------------------------------
  8062. ==18304==
  8063. ==18304== Thread #21 was created
  8064. ==18304==    at 0x560E4BE: clone (clone.S:71)
  8065. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  8066. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  8067. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  8068. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  8069. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1903)
  8070. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  8071. ==18304==    by 0x957DF6D: sofia_profile_thread_run (sofia.c:3391)
  8072. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8073. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8074. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8075. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8076. ==18304==
  8077. ==18304== ----------------------------------------------------------------
  8078. ==18304==
  8079. ==18304== Thread #21: lock order "0x92EE5D8 before 0x7B89680" violated
  8080. ==18304==
  8081. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  8082. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  8083. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  8084. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  8085. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8086. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  8087. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8088. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8089. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8090. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8091. ==18304==
  8092. ==18304==  followed by a later acquisition of lock at 0x92EE5D8
  8093. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  8094. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  8095. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  8096. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  8097. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8098. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  8099. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8100. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8101. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8102. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8103. ==18304==
  8104. ==18304== Required order was established by acquisition of lock at 0x92EE5D8
  8105. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  8106. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  8107. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  8108. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8109. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8110. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8111. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8112. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8113. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8114. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8115. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8116. ==18304==
  8117. ==18304==  followed by a later acquisition of lock at 0x7B89680
  8118. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  8119. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  8120. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  8121. ==18304==    by 0x9599BD2: sofia_glue_init_sql (sofia_glue.c:2680)
  8122. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8123. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8124. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8125. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8126. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8127. ==18304==
  8128. ==18304==  Lock at 0x92EE5D8 was first observed
  8129. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8130. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  8131. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  8132. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  8133. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8134. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8135. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8136. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8137. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8138. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8139. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8140. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8141. ==18304==  Address 0x92ee5d8 is 1,144 bytes inside a block of size 8,192 alloc'd
  8142. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  8143. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  8144. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  8145. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  8146. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  8147. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  8148. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8149. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8150. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8151. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8152. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8153. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8154. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8155. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8156. ==18304==  Block was alloc'd by thread #11
  8157. ==18304==
  8158. ==18304==  Lock at 0x7B89680 was first observed
  8159. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8160. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  8161. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  8162. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  8163. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  8164. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  8165. ==18304==    by 0x10AEC7: main (switch.c:1200)
  8166. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  8167. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  8168. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  8169. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  8170. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  8171. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  8172. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  8173. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  8174. ==18304==    by 0x10AEC7: main (switch.c:1200)
  8175. ==18304==  Block was alloc'd by thread #1
  8176. ==18304==
  8177. ==18304==
  8178. ==18304== ----------------------------------------------------------------
  8179. ==18304==
  8180. ==18304==  Lock at 0x9366808 was first observed
  8181. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8182. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8183. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8184. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8185. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8186. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8187. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8188. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8189. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  8190. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8191. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8192. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8193. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8194. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8195. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8196. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8197. ==18304==  Block was alloc'd by thread #16
  8198. ==18304==
  8199. ==18304==  Lock at 0x9798D68 was first observed
  8200. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8201. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8202. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8203. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8204. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8205. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8206. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8207. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8208. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  8209. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8210. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8211. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8212. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8213. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8214. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8215. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8216. ==18304==  Block was alloc'd by thread #17
  8217. ==18304==
  8218. ==18304== Possible data race during read of size 8 at 0x963A058 by thread #16
  8219. ==18304== Locks held: 1, at address 0x9366808
  8220. ==18304==    at 0x9519AB2: su_block_find (su_alloc.c:312)
  8221. ==18304==    by 0x9519AB2: su_free (su_alloc.c:918)
  8222. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8223. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8224. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  8225. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8226. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8227. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8228. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8229. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8230. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8231. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8232. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8233. ==18304==
  8234. ==18304== This conflicts with a previous write of size 8 by thread #17
  8235. ==18304== Locks held: 1, at address 0x9798D68
  8236. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  8237. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  8238. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8239. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8240. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  8241. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8242. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8243. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8244. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8245. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8246. ==18304==  Address 0x963a058 is 0 bytes inside data symbol "su_block_find_collision"
  8247. ==18304==
  8248. ==18304== ----------------------------------------------------------------
  8249. ==18304==
  8250. ==18304==  Lock at 0x9366808 was first observed
  8251. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8252. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8253. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8254. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8255. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8256. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8257. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8258. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8259. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  8260. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8261. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8262. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8263. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8264. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8265. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8266. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8267. ==18304==  Block was alloc'd by thread #16
  8268. ==18304==
  8269. ==18304==  Lock at 0x9798D68 was first observed
  8270. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8271. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8272. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8273. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8274. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8275. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8276. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8277. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8278. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  8279. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8280. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8281. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8282. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8283. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8284. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8285. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8286. ==18304==  Block was alloc'd by thread #17
  8287. ==18304==
  8288. ==18304== Possible data race during read of size 8 at 0x963A0A8 by thread #16
  8289. ==18304== Locks held: 1, at address 0x9366808
  8290. ==18304==    at 0x9519AB9: su_block_find (su_alloc.c:312)
  8291. ==18304==    by 0x9519AB9: su_free (su_alloc.c:918)
  8292. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8293. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8294. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  8295. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8296. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8297. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8298. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8299. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8300. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8301. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8302. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8303. ==18304==
  8304. ==18304== This conflicts with a previous write of size 8 by thread #17
  8305. ==18304== Locks held: 1, at address 0x9798D68
  8306. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  8307. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  8308. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8309. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8310. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  8311. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8312. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8313. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8314. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8315. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8316. ==18304==  Address 0x963a0a8 is 0 bytes inside data symbol "su_block_find_collision_used"
  8317. ==18304==
  8318. ==18304== ----------------------------------------------------------------
  8319. ==18304==
  8320. ==18304==  Lock at 0x9366808 was first observed
  8321. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8322. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8323. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8324. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8325. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8326. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8327. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8328. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8329. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  8330. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8331. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8332. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8333. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8334. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8335. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8336. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8337. ==18304==  Block was alloc'd by thread #16
  8338. ==18304==
  8339. ==18304==  Lock at 0x9798D68 was first observed
  8340. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8341. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8342. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8343. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8344. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8345. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8346. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8347. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8348. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  8349. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8350. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8351. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8352. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8353. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8354. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8355. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8356. ==18304==  Block was alloc'd by thread #17
  8357. ==18304==
  8358. ==18304== Possible data race during read of size 8 at 0x963A070 by thread #16
  8359. ==18304== Locks held: 1, at address 0x9366808
  8360. ==18304==    at 0x9519AC3: su_block_find (su_alloc.c:312)
  8361. ==18304==    by 0x9519AC3: su_free (su_alloc.c:918)
  8362. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8363. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8364. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  8365. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8366. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8367. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8368. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8369. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8370. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8371. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8372. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8373. ==18304==
  8374. ==18304== This conflicts with a previous write of size 8 by thread #17
  8375. ==18304== Locks held: 1, at address 0x9798D68
  8376. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  8377. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  8378. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8379. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8380. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  8381. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8382. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8383. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8384. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8385. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8386. ==18304==  Address 0x963a070 is 0 bytes inside data symbol "su_block_find_collision_size"
  8387. ==18304==
  8388. ==18304== ----------------------------------------------------------------
  8389. ==18304==
  8390. ==18304==  Lock at 0x9366808 was first observed
  8391. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8392. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8393. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8394. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8395. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8396. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8397. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8398. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8399. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  8400. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8401. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8402. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8403. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8404. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8405. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8406. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8407. ==18304==  Block was alloc'd by thread #16
  8408. ==18304==
  8409. ==18304==  Lock at 0x9798D68 was first observed
  8410. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8411. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8412. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8413. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8414. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8415. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8416. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8417. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8418. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  8419. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8420. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8421. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8422. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8423. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8424. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8425. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8426. ==18304==  Block was alloc'd by thread #17
  8427. ==18304==
  8428. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #16
  8429. ==18304== Locks held: 1, at address 0x9366808
  8430. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  8431. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  8432. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8433. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8434. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  8435. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8436. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8437. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8438. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8439. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8440. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8441. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8442. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8443. ==18304==
  8444. ==18304== This conflicts with a previous write of size 8 by thread #17
  8445. ==18304== Locks held: 1, at address 0x9798D68
  8446. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  8447. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  8448. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8449. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8450. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  8451. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8452. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8453. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8454. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8455. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8456. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  8457. ==18304==
  8458. ==18304== ---Thread-Announcement------------------------------------------
  8459. ==18304==
  8460. ==18304== Thread #19 was created
  8461. ==18304==    at 0x560E4BE: clone (clone.S:71)
  8462. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  8463. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  8464. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  8465. ==18304==    by 0x95206B5: su_pthreaded_port_start (su_pthread_port.c:270)
  8466. ==18304==    by 0x94C918D: nua_create (nua.c:164)
  8467. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  8468. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8469. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8470. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8471. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8472. ==18304==
  8473. ==18304== ----------------------------------------------------------------
  8474. ==18304==
  8475. ==18304==  Lock at 0x7D761A8 was first observed
  8476. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8477. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8478. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8479. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8480. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8481. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8482. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8483. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8484. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  8485. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8486. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8487. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8488. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8489. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8490. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8491. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8492. ==18304==  Block was alloc'd by thread #19
  8493. ==18304==
  8494. ==18304==  Lock at 0x9366808 was first observed
  8495. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8496. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8497. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8498. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8499. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8500. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8501. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8502. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8503. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  8504. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8505. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8506. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8507. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8508. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8509. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8510. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8511. ==18304==  Block was alloc'd by thread #16
  8512. ==18304==
  8513. ==18304== Possible data race during read of size 8 at 0x963A058 by thread #19
  8514. ==18304== Locks held: 1, at address 0x7D761A8
  8515. ==18304==    at 0x9519AB2: su_block_find (su_alloc.c:312)
  8516. ==18304==    by 0x9519AB2: su_free (su_alloc.c:918)
  8517. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  8518. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  8519. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  8520. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  8521. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8522. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8523. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8524. ==18304==
  8525. ==18304== This conflicts with a previous write of size 8 by thread #16
  8526. ==18304== Locks held: 1, at address 0x9366808
  8527. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  8528. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  8529. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8530. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8531. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  8532. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8533. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8534. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8535. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8536. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8537. ==18304==  Address 0x963a058 is 0 bytes inside data symbol "su_block_find_collision"
  8538. ==18304==
  8539. ==18304== ----------------------------------------------------------------
  8540. ==18304==
  8541. ==18304==  Lock at 0x7D761A8 was first observed
  8542. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8543. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8544. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8545. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8546. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8547. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8548. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8549. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8550. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  8551. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8552. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8553. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8554. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8555. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8556. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8557. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8558. ==18304==  Block was alloc'd by thread #19
  8559. ==18304==
  8560. ==18304==  Lock at 0x9366808 was first observed
  8561. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8562. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8563. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8564. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8565. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8566. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8567. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8568. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8569. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  8570. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8571. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8572. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8573. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8574. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8575. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8576. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8577. ==18304==  Block was alloc'd by thread #16
  8578. ==18304==
  8579. ==18304== Possible data race during read of size 8 at 0x963A0A8 by thread #19
  8580. ==18304== Locks held: 1, at address 0x7D761A8
  8581. ==18304==    at 0x9519AB9: su_block_find (su_alloc.c:312)
  8582. ==18304==    by 0x9519AB9: su_free (su_alloc.c:918)
  8583. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  8584. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  8585. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  8586. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  8587. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8588. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8589. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8590. ==18304==
  8591. ==18304== This conflicts with a previous write of size 8 by thread #16
  8592. ==18304== Locks held: 1, at address 0x9366808
  8593. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  8594. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  8595. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8596. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8597. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  8598. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8599. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8600. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8601. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8602. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8603. ==18304==  Address 0x963a0a8 is 0 bytes inside data symbol "su_block_find_collision_used"
  8604. ==18304==
  8605. ==18304== ----------------------------------------------------------------
  8606. ==18304==
  8607. ==18304==  Lock at 0x7D761A8 was first observed
  8608. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8609. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8610. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8611. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8612. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8613. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8614. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8615. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8616. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  8617. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8618. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8619. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8620. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8621. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8622. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8623. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8624. ==18304==  Block was alloc'd by thread #19
  8625. ==18304==
  8626. ==18304==  Lock at 0x9366808 was first observed
  8627. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8628. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8629. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8630. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8631. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8632. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8633. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8634. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8635. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  8636. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8637. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8638. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8639. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8640. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8641. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8642. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8643. ==18304==  Block was alloc'd by thread #16
  8644. ==18304==
  8645. ==18304== Possible data race during read of size 8 at 0x963A070 by thread #19
  8646. ==18304== Locks held: 1, at address 0x7D761A8
  8647. ==18304==    at 0x9519AC3: su_block_find (su_alloc.c:312)
  8648. ==18304==    by 0x9519AC3: su_free (su_alloc.c:918)
  8649. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  8650. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  8651. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  8652. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  8653. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8654. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8655. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8656. ==18304==
  8657. ==18304== This conflicts with a previous write of size 8 by thread #16
  8658. ==18304== Locks held: 1, at address 0x9366808
  8659. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  8660. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  8661. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8662. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8663. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  8664. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8665. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8666. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8667. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8668. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8669. ==18304==  Address 0x963a070 is 0 bytes inside data symbol "su_block_find_collision_size"
  8670. ==18304==
  8671. ==18304== ----------------------------------------------------------------
  8672. ==18304==
  8673. ==18304==  Lock at 0x7D761A8 was first observed
  8674. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8675. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8676. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8677. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8678. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8679. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8680. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8681. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8682. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  8683. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8684. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8685. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8686. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8687. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8688. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8689. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8690. ==18304==  Block was alloc'd by thread #19
  8691. ==18304==
  8692. ==18304==  Lock at 0x9366808 was first observed
  8693. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8694. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8695. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8696. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8697. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8698. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8699. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8700. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8701. ==18304==  Address 0x9366808 is 120 bytes inside a block of size 216 alloc'd
  8702. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8703. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8704. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8705. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  8706. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8707. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8708. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8709. ==18304==  Block was alloc'd by thread #16
  8710. ==18304==
  8711. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #19
  8712. ==18304== Locks held: 1, at address 0x7D761A8
  8713. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  8714. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  8715. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  8716. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  8717. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  8718. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  8719. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8720. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8721. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8722. ==18304==
  8723. ==18304== This conflicts with a previous write of size 8 by thread #16
  8724. ==18304== Locks held: 1, at address 0x9366808
  8725. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  8726. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  8727. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  8728. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  8729. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  8730. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  8731. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  8732. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  8733. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  8734. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  8735. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  8736. ==18304==
  8737. ==18304== ---Thread-Announcement------------------------------------------
  8738. ==18304==
  8739. ==18304== Thread #23 was created
  8740. ==18304==    at 0x560E4BE: clone (clone.S:71)
  8741. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  8742. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  8743. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  8744. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  8745. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1903)
  8746. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  8747. ==18304==    by 0x957DF6D: sofia_profile_thread_run (sofia.c:3391)
  8748. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8749. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8750. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8751. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8752. ==18304==
  8753. ==18304== ----------------------------------------------------------------
  8754. ==18304==
  8755. ==18304== Thread #23: lock order "0x9790E48 before 0x7B89680" violated
  8756. ==18304==
  8757. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  8758. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  8759. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  8760. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  8761. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8762. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  8763. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8764. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8765. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8766. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8767. ==18304==
  8768. ==18304==  followed by a later acquisition of lock at 0x9790E48
  8769. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  8770. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  8771. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  8772. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  8773. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8774. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  8775. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8776. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8777. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8778. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8779. ==18304==
  8780. ==18304== Required order was established by acquisition of lock at 0x9790E48
  8781. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  8782. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  8783. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  8784. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8785. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8786. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8787. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8788. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8789. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8790. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8791. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8792. ==18304==
  8793. ==18304==  followed by a later acquisition of lock at 0x7B89680
  8794. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  8795. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  8796. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  8797. ==18304==    by 0x9599BD2: sofia_glue_init_sql (sofia_glue.c:2680)
  8798. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8799. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8800. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8801. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8802. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8803. ==18304==
  8804. ==18304==  Lock at 0x9790E48 was first observed
  8805. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8806. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  8807. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  8808. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  8809. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8810. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8811. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8812. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8813. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8814. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8815. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8816. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8817. ==18304==  Address 0x9790e48 is 1,144 bytes inside a block of size 8,192 alloc'd
  8818. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  8819. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  8820. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  8821. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  8822. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  8823. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  8824. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8825. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8826. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8827. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8828. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8829. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8830. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8831. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8832. ==18304==  Block was alloc'd by thread #13
  8833. ==18304==
  8834. ==18304==  Lock at 0x7B89680 was first observed
  8835. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8836. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  8837. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  8838. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  8839. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  8840. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  8841. ==18304==    by 0x10AEC7: main (switch.c:1200)
  8842. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  8843. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  8844. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  8845. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  8846. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  8847. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  8848. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  8849. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  8850. ==18304==    by 0x10AEC7: main (switch.c:1200)
  8851. ==18304==  Block was alloc'd by thread #1
  8852. ==18304==
  8853. ==18304==
  8854. ==18304== ---Thread-Announcement------------------------------------------
  8855. ==18304==
  8856. ==18304== Thread #14 was created
  8857. ==18304==    at 0x560E4BE: clone (clone.S:71)
  8858. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  8859. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  8860. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  8861. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  8862. ==18304==    by 0x9573DA0: launch_sofia_profile_thread (sofia.c:3558)
  8863. ==18304==    by 0x95761BA: config_sofia (sofia.c:6190)
  8864. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  8865. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  8866. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  8867. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  8868. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  8869. ==18304==    by 0x10AEC7: main (switch.c:1200)
  8870. ==18304==
  8871. ==18304== ----------------------------------------------------------------
  8872. ==18304==
  8873. ==18304== Thread #14: lock order "0x7B89680 before 0x9788298" violated
  8874. ==18304==
  8875. ==18304== Observed (incorrect) order is: acquisition of lock at 0x9788298
  8876. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  8877. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  8878. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  8879. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8880. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8881. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8882. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8883. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8884. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8885. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8886. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8887. ==18304==
  8888. ==18304==  followed by a later acquisition of lock at 0x7B89680
  8889. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  8890. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  8891. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  8892. ==18304==    by 0x9599BD2: sofia_glue_init_sql (sofia_glue.c:2680)
  8893. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8894. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8895. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8896. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8897. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8898. ==18304==
  8899. ==18304== Required order was established by acquisition of lock at 0x7B89680
  8900. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  8901. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  8902. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  8903. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8904. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8905. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8906. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8907. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8908. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8909. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8910. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8911. ==18304==
  8912. ==18304==  followed by a later acquisition of lock at 0x9788298
  8913. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  8914. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  8915. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  8916. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8917. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8918. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8919. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8920. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8921. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8922. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8923. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8924. ==18304==
  8925. ==18304==  Lock at 0x7B89680 was first observed
  8926. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8927. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  8928. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  8929. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  8930. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  8931. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  8932. ==18304==    by 0x10AEC7: main (switch.c:1200)
  8933. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  8934. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  8935. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  8936. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  8937. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  8938. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  8939. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  8940. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  8941. ==18304==    by 0x10AEC7: main (switch.c:1200)
  8942. ==18304==  Block was alloc'd by thread #1
  8943. ==18304==
  8944. ==18304==  Lock at 0x9788298 was first observed
  8945. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8946. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  8947. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  8948. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  8949. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8950. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8951. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8952. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8953. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8954. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8955. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8956. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8957. ==18304==  Address 0x9788298 is 1,144 bytes inside a block of size 8,192 alloc'd
  8958. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  8959. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  8960. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  8961. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  8962. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  8963. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  8964. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  8965. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  8966. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  8967. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  8968. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8969. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8970. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8971. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8972. ==18304==  Block was alloc'd by thread #14
  8973. ==18304==
  8974. ==18304==
  8975. ==18304== ----------------------------------------------------------------
  8976. ==18304==
  8977. ==18304==  Lock at 0x92F1C28 was first observed
  8978. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  8979. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  8980. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  8981. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  8982. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  8983. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  8984. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8985. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8986. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8987. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8988. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  8989. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  8990. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  8991. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  8992. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  8993. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  8994. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  8995. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  8996. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  8997. ==18304==    by 0x560E4CE: clone (clone.S:95)
  8998. ==18304==  Block was alloc'd by thread #12
  8999. ==18304==
  9000. ==18304==  Lock at 0x92F65E8 was first observed
  9001. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9002. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  9003. ==18304==    by 0x9575ECF: config_sofia (sofia.c:4547)
  9004. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  9005. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  9006. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  9007. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  9008. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  9009. ==18304==    by 0x10AEC7: main (switch.c:1200)
  9010. ==18304==  Address 0x92f65e8 is 7,640 bytes inside a block of size 8,192 alloc'd
  9011. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  9012. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  9013. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  9014. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  9015. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  9016. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  9017. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  9018. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  9019. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  9020. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  9021. ==18304==    by 0x10AEC7: main (switch.c:1200)
  9022. ==18304==  Block was alloc'd by thread #1
  9023. ==18304==
  9024. ==18304== Possible data race during read of size 1 at 0x92F4E30 by thread #12
  9025. ==18304== Locks held: 1, at address 0x92F1C28
  9026. ==18304==    at 0x957E128: sofia_profile_thread_run (sofia.c:3421)
  9027. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9028. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9029. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9030. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9031. ==18304==
  9032. ==18304== This conflicts with a previous write of size 1 by thread #20
  9033. ==18304== Locks held: 1, at address 0x92F65E8
  9034. ==18304==    at 0x9567704: sofia_profile_worker_thread_run (sofia.c:2962)
  9035. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9036. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9037. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9038. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9039. ==18304==  Address 0x92f4e30 is 1,568 bytes inside a block of size 8,192 alloc'd
  9040. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  9041. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  9042. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  9043. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  9044. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  9045. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  9046. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  9047. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  9048. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  9049. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  9050. ==18304==    by 0x10AEC7: main (switch.c:1200)
  9051. ==18304==  Block was alloc'd by thread #1
  9052. ==18304==
  9053. ==18304== ----------------------------------------------------------------
  9054. ==18304==
  9055. ==18304==  Lock at 0x92F1C28 was first observed
  9056. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9057. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9058. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9059. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9060. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  9061. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  9062. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9063. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9064. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9065. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9066. ==18304==  Address 0x92f1c28 is 120 bytes inside a block of size 216 alloc'd
  9067. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9068. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9069. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9070. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  9071. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  9072. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9073. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9074. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9075. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9076. ==18304==  Block was alloc'd by thread #12
  9077. ==18304==
  9078. ==18304==  Lock at 0x92E2BD8 was first observed
  9079. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9080. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  9081. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  9082. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9083. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9084. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  9085. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  9086. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9087. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9088. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9089. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9090. ==18304==  Address 0x92e2bd8 is 40 bytes inside a block of size 80 alloc'd
  9091. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9092. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  9093. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  9094. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9095. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9096. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  9097. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  9098. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9099. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9100. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9101. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9102. ==18304==  Block was alloc'd by thread #12
  9103. ==18304==
  9104. ==18304==  Lock at 0x9798D68 was first observed
  9105. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9106. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9107. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9108. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9109. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9110. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9111. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9112. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9113. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  9114. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9115. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9116. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9117. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9118. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9119. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9120. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9121. ==18304==  Block was alloc'd by thread #17
  9122. ==18304==
  9123. ==18304== Possible data race during read of size 8 at 0x92F1BE8 by thread #12
  9124. ==18304== Locks held: 1, at address 0x92F1C28
  9125. ==18304==    at 0x951B914: su_base_port_step (su_base_port.c:453)
  9126. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  9127. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9128. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9129. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9130. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9131. ==18304==
  9132. ==18304== This conflicts with a previous write of size 8 by thread #17
  9133. ==18304== Locks held: 2, at addresses 0x92E2BD8 0x9798D68
  9134. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  9135. ==18304==    by 0x94E939D: nua_stack_event (nua_stack.c:328)
  9136. ==18304==    by 0x94D7924: nua_stack_set_params (nua_params.c:580)
  9137. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9138. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9139. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9140. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9141. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9142. ==18304==  Address 0x92f1be8 is 56 bytes inside a block of size 216 alloc'd
  9143. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9144. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9145. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9146. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  9147. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  9148. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9149. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9150. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9151. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9152. ==18304==  Block was alloc'd by thread #12
  9153. ==18304==
  9154. ==18304== ---Thread-Announcement------------------------------------------
  9155. ==18304==
  9156. ==18304== Thread #15 was created
  9157. ==18304==    at 0x560E4BE: clone (clone.S:71)
  9158. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  9159. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  9160. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  9161. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  9162. ==18304==    by 0x9571C30: sofia_msg_thread_start (sofia.c:2354)
  9163. ==18304==    by 0x9571C30: sofia_msg_thread_start (sofia.c:2333)
  9164. ==18304==    by 0x956595A: mod_sofia_load (mod_sofia.c:6261)
  9165. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  9166. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  9167. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  9168. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  9169. ==18304==    by 0x10AEC7: main (switch.c:1200)
  9170. ==18304==
  9171. ==18304== ----------------------------------------------------------------
  9172. ==18304==
  9173. ==18304==  Lock at 0x91CE338 was first observed
  9174. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9175. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9176. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9177. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9178. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  9179. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  9180. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9181. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9182. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9183. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9184. ==18304==  Address 0x91ce338 is 120 bytes inside a block of size 216 alloc'd
  9185. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9186. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9187. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9188. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  9189. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  9190. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9191. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9192. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9193. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9194. ==18304==  Block was alloc'd by thread #11
  9195. ==18304==
  9196. ==18304==  Lock at 0x9298790 was first observed
  9197. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9198. ==18304==    by 0x5022C5A: apr_thread_mutex_create (thread_mutex.c:71)
  9199. ==18304==    by 0x501A2F4: apr_queue_create (apr_queue.c:111)
  9200. ==18304==    by 0x95655EA: mod_sofia_load (mod_sofia.c:6244)
  9201. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  9202. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  9203. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  9204. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  9205. ==18304==    by 0x10AEC7: main (switch.c:1200)
  9206. ==18304==  Address 0x9298790 is 400,144 bytes inside a block of size 401,408 alloc'd
  9207. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  9208. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  9209. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  9210. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  9211. ==18304==    by 0x9565598: mod_sofia_load (mod_sofia.c:6232)
  9212. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  9213. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  9214. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  9215. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  9216. ==18304==    by 0x10AEC7: main (switch.c:1200)
  9217. ==18304==  Block was alloc'd by thread #1
  9218. ==18304==
  9219. ==18304== Possible data race during read of size 4 at 0x9298750 by thread #11
  9220. ==18304== Locks held: 1, at address 0x91CE338
  9221. ==18304==    at 0x501A540: apr_queue_size (apr_queue.c:250)
  9222. ==18304==    by 0x95934E9: sofia_queue_message (sofia.c:2384)
  9223. ==18304==    by 0x95936CC: sofia_event_callback (sofia.c:2655)
  9224. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  9225. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9226. ==18304==    by 0x951B927: su_base_port_step (su_base_port.c:454)
  9227. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  9228. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9229. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9230. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9231. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9232. ==18304==
  9233. ==18304== This conflicts with a previous write of size 4 by thread #15
  9234. ==18304== Locks held: 1, at address 0x9298790
  9235. ==18304==    at 0x501A5E5: apr_queue_pop (apr_queue.c:300)
  9236. ==18304==    by 0x9593400: sofia_msg_thread_run (sofia.c:2311)
  9237. ==18304==    by 0x9593400: sofia_msg_thread_run (sofia.c:2289)
  9238. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9239. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9240. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9241. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9242. ==18304==  Address 0x9298750 is 400,080 bytes inside a block of size 401,408 alloc'd
  9243. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  9244. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  9245. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  9246. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  9247. ==18304==    by 0x9565598: mod_sofia_load (mod_sofia.c:6232)
  9248. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  9249. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  9250. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  9251. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  9252. ==18304==    by 0x10AEC7: main (switch.c:1200)
  9253. ==18304==  Block was alloc'd by thread #1
  9254. ==18304==
  9255. ==18304== ---Thread-Announcement------------------------------------------
  9256. ==18304==
  9257. ==18304== Thread #27 was created
  9258. ==18304==    at 0x560E4BE: clone (clone.S:71)
  9259. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  9260. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  9261. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  9262. ==18304==    by 0x95206B5: su_pthreaded_port_start (su_pthread_port.c:270)
  9263. ==18304==    by 0x94C918D: nua_create (nua.c:164)
  9264. ==18304==    by 0x957D65A: sofia_profile_thread_run (sofia.c:3188)
  9265. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  9266. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9267. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9268. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9269. ==18304==
  9270. ==18304== ----------------------------------------------------------------
  9271. ==18304==
  9272. ==18304==  Lock at 0x92F9638 was first observed
  9273. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9274. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9275. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9276. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9277. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9278. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9279. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9280. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9281. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9282. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9283. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9284. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9285. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9286. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9287. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9288. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9289. ==18304==  Block was alloc'd by thread #27
  9290. ==18304==
  9291. ==18304==  Lock at 0x7D761A8 was first observed
  9292. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9293. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9294. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9295. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9296. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9297. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9298. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9299. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9300. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  9301. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9302. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9303. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9304. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9305. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9306. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9307. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9308. ==18304==  Block was alloc'd by thread #19
  9309. ==18304==
  9310. ==18304== Possible data race during write of size 8 at 0x963A090 by thread #27
  9311. ==18304== Locks held: 1, at address 0x92F9638
  9312. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  9313. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  9314. ==18304==    by 0x94B0FDF: nta_agent_add_tport (nta.c:2268)
  9315. ==18304==    by 0x94DCC9C: nua_stack_init_transport (nua_register.c:1216)
  9316. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9317. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9318. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9319. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9320. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9321. ==18304==
  9322. ==18304== This conflicts with a previous write of size 8 by thread #19
  9323. ==18304== Locks held: 1, at address 0x7D761A8
  9324. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  9325. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  9326. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  9327. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  9328. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  9329. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  9330. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9331. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9332. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9333. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9334. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  9335. ==18304==
  9336. ==18304== ----------------------------------------------------------------
  9337. ==18304==
  9338. ==18304==  Lock at 0x92F9638 was first observed
  9339. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9340. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9341. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9342. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9343. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9344. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9345. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9346. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9347. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9348. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9349. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9350. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9351. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9352. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9353. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9354. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9355. ==18304==  Block was alloc'd by thread #27
  9356. ==18304==
  9357. ==18304==  Lock at 0x7D761A8 was first observed
  9358. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9359. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9360. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9361. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9362. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9363. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9364. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9365. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9366. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  9367. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9368. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9369. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9370. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9371. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9372. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9373. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9374. ==18304==  Block was alloc'd by thread #19
  9375. ==18304==
  9376. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #27
  9377. ==18304== Locks held: 1, at address 0x92F9638
  9378. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  9379. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  9380. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  9381. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  9382. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  9383. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9384. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9385. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9386. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9387. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9388. ==18304==
  9389. ==18304== This conflicts with a previous write of size 8 by thread #19
  9390. ==18304== Locks held: 1, at address 0x7D761A8
  9391. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  9392. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  9393. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  9394. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  9395. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  9396. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  9397. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9398. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9399. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9400. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9401. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  9402. ==18304==
  9403. ==18304== ----------------------------------------------------------------
  9404. ==18304==
  9405. ==18304==  Lock at 0x92F9638 was first observed
  9406. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9407. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9408. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9409. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9410. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9411. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9412. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9413. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9414. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9415. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9416. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9417. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9418. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9419. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9420. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9421. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9422. ==18304==  Block was alloc'd by thread #27
  9423. ==18304==
  9424. ==18304==  Lock at 0x7D761A8 was first observed
  9425. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9426. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9427. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9428. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9429. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9430. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9431. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9432. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9433. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  9434. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9435. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9436. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9437. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9438. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9439. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9440. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9441. ==18304==  Block was alloc'd by thread #19
  9442. ==18304==
  9443. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #27
  9444. ==18304== Locks held: 1, at address 0x92F9638
  9445. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  9446. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  9447. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  9448. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  9449. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  9450. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9451. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9452. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9453. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9454. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9455. ==18304==
  9456. ==18304== This conflicts with a previous write of size 8 by thread #19
  9457. ==18304== Locks held: 1, at address 0x7D761A8
  9458. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  9459. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  9460. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  9461. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  9462. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  9463. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  9464. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9465. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9466. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9467. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9468. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  9469. ==18304==
  9470. ==18304== ----------------------------------------------------------------
  9471. ==18304==
  9472. ==18304==  Lock at 0x92F9638 was first observed
  9473. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9474. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9475. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9476. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9477. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9478. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9479. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9480. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9481. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9482. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9483. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9484. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9485. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9486. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9487. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9488. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9489. ==18304==  Block was alloc'd by thread #27
  9490. ==18304==
  9491. ==18304==  Lock at 0x7D761A8 was first observed
  9492. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9493. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9494. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9495. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9496. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9497. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9498. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9499. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9500. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  9501. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9502. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9503. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9504. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9505. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9506. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9507. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9508. ==18304==  Block was alloc'd by thread #19
  9509. ==18304==
  9510. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #27
  9511. ==18304== Locks held: 1, at address 0x92F9638
  9512. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  9513. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  9514. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  9515. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  9516. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  9517. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9518. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9519. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9520. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9521. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9522. ==18304==
  9523. ==18304== This conflicts with a previous write of size 8 by thread #19
  9524. ==18304== Locks held: 1, at address 0x7D761A8
  9525. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  9526. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  9527. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  9528. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  9529. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  9530. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  9531. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9532. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9533. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9534. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9535. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  9536. ==18304==
  9537. ==18304== ----------------------------------------------------------------
  9538. ==18304==
  9539. ==18304==  Lock at 0x92F9638 was first observed
  9540. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9541. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9542. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9543. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9544. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9545. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9546. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9547. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9548. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9549. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9550. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9551. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9552. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9553. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9554. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9555. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9556. ==18304==  Block was alloc'd by thread #27
  9557. ==18304==
  9558. ==18304==  Lock at 0x7D761A8 was first observed
  9559. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9560. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9561. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9562. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9563. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9564. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9565. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9566. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9567. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  9568. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9569. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9570. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9571. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9572. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9573. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9574. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9575. ==18304==  Block was alloc'd by thread #19
  9576. ==18304==
  9577. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #27
  9578. ==18304== Locks held: 1, at address 0x92F9638
  9579. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  9580. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  9581. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  9582. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  9583. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  9584. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9585. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9586. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9587. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9588. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9589. ==18304==
  9590. ==18304== This conflicts with a previous write of size 8 by thread #19
  9591. ==18304== Locks held: 1, at address 0x7D761A8
  9592. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  9593. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  9594. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  9595. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  9596. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  9597. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  9598. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9599. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9600. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9601. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9602. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  9603. ==18304==
  9604. ==18304== ----------------------------------------------------------------
  9605. ==18304==
  9606. ==18304==  Lock at 0x92F9638 was first observed
  9607. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9608. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9609. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9610. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9611. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9612. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9613. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9614. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9615. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9616. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9617. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9618. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9619. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9620. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9621. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9622. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9623. ==18304==  Block was alloc'd by thread #27
  9624. ==18304==
  9625. ==18304==  Lock at 0x7D761A8 was first observed
  9626. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9627. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9628. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9629. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9630. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9631. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9632. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9633. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9634. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  9635. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9636. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9637. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9638. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9639. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9640. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9641. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9642. ==18304==  Block was alloc'd by thread #19
  9643. ==18304==
  9644. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #27
  9645. ==18304== Locks held: 1, at address 0x92F9638
  9646. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  9647. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  9648. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  9649. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  9650. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  9651. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9652. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9653. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9654. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9655. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9656. ==18304==
  9657. ==18304== This conflicts with a previous write of size 8 by thread #19
  9658. ==18304== Locks held: 1, at address 0x7D761A8
  9659. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  9660. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  9661. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  9662. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  9663. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  9664. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  9665. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9666. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9667. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9668. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9669. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  9670. ==18304==
  9671. ==18304== ----------------------------------------------------------------
  9672. ==18304==
  9673. ==18304==  Lock at 0x92F9638 was first observed
  9674. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9675. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9676. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9677. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9678. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9679. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9680. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9681. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9682. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9683. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9684. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9685. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9686. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9687. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9688. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9689. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9690. ==18304==  Block was alloc'd by thread #27
  9691. ==18304==
  9692. ==18304==  Lock at 0x7D761A8 was first observed
  9693. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9694. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9695. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9696. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9697. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9698. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9699. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9700. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9701. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  9702. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9703. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9704. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9705. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9706. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9707. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9708. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9709. ==18304==  Block was alloc'd by thread #19
  9710. ==18304==
  9711. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #27
  9712. ==18304== Locks held: 1, at address 0x92F9638
  9713. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  9714. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  9715. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  9716. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  9717. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  9718. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9719. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9720. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9721. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9722. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9723. ==18304==
  9724. ==18304== This conflicts with a previous write of size 8 by thread #19
  9725. ==18304== Locks held: 1, at address 0x7D761A8
  9726. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  9727. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  9728. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  9729. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  9730. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  9731. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  9732. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9733. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9734. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9735. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9736. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  9737. ==18304==
  9738. ==18304== ----------------------------------------------------------------
  9739. ==18304==
  9740. ==18304==  Lock at 0x92F9638 was first observed
  9741. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9742. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9743. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9744. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9745. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9746. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9747. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9748. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9749. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9750. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9751. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9752. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9753. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9754. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9755. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9756. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9757. ==18304==  Block was alloc'd by thread #27
  9758. ==18304==
  9759. ==18304==  Lock at 0x9798D68 was first observed
  9760. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9761. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9762. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9763. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9764. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9765. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9766. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9767. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9768. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  9769. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9770. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9771. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9772. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9773. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9774. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9775. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9776. ==18304==  Block was alloc'd by thread #17
  9777. ==18304==
  9778. ==18304== Possible data race during read of size 8 at 0x963A0B8 by thread #27
  9779. ==18304== Locks held: 1, at address 0x92F9638
  9780. ==18304==    at 0x9519A90: su_block_find (su_alloc.c:304)
  9781. ==18304==    by 0x9519A90: su_free (su_alloc.c:918)
  9782. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  9783. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  9784. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  9785. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9786. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9787. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9788. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9789. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9790. ==18304==
  9791. ==18304== This conflicts with a previous write of size 8 by thread #17
  9792. ==18304== Locks held: 1, at address 0x9798D68
  9793. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  9794. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  9795. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  9796. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  9797. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  9798. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  9799. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9800. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9801. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9802. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9803. ==18304==  Address 0x963a0b8 is 0 bytes inside data symbol "max_size_su_block_find"
  9804. ==18304==
  9805. ==18304== ----------------------------------------------------------------
  9806. ==18304==
  9807. ==18304==  Lock at 0x92F9638 was first observed
  9808. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9809. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9810. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9811. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9812. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9813. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9814. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9815. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9816. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9817. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9818. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9819. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9820. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9821. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9822. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9823. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9824. ==18304==  Block was alloc'd by thread #27
  9825. ==18304==
  9826. ==18304==  Lock at 0x7D761A8 was first observed
  9827. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9828. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9829. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9830. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9831. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9832. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9833. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9834. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9835. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  9836. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9837. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9838. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9839. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9840. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9841. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9842. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9843. ==18304==  Block was alloc'd by thread #19
  9844. ==18304==
  9845. ==18304== Possible data race during read of size 8 at 0x963A078 by thread #27
  9846. ==18304== Locks held: 1, at address 0x92F9638
  9847. ==18304==    at 0x9519AA0: su_block_find (su_alloc.c:306)
  9848. ==18304==    by 0x9519AA0: su_free (su_alloc.c:918)
  9849. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  9850. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  9851. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  9852. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9853. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9854. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9855. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9856. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9857. ==18304==
  9858. ==18304== This conflicts with a previous write of size 8 by thread #19
  9859. ==18304== Locks held: 1, at address 0x7D761A8
  9860. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  9861. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  9862. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  9863. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  9864. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9865. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9866. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9867. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9868. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9869. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9870. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  9871. ==18304==
  9872. ==18304== ----------------------------------------------------------------
  9873. ==18304==
  9874. ==18304==  Lock at 0x92F9638 was first observed
  9875. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9876. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9877. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9878. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9879. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9880. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9881. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9882. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9883. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9884. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9885. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9886. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9887. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9888. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9889. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9890. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9891. ==18304==  Block was alloc'd by thread #27
  9892. ==18304==
  9893. ==18304==  Lock at 0x7D761A8 was first observed
  9894. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9895. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9896. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9897. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9898. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9899. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9900. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9901. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9902. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  9903. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9904. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9905. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9906. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9907. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9908. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9909. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9910. ==18304==  Block was alloc'd by thread #19
  9911. ==18304==
  9912. ==18304== Possible data race during read of size 8 at 0x963A058 by thread #27
  9913. ==18304== Locks held: 1, at address 0x92F9638
  9914. ==18304==    at 0x9519AB2: su_block_find (su_alloc.c:312)
  9915. ==18304==    by 0x9519AB2: su_free (su_alloc.c:918)
  9916. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  9917. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  9918. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  9919. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9920. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9921. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9922. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9923. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9924. ==18304==
  9925. ==18304== This conflicts with a previous write of size 8 by thread #19
  9926. ==18304== Locks held: 1, at address 0x7D761A8
  9927. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  9928. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  9929. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  9930. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  9931. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  9932. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  9933. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  9934. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  9935. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  9936. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  9937. ==18304==  Address 0x963a058 is 0 bytes inside data symbol "su_block_find_collision"
  9938. ==18304==
  9939. ==18304== ----------------------------------------------------------------
  9940. ==18304==
  9941. ==18304==  Lock at 0x92F9638 was first observed
  9942. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9943. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9944. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9945. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9946. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9947. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9948. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9949. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9950. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  9951. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9952. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9953. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9954. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9955. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9956. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9957. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9958. ==18304==  Block was alloc'd by thread #27
  9959. ==18304==
  9960. ==18304==  Lock at 0x7D761A8 was first observed
  9961. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  9962. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  9963. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  9964. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  9965. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9966. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9967. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9968. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9969. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  9970. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  9971. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  9972. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  9973. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  9974. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9975. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9976. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9977. ==18304==  Block was alloc'd by thread #19
  9978. ==18304==
  9979. ==18304== Possible data race during read of size 8 at 0x963A0A8 by thread #27
  9980. ==18304== Locks held: 1, at address 0x92F9638
  9981. ==18304==    at 0x9519AB9: su_block_find (su_alloc.c:312)
  9982. ==18304==    by 0x9519AB9: su_free (su_alloc.c:918)
  9983. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  9984. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  9985. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  9986. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  9987. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  9988. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  9989. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  9990. ==18304==    by 0x560E4CE: clone (clone.S:95)
  9991. ==18304==
  9992. ==18304== This conflicts with a previous write of size 8 by thread #19
  9993. ==18304== Locks held: 1, at address 0x7D761A8
  9994. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  9995. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  9996. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  9997. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  9998. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  9999. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10000. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10001. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10002. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10003. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10004. ==18304==  Address 0x963a0a8 is 0 bytes inside data symbol "su_block_find_collision_used"
  10005. ==18304==
  10006. ==18304== ----------------------------------------------------------------
  10007. ==18304==
  10008. ==18304==  Lock at 0x92F9638 was first observed
  10009. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10010. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10011. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10012. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10013. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10014. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10015. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10016. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10017. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10018. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10019. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10020. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10021. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10022. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10023. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10024. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10025. ==18304==  Block was alloc'd by thread #27
  10026. ==18304==
  10027. ==18304==  Lock at 0x7D761A8 was first observed
  10028. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10029. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10030. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10031. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10032. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10033. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10034. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10035. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10036. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10037. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10038. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10039. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10040. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10041. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10042. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10043. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10044. ==18304==  Block was alloc'd by thread #19
  10045. ==18304==
  10046. ==18304== Possible data race during read of size 8 at 0x963A070 by thread #27
  10047. ==18304== Locks held: 1, at address 0x92F9638
  10048. ==18304==    at 0x9519AC3: su_block_find (su_alloc.c:312)
  10049. ==18304==    by 0x9519AC3: su_free (su_alloc.c:918)
  10050. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  10051. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10052. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10053. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10054. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10055. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10056. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10057. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10058. ==18304==
  10059. ==18304== This conflicts with a previous write of size 8 by thread #19
  10060. ==18304== Locks held: 1, at address 0x7D761A8
  10061. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  10062. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  10063. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10064. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10065. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10066. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10067. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10068. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10069. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10070. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10071. ==18304==  Address 0x963a070 is 0 bytes inside data symbol "su_block_find_collision_size"
  10072. ==18304==
  10073. ==18304== ----------------------------------------------------------------
  10074. ==18304==
  10075. ==18304==  Lock at 0x92F9638 was first observed
  10076. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10077. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10078. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10079. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10080. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10081. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10082. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10083. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10084. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10085. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10086. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10087. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10088. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10089. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10090. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10091. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10092. ==18304==  Block was alloc'd by thread #27
  10093. ==18304==
  10094. ==18304==  Lock at 0x7D761A8 was first observed
  10095. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10096. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10097. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10098. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10099. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10100. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10101. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10102. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10103. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10104. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10105. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10106. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10107. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10108. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10109. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10110. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10111. ==18304==  Block was alloc'd by thread #19
  10112. ==18304==
  10113. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #27
  10114. ==18304== Locks held: 1, at address 0x92F9638
  10115. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  10116. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  10117. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  10118. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10119. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10120. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10121. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10122. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10123. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10124. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10125. ==18304==
  10126. ==18304== This conflicts with a previous write of size 8 by thread #19
  10127. ==18304== Locks held: 1, at address 0x7D761A8
  10128. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  10129. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  10130. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10131. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10132. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10133. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10134. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10135. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10136. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10137. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10138. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  10139. ==18304==
  10140. ==18304== ----------------------------------------------------------------
  10141. ==18304==
  10142. ==18304==  Lock at 0x92F9638 was first observed
  10143. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10144. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10145. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10146. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10147. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10148. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10149. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10150. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10151. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10152. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10153. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10154. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10155. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10156. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10157. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10158. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10159. ==18304==  Block was alloc'd by thread #27
  10160. ==18304==
  10161. ==18304==  Lock at 0x7D761A8 was first observed
  10162. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10163. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10164. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10165. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10166. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10167. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10168. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10169. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10170. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10171. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10172. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10173. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10174. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10175. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10176. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10177. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10178. ==18304==  Block was alloc'd by thread #19
  10179. ==18304==
  10180. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #27
  10181. ==18304== Locks held: 1, at address 0x92F9638
  10182. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  10183. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  10184. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10185. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10186. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10187. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10188. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10189. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10190. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10191. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10192. ==18304==
  10193. ==18304== This conflicts with a previous write of size 8 by thread #19
  10194. ==18304== Locks held: 1, at address 0x7D761A8
  10195. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  10196. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  10197. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10198. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10199. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10200. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10201. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10202. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10203. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10204. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10205. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  10206. ==18304==
  10207. ==18304== ----------------------------------------------------------------
  10208. ==18304==
  10209. ==18304==  Lock at 0x92F9638 was first observed
  10210. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10211. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10212. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10213. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10214. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10215. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10216. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10217. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10218. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10219. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10220. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10221. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10222. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10223. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10224. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10225. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10226. ==18304==  Block was alloc'd by thread #27
  10227. ==18304==
  10228. ==18304==  Lock at 0x7D761A8 was first observed
  10229. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10230. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10231. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10232. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10233. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10234. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10235. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10236. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10237. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10238. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10239. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10240. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10241. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10242. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10243. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10244. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10245. ==18304==  Block was alloc'd by thread #19
  10246. ==18304==
  10247. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #27
  10248. ==18304== Locks held: 1, at address 0x92F9638
  10249. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  10250. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  10251. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10252. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10253. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10254. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10255. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10256. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10257. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10258. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10259. ==18304==
  10260. ==18304== This conflicts with a previous write of size 8 by thread #19
  10261. ==18304== Locks held: 1, at address 0x7D761A8
  10262. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  10263. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  10264. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10265. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10266. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10267. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10268. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10269. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10270. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10271. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10272. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  10273. ==18304==
  10274. ==18304== ----------------------------------------------------------------
  10275. ==18304==
  10276. ==18304==  Lock at 0x92F9638 was first observed
  10277. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10278. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10279. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10280. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10281. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10282. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10283. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10284. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10285. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10286. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10287. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10288. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10289. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10290. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10291. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10292. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10293. ==18304==  Block was alloc'd by thread #27
  10294. ==18304==
  10295. ==18304==  Lock at 0x7D761A8 was first observed
  10296. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10297. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10298. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10299. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10300. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10301. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10302. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10303. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10304. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10305. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10306. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10307. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10308. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10309. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10310. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10311. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10312. ==18304==  Block was alloc'd by thread #19
  10313. ==18304==
  10314. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #27
  10315. ==18304== Locks held: 1, at address 0x92F9638
  10316. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  10317. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  10318. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10319. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10320. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10321. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10322. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10323. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10324. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10325. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10326. ==18304==
  10327. ==18304== This conflicts with a previous write of size 8 by thread #19
  10328. ==18304== Locks held: 1, at address 0x7D761A8
  10329. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  10330. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  10331. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10332. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10333. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10334. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10335. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10336. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10337. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10338. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10339. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  10340. ==18304==
  10341. ==18304== ----------------------------------------------------------------
  10342. ==18304==
  10343. ==18304==  Lock at 0x92F9638 was first observed
  10344. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10345. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10346. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10347. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10348. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10349. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10350. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10351. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10352. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10353. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10354. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10355. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10356. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10357. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10358. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10359. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10360. ==18304==  Block was alloc'd by thread #27
  10361. ==18304==
  10362. ==18304==  Lock at 0x7D761A8 was first observed
  10363. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10364. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10365. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10366. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10367. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10368. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10369. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10370. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10371. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10372. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10373. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10374. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10375. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10376. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10377. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10378. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10379. ==18304==  Block was alloc'd by thread #19
  10380. ==18304==
  10381. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #27
  10382. ==18304== Locks held: 1, at address 0x92F9638
  10383. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  10384. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  10385. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10386. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10387. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10388. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10389. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10390. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10391. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10392. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10393. ==18304==
  10394. ==18304== This conflicts with a previous write of size 8 by thread #19
  10395. ==18304== Locks held: 1, at address 0x7D761A8
  10396. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  10397. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  10398. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10399. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10400. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10401. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10402. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10403. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10404. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10405. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10406. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  10407. ==18304==
  10408. ==18304== ----------------------------------------------------------------
  10409. ==18304==
  10410. ==18304==  Lock at 0x92F9638 was first observed
  10411. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10412. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10413. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10414. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10415. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10416. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10417. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10418. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10419. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10420. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10421. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10422. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10423. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10424. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10425. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10426. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10427. ==18304==  Block was alloc'd by thread #27
  10428. ==18304==
  10429. ==18304==  Lock at 0x7D761A8 was first observed
  10430. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10431. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10432. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10433. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10434. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10435. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10436. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10437. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10438. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10439. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10440. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10441. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10442. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10443. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10444. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10445. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10446. ==18304==  Block was alloc'd by thread #19
  10447. ==18304==
  10448. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #27
  10449. ==18304== Locks held: 1, at address 0x92F9638
  10450. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  10451. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  10452. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10453. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10454. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10455. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10456. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10457. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10458. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10459. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10460. ==18304==
  10461. ==18304== This conflicts with a previous write of size 8 by thread #19
  10462. ==18304== Locks held: 1, at address 0x7D761A8
  10463. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  10464. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  10465. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10466. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10467. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10468. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10469. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10470. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10471. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10472. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10473. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  10474. ==18304==
  10475. ==18304== ----------------------------------------------------------------
  10476. ==18304==
  10477. ==18304==  Lock at 0x92F9638 was first observed
  10478. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10479. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10480. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10481. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10482. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10483. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10484. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10485. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10486. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10487. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10488. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10489. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10490. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10491. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10492. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10493. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10494. ==18304==  Block was alloc'd by thread #27
  10495. ==18304==
  10496. ==18304==  Lock at 0x7D761A8 was first observed
  10497. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10498. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10499. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10500. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10501. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10502. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10503. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10504. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10505. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10506. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10507. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10508. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10509. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10510. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10511. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10512. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10513. ==18304==  Block was alloc'd by thread #19
  10514. ==18304==
  10515. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #27
  10516. ==18304== Locks held: 1, at address 0x92F9638
  10517. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  10518. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  10519. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10520. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10521. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10522. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10523. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10524. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10525. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10526. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10527. ==18304==
  10528. ==18304== This conflicts with a previous write of size 8 by thread #19
  10529. ==18304== Locks held: 1, at address 0x7D761A8
  10530. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  10531. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  10532. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10533. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10534. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10535. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10536. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10537. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10538. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10539. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10540. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  10541. ==18304==
  10542. ==18304== ----------------------------------------------------------------
  10543. ==18304==
  10544. ==18304==  Lock at 0x92F9638 was first observed
  10545. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10546. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10547. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10548. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10549. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10550. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10551. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10552. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10553. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10554. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10555. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10556. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10557. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10558. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10559. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10560. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10561. ==18304==  Block was alloc'd by thread #27
  10562. ==18304==
  10563. ==18304==  Lock at 0x9798D68 was first observed
  10564. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10565. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10566. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10567. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10568. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10569. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10570. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10571. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10572. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  10573. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10574. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10575. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10576. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10577. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10578. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10579. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10580. ==18304==  Block was alloc'd by thread #17
  10581. ==18304==
  10582. ==18304== Possible data race during read of size 8 at 0x963A0B8 by thread #27
  10583. ==18304== Locks held: 1, at address 0x92F9638
  10584. ==18304==    at 0x9519A90: su_block_find (su_alloc.c:304)
  10585. ==18304==    by 0x9519A90: su_free (su_alloc.c:918)
  10586. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10587. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10588. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10589. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10590. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10591. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10592. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10593. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10594. ==18304==
  10595. ==18304== This conflicts with a previous write of size 8 by thread #17
  10596. ==18304== Locks held: 1, at address 0x9798D68
  10597. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  10598. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  10599. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10600. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10601. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  10602. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10603. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10604. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10605. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10606. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10607. ==18304==  Address 0x963a0b8 is 0 bytes inside data symbol "max_size_su_block_find"
  10608. ==18304==
  10609. ==18304== ----------------------------------------------------------------
  10610. ==18304==
  10611. ==18304==  Lock at 0x92F9638 was first observed
  10612. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10613. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10614. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10615. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10616. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10617. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10618. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10619. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10620. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10621. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10622. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10623. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10624. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10625. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10626. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10627. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10628. ==18304==  Block was alloc'd by thread #27
  10629. ==18304==
  10630. ==18304==  Lock at 0x7D761A8 was first observed
  10631. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10632. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10633. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10634. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10635. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10636. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10637. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10638. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10639. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10640. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10641. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10642. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10643. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10644. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10645. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10646. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10647. ==18304==  Block was alloc'd by thread #19
  10648. ==18304==
  10649. ==18304== Possible data race during read of size 8 at 0x963A078 by thread #27
  10650. ==18304== Locks held: 1, at address 0x92F9638
  10651. ==18304==    at 0x9519AA0: su_block_find (su_alloc.c:306)
  10652. ==18304==    by 0x9519AA0: su_free (su_alloc.c:918)
  10653. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10654. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10655. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10656. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10657. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10658. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10659. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10660. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10661. ==18304==
  10662. ==18304== This conflicts with a previous write of size 8 by thread #19
  10663. ==18304== Locks held: 1, at address 0x7D761A8
  10664. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  10665. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  10666. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  10667. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  10668. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10669. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10670. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10671. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10672. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10673. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10674. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  10675. ==18304==
  10676. ==18304== ----------------------------------------------------------------
  10677. ==18304==
  10678. ==18304==  Lock at 0x92F9638 was first observed
  10679. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10680. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10681. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10682. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10683. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10684. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10685. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10686. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10687. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10688. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10689. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10690. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10691. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10692. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10693. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10694. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10695. ==18304==  Block was alloc'd by thread #27
  10696. ==18304==
  10697. ==18304==  Lock at 0x7D761A8 was first observed
  10698. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10699. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10700. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10701. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10702. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10703. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10704. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10705. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10706. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10707. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10708. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10709. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10710. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10711. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10712. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10713. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10714. ==18304==  Block was alloc'd by thread #19
  10715. ==18304==
  10716. ==18304== Possible data race during read of size 8 at 0x963A058 by thread #27
  10717. ==18304== Locks held: 1, at address 0x92F9638
  10718. ==18304==    at 0x9519AB2: su_block_find (su_alloc.c:312)
  10719. ==18304==    by 0x9519AB2: su_free (su_alloc.c:918)
  10720. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10721. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10722. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10723. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10724. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10725. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10726. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10727. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10728. ==18304==
  10729. ==18304== This conflicts with a previous write of size 8 by thread #19
  10730. ==18304== Locks held: 1, at address 0x7D761A8
  10731. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  10732. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  10733. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10734. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10735. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10736. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10737. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10738. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10739. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10740. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10741. ==18304==  Address 0x963a058 is 0 bytes inside data symbol "su_block_find_collision"
  10742. ==18304==
  10743. ==18304== ----------------------------------------------------------------
  10744. ==18304==
  10745. ==18304==  Lock at 0x92F9638 was first observed
  10746. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10747. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10748. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10749. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10750. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10751. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10752. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10753. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10754. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10755. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10756. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10757. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10758. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10759. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10760. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10761. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10762. ==18304==  Block was alloc'd by thread #27
  10763. ==18304==
  10764. ==18304==  Lock at 0x7D761A8 was first observed
  10765. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10766. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10767. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10768. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10769. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10770. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10771. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10772. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10773. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10774. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10775. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10776. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10777. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10778. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10779. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10780. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10781. ==18304==  Block was alloc'd by thread #19
  10782. ==18304==
  10783. ==18304== Possible data race during read of size 8 at 0x963A0A8 by thread #27
  10784. ==18304== Locks held: 1, at address 0x92F9638
  10785. ==18304==    at 0x9519AB9: su_block_find (su_alloc.c:312)
  10786. ==18304==    by 0x9519AB9: su_free (su_alloc.c:918)
  10787. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10788. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10789. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10790. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10791. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10792. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10793. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10794. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10795. ==18304==
  10796. ==18304== This conflicts with a previous write of size 8 by thread #19
  10797. ==18304== Locks held: 1, at address 0x7D761A8
  10798. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  10799. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  10800. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10801. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10802. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10803. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10804. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10805. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10806. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10807. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10808. ==18304==  Address 0x963a0a8 is 0 bytes inside data symbol "su_block_find_collision_used"
  10809. ==18304==
  10810. ==18304== ----------------------------------------------------------------
  10811. ==18304==
  10812. ==18304==  Lock at 0x92F9638 was first observed
  10813. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10814. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10815. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10816. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10817. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10818. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10819. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10820. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10821. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10822. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10823. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10824. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10825. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10826. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10827. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10828. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10829. ==18304==  Block was alloc'd by thread #27
  10830. ==18304==
  10831. ==18304==  Lock at 0x7D761A8 was first observed
  10832. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10833. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10834. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10835. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10836. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10837. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10838. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10839. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10840. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10841. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10842. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10843. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10844. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10845. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10846. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10847. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10848. ==18304==  Block was alloc'd by thread #19
  10849. ==18304==
  10850. ==18304== Possible data race during read of size 8 at 0x963A070 by thread #27
  10851. ==18304== Locks held: 1, at address 0x92F9638
  10852. ==18304==    at 0x9519AC3: su_block_find (su_alloc.c:312)
  10853. ==18304==    by 0x9519AC3: su_free (su_alloc.c:918)
  10854. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10855. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10856. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10857. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10858. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10859. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10860. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10861. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10862. ==18304==
  10863. ==18304== This conflicts with a previous write of size 8 by thread #19
  10864. ==18304== Locks held: 1, at address 0x7D761A8
  10865. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  10866. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  10867. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10868. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10869. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10870. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10871. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10872. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10873. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10874. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10875. ==18304==  Address 0x963a070 is 0 bytes inside data symbol "su_block_find_collision_size"
  10876. ==18304==
  10877. ==18304== ----------------------------------------------------------------
  10878. ==18304==
  10879. ==18304==  Lock at 0x92F9638 was first observed
  10880. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10881. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10882. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10883. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10884. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10885. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10886. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10887. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10888. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10889. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10890. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10891. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10892. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10893. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10894. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10895. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10896. ==18304==  Block was alloc'd by thread #27
  10897. ==18304==
  10898. ==18304==  Lock at 0x7D761A8 was first observed
  10899. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10900. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10901. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10902. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10903. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10904. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10905. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10906. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10907. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10908. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10909. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10910. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10911. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10912. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10913. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10914. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10915. ==18304==  Block was alloc'd by thread #19
  10916. ==18304==
  10917. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #27
  10918. ==18304== Locks held: 1, at address 0x92F9638
  10919. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  10920. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  10921. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  10922. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10923. ==18304==    by 0x94DCD0E: nua_stack_init_transport (nua_register.c:1230)
  10924. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10925. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10926. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10927. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10928. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10929. ==18304==
  10930. ==18304== This conflicts with a previous write of size 8 by thread #19
  10931. ==18304== Locks held: 1, at address 0x7D761A8
  10932. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  10933. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  10934. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  10935. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  10936. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  10937. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  10938. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  10939. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  10940. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  10941. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  10942. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  10943. ==18304==
  10944. ==18304== ----------------------------------------------------------------
  10945. ==18304==
  10946. ==18304==  Lock at 0x92F9638 was first observed
  10947. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10948. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10949. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10950. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10951. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10952. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10953. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10954. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10955. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  10956. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10957. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10958. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10959. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10960. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10961. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10962. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10963. ==18304==  Block was alloc'd by thread #27
  10964. ==18304==
  10965. ==18304==  Lock at 0x7D761A8 was first observed
  10966. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  10967. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  10968. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  10969. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  10970. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10971. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10972. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10973. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10974. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  10975. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  10976. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  10977. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  10978. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  10979. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10980. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10981. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10982. ==18304==  Block was alloc'd by thread #19
  10983. ==18304==
  10984. ==18304== Possible data race during write of size 8 at 0x963A090 by thread #27
  10985. ==18304== Locks held: 1, at address 0x92F9638
  10986. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  10987. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  10988. ==18304==    by 0x94AB612: agent_init_via.constprop.77 (nta.c:2433)
  10989. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  10990. ==18304==    by 0x94DCD46: nua_stack_init_transport (nua_register.c:1199)
  10991. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  10992. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  10993. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  10994. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  10995. ==18304==    by 0x560E4CE: clone (clone.S:95)
  10996. ==18304==
  10997. ==18304== This conflicts with a previous write of size 8 by thread #19
  10998. ==18304== Locks held: 1, at address 0x7D761A8
  10999. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  11000. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  11001. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11002. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11003. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11004. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11005. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11006. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11007. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11008. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11009. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  11010. ==18304==
  11011. ==18304== ----------------------------------------------------------------
  11012. ==18304==
  11013. ==18304==  Lock at 0x92F9638 was first observed
  11014. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11015. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11016. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11017. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11018. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11019. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11020. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11021. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11022. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11023. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11024. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11025. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11026. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11027. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11028. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11029. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11030. ==18304==  Block was alloc'd by thread #27
  11031. ==18304==
  11032. ==18304==  Lock at 0x7D761A8 was first observed
  11033. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11034. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11035. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11036. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11037. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11038. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11039. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11040. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11041. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  11042. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11043. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11044. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11045. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11046. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11047. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11048. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11049. ==18304==  Block was alloc'd by thread #19
  11050. ==18304==
  11051. ==18304== Possible data race during write of size 8 at 0x963A058 by thread #27
  11052. ==18304== Locks held: 1, at address 0x92F9638
  11053. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  11054. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  11055. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  11056. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  11057. ==18304==    by 0x94DCD46: nua_stack_init_transport (nua_register.c:1199)
  11058. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  11059. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  11060. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11061. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11062. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11063. ==18304==
  11064. ==18304== This conflicts with a previous write of size 8 by thread #19
  11065. ==18304== Locks held: 1, at address 0x7D761A8
  11066. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  11067. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  11068. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11069. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11070. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11071. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11072. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11073. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11074. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11075. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11076. ==18304==  Address 0x963a058 is 0 bytes inside data symbol "su_block_find_collision"
  11077. ==18304==
  11078. ==18304== ----------------------------------------------------------------
  11079. ==18304==
  11080. ==18304==  Lock at 0x92F9638 was first observed
  11081. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11082. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11083. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11084. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11085. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11086. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11087. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11088. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11089. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11090. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11091. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11092. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11093. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11094. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11095. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11096. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11097. ==18304==  Block was alloc'd by thread #27
  11098. ==18304==
  11099. ==18304==  Lock at 0x7D761A8 was first observed
  11100. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11101. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11102. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11103. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11104. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11105. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11106. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11107. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11108. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  11109. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11110. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11111. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11112. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11113. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11114. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11115. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11116. ==18304==  Block was alloc'd by thread #19
  11117. ==18304==
  11118. ==18304== Possible data race during write of size 8 at 0x963A0A8 by thread #27
  11119. ==18304== Locks held: 1, at address 0x92F9638
  11120. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  11121. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  11122. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  11123. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  11124. ==18304==    by 0x94DCD46: nua_stack_init_transport (nua_register.c:1199)
  11125. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  11126. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  11127. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11128. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11129. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11130. ==18304==
  11131. ==18304== This conflicts with a previous write of size 8 by thread #19
  11132. ==18304== Locks held: 1, at address 0x7D761A8
  11133. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  11134. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  11135. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11136. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11137. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11138. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11139. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11140. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11141. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11142. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11143. ==18304==  Address 0x963a0a8 is 0 bytes inside data symbol "su_block_find_collision_used"
  11144. ==18304==
  11145. ==18304== ----------------------------------------------------------------
  11146. ==18304==
  11147. ==18304==  Lock at 0x92F9638 was first observed
  11148. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11149. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11150. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11151. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11152. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11153. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11154. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11155. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11156. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11157. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11158. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11159. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11160. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11161. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11162. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11163. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11164. ==18304==  Block was alloc'd by thread #27
  11165. ==18304==
  11166. ==18304==  Lock at 0x7D761A8 was first observed
  11167. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11168. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11169. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11170. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11171. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11172. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11173. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11174. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11175. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  11176. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11177. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11178. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11179. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11180. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11181. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11182. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11183. ==18304==  Block was alloc'd by thread #19
  11184. ==18304==
  11185. ==18304== Possible data race during write of size 8 at 0x963A070 by thread #27
  11186. ==18304== Locks held: 1, at address 0x92F9638
  11187. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  11188. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  11189. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  11190. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  11191. ==18304==    by 0x94DCD46: nua_stack_init_transport (nua_register.c:1199)
  11192. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  11193. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  11194. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11195. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11196. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11197. ==18304==
  11198. ==18304== This conflicts with a previous write of size 8 by thread #19
  11199. ==18304== Locks held: 1, at address 0x7D761A8
  11200. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  11201. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  11202. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11203. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11204. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11205. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11206. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11207. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11208. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11209. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11210. ==18304==  Address 0x963a070 is 0 bytes inside data symbol "su_block_find_collision_size"
  11211. ==18304==
  11212. ==18304== ----------------------------------------------------------------
  11213. ==18304==
  11214. ==18304==  Lock at 0x92F9638 was first observed
  11215. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11216. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11217. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11218. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11219. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11220. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11221. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11222. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11223. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11224. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11225. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11226. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11227. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11228. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11229. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11230. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11231. ==18304==  Block was alloc'd by thread #27
  11232. ==18304==
  11233. ==18304==  Lock at 0x7D761A8 was first observed
  11234. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11235. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11236. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11237. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11238. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11239. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11240. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11241. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11242. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  11243. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11244. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11245. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11246. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11247. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11248. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11249. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11250. ==18304==  Block was alloc'd by thread #19
  11251. ==18304==
  11252. ==18304== Possible data race during write of size 8 at 0x963A090 by thread #27
  11253. ==18304== Locks held: 1, at address 0x92F9638
  11254. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  11255. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  11256. ==18304==    by 0x94AB890: agent_init_via.constprop.77 (nta.c:2462)
  11257. ==18304==    by 0x94B0F45: nta_agent_add_tport (nta.c:2252)
  11258. ==18304==    by 0x94DCD46: nua_stack_init_transport (nua_register.c:1199)
  11259. ==18304==    by 0x94E9B6C: nua_stack_init (nua_stack.c:194)
  11260. ==18304==    by 0x952035E: su_pthread_port_clone_main (su_pthread_port.c:340)
  11261. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11262. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11263. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11264. ==18304==
  11265. ==18304== This conflicts with a previous write of size 8 by thread #19
  11266. ==18304== Locks held: 1, at address 0x7D761A8
  11267. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  11268. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  11269. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11270. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11271. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11272. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11273. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11274. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11275. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11276. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11277. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  11278. ==18304==
  11279. ==18304== ---Thread-Announcement------------------------------------------
  11280. ==18304==
  11281. ==18304== Thread #28 was created
  11282. ==18304==    at 0x560E4BE: clone (clone.S:71)
  11283. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  11284. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  11285. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  11286. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  11287. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1903)
  11288. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  11289. ==18304==    by 0x957DF6D: sofia_profile_thread_run (sofia.c:3391)
  11290. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  11291. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11292. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11293. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11294. ==18304==
  11295. ==18304== ----------------------------------------------------------------
  11296. ==18304==
  11297. ==18304== Thread #28: lock order "0x9788298 before 0x7B89680" violated
  11298. ==18304==
  11299. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  11300. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  11301. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  11302. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  11303. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  11304. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  11305. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  11306. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11307. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11308. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11309. ==18304==
  11310. ==18304==  followed by a later acquisition of lock at 0x9788298
  11311. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  11312. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  11313. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  11314. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  11315. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  11316. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  11317. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  11318. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11319. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11320. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11321. ==18304==
  11322. ==18304== Required order was established by acquisition of lock at 0x9788298
  11323. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  11324. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  11325. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  11326. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  11327. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  11328. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  11329. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  11330. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  11331. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11332. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11333. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11334. ==18304==
  11335. ==18304==  followed by a later acquisition of lock at 0x7B89680
  11336. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  11337. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  11338. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  11339. ==18304==    by 0x9599BD2: sofia_glue_init_sql (sofia_glue.c:2680)
  11340. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  11341. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  11342. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11343. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11344. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11345. ==18304==
  11346. ==18304==  Lock at 0x9788298 was first observed
  11347. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11348. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  11349. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  11350. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  11351. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  11352. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  11353. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  11354. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  11355. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  11356. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11357. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11358. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11359. ==18304==  Address 0x9788298 is 1,144 bytes inside a block of size 8,192 alloc'd
  11360. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  11361. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  11362. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  11363. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  11364. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  11365. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  11366. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  11367. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  11368. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  11369. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  11370. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  11371. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11372. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11373. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11374. ==18304==  Block was alloc'd by thread #14
  11375. ==18304==
  11376. ==18304==  Lock at 0x7B89680 was first observed
  11377. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11378. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  11379. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  11380. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  11381. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  11382. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  11383. ==18304==    by 0x10AEC7: main (switch.c:1200)
  11384. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  11385. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  11386. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  11387. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  11388. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  11389. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  11390. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  11391. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  11392. ==18304==    by 0x10AEC7: main (switch.c:1200)
  11393. ==18304==  Block was alloc'd by thread #1
  11394. ==18304==
  11395. ==18304==
  11396. ==18304== ---Thread-Announcement------------------------------------------
  11397. ==18304==
  11398. ==18304== Thread #29 was created
  11399. ==18304==    at 0x560E4BE: clone (clone.S:71)
  11400. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  11401. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  11402. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  11403. ==18304==    by 0xB9C9EC1: __init_os_thread (ks_thread.c:715)
  11404. ==18304==    by 0xB9CA1EB: __ks_thread_create_ex (ks_thread.c:792)
  11405. ==18304==    by 0x1280478B: swclt_hmgr_init (handle_manager.c:287)
  11406. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  11407. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  11408. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  11409. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  11410. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  11411. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  11412. ==18304==
  11413. ==18304== ----------------------------------------------------------------
  11414. ==18304==
  11415. ==18304== Possible data race during read of size 4 at 0x932EF40 by thread #1
  11416. ==18304== Locks held: none
  11417. ==18304==    at 0xB9CA229: __ks_thread_create_ex (ks_thread.c:797)
  11418. ==18304==    by 0x1280478B: swclt_hmgr_init (handle_manager.c:287)
  11419. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  11420. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  11421. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  11422. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  11423. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  11424. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  11425. ==18304==    by 0x10AEC7: main (switch.c:1200)
  11426. ==18304==
  11427. ==18304== This conflicts with a previous write of size 4 by thread #29
  11428. ==18304== Locks held: none
  11429. ==18304==    at 0xB9C7DCD: thread_launch (ks_thread.c:228)
  11430. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11431. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11432. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11433. ==18304==  Address 0x932ef40 is 112 bytes inside a block of size 250 alloc'd
  11434. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  11435. ==18304==    by 0xB9BA9F5: alloc_mem (ks_pool.c:330)
  11436. ==18304==    by 0xB9BBD39: __ks_pool_alloc_ex (ks_pool.c:1058)
  11437. ==18304==    by 0xB9BC057: __ks_pool_alloc (ks_pool.c:1101)
  11438. ==18304==    by 0xB9C9F8C: __ks_thread_create_ex (ks_thread.c:757)
  11439. ==18304==    by 0x1280478B: swclt_hmgr_init (handle_manager.c:287)
  11440. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  11441. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  11442. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  11443. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  11444. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  11445. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  11446. ==18304==    by 0x10AEC7: main (switch.c:1200)
  11447. ==18304==  Block was alloc'd by thread #1
  11448. ==18304==
  11449. ==18304== ----------------------------------------------------------------
  11450. ==18304==
  11451. ==18304== Possible data race during read of size 4 at 0x932EFA4 by thread #1
  11452. ==18304== Locks held: none
  11453. ==18304==    at 0xB9CA294: __ks_thread_create_ex (ks_thread.c:802)
  11454. ==18304==    by 0x1280478B: swclt_hmgr_init (handle_manager.c:287)
  11455. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  11456. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  11457. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  11458. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  11459. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  11460. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  11461. ==18304==    by 0x10AEC7: main (switch.c:1200)
  11462. ==18304==
  11463. ==18304== This conflicts with a previous write of size 4 by thread #29
  11464. ==18304== Locks held: none
  11465. ==18304==    at 0xB9C7DBD: thread_launch (ks_thread.c:227)
  11466. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11467. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11468. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11469. ==18304==  Address 0x932efa4 is 212 bytes inside a block of size 250 alloc'd
  11470. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  11471. ==18304==    by 0xB9BA9F5: alloc_mem (ks_pool.c:330)
  11472. ==18304==    by 0xB9BBD39: __ks_pool_alloc_ex (ks_pool.c:1058)
  11473. ==18304==    by 0xB9BC057: __ks_pool_alloc (ks_pool.c:1101)
  11474. ==18304==    by 0xB9C9F8C: __ks_thread_create_ex (ks_thread.c:757)
  11475. ==18304==    by 0x1280478B: swclt_hmgr_init (handle_manager.c:287)
  11476. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  11477. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  11478. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  11479. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  11480. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  11481. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  11482. ==18304==    by 0x10AEC7: main (switch.c:1200)
  11483. ==18304==  Block was alloc'd by thread #1
  11484. ==18304==
  11485. ==18304== ----------------------------------------------------------------
  11486. ==18304==
  11487. ==18304== Possible data race during read of size 4 at 0x932EF40 by thread #1
  11488. ==18304== Locks held: none
  11489. ==18304==    at 0xB9CA2B4: __ks_thread_create_ex (ks_thread.c:806)
  11490. ==18304==    by 0x1280478B: swclt_hmgr_init (handle_manager.c:287)
  11491. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  11492. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  11493. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  11494. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  11495. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  11496. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  11497. ==18304==    by 0x10AEC7: main (switch.c:1200)
  11498. ==18304==
  11499. ==18304== This conflicts with a previous write of size 4 by thread #29
  11500. ==18304== Locks held: none
  11501. ==18304==    at 0xB9C7DCD: thread_launch (ks_thread.c:228)
  11502. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11503. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11504. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11505. ==18304==  Address 0x932ef40 is 112 bytes inside a block of size 250 alloc'd
  11506. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  11507. ==18304==    by 0xB9BA9F5: alloc_mem (ks_pool.c:330)
  11508. ==18304==    by 0xB9BBD39: __ks_pool_alloc_ex (ks_pool.c:1058)
  11509. ==18304==    by 0xB9BC057: __ks_pool_alloc (ks_pool.c:1101)
  11510. ==18304==    by 0xB9C9F8C: __ks_thread_create_ex (ks_thread.c:757)
  11511. ==18304==    by 0x1280478B: swclt_hmgr_init (handle_manager.c:287)
  11512. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  11513. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  11514. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  11515. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  11516. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  11517. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  11518. ==18304==    by 0x10AEC7: main (switch.c:1200)
  11519. ==18304==  Block was alloc'd by thread #1
  11520. ==18304==
  11521. ==18304== ----------------------------------------------------------------
  11522. ==18304==
  11523. ==18304== Possible data race during read of size 8 at 0xB9F0068 by thread #29
  11524. ==18304== Locks held: none
  11525. ==18304==    at 0xB9B8C46: ks_log (ks_log.c:450)
  11526. ==18304==    by 0xB9C7E52: thread_launch (ks_thread.c:247)
  11527. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11528. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11529. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11530. ==18304==
  11531. ==18304== This conflicts with a previous write of size 8 by thread #1
  11532. ==18304== Locks held: none
  11533. ==18304==    at 0xB9B8A98: ks_global_set_logger (ks_log.c:394)
  11534. ==18304==    by 0xB94DB42: mod_signalwire_load (mod_signalwire.c:876)
  11535. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  11536. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  11537. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  11538. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  11539. ==18304==    by 0x10AEC7: main (switch.c:1200)
  11540. ==18304==  Address 0xb9f0068 is 0 bytes inside data symbol "ks_logger"
  11541. ==18304==
  11542. ==18304== ----------------------------------------------------------------
  11543. ==18304==
  11544. ==18304==  Lock at 0x92F9638 was first observed
  11545. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11546. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11547. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11548. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11549. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11550. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11551. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11552. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11553. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11554. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11555. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11556. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11557. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11558. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11559. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11560. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11561. ==18304==  Block was alloc'd by thread #27
  11562. ==18304==
  11563. ==18304==  Lock at 0x7D761A8 was first observed
  11564. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11565. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11566. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11567. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11568. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11569. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11570. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11571. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11572. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  11573. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11574. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11575. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11576. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11577. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11578. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11579. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11580. ==18304==  Block was alloc'd by thread #19
  11581. ==18304==
  11582. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #27
  11583. ==18304== Locks held: 1, at address 0x92F9638
  11584. ==18304==    at 0x951A6A9: su_block_find (su_alloc.c:301)
  11585. ==18304==    by 0x951A6A9: su_realloc (su_alloc.c:1418)
  11586. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  11587. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  11588. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  11589. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  11590. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  11591. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  11592. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  11593. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11594. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11595. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11596. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11597. ==18304==
  11598. ==18304== This conflicts with a previous write of size 8 by thread #19
  11599. ==18304== Locks held: 1, at address 0x7D761A8
  11600. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  11601. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  11602. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11603. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11604. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11605. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11606. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11607. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11608. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11609. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11610. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  11611. ==18304==
  11612. ==18304== ----------------------------------------------------------------
  11613. ==18304==
  11614. ==18304==  Lock at 0x92F9638 was first observed
  11615. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11616. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11617. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11618. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11619. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11620. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11621. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11622. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11623. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11624. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11625. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11626. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11627. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11628. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11629. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11630. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11631. ==18304==  Block was alloc'd by thread #27
  11632. ==18304==
  11633. ==18304==  Lock at 0x7D761A8 was first observed
  11634. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11635. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11636. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11637. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11638. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11639. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11640. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11641. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11642. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  11643. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11644. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11645. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11646. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11647. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11648. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11649. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11650. ==18304==  Block was alloc'd by thread #19
  11651. ==18304==
  11652. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #27
  11653. ==18304== Locks held: 1, at address 0x92F9638
  11654. ==18304==    at 0x951A6A9: su_block_find (su_alloc.c:301)
  11655. ==18304==    by 0x951A6A9: su_realloc (su_alloc.c:1418)
  11656. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  11657. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  11658. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  11659. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  11660. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  11661. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  11662. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  11663. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11664. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11665. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11666. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11667. ==18304==
  11668. ==18304== This conflicts with a previous write of size 8 by thread #19
  11669. ==18304== Locks held: 1, at address 0x7D761A8
  11670. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  11671. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  11672. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11673. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11674. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11675. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11676. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11677. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11678. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11679. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11680. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  11681. ==18304==
  11682. ==18304== ----------------------------------------------------------------
  11683. ==18304==
  11684. ==18304==  Lock at 0x92F9638 was first observed
  11685. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11686. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11687. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11688. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11689. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11690. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11691. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11692. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11693. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11694. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11695. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11696. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11697. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11698. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11699. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11700. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11701. ==18304==  Block was alloc'd by thread #27
  11702. ==18304==
  11703. ==18304==  Lock at 0x7D761A8 was first observed
  11704. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11705. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11706. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11707. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11708. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11709. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11710. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11711. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11712. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  11713. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11714. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11715. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11716. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11717. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11718. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11719. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11720. ==18304==  Block was alloc'd by thread #19
  11721. ==18304==
  11722. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #27
  11723. ==18304== Locks held: 1, at address 0x92F9638
  11724. ==18304==    at 0x951A6B1: su_block_find (su_alloc.c:302)
  11725. ==18304==    by 0x951A6B1: su_realloc (su_alloc.c:1418)
  11726. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  11727. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  11728. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  11729. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  11730. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  11731. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  11732. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  11733. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11734. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11735. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11736. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11737. ==18304==
  11738. ==18304== This conflicts with a previous write of size 8 by thread #19
  11739. ==18304== Locks held: 1, at address 0x7D761A8
  11740. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  11741. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  11742. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11743. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11744. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11745. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11746. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11747. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11748. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11749. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11750. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  11751. ==18304==
  11752. ==18304== ----------------------------------------------------------------
  11753. ==18304==
  11754. ==18304==  Lock at 0x92F9638 was first observed
  11755. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11756. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11757. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11758. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11759. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11760. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11761. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11762. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11763. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11764. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11765. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11766. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11767. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11768. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11769. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11770. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11771. ==18304==  Block was alloc'd by thread #27
  11772. ==18304==
  11773. ==18304==  Lock at 0x7D761A8 was first observed
  11774. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11775. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11776. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11777. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11778. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11779. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11780. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11781. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11782. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  11783. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11784. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11785. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11786. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11787. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11788. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11789. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11790. ==18304==  Block was alloc'd by thread #19
  11791. ==18304==
  11792. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #27
  11793. ==18304== Locks held: 1, at address 0x92F9638
  11794. ==18304==    at 0x951A6B1: su_block_find (su_alloc.c:302)
  11795. ==18304==    by 0x951A6B1: su_realloc (su_alloc.c:1418)
  11796. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  11797. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  11798. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  11799. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  11800. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  11801. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  11802. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  11803. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11804. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11805. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11806. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11807. ==18304==
  11808. ==18304== This conflicts with a previous write of size 8 by thread #19
  11809. ==18304== Locks held: 1, at address 0x7D761A8
  11810. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  11811. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  11812. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11813. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11814. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11815. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11816. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11817. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11818. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11819. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11820. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  11821. ==18304==
  11822. ==18304== ----------------------------------------------------------------
  11823. ==18304==
  11824. ==18304==  Lock at 0x92F9638 was first observed
  11825. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11826. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11827. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11828. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11829. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11830. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11831. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11832. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11833. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11834. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11835. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11836. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11837. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11838. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11839. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11840. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11841. ==18304==  Block was alloc'd by thread #27
  11842. ==18304==
  11843. ==18304==  Lock at 0x7D761A8 was first observed
  11844. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11845. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11846. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11847. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11848. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11849. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11850. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11851. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11852. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  11853. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11854. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11855. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11856. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11857. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11858. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11859. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11860. ==18304==  Block was alloc'd by thread #19
  11861. ==18304==
  11862. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #27
  11863. ==18304== Locks held: 1, at address 0x92F9638
  11864. ==18304==    at 0x951A6BC: su_block_find (su_alloc.c:303)
  11865. ==18304==    by 0x951A6BC: su_realloc (su_alloc.c:1418)
  11866. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  11867. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  11868. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  11869. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  11870. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  11871. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  11872. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  11873. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11874. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11875. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11876. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11877. ==18304==
  11878. ==18304== This conflicts with a previous write of size 8 by thread #19
  11879. ==18304== Locks held: 1, at address 0x7D761A8
  11880. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  11881. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  11882. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11883. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11884. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11885. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11886. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11887. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11888. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11889. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11890. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  11891. ==18304==
  11892. ==18304== ----------------------------------------------------------------
  11893. ==18304==
  11894. ==18304==  Lock at 0x92F9638 was first observed
  11895. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11896. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11897. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11898. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11899. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11900. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11901. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11902. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11903. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11904. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11905. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11906. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11907. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11908. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11909. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11910. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11911. ==18304==  Block was alloc'd by thread #27
  11912. ==18304==
  11913. ==18304==  Lock at 0x7D761A8 was first observed
  11914. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11915. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11916. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11917. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11918. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11919. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11920. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11921. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11922. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  11923. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11924. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11925. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11926. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11927. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11928. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11929. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11930. ==18304==  Block was alloc'd by thread #19
  11931. ==18304==
  11932. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #27
  11933. ==18304== Locks held: 1, at address 0x92F9638
  11934. ==18304==    at 0x951A6BC: su_block_find (su_alloc.c:303)
  11935. ==18304==    by 0x951A6BC: su_realloc (su_alloc.c:1418)
  11936. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  11937. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  11938. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  11939. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  11940. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  11941. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  11942. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  11943. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11944. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11945. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11946. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11947. ==18304==
  11948. ==18304== This conflicts with a previous write of size 8 by thread #19
  11949. ==18304== Locks held: 1, at address 0x7D761A8
  11950. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  11951. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  11952. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  11953. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  11954. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  11955. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  11956. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  11957. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  11958. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  11959. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  11960. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  11961. ==18304==
  11962. ==18304== ----------------------------------------------------------------
  11963. ==18304==
  11964. ==18304==  Lock at 0x92F9638 was first observed
  11965. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11966. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11967. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11968. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11969. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11970. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11971. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11972. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11973. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  11974. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11975. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11976. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11977. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11978. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11979. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11980. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11981. ==18304==  Block was alloc'd by thread #27
  11982. ==18304==
  11983. ==18304==  Lock at 0x9798D68 was first observed
  11984. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  11985. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  11986. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  11987. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  11988. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11989. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11990. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11991. ==18304==    by 0x560E4CE: clone (clone.S:95)
  11992. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  11993. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  11994. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  11995. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  11996. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  11997. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  11998. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  11999. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12000. ==18304==  Block was alloc'd by thread #17
  12001. ==18304==
  12002. ==18304== Possible data race during read of size 8 at 0x963A0B8 by thread #27
  12003. ==18304== Locks held: 1, at address 0x92F9638
  12004. ==18304==    at 0x951A6C3: su_block_find (su_alloc.c:304)
  12005. ==18304==    by 0x951A6C3: su_realloc (su_alloc.c:1418)
  12006. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  12007. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  12008. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  12009. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  12010. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12011. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12012. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12013. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12014. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12015. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12016. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12017. ==18304==
  12018. ==18304== This conflicts with a previous write of size 8 by thread #17
  12019. ==18304== Locks held: 1, at address 0x9798D68
  12020. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  12021. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  12022. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12023. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12024. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  12025. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12026. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12027. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12028. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12029. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12030. ==18304==  Address 0x963a0b8 is 0 bytes inside data symbol "max_size_su_block_find"
  12031. ==18304==
  12032. ==18304== ----------------------------------------------------------------
  12033. ==18304==
  12034. ==18304==  Lock at 0x92F9638 was first observed
  12035. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12036. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12037. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12038. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12039. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12040. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12041. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12042. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12043. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12044. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12045. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12046. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12047. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12048. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12049. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12050. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12051. ==18304==  Block was alloc'd by thread #27
  12052. ==18304==
  12053. ==18304==  Lock at 0x7D761A8 was first observed
  12054. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12055. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12056. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12057. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12058. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12059. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12060. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12061. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12062. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12063. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12064. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12065. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12066. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12067. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12068. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12069. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12070. ==18304==  Block was alloc'd by thread #19
  12071. ==18304==
  12072. ==18304== Possible data race during read of size 8 at 0x963A078 by thread #27
  12073. ==18304== Locks held: 1, at address 0x92F9638
  12074. ==18304==    at 0x951A6D3: su_block_find (su_alloc.c:306)
  12075. ==18304==    by 0x951A6D3: su_realloc (su_alloc.c:1418)
  12076. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  12077. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  12078. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  12079. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  12080. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12081. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12082. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12083. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12084. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12085. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12086. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12087. ==18304==
  12088. ==18304== This conflicts with a previous write of size 8 by thread #19
  12089. ==18304== Locks held: 1, at address 0x7D761A8
  12090. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  12091. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  12092. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  12093. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  12094. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12095. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12096. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12097. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12098. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12099. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12100. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  12101. ==18304==
  12102. ==18304== ----------------------------------------------------------------
  12103. ==18304==
  12104. ==18304==  Lock at 0x92F9638 was first observed
  12105. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12106. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12107. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12108. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12109. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12110. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12111. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12112. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12113. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12114. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12115. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12116. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12117. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12118. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12119. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12120. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12121. ==18304==  Block was alloc'd by thread #27
  12122. ==18304==
  12123. ==18304==  Lock at 0x7D761A8 was first observed
  12124. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12125. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12126. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12127. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12128. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12129. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12130. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12131. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12132. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12133. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12134. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12135. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12136. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12137. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12138. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12139. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12140. ==18304==  Block was alloc'd by thread #19
  12141. ==18304==
  12142. ==18304== Possible data race during read of size 8 at 0x963A058 by thread #27
  12143. ==18304== Locks held: 1, at address 0x92F9638
  12144. ==18304==    at 0x951A6E5: su_block_find (su_alloc.c:312)
  12145. ==18304==    by 0x951A6E5: su_realloc (su_alloc.c:1418)
  12146. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  12147. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  12148. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  12149. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  12150. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12151. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12152. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12153. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12154. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12155. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12156. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12157. ==18304==
  12158. ==18304== This conflicts with a previous write of size 8 by thread #19
  12159. ==18304== Locks held: 1, at address 0x7D761A8
  12160. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  12161. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  12162. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12163. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12164. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  12165. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12166. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12167. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12168. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12169. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12170. ==18304==  Address 0x963a058 is 0 bytes inside data symbol "su_block_find_collision"
  12171. ==18304==
  12172. ==18304== ----------------------------------------------------------------
  12173. ==18304==
  12174. ==18304==  Lock at 0x92F9638 was first observed
  12175. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12176. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12177. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12178. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12179. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12180. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12181. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12182. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12183. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12184. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12185. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12186. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12187. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12188. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12189. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12190. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12191. ==18304==  Block was alloc'd by thread #27
  12192. ==18304==
  12193. ==18304==  Lock at 0x7D761A8 was first observed
  12194. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12195. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12196. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12197. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12198. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12199. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12200. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12201. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12202. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12203. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12204. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12205. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12206. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12207. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12208. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12209. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12210. ==18304==  Block was alloc'd by thread #19
  12211. ==18304==
  12212. ==18304== Possible data race during read of size 8 at 0x963A070 by thread #27
  12213. ==18304== Locks held: 1, at address 0x92F9638
  12214. ==18304==    at 0x951A6EC: su_block_find (su_alloc.c:312)
  12215. ==18304==    by 0x951A6EC: su_realloc (su_alloc.c:1418)
  12216. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  12217. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  12218. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  12219. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  12220. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12221. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12222. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12223. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12224. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12225. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12226. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12227. ==18304==
  12228. ==18304== This conflicts with a previous write of size 8 by thread #19
  12229. ==18304== Locks held: 1, at address 0x7D761A8
  12230. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  12231. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  12232. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12233. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12234. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  12235. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12236. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12237. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12238. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12239. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12240. ==18304==  Address 0x963a070 is 0 bytes inside data symbol "su_block_find_collision_size"
  12241. ==18304==
  12242. ==18304== ----------------------------------------------------------------
  12243. ==18304==
  12244. ==18304==  Lock at 0x92F9638 was first observed
  12245. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12246. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12247. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12248. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12249. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12250. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12251. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12252. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12253. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12254. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12255. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12256. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12257. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12258. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12259. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12260. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12261. ==18304==  Block was alloc'd by thread #27
  12262. ==18304==
  12263. ==18304==  Lock at 0x7D761A8 was first observed
  12264. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12265. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12266. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12267. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12268. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12269. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12270. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12271. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12272. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12273. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12274. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12275. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12276. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12277. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12278. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12279. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12280. ==18304==  Block was alloc'd by thread #19
  12281. ==18304==
  12282. ==18304== Possible data race during read of size 8 at 0x963A0A8 by thread #27
  12283. ==18304== Locks held: 1, at address 0x92F9638
  12284. ==18304==    at 0x951A6F6: su_block_find (su_alloc.c:312)
  12285. ==18304==    by 0x951A6F6: su_realloc (su_alloc.c:1418)
  12286. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  12287. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  12288. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  12289. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  12290. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12291. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12292. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12293. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12294. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12295. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12296. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12297. ==18304==
  12298. ==18304== This conflicts with a previous write of size 8 by thread #19
  12299. ==18304== Locks held: 1, at address 0x7D761A8
  12300. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  12301. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  12302. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12303. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12304. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  12305. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12306. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12307. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12308. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12309. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12310. ==18304==  Address 0x963a0a8 is 0 bytes inside data symbol "su_block_find_collision_used"
  12311. ==18304==
  12312. ==18304== ----------------------------------------------------------------
  12313. ==18304==
  12314. ==18304==  Lock at 0x92F9638 was first observed
  12315. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12316. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12317. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12318. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12319. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12320. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12321. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12322. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12323. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12324. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12325. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12326. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12327. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12328. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12329. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12330. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12331. ==18304==  Block was alloc'd by thread #27
  12332. ==18304==
  12333. ==18304==  Lock at 0x7D761A8 was first observed
  12334. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12335. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12336. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12337. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12338. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12339. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12340. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12341. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12342. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12343. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12344. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12345. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12346. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12347. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12348. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12349. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12350. ==18304==  Block was alloc'd by thread #19
  12351. ==18304==
  12352. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #27
  12353. ==18304== Locks held: 1, at address 0x92F9638
  12354. ==18304==    at 0x951A6FD: su_block_find (su_alloc.c:312)
  12355. ==18304==    by 0x951A6FD: su_realloc (su_alloc.c:1418)
  12356. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  12357. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  12358. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  12359. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  12360. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12361. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12362. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12363. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12364. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12365. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12366. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12367. ==18304==
  12368. ==18304== This conflicts with a previous write of size 8 by thread #19
  12369. ==18304== Locks held: 1, at address 0x7D761A8
  12370. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  12371. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  12372. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12373. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12374. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  12375. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12376. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12377. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12378. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12379. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12380. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  12381. ==18304==
  12382. ==18304== ----------------------------------------------------------------
  12383. ==18304==
  12384. ==18304==  Lock at 0x92F9638 was first observed
  12385. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12386. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12387. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12388. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12389. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12390. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12391. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12392. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12393. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12394. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12395. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12396. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12397. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12398. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12399. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12400. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12401. ==18304==  Block was alloc'd by thread #27
  12402. ==18304==
  12403. ==18304==  Lock at 0x7D761A8 was first observed
  12404. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12405. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12406. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12407. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12408. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12409. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12410. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12411. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12412. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12413. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12414. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12415. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12416. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12417. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12418. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12419. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12420. ==18304==  Block was alloc'd by thread #19
  12421. ==18304==
  12422. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #27
  12423. ==18304== Locks held: 1, at address 0x92F9638
  12424. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  12425. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  12426. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  12427. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  12428. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  12429. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  12430. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  12431. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  12432. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  12433. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  12434. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  12435. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  12436. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  12437. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12438. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12439. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12440. ==18304==
  12441. ==18304== This conflicts with a previous write of size 8 by thread #19
  12442. ==18304== Locks held: 1, at address 0x7D761A8
  12443. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  12444. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  12445. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12446. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12447. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  12448. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12449. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12450. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12451. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12452. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12453. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  12454. ==18304==
  12455. ==18304== ----------------------------------------------------------------
  12456. ==18304==
  12457. ==18304==  Lock at 0x92F9638 was first observed
  12458. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12459. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12460. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12461. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12462. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12463. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12464. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12465. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12466. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12467. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12468. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12469. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12470. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12471. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12472. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12473. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12474. ==18304==  Block was alloc'd by thread #27
  12475. ==18304==
  12476. ==18304==  Lock at 0x7D761A8 was first observed
  12477. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12478. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12479. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12480. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12481. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12482. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12483. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12484. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12485. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12486. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12487. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12488. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12489. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12490. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12491. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12492. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12493. ==18304==  Block was alloc'd by thread #19
  12494. ==18304==
  12495. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #27
  12496. ==18304== Locks held: 1, at address 0x92F9638
  12497. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  12498. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  12499. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  12500. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  12501. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  12502. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  12503. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  12504. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  12505. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  12506. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  12507. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  12508. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  12509. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  12510. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12511. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12512. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12513. ==18304==
  12514. ==18304== This conflicts with a previous write of size 8 by thread #19
  12515. ==18304== Locks held: 1, at address 0x7D761A8
  12516. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  12517. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  12518. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12519. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12520. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  12521. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12522. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12523. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12524. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12525. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12526. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  12527. ==18304==
  12528. ==18304== ----------------------------------------------------------------
  12529. ==18304==
  12530. ==18304==  Lock at 0x92F9638 was first observed
  12531. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12532. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12533. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12534. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12535. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12536. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12537. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12538. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12539. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12540. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12541. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12542. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12543. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12544. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12545. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12546. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12547. ==18304==  Block was alloc'd by thread #27
  12548. ==18304==
  12549. ==18304==  Lock at 0x7D761A8 was first observed
  12550. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12551. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12552. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12553. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12554. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12555. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12556. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12557. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12558. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12559. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12560. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12561. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12562. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12563. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12564. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12565. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12566. ==18304==  Block was alloc'd by thread #19
  12567. ==18304==
  12568. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #27
  12569. ==18304== Locks held: 1, at address 0x92F9638
  12570. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  12571. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  12572. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  12573. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  12574. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  12575. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  12576. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  12577. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  12578. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  12579. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  12580. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  12581. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  12582. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  12583. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12584. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12585. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12586. ==18304==
  12587. ==18304== This conflicts with a previous write of size 8 by thread #19
  12588. ==18304== Locks held: 1, at address 0x7D761A8
  12589. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  12590. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  12591. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12592. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12593. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  12594. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12595. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12596. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12597. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12598. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12599. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  12600. ==18304==
  12601. ==18304== ----------------------------------------------------------------
  12602. ==18304==
  12603. ==18304==  Lock at 0x92F9638 was first observed
  12604. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12605. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12606. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12607. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12608. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12609. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12610. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12611. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12612. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12613. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12614. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12615. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12616. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12617. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12618. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12619. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12620. ==18304==  Block was alloc'd by thread #27
  12621. ==18304==
  12622. ==18304==  Lock at 0x7D761A8 was first observed
  12623. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12624. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12625. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12626. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12627. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12628. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12629. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12630. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12631. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12632. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12633. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12634. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12635. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12636. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12637. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12638. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12639. ==18304==  Block was alloc'd by thread #19
  12640. ==18304==
  12641. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #27
  12642. ==18304== Locks held: 1, at address 0x92F9638
  12643. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  12644. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  12645. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  12646. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  12647. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  12648. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  12649. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  12650. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  12651. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  12652. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  12653. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  12654. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  12655. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  12656. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12657. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12658. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12659. ==18304==
  12660. ==18304== This conflicts with a previous write of size 8 by thread #19
  12661. ==18304== Locks held: 1, at address 0x7D761A8
  12662. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  12663. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  12664. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12665. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12666. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  12667. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12668. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12669. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12670. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12671. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12672. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  12673. ==18304==
  12674. ==18304== ----------------------------------------------------------------
  12675. ==18304==
  12676. ==18304==  Lock at 0x92F9638 was first observed
  12677. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12678. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12679. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12680. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12681. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12682. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12683. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12684. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12685. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12686. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12687. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12688. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12689. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12690. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12691. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12692. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12693. ==18304==  Block was alloc'd by thread #27
  12694. ==18304==
  12695. ==18304==  Lock at 0x7D761A8 was first observed
  12696. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12697. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12698. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12699. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12700. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12701. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12702. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12703. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12704. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12705. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12706. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12707. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12708. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12709. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12710. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12711. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12712. ==18304==  Block was alloc'd by thread #19
  12713. ==18304==
  12714. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #27
  12715. ==18304== Locks held: 1, at address 0x92F9638
  12716. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  12717. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  12718. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  12719. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  12720. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  12721. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  12722. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  12723. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  12724. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  12725. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  12726. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  12727. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  12728. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  12729. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12730. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12731. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12732. ==18304==
  12733. ==18304== This conflicts with a previous write of size 8 by thread #19
  12734. ==18304== Locks held: 1, at address 0x7D761A8
  12735. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  12736. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  12737. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12738. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12739. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  12740. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12741. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12742. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12743. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12744. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12745. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  12746. ==18304==
  12747. ==18304== ----------------------------------------------------------------
  12748. ==18304==
  12749. ==18304==  Lock at 0x92F9638 was first observed
  12750. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12751. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12752. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12753. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12754. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12755. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12756. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12757. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12758. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12759. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12760. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12761. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12762. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12763. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12764. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12765. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12766. ==18304==  Block was alloc'd by thread #27
  12767. ==18304==
  12768. ==18304==  Lock at 0x7D761A8 was first observed
  12769. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12770. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12771. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12772. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12773. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12774. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12775. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12776. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12777. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12778. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12779. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12780. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12781. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12782. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12783. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12784. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12785. ==18304==  Block was alloc'd by thread #19
  12786. ==18304==
  12787. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #27
  12788. ==18304== Locks held: 1, at address 0x92F9638
  12789. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  12790. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  12791. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  12792. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  12793. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  12794. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  12795. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  12796. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  12797. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  12798. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  12799. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  12800. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  12801. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  12802. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12803. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12804. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12805. ==18304==
  12806. ==18304== This conflicts with a previous write of size 8 by thread #19
  12807. ==18304== Locks held: 1, at address 0x7D761A8
  12808. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  12809. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  12810. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12811. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12812. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  12813. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12814. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12815. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12816. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12817. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12818. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  12819. ==18304==
  12820. ==18304== ----------------------------------------------------------------
  12821. ==18304==
  12822. ==18304==  Lock at 0x92F9638 was first observed
  12823. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12824. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12825. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12826. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12827. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12828. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12829. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12830. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12831. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12832. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12833. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12834. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12835. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12836. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12837. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12838. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12839. ==18304==  Block was alloc'd by thread #27
  12840. ==18304==
  12841. ==18304==  Lock at 0x9798D68 was first observed
  12842. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12843. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12844. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12845. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12846. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12847. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12848. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12849. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12850. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  12851. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12852. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12853. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12854. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12855. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12856. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12857. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12858. ==18304==  Block was alloc'd by thread #17
  12859. ==18304==
  12860. ==18304== Possible data race during read of size 8 at 0x963A0B8 by thread #27
  12861. ==18304== Locks held: 1, at address 0x92F9638
  12862. ==18304==    at 0x9519A90: su_block_find (su_alloc.c:304)
  12863. ==18304==    by 0x9519A90: su_free (su_alloc.c:918)
  12864. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  12865. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  12866. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  12867. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  12868. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  12869. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  12870. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  12871. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  12872. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  12873. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  12874. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  12875. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12876. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12877. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12878. ==18304==
  12879. ==18304== This conflicts with a previous write of size 8 by thread #17
  12880. ==18304== Locks held: 1, at address 0x9798D68
  12881. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  12882. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  12883. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  12884. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  12885. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  12886. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  12887. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12888. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12889. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12890. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12891. ==18304==  Address 0x963a0b8 is 0 bytes inside data symbol "max_size_su_block_find"
  12892. ==18304==
  12893. ==18304== ----------------------------------------------------------------
  12894. ==18304==
  12895. ==18304==  Lock at 0x92F9638 was first observed
  12896. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12897. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12898. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12899. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12900. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12901. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12902. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12903. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12904. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12905. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12906. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12907. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12908. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12909. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12910. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12911. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12912. ==18304==  Block was alloc'd by thread #27
  12913. ==18304==
  12914. ==18304==  Lock at 0x7D761A8 was first observed
  12915. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12916. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12917. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12918. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12919. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12920. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12921. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12922. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12923. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12924. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12925. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12926. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12927. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12928. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12929. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12930. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12931. ==18304==  Block was alloc'd by thread #19
  12932. ==18304==
  12933. ==18304== Possible data race during read of size 8 at 0x963A078 by thread #27
  12934. ==18304== Locks held: 1, at address 0x92F9638
  12935. ==18304==    at 0x9519AA0: su_block_find (su_alloc.c:306)
  12936. ==18304==    by 0x9519AA0: su_free (su_alloc.c:918)
  12937. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  12938. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  12939. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  12940. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  12941. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  12942. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  12943. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  12944. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  12945. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  12946. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  12947. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  12948. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  12949. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  12950. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  12951. ==18304==
  12952. ==18304== This conflicts with a previous write of size 8 by thread #19
  12953. ==18304== Locks held: 1, at address 0x7D761A8
  12954. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  12955. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  12956. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  12957. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  12958. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  12959. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  12960. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  12961. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  12962. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12963. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12964. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  12965. ==18304==
  12966. ==18304== ----------------------------------------------------------------
  12967. ==18304==
  12968. ==18304==  Lock at 0x92F9638 was first observed
  12969. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12970. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12971. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12972. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12973. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12974. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12975. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12976. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12977. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  12978. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12979. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12980. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  12981. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12982. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12983. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12984. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12985. ==18304==  Block was alloc'd by thread #27
  12986. ==18304==
  12987. ==18304==  Lock at 0x7D761A8 was first observed
  12988. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  12989. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  12990. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  12991. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  12992. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  12993. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  12994. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  12995. ==18304==    by 0x560E4CE: clone (clone.S:95)
  12996. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  12997. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  12998. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  12999. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13000. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13001. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13002. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13003. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13004. ==18304==  Block was alloc'd by thread #19
  13005. ==18304==
  13006. ==18304== Possible data race during read of size 8 at 0x963A058 by thread #27
  13007. ==18304== Locks held: 1, at address 0x92F9638
  13008. ==18304==    at 0x9519AB2: su_block_find (su_alloc.c:312)
  13009. ==18304==    by 0x9519AB2: su_free (su_alloc.c:918)
  13010. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  13011. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  13012. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  13013. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13014. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13015. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13016. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13017. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13018. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13019. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13020. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13021. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13022. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13023. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13024. ==18304==
  13025. ==18304== This conflicts with a previous write of size 8 by thread #19
  13026. ==18304== Locks held: 1, at address 0x7D761A8
  13027. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  13028. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  13029. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13030. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13031. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  13032. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  13033. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  13034. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  13035. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  13036. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13037. ==18304==  Address 0x963a058 is 0 bytes inside data symbol "su_block_find_collision"
  13038. ==18304==
  13039. ==18304== ----------------------------------------------------------------
  13040. ==18304==
  13041. ==18304==  Lock at 0x92F9638 was first observed
  13042. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13043. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13044. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13045. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13046. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13047. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13048. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13049. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13050. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  13051. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13052. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13053. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13054. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13055. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13056. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13057. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13058. ==18304==  Block was alloc'd by thread #27
  13059. ==18304==
  13060. ==18304==  Lock at 0x7D761A8 was first observed
  13061. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13062. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13063. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13064. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13065. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13066. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13067. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13068. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13069. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  13070. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13071. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13072. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13073. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13074. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13075. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13076. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13077. ==18304==  Block was alloc'd by thread #19
  13078. ==18304==
  13079. ==18304== Possible data race during read of size 8 at 0x963A0A8 by thread #27
  13080. ==18304== Locks held: 1, at address 0x92F9638
  13081. ==18304==    at 0x9519AB9: su_block_find (su_alloc.c:312)
  13082. ==18304==    by 0x9519AB9: su_free (su_alloc.c:918)
  13083. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  13084. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  13085. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  13086. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13087. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13088. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13089. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13090. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13091. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13092. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13093. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13094. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13095. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13096. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13097. ==18304==
  13098. ==18304== This conflicts with a previous write of size 8 by thread #19
  13099. ==18304== Locks held: 1, at address 0x7D761A8
  13100. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  13101. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  13102. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13103. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13104. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  13105. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  13106. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  13107. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  13108. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  13109. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13110. ==18304==  Address 0x963a0a8 is 0 bytes inside data symbol "su_block_find_collision_used"
  13111. ==18304==
  13112. ==18304== ----------------------------------------------------------------
  13113. ==18304==
  13114. ==18304==  Lock at 0x92F9638 was first observed
  13115. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13116. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13117. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13118. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13119. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13120. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13121. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13122. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13123. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  13124. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13125. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13126. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13127. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13128. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13129. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13130. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13131. ==18304==  Block was alloc'd by thread #27
  13132. ==18304==
  13133. ==18304==  Lock at 0x7D761A8 was first observed
  13134. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13135. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13136. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13137. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13138. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13139. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13140. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13141. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13142. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  13143. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13144. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13145. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13146. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13147. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13148. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13149. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13150. ==18304==  Block was alloc'd by thread #19
  13151. ==18304==
  13152. ==18304== Possible data race during read of size 8 at 0x963A070 by thread #27
  13153. ==18304== Locks held: 1, at address 0x92F9638
  13154. ==18304==    at 0x9519AC3: su_block_find (su_alloc.c:312)
  13155. ==18304==    by 0x9519AC3: su_free (su_alloc.c:918)
  13156. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  13157. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  13158. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  13159. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13160. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13161. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13162. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13163. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13164. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13165. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13166. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13167. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13168. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13169. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13170. ==18304==
  13171. ==18304== This conflicts with a previous write of size 8 by thread #19
  13172. ==18304== Locks held: 1, at address 0x7D761A8
  13173. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  13174. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  13175. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13176. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13177. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  13178. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  13179. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  13180. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  13181. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  13182. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13183. ==18304==  Address 0x963a070 is 0 bytes inside data symbol "su_block_find_collision_size"
  13184. ==18304==
  13185. ==18304== ----------------------------------------------------------------
  13186. ==18304==
  13187. ==18304==  Lock at 0x92F9638 was first observed
  13188. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13189. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13190. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13191. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13192. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13193. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13194. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13195. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13196. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  13197. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13198. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13199. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13200. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13201. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13202. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13203. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13204. ==18304==  Block was alloc'd by thread #27
  13205. ==18304==
  13206. ==18304==  Lock at 0x7D761A8 was first observed
  13207. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13208. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13209. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13210. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13211. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13212. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13213. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13214. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13215. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  13216. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13217. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13218. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13219. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13220. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13221. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13222. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13223. ==18304==  Block was alloc'd by thread #19
  13224. ==18304==
  13225. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #27
  13226. ==18304== Locks held: 1, at address 0x92F9638
  13227. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  13228. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  13229. ==18304==    by 0x94A8459: leg_route (nta.c:5234)
  13230. ==18304==    by 0x94D2A38: nua_dialog_uas_route (nua_dialog.c:96)
  13231. ==18304==    by 0x94DED91: nua_stack_process_request (nua_server.c:233)
  13232. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13233. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13234. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13235. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13236. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13237. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13238. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13239. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13240. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13241. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13242. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13243. ==18304==
  13244. ==18304== This conflicts with a previous write of size 8 by thread #19
  13245. ==18304== Locks held: 1, at address 0x7D761A8
  13246. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  13247. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  13248. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13249. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13250. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  13251. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  13252. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  13253. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  13254. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  13255. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13256. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  13257. ==18304==
  13258. ==18304== ----------------------------------------------------------------
  13259. ==18304==
  13260. ==18304==  Lock at 0x92F9638 was first observed
  13261. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13262. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13263. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13264. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13265. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13266. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13267. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13268. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13269. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  13270. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13271. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13272. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13273. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13274. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13275. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13276. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13277. ==18304==  Block was alloc'd by thread #27
  13278. ==18304==
  13279. ==18304==  Lock at 0x129506C0 was first observed
  13280. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13281. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  13282. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13283. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13284. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13285. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13286. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13287. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13288. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13289. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13290. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13291. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13292. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13293. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13294. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13295. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  13296. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13297. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  13298. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13299. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13300. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13301. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13302. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13303. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13304. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13305. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13306. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13307. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13308. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13309. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13310. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13311. ==18304==  Block was alloc'd by thread #27
  13312. ==18304==
  13313. ==18304==  Lock at 0x7D761A8 was first observed
  13314. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13315. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13316. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13317. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13318. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13319. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13320. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13321. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13322. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  13323. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13324. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13325. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13326. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13327. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13328. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13329. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13330. ==18304==  Block was alloc'd by thread #19
  13331. ==18304==
  13332. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #27
  13333. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  13334. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  13335. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  13336. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  13337. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  13338. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13339. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13340. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13341. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13342. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13343. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13344. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13345. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13346. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13347. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13348. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13349. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13350. ==18304==
  13351. ==18304== This conflicts with a previous write of size 8 by thread #19
  13352. ==18304== Locks held: 1, at address 0x7D761A8
  13353. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  13354. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  13355. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13356. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13357. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  13358. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  13359. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  13360. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  13361. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  13362. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13363. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  13364. ==18304==
  13365. ==18304== ----------------------------------------------------------------
  13366. ==18304==
  13367. ==18304==  Lock at 0x92F9638 was first observed
  13368. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13369. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13370. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13371. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13372. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13373. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13374. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13375. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13376. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  13377. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13378. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13379. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13380. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13381. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13382. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13383. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13384. ==18304==  Block was alloc'd by thread #27
  13385. ==18304==
  13386. ==18304==  Lock at 0x129506C0 was first observed
  13387. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13388. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  13389. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13390. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13391. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13392. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13393. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13394. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13395. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13396. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13397. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13398. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13399. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13400. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13401. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13402. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  13403. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13404. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  13405. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13406. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13407. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13408. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13409. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13410. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13411. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13412. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13413. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13414. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13415. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13416. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13417. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13418. ==18304==  Block was alloc'd by thread #27
  13419. ==18304==
  13420. ==18304==  Lock at 0x7D761A8 was first observed
  13421. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13422. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13423. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13424. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13425. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13426. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13427. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13428. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13429. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  13430. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13431. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13432. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13433. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13434. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13435. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13436. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13437. ==18304==  Block was alloc'd by thread #19
  13438. ==18304==
  13439. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #27
  13440. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  13441. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  13442. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  13443. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  13444. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  13445. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13446. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13447. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13448. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13449. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13450. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13451. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13452. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13453. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13454. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13455. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13456. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13457. ==18304==
  13458. ==18304== This conflicts with a previous write of size 8 by thread #19
  13459. ==18304== Locks held: 1, at address 0x7D761A8
  13460. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  13461. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  13462. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13463. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13464. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  13465. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  13466. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  13467. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  13468. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  13469. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13470. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  13471. ==18304==
  13472. ==18304== ----------------------------------------------------------------
  13473. ==18304==
  13474. ==18304==  Lock at 0x92F9638 was first observed
  13475. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13476. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13477. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13478. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13479. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13480. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13481. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13482. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13483. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  13484. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13485. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13486. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13487. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13488. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13489. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13490. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13491. ==18304==  Block was alloc'd by thread #27
  13492. ==18304==
  13493. ==18304==  Lock at 0x129506C0 was first observed
  13494. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13495. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  13496. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13497. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13498. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13499. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13500. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13501. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13502. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13503. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13504. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13505. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13506. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13507. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13508. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13509. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  13510. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13511. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  13512. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13513. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13514. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13515. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13516. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13517. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13518. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13519. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13520. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13521. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13522. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13523. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13524. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13525. ==18304==  Block was alloc'd by thread #27
  13526. ==18304==
  13527. ==18304==  Lock at 0x7D761A8 was first observed
  13528. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13529. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13530. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13531. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13532. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13533. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13534. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13535. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13536. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  13537. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13538. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13539. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13540. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13541. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13542. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13543. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13544. ==18304==  Block was alloc'd by thread #19
  13545. ==18304==
  13546. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #27
  13547. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  13548. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  13549. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  13550. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  13551. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  13552. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13553. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13554. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13555. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13556. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13557. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13558. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13559. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13560. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13561. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13562. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13563. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13564. ==18304==
  13565. ==18304== This conflicts with a previous write of size 8 by thread #19
  13566. ==18304== Locks held: 1, at address 0x7D761A8
  13567. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  13568. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  13569. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13570. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13571. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  13572. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  13573. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  13574. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  13575. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  13576. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13577. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  13578. ==18304==
  13579. ==18304== ----------------------------------------------------------------
  13580. ==18304==
  13581. ==18304==  Lock at 0x92F9638 was first observed
  13582. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13583. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13584. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13585. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13586. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13587. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13588. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13589. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13590. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  13591. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13592. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13593. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13594. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13595. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13596. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13597. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13598. ==18304==  Block was alloc'd by thread #27
  13599. ==18304==
  13600. ==18304==  Lock at 0x129506C0 was first observed
  13601. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13602. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  13603. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13604. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13605. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13606. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13607. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13608. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13609. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13610. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13611. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13612. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13613. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13614. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13615. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13616. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  13617. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13618. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  13619. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13620. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13621. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13622. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13623. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13624. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13625. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13626. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13627. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13628. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13629. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13630. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13631. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13632. ==18304==  Block was alloc'd by thread #27
  13633. ==18304==
  13634. ==18304==  Lock at 0x7D761A8 was first observed
  13635. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13636. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13637. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13638. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13639. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13640. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13641. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13642. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13643. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  13644. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13645. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13646. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13647. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13648. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13649. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13650. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13651. ==18304==  Block was alloc'd by thread #19
  13652. ==18304==
  13653. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #27
  13654. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  13655. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  13656. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  13657. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  13658. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  13659. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13660. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13661. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13662. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13663. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13664. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13665. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13666. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13667. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13668. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13669. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13670. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13671. ==18304==
  13672. ==18304== This conflicts with a previous write of size 8 by thread #19
  13673. ==18304== Locks held: 1, at address 0x7D761A8
  13674. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  13675. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  13676. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13677. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13678. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  13679. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  13680. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  13681. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  13682. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  13683. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13684. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  13685. ==18304==
  13686. ==18304== ----------------------------------------------------------------
  13687. ==18304==
  13688. ==18304==  Lock at 0x92F9638 was first observed
  13689. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13690. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13691. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13692. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13693. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13694. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13695. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13696. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13697. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  13698. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13699. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13700. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13701. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13702. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13703. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13704. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13705. ==18304==  Block was alloc'd by thread #27
  13706. ==18304==
  13707. ==18304==  Lock at 0x129506C0 was first observed
  13708. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13709. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  13710. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13711. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13712. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13713. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13714. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13715. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13716. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13717. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13718. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13719. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13720. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13721. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13722. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13723. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  13724. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13725. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  13726. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13727. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13728. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13729. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13730. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13731. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13732. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13733. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13734. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13735. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13736. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13737. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13738. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13739. ==18304==  Block was alloc'd by thread #27
  13740. ==18304==
  13741. ==18304==  Lock at 0x7D761A8 was first observed
  13742. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13743. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13744. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13745. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13746. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13747. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13748. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13749. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13750. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  13751. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13752. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13753. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13754. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13755. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13756. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13757. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13758. ==18304==  Block was alloc'd by thread #19
  13759. ==18304==
  13760. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #27
  13761. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  13762. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  13763. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  13764. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  13765. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  13766. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13767. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13768. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13769. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13770. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13771. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13772. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13773. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13774. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13775. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13776. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13777. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13778. ==18304==
  13779. ==18304== This conflicts with a previous write of size 8 by thread #19
  13780. ==18304== Locks held: 1, at address 0x7D761A8
  13781. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  13782. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  13783. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13784. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13785. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  13786. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  13787. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  13788. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  13789. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  13790. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13791. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  13792. ==18304==
  13793. ==18304== ----------------------------------------------------------------
  13794. ==18304==
  13795. ==18304==  Lock at 0x92F9638 was first observed
  13796. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13797. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13798. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13799. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13800. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13801. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13802. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13803. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13804. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  13805. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13806. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13807. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13808. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13809. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13810. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13811. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13812. ==18304==  Block was alloc'd by thread #27
  13813. ==18304==
  13814. ==18304==  Lock at 0x129506C0 was first observed
  13815. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13816. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  13817. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13818. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13819. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13820. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13821. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13822. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13823. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13824. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13825. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13826. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13827. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13828. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13829. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13830. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  13831. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13832. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  13833. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13834. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13835. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13836. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13837. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13838. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13839. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13840. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13841. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13842. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13843. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13844. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13845. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13846. ==18304==  Block was alloc'd by thread #27
  13847. ==18304==
  13848. ==18304==  Lock at 0x7D761A8 was first observed
  13849. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13850. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13851. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13852. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13853. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13854. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13855. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13856. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13857. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  13858. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13859. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13860. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13861. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13862. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13863. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13864. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13865. ==18304==  Block was alloc'd by thread #19
  13866. ==18304==
  13867. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #27
  13868. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  13869. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  13870. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  13871. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  13872. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  13873. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13874. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13875. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13876. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13877. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13878. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13879. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13880. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13881. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13882. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13883. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13884. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13885. ==18304==
  13886. ==18304== This conflicts with a previous write of size 8 by thread #19
  13887. ==18304== Locks held: 1, at address 0x7D761A8
  13888. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  13889. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  13890. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13891. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13892. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  13893. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  13894. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  13895. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  13896. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  13897. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13898. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  13899. ==18304==
  13900. ==18304== ----------------------------------------------------------------
  13901. ==18304==
  13902. ==18304==  Lock at 0x92F9638 was first observed
  13903. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13904. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13905. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13906. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13907. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13908. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13909. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13910. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13911. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  13912. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13913. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13914. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13915. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13916. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13917. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13918. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13919. ==18304==  Block was alloc'd by thread #27
  13920. ==18304==
  13921. ==18304==  Lock at 0x129506C0 was first observed
  13922. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13923. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  13924. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13925. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13926. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13927. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13928. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13929. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13930. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13931. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13932. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13933. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13934. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13935. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13936. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13937. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  13938. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13939. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  13940. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  13941. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  13942. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  13943. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  13944. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13945. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13946. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13947. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13948. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13949. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13950. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13951. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13952. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13953. ==18304==  Block was alloc'd by thread #27
  13954. ==18304==
  13955. ==18304==  Lock at 0x9798D68 was first observed
  13956. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  13957. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  13958. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  13959. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  13960. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13961. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13962. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13963. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13964. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  13965. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  13966. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  13967. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  13968. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  13969. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  13970. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  13971. ==18304==    by 0x560E4CE: clone (clone.S:95)
  13972. ==18304==  Block was alloc'd by thread #17
  13973. ==18304==
  13974. ==18304== Possible data race during read of size 8 at 0x963A0B8 by thread #27
  13975. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  13976. ==18304==    at 0x9519A90: su_block_find (su_alloc.c:304)
  13977. ==18304==    by 0x9519A90: su_free (su_alloc.c:918)
  13978. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  13979. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  13980. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  13981. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  13982. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  13983. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  13984. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  13985. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  13986. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  13987. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  13988. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  13989. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  13990. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  13991. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  13992. ==18304==
  13993. ==18304== This conflicts with a previous write of size 8 by thread #17
  13994. ==18304== Locks held: 1, at address 0x9798D68
  13995. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  13996. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  13997. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  13998. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  13999. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  14000. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  14001. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  14002. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  14003. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  14004. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14005. ==18304==  Address 0x963a0b8 is 0 bytes inside data symbol "max_size_su_block_find"
  14006. ==18304==
  14007. ==18304== ----------------------------------------------------------------
  14008. ==18304==
  14009. ==18304==  Lock at 0x92F9638 was first observed
  14010. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14011. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14012. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14013. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14014. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14015. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14016. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14017. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14018. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  14019. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14020. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14021. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14022. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14023. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14024. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14025. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14026. ==18304==  Block was alloc'd by thread #27
  14027. ==18304==
  14028. ==18304==  Lock at 0x129506C0 was first observed
  14029. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14030. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  14031. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14032. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14033. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14034. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14035. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14036. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14037. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14038. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14039. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14040. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14041. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14042. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14043. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14044. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  14045. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14046. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  14047. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14048. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14049. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14050. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14051. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14052. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14053. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14054. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14055. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14056. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14057. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14058. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14059. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14060. ==18304==  Block was alloc'd by thread #27
  14061. ==18304==
  14062. ==18304==  Lock at 0x7D761A8 was first observed
  14063. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14064. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14065. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14066. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14067. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14068. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14069. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14070. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14071. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  14072. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14073. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14074. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14075. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14076. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14077. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14078. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14079. ==18304==  Block was alloc'd by thread #19
  14080. ==18304==
  14081. ==18304== Possible data race during read of size 8 at 0x963A078 by thread #27
  14082. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  14083. ==18304==    at 0x9519AA0: su_block_find (su_alloc.c:306)
  14084. ==18304==    by 0x9519AA0: su_free (su_alloc.c:918)
  14085. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  14086. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  14087. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14088. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14089. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14090. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14091. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14092. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14093. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14094. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14095. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14096. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  14097. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  14098. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14099. ==18304==
  14100. ==18304== This conflicts with a previous write of size 8 by thread #19
  14101. ==18304== Locks held: 1, at address 0x7D761A8
  14102. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  14103. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  14104. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  14105. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  14106. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  14107. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  14108. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  14109. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14110. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14111. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14112. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  14113. ==18304==
  14114. ==18304== ----------------------------------------------------------------
  14115. ==18304==
  14116. ==18304==  Lock at 0x92F9638 was first observed
  14117. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14118. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14119. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14120. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14121. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14122. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14123. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14124. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14125. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  14126. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14127. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14128. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14129. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14130. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14131. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14132. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14133. ==18304==  Block was alloc'd by thread #27
  14134. ==18304==
  14135. ==18304==  Lock at 0x129506C0 was first observed
  14136. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14137. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  14138. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14139. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14140. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14141. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14142. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14143. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14144. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14145. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14146. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14147. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14148. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14149. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14150. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14151. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  14152. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14153. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  14154. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14155. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14156. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14157. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14158. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14159. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14160. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14161. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14162. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14163. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14164. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14165. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14166. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14167. ==18304==  Block was alloc'd by thread #27
  14168. ==18304==
  14169. ==18304==  Lock at 0x7D761A8 was first observed
  14170. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14171. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14172. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14173. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14174. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14175. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14176. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14177. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14178. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  14179. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14180. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14181. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14182. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14183. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14184. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14185. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14186. ==18304==  Block was alloc'd by thread #19
  14187. ==18304==
  14188. ==18304== Possible data race during read of size 8 at 0x963A058 by thread #27
  14189. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  14190. ==18304==    at 0x9519AB2: su_block_find (su_alloc.c:312)
  14191. ==18304==    by 0x9519AB2: su_free (su_alloc.c:918)
  14192. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  14193. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  14194. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14195. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14196. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14197. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14198. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14199. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14200. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14201. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14202. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14203. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  14204. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  14205. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14206. ==18304==
  14207. ==18304== This conflicts with a previous write of size 8 by thread #19
  14208. ==18304== Locks held: 1, at address 0x7D761A8
  14209. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  14210. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  14211. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  14212. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  14213. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  14214. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  14215. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  14216. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  14217. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  14218. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14219. ==18304==  Address 0x963a058 is 0 bytes inside data symbol "su_block_find_collision"
  14220. ==18304==
  14221. ==18304== ----------------------------------------------------------------
  14222. ==18304==
  14223. ==18304==  Lock at 0x92F9638 was first observed
  14224. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14225. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14226. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14227. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14228. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14229. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14230. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14231. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14232. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  14233. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14234. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14235. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14236. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14237. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14238. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14239. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14240. ==18304==  Block was alloc'd by thread #27
  14241. ==18304==
  14242. ==18304==  Lock at 0x129506C0 was first observed
  14243. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14244. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  14245. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14246. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14247. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14248. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14249. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14250. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14251. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14252. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14253. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14254. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14255. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14256. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14257. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14258. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  14259. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14260. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  14261. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14262. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14263. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14264. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14265. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14266. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14267. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14268. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14269. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14270. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14271. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14272. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14273. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14274. ==18304==  Block was alloc'd by thread #27
  14275. ==18304==
  14276. ==18304==  Lock at 0x7D761A8 was first observed
  14277. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14278. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14279. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14280. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14281. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14282. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14283. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14284. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14285. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  14286. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14287. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14288. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14289. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14290. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14291. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14292. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14293. ==18304==  Block was alloc'd by thread #19
  14294. ==18304==
  14295. ==18304== Possible data race during read of size 8 at 0x963A0A8 by thread #27
  14296. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  14297. ==18304==    at 0x9519AB9: su_block_find (su_alloc.c:312)
  14298. ==18304==    by 0x9519AB9: su_free (su_alloc.c:918)
  14299. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  14300. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  14301. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14302. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14303. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14304. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14305. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14306. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14307. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14308. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14309. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14310. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  14311. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  14312. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14313. ==18304==
  14314. ==18304== This conflicts with a previous write of size 8 by thread #19
  14315. ==18304== Locks held: 1, at address 0x7D761A8
  14316. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  14317. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  14318. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  14319. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  14320. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  14321. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  14322. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  14323. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  14324. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  14325. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14326. ==18304==  Address 0x963a0a8 is 0 bytes inside data symbol "su_block_find_collision_used"
  14327. ==18304==
  14328. ==18304== ----------------------------------------------------------------
  14329. ==18304==
  14330. ==18304==  Lock at 0x92F9638 was first observed
  14331. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14332. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14333. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14334. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14335. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14336. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14337. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14338. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14339. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  14340. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14341. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14342. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14343. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14344. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14345. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14346. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14347. ==18304==  Block was alloc'd by thread #27
  14348. ==18304==
  14349. ==18304==  Lock at 0x129506C0 was first observed
  14350. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14351. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  14352. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14353. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14354. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14355. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14356. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14357. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14358. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14359. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14360. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14361. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14362. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14363. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14364. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14365. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  14366. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14367. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  14368. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14369. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14370. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14371. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14372. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14373. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14374. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14375. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14376. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14377. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14378. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14379. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14380. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14381. ==18304==  Block was alloc'd by thread #27
  14382. ==18304==
  14383. ==18304==  Lock at 0x7D761A8 was first observed
  14384. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14385. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14386. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14387. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14388. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14389. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14390. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14391. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14392. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  14393. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14394. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14395. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14396. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14397. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14398. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14399. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14400. ==18304==  Block was alloc'd by thread #19
  14401. ==18304==
  14402. ==18304== Possible data race during read of size 8 at 0x963A070 by thread #27
  14403. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  14404. ==18304==    at 0x9519AC3: su_block_find (su_alloc.c:312)
  14405. ==18304==    by 0x9519AC3: su_free (su_alloc.c:918)
  14406. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  14407. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  14408. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14409. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14410. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14411. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14412. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14413. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14414. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14415. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14416. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14417. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  14418. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  14419. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14420. ==18304==
  14421. ==18304== This conflicts with a previous write of size 8 by thread #19
  14422. ==18304== Locks held: 1, at address 0x7D761A8
  14423. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  14424. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  14425. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  14426. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  14427. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  14428. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  14429. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  14430. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  14431. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  14432. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14433. ==18304==  Address 0x963a070 is 0 bytes inside data symbol "su_block_find_collision_size"
  14434. ==18304==
  14435. ==18304== ----------------------------------------------------------------
  14436. ==18304==
  14437. ==18304==  Lock at 0x92F9638 was first observed
  14438. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14439. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14440. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14441. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14442. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14443. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14444. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14445. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14446. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  14447. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14448. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14449. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14450. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14451. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14452. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14453. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14454. ==18304==  Block was alloc'd by thread #27
  14455. ==18304==
  14456. ==18304==  Lock at 0x129506C0 was first observed
  14457. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14458. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  14459. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14460. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14461. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14462. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14463. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14464. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14465. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14466. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14467. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14468. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14469. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14470. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14471. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14472. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  14473. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14474. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  14475. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14476. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14477. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14478. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14479. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14480. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14481. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14482. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14483. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14484. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14485. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14486. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14487. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14488. ==18304==  Block was alloc'd by thread #27
  14489. ==18304==
  14490. ==18304==  Lock at 0x7D761A8 was first observed
  14491. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14492. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14493. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14494. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14495. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14496. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14497. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14498. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14499. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  14500. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14501. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14502. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14503. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14504. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14505. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14506. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14507. ==18304==  Block was alloc'd by thread #19
  14508. ==18304==
  14509. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #27
  14510. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  14511. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  14512. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  14513. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  14514. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  14515. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14516. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14517. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14518. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14519. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14520. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14521. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14522. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14523. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14524. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  14525. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  14526. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14527. ==18304==
  14528. ==18304== This conflicts with a previous write of size 8 by thread #19
  14529. ==18304== Locks held: 1, at address 0x7D761A8
  14530. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  14531. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  14532. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  14533. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  14534. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  14535. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  14536. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  14537. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  14538. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  14539. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14540. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  14541. ==18304==
  14542. ==18304== ----------------------------------------------------------------
  14543. ==18304==
  14544. ==18304==  Lock at 0x92F9638 was first observed
  14545. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14546. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14547. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14548. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14549. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14550. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14551. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14552. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14553. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  14554. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14555. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14556. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14557. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14558. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14559. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14560. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14561. ==18304==  Block was alloc'd by thread #27
  14562. ==18304==
  14563. ==18304==  Lock at 0x129506C0 was first observed
  14564. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14565. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  14566. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14567. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14568. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14569. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14570. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14571. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14572. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14573. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14574. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14575. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14576. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14577. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14578. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14579. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  14580. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14581. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  14582. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14583. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14584. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14585. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14586. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14587. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14588. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14589. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14590. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14591. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14592. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14593. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14594. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14595. ==18304==  Block was alloc'd by thread #27
  14596. ==18304==
  14597. ==18304==  Lock at 0x7D761A8 was first observed
  14598. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14599. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14600. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14601. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14602. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14603. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14604. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14605. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14606. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  14607. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14608. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14609. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14610. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14611. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14612. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14613. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14614. ==18304==  Block was alloc'd by thread #19
  14615. ==18304==
  14616. ==18304== Possible data race during write of size 8 at 0x963A090 by thread #27
  14617. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  14618. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  14619. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  14620. ==18304==    by 0x94D2D2B: nua_dialog_store_peer_info (nua_dialog.c:188)
  14621. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  14622. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14623. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14624. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14625. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14626. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14627. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14628. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14629. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14630. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14631. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  14632. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  14633. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14634. ==18304==
  14635. ==18304== This conflicts with a previous write of size 8 by thread #19
  14636. ==18304== Locks held: 1, at address 0x7D761A8
  14637. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  14638. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  14639. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  14640. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  14641. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  14642. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  14643. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  14644. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  14645. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  14646. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14647. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  14648. ==18304==
  14649. ==18304== ----------------------------------------------------------------
  14650. ==18304==
  14651. ==18304==  Lock at 0x92F9638 was first observed
  14652. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14653. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14654. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14655. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14656. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14657. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14658. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14659. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14660. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  14661. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14662. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14663. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14664. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14665. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14666. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14667. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14668. ==18304==  Block was alloc'd by thread #27
  14669. ==18304==
  14670. ==18304==  Lock at 0x129506C0 was first observed
  14671. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14672. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  14673. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14674. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14675. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14676. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14677. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14678. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14679. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14680. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14681. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14682. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14683. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14684. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14685. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14686. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  14687. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14688. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  14689. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14690. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14691. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14692. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14693. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14694. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14695. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14696. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14697. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14698. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14699. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14700. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14701. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14702. ==18304==  Block was alloc'd by thread #27
  14703. ==18304==
  14704. ==18304==  Lock at 0x7D761A8 was first observed
  14705. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14706. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14707. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14708. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14709. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14710. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14711. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14712. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14713. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  14714. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14715. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14716. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14717. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14718. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14719. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14720. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14721. ==18304==  Block was alloc'd by thread #19
  14722. ==18304==
  14723. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #27
  14724. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  14725. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  14726. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  14727. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  14728. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  14729. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14730. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14731. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14732. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14733. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14734. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14735. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14736. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14737. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14738. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  14739. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  14740. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14741. ==18304==
  14742. ==18304== This conflicts with a previous write of size 8 by thread #19
  14743. ==18304== Locks held: 1, at address 0x7D761A8
  14744. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  14745. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  14746. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  14747. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  14748. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  14749. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  14750. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  14751. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  14752. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  14753. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14754. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  14755. ==18304==
  14756. ==18304== ----------------------------------------------------------------
  14757. ==18304==
  14758. ==18304==  Lock at 0x92F9638 was first observed
  14759. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14760. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14761. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14762. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14763. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14764. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14765. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14766. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14767. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  14768. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14769. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14770. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14771. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14772. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14773. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14774. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14775. ==18304==  Block was alloc'd by thread #27
  14776. ==18304==
  14777. ==18304==  Lock at 0x129506C0 was first observed
  14778. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14779. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  14780. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14781. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14782. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14783. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14784. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14785. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14786. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14787. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14788. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14789. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14790. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14791. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14792. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14793. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  14794. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14795. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  14796. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14797. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14798. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14799. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14800. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14801. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14802. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14803. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14804. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14805. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14806. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14807. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14808. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14809. ==18304==  Block was alloc'd by thread #27
  14810. ==18304==
  14811. ==18304==  Lock at 0x7D761A8 was first observed
  14812. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14813. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14814. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14815. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14816. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14817. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14818. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14819. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14820. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  14821. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14822. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14823. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14824. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14825. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14826. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14827. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14828. ==18304==  Block was alloc'd by thread #19
  14829. ==18304==
  14830. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #27
  14831. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  14832. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  14833. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  14834. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  14835. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  14836. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14837. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14838. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14839. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14840. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14841. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14842. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14843. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14844. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14845. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  14846. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  14847. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14848. ==18304==
  14849. ==18304== This conflicts with a previous write of size 8 by thread #19
  14850. ==18304== Locks held: 1, at address 0x7D761A8
  14851. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  14852. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  14853. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  14854. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  14855. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  14856. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  14857. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  14858. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  14859. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  14860. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14861. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  14862. ==18304==
  14863. ==18304== ----------------------------------------------------------------
  14864. ==18304==
  14865. ==18304==  Lock at 0x92F9638 was first observed
  14866. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14867. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14868. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14869. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14870. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14871. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14872. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14873. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14874. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  14875. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14876. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14877. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14878. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14879. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14880. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14881. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14882. ==18304==  Block was alloc'd by thread #27
  14883. ==18304==
  14884. ==18304==  Lock at 0x129506C0 was first observed
  14885. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14886. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  14887. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14888. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14889. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14890. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14891. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14892. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14893. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14894. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14895. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14896. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14897. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14898. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14899. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14900. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  14901. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14902. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  14903. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14904. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14905. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14906. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14907. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14908. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14909. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14910. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14911. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14912. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14913. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14914. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14915. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14916. ==18304==  Block was alloc'd by thread #27
  14917. ==18304==
  14918. ==18304==  Lock at 0x7D761A8 was first observed
  14919. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14920. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14921. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14922. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14923. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14924. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14925. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14926. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14927. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  14928. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14929. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14930. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14931. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14932. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14933. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14934. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14935. ==18304==  Block was alloc'd by thread #19
  14936. ==18304==
  14937. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #27
  14938. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  14939. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  14940. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  14941. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  14942. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  14943. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14944. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  14945. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  14946. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  14947. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  14948. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  14949. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  14950. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  14951. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  14952. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  14953. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  14954. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14955. ==18304==
  14956. ==18304== This conflicts with a previous write of size 8 by thread #19
  14957. ==18304== Locks held: 1, at address 0x7D761A8
  14958. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  14959. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  14960. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  14961. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  14962. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  14963. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  14964. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  14965. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  14966. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  14967. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  14968. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  14969. ==18304==
  14970. ==18304== ----------------------------------------------------------------
  14971. ==18304==
  14972. ==18304==  Lock at 0x92F9638 was first observed
  14973. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14974. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  14975. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  14976. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  14977. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14978. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14979. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14980. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14981. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  14982. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  14983. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  14984. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  14985. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  14986. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  14987. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  14988. ==18304==    by 0x560E4CE: clone (clone.S:95)
  14989. ==18304==  Block was alloc'd by thread #27
  14990. ==18304==
  14991. ==18304==  Lock at 0x129506C0 was first observed
  14992. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  14993. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  14994. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  14995. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  14996. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  14997. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  14998. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  14999. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15000. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15001. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15002. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15003. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15004. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15005. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15006. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15007. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  15008. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15009. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  15010. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15011. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15012. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15013. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15014. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15015. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15016. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15017. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15018. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15019. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15020. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15021. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15022. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15023. ==18304==  Block was alloc'd by thread #27
  15024. ==18304==
  15025. ==18304==  Lock at 0x7D761A8 was first observed
  15026. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15027. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15028. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15029. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15030. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15031. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15032. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15033. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15034. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  15035. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15036. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15037. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15038. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15039. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15040. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15041. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15042. ==18304==  Block was alloc'd by thread #19
  15043. ==18304==
  15044. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #27
  15045. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  15046. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  15047. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  15048. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  15049. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  15050. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15051. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15052. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15053. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15054. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15055. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15056. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15057. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15058. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15059. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  15060. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  15061. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15062. ==18304==
  15063. ==18304== This conflicts with a previous write of size 8 by thread #19
  15064. ==18304== Locks held: 1, at address 0x7D761A8
  15065. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  15066. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  15067. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  15068. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  15069. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  15070. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  15071. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  15072. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  15073. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  15074. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15075. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  15076. ==18304==
  15077. ==18304== ----------------------------------------------------------------
  15078. ==18304==
  15079. ==18304==  Lock at 0x92F9638 was first observed
  15080. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15081. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15082. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15083. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15084. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15085. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15086. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15087. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15088. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  15089. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15090. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15091. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15092. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15093. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15094. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15095. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15096. ==18304==  Block was alloc'd by thread #27
  15097. ==18304==
  15098. ==18304==  Lock at 0x129506C0 was first observed
  15099. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15100. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  15101. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15102. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15103. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15104. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15105. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15106. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15107. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15108. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15109. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15110. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15111. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15112. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15113. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15114. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  15115. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15116. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  15117. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15118. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15119. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15120. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15121. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15122. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15123. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15124. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15125. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15126. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15127. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15128. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15129. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15130. ==18304==  Block was alloc'd by thread #27
  15131. ==18304==
  15132. ==18304==  Lock at 0x7D761A8 was first observed
  15133. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15134. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15135. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15136. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15137. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15138. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15139. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15140. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15141. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  15142. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15143. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15144. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15145. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15146. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15147. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15148. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15149. ==18304==  Block was alloc'd by thread #19
  15150. ==18304==
  15151. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #27
  15152. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  15153. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  15154. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  15155. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  15156. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  15157. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15158. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15159. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15160. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15161. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15162. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15163. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15164. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15165. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15166. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  15167. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  15168. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15169. ==18304==
  15170. ==18304== This conflicts with a previous write of size 8 by thread #19
  15171. ==18304== Locks held: 1, at address 0x7D761A8
  15172. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  15173. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  15174. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  15175. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  15176. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  15177. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  15178. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  15179. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  15180. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  15181. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15182. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  15183. ==18304==
  15184. ==18304== ----------------------------------------------------------------
  15185. ==18304==
  15186. ==18304==  Lock at 0x92F9638 was first observed
  15187. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15188. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15189. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15190. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15191. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15192. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15193. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15194. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15195. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  15196. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15197. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15198. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15199. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15200. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15201. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15202. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15203. ==18304==  Block was alloc'd by thread #27
  15204. ==18304==
  15205. ==18304==  Lock at 0x129506C0 was first observed
  15206. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15207. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  15208. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15209. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15210. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15211. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15212. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15213. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15214. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15215. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15216. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15217. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15218. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15219. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15220. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15221. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  15222. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15223. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  15224. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15225. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15226. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15227. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15228. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15229. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15230. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15231. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15232. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15233. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15234. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15235. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15236. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15237. ==18304==  Block was alloc'd by thread #27
  15238. ==18304==
  15239. ==18304==  Lock at 0x7D761A8 was first observed
  15240. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15241. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15242. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15243. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15244. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15245. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15246. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15247. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15248. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  15249. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15250. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15251. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15252. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15253. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15254. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15255. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15256. ==18304==  Block was alloc'd by thread #19
  15257. ==18304==
  15258. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #27
  15259. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  15260. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  15261. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  15262. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  15263. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  15264. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15265. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15266. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15267. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15268. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15269. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15270. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15271. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15272. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15273. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  15274. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  15275. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15276. ==18304==
  15277. ==18304== This conflicts with a previous write of size 8 by thread #19
  15278. ==18304== Locks held: 1, at address 0x7D761A8
  15279. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  15280. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  15281. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  15282. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  15283. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  15284. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  15285. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  15286. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  15287. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  15288. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15289. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  15290. ==18304==
  15291. ==18304== ----------------------------------------------------------------
  15292. ==18304==
  15293. ==18304==  Lock at 0x92F9638 was first observed
  15294. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15295. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15296. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15297. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15298. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15299. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15300. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15301. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15302. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  15303. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15304. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15305. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15306. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15307. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15308. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15309. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15310. ==18304==  Block was alloc'd by thread #27
  15311. ==18304==
  15312. ==18304==  Lock at 0x129506C0 was first observed
  15313. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15314. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  15315. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15316. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15317. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15318. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15319. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15320. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15321. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15322. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15323. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15324. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15325. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15326. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15327. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15328. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  15329. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15330. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  15331. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15332. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15333. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15334. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15335. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15336. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15337. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15338. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15339. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15340. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15341. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15342. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15343. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15344. ==18304==  Block was alloc'd by thread #27
  15345. ==18304==
  15346. ==18304==  Lock at 0x9798D68 was first observed
  15347. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15348. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15349. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15350. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15351. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15352. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15353. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15354. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15355. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  15356. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15357. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15358. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15359. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15360. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15361. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15362. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15363. ==18304==  Block was alloc'd by thread #17
  15364. ==18304==
  15365. ==18304== Possible data race during read of size 8 at 0x963A0B8 by thread #27
  15366. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  15367. ==18304==    at 0x9519A90: su_block_find (su_alloc.c:304)
  15368. ==18304==    by 0x9519A90: su_free (su_alloc.c:918)
  15369. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  15370. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  15371. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15372. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15373. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15374. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15375. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15376. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15377. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15378. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15379. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15380. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  15381. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  15382. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15383. ==18304==
  15384. ==18304== This conflicts with a previous write of size 8 by thread #17
  15385. ==18304== Locks held: 1, at address 0x9798D68
  15386. ==18304==    at 0x9519A99: su_block_find (su_alloc.c:305)
  15387. ==18304==    by 0x9519A99: su_free (su_alloc.c:918)
  15388. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  15389. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  15390. ==18304==    by 0x94D6674: nhp_set_tags (nua_params.c:916)
  15391. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  15392. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  15393. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  15394. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  15395. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15396. ==18304==  Address 0x963a0b8 is 0 bytes inside data symbol "max_size_su_block_find"
  15397. ==18304==
  15398. ==18304== ----------------------------------------------------------------
  15399. ==18304==
  15400. ==18304==  Lock at 0x92F9638 was first observed
  15401. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15402. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15403. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15404. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15405. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15406. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15407. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15408. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15409. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  15410. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15411. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15412. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15413. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15414. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15415. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15416. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15417. ==18304==  Block was alloc'd by thread #27
  15418. ==18304==
  15419. ==18304==  Lock at 0x129506C0 was first observed
  15420. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15421. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  15422. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15423. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15424. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15425. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15426. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15427. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15428. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15429. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15430. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15431. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15432. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15433. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15434. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15435. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  15436. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15437. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  15438. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15439. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15440. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15441. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15442. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15443. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15444. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15445. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15446. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15447. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15448. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15449. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15450. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15451. ==18304==  Block was alloc'd by thread #27
  15452. ==18304==
  15453. ==18304==  Lock at 0x7D761A8 was first observed
  15454. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15455. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15456. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15457. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15458. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15459. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15460. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15461. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15462. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  15463. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15464. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15465. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15466. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15467. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15468. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15469. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15470. ==18304==  Block was alloc'd by thread #19
  15471. ==18304==
  15472. ==18304== Possible data race during read of size 8 at 0x963A078 by thread #27
  15473. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  15474. ==18304==    at 0x9519AA0: su_block_find (su_alloc.c:306)
  15475. ==18304==    by 0x9519AA0: su_free (su_alloc.c:918)
  15476. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  15477. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  15478. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15479. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15480. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15481. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15482. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15483. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15484. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15485. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15486. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15487. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  15488. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  15489. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15490. ==18304==
  15491. ==18304== This conflicts with a previous write of size 8 by thread #19
  15492. ==18304== Locks held: 1, at address 0x7D761A8
  15493. ==18304==    at 0x9519C70: su_block_find (su_alloc.c:307)
  15494. ==18304==    by 0x9519C70: su_free (su_alloc.c:918)
  15495. ==18304==    by 0x94D73AD: nhp_save_params (nua_params.c:1160)
  15496. ==18304==    by 0x94D73AD: nua_stack_set_params (nua_params.c:520)
  15497. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  15498. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  15499. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  15500. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15501. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15502. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15503. ==18304==  Address 0x963a078 is 0 bytes inside data symbol "max_used_su_block_find"
  15504. ==18304==
  15505. ==18304== ----------------------------------------------------------------
  15506. ==18304==
  15507. ==18304==  Lock at 0x92F9638 was first observed
  15508. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15509. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15510. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15511. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15512. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15513. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15514. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15515. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15516. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  15517. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15518. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15519. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15520. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15521. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15522. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15523. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15524. ==18304==  Block was alloc'd by thread #27
  15525. ==18304==
  15526. ==18304==  Lock at 0x129506C0 was first observed
  15527. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15528. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  15529. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15530. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15531. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15532. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15533. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15534. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15535. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15536. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15537. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15538. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15539. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15540. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15541. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15542. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  15543. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15544. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  15545. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15546. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15547. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15548. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15549. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15550. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15551. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15552. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15553. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15554. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15555. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15556. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15557. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15558. ==18304==  Block was alloc'd by thread #27
  15559. ==18304==
  15560. ==18304==  Lock at 0x7D761A8 was first observed
  15561. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15562. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15563. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15564. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15565. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15566. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15567. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15568. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15569. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  15570. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15571. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15572. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15573. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15574. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15575. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15576. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15577. ==18304==  Block was alloc'd by thread #19
  15578. ==18304==
  15579. ==18304== Possible data race during read of size 8 at 0x963A058 by thread #27
  15580. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  15581. ==18304==    at 0x9519AB2: su_block_find (su_alloc.c:312)
  15582. ==18304==    by 0x9519AB2: su_free (su_alloc.c:918)
  15583. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  15584. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  15585. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15586. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15587. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15588. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15589. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15590. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15591. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15592. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15593. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15594. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  15595. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  15596. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15597. ==18304==
  15598. ==18304== This conflicts with a previous write of size 8 by thread #19
  15599. ==18304== Locks held: 1, at address 0x7D761A8
  15600. ==18304==    at 0x9519B58: su_block_find (su_alloc.c:317)
  15601. ==18304==    by 0x9519B58: su_free (su_alloc.c:918)
  15602. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  15603. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  15604. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  15605. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  15606. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  15607. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  15608. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  15609. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15610. ==18304==  Address 0x963a058 is 0 bytes inside data symbol "su_block_find_collision"
  15611. ==18304==
  15612. ==18304== ----------------------------------------------------------------
  15613. ==18304==
  15614. ==18304==  Lock at 0x92F9638 was first observed
  15615. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15616. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15617. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15618. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15619. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15620. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15621. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15622. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15623. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  15624. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15625. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15626. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15627. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15628. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15629. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15630. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15631. ==18304==  Block was alloc'd by thread #27
  15632. ==18304==
  15633. ==18304==  Lock at 0x129506C0 was first observed
  15634. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15635. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  15636. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15637. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15638. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15639. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15640. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15641. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15642. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15643. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15644. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15645. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15646. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15647. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15648. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15649. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  15650. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15651. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  15652. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15653. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15654. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15655. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15656. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15657. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15658. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15659. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15660. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15661. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15662. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15663. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15664. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15665. ==18304==  Block was alloc'd by thread #27
  15666. ==18304==
  15667. ==18304==  Lock at 0x7D761A8 was first observed
  15668. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15669. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15670. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15671. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15672. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15673. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15674. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15675. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15676. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  15677. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15678. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15679. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15680. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15681. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15682. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15683. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15684. ==18304==  Block was alloc'd by thread #19
  15685. ==18304==
  15686. ==18304== Possible data race during read of size 8 at 0x963A0A8 by thread #27
  15687. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  15688. ==18304==    at 0x9519AB9: su_block_find (su_alloc.c:312)
  15689. ==18304==    by 0x9519AB9: su_free (su_alloc.c:918)
  15690. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  15691. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  15692. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15693. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15694. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15695. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15696. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15697. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15698. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15699. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15700. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15701. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  15702. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  15703. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15704. ==18304==
  15705. ==18304== This conflicts with a previous write of size 8 by thread #19
  15706. ==18304== Locks held: 1, at address 0x7D761A8
  15707. ==18304==    at 0x9519B5F: su_block_find (su_alloc.c:317)
  15708. ==18304==    by 0x9519B5F: su_free (su_alloc.c:918)
  15709. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  15710. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  15711. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  15712. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  15713. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  15714. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  15715. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  15716. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15717. ==18304==  Address 0x963a0a8 is 0 bytes inside data symbol "su_block_find_collision_used"
  15718. ==18304==
  15719. ==18304== ----------------------------------------------------------------
  15720. ==18304==
  15721. ==18304==  Lock at 0x92F9638 was first observed
  15722. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15723. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15724. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15725. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15726. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15727. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15728. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15729. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15730. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  15731. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15732. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15733. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15734. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15735. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15736. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15737. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15738. ==18304==  Block was alloc'd by thread #27
  15739. ==18304==
  15740. ==18304==  Lock at 0x129506C0 was first observed
  15741. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15742. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  15743. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15744. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15745. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15746. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15747. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15748. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15749. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15750. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15751. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15752. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15753. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15754. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15755. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15756. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  15757. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15758. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  15759. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15760. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15761. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15762. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15763. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15764. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15765. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15766. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15767. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15768. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15769. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15770. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15771. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15772. ==18304==  Block was alloc'd by thread #27
  15773. ==18304==
  15774. ==18304==  Lock at 0x7D761A8 was first observed
  15775. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15776. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15777. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15778. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15779. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15780. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15781. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15782. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15783. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  15784. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15785. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15786. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15787. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15788. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15789. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15790. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15791. ==18304==  Block was alloc'd by thread #19
  15792. ==18304==
  15793. ==18304== Possible data race during read of size 8 at 0x963A070 by thread #27
  15794. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  15795. ==18304==    at 0x9519AC3: su_block_find (su_alloc.c:312)
  15796. ==18304==    by 0x9519AC3: su_free (su_alloc.c:918)
  15797. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  15798. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  15799. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15800. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15801. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15802. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15803. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15804. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15805. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15806. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15807. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15808. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  15809. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  15810. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15811. ==18304==
  15812. ==18304== This conflicts with a previous write of size 8 by thread #19
  15813. ==18304== Locks held: 1, at address 0x7D761A8
  15814. ==18304==    at 0x9519B66: su_block_find (su_alloc.c:317)
  15815. ==18304==    by 0x9519B66: su_free (su_alloc.c:918)
  15816. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  15817. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  15818. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  15819. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  15820. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  15821. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  15822. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  15823. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15824. ==18304==  Address 0x963a070 is 0 bytes inside data symbol "su_block_find_collision_size"
  15825. ==18304==
  15826. ==18304== ----------------------------------------------------------------
  15827. ==18304==
  15828. ==18304==  Lock at 0x92F9638 was first observed
  15829. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15830. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15831. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15832. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15833. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15834. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15835. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15836. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15837. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  15838. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15839. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15840. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15841. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15842. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15843. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15844. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15845. ==18304==  Block was alloc'd by thread #27
  15846. ==18304==
  15847. ==18304==  Lock at 0x129506C0 was first observed
  15848. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15849. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  15850. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15851. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15852. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15853. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15854. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15855. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15856. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15857. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15858. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15859. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15860. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15861. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15862. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15863. ==18304==  Address 0x129506c0 is 0 bytes inside a block of size 80 alloc'd
  15864. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15865. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  15866. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  15867. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  15868. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  15869. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  15870. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15871. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15872. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15873. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15874. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15875. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15876. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15877. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15878. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15879. ==18304==  Block was alloc'd by thread #27
  15880. ==18304==
  15881. ==18304==  Lock at 0x7D761A8 was first observed
  15882. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  15883. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  15884. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  15885. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  15886. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15887. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15888. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15889. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15890. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  15891. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  15892. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  15893. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  15894. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  15895. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15896. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15897. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15898. ==18304==  Block was alloc'd by thread #19
  15899. ==18304==
  15900. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #27
  15901. ==18304== Locks held: 2, at addresses 0x92F9638 0x129506C0
  15902. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  15903. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  15904. ==18304==    by 0x94D2D58: nua_dialog_store_peer_info (nua_dialog.c:197)
  15905. ==18304==    by 0x94DED9F: nua_stack_process_request (nua_server.c:234)
  15906. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  15907. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  15908. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  15909. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  15910. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  15911. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  15912. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  15913. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  15914. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  15915. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  15916. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  15917. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15918. ==18304==
  15919. ==18304== This conflicts with a previous write of size 8 by thread #19
  15920. ==18304== Locks held: 1, at address 0x7D761A8
  15921. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  15922. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  15923. ==18304==    by 0x94D56C7: nhp_merge_lists (nua_params.c:1104)
  15924. ==18304==    by 0x94D56C7: nhp_merge_lists.constprop.2 (nua_params.c:1045)
  15925. ==18304==    by 0x94D606B: nhp_set_tags (nua_params.c:872)
  15926. ==18304==    by 0x94D6F98: nua_stack_set_params (nua_params.c:518)
  15927. ==18304==    by 0x94EA3DB: nua_stack_signal (nua_stack.c:591)
  15928. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  15929. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  15930. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  15931. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  15932. ==18304==
  15933. ==18304== ---Thread-Announcement------------------------------------------
  15934. ==18304==
  15935. ==18304== Thread #22 was created
  15936. ==18304==    at 0x560E4BE: clone (clone.S:71)
  15937. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  15938. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  15939. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  15940. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  15941. ==18304==    by 0x9573BA8: launch_sofia_worker_thread (sofia.c:3117)
  15942. ==18304==    by 0x957E108: sofia_profile_thread_run (sofia.c:3416)
  15943. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  15944. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15945. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15946. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15947. ==18304==
  15948. ==18304== ----------------------------------------------------------------
  15949. ==18304==
  15950. ==18304== Thread #22: lock order "0x7B89680 before 0x12949C88" violated
  15951. ==18304==
  15952. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12949C88
  15953. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  15954. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  15955. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  15956. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  15957. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  15958. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  15959. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  15960. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  15961. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  15962. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15963. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15964. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15965. ==18304==
  15966. ==18304==  followed by a later acquisition of lock at 0x7B89680
  15967. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  15968. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  15969. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  15970. ==18304==    by 0x9599FD4: sofia_glue_execute_sql_callback (sofia_glue.c:2846)
  15971. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  15972. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  15973. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  15974. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15975. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15976. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15977. ==18304==
  15978. ==18304== Required order was established by acquisition of lock at 0x7B89680
  15979. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  15980. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  15981. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  15982. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  15983. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  15984. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  15985. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  15986. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  15987. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  15988. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  15989. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  15990. ==18304==    by 0x560E4CE: clone (clone.S:95)
  15991. ==18304==
  15992. ==18304==  followed by a later acquisition of lock at 0x12949C88
  15993. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  15994. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  15995. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  15996. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  15997. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  15998. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  15999. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16000. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16001. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16002. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16003. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16004. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16005. ==18304==
  16006. ==18304==  Lock at 0x7B89680 was first observed
  16007. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16008. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16009. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  16010. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  16011. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  16012. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  16013. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16014. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  16015. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16016. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  16017. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  16018. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  16019. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  16020. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  16021. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  16022. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16023. ==18304==  Block was alloc'd by thread #1
  16024. ==18304==
  16025. ==18304==  Lock at 0x12949C88 was first observed
  16026. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16027. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16028. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  16029. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16030. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16031. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16032. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16033. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16034. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16035. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16036. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16037. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16038. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16039. ==18304==  Address 0x12949c88 is 1,144 bytes inside a block of size 8,192 alloc'd
  16040. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16041. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16042. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16043. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16044. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  16045. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16046. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16047. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16048. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16049. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16050. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16051. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16052. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16053. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16054. ==18304==  Block was alloc'd by thread #22
  16055. ==18304==
  16056. ==18304==
  16057. ==18304== ----------------------------------------------------------------
  16058. ==18304==
  16059. ==18304==  Lock at 0x92EE5D8 was first observed
  16060. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16061. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16062. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  16063. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16064. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16065. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16066. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  16067. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  16068. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16069. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16070. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16071. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16072. ==18304==  Address 0x92ee5d8 is 1,144 bytes inside a block of size 8,192 alloc'd
  16073. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16074. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16075. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16076. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16077. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  16078. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16079. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16080. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16081. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  16082. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  16083. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16084. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16085. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16086. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16087. ==18304==  Block was alloc'd by thread #11
  16088. ==18304==
  16089. ==18304==  Lock at 0x99F61F0 was first observed
  16090. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16091. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16092. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  16093. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16094. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16095. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16096. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16097. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16098. ==18304==  Address 0x99f61f0 is 496 bytes inside a block of size 8,192 alloc'd
  16099. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16100. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16101. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16102. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16103. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  16104. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16105. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16106. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16107. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16108. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16109. ==18304==  Block was alloc'd by thread #11
  16110. ==18304==
  16111. ==18304== Possible data race during read of size 4 at 0x99F6154 by thread #22
  16112. ==18304== Locks held: none
  16113. ==18304==    at 0x4CE5C66: switch_sql_queue_manager_push (switch_core_sqldb.c:1955)
  16114. ==18304==    by 0x95995BF: sofia_glue_execute_sql (sofia_glue.c:2693)
  16115. ==18304==    by 0x95B020F: sofia_reg_check_expire (sofia_reg.c:819)
  16116. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16117. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16118. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16119. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16120. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16121. ==18304==
  16122. ==18304== This conflicts with a previous write of size 4 by thread #21
  16123. ==18304== Locks held: 2, at addresses 0x92EE5D8 0x99F61F0
  16124. ==18304==    at 0x4CE329A: switch_user_sql_thread (switch_core_sqldb.c:2306)
  16125. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16126. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16127. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16128. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16129. ==18304==  Address 0x99f6154 is 340 bytes inside a block of size 8,192 alloc'd
  16130. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16131. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16132. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16133. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16134. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  16135. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16136. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16137. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16138. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16139. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16140. ==18304==  Block was alloc'd by thread #11
  16141. ==18304==
  16142. ==18304== ----------------------------------------------------------------
  16143. ==18304==
  16144. ==18304== Thread #22: lock order "0x12949C88 before 0x7B89680" violated
  16145. ==18304==
  16146. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  16147. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16148. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  16149. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  16150. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16151. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16152. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16153. ==18304==    by 0x95B024C: sofia_reg_check_expire (sofia_reg.c:828)
  16154. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16155. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16156. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16157. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16158. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16159. ==18304==
  16160. ==18304==  followed by a later acquisition of lock at 0x12949C88
  16161. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  16162. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  16163. ==18304==    by 0x4CE22FF: get_handle (switch_core_sqldb.c:199)
  16164. ==18304==    by 0x4CE22FF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  16165. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16166. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16167. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16168. ==18304==    by 0x95B024C: sofia_reg_check_expire (sofia_reg.c:828)
  16169. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16170. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16171. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16172. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16173. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16174. ==18304==
  16175. ==18304== Required order was established by acquisition of lock at 0x12949C88
  16176. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16177. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  16178. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16179. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16180. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16181. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16182. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16183. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16184. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16185. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16186. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16187. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16188. ==18304==
  16189. ==18304==  followed by a later acquisition of lock at 0x7B89680
  16190. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16191. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  16192. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  16193. ==18304==    by 0x9599FD4: sofia_glue_execute_sql_callback (sofia_glue.c:2846)
  16194. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16195. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16196. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16197. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16198. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16199. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16200. ==18304==
  16201. ==18304==  Lock at 0x12949C88 was first observed
  16202. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16203. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16204. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  16205. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16206. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16207. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16208. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16209. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16210. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16211. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16212. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16213. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16214. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16215. ==18304==  Address 0x12949c88 is 1,144 bytes inside a block of size 8,192 alloc'd
  16216. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16217. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16218. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16219. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16220. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  16221. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16222. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16223. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16224. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16225. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16226. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16227. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16228. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16229. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16230. ==18304==  Block was alloc'd by thread #22
  16231. ==18304==
  16232. ==18304==  Lock at 0x7B89680 was first observed
  16233. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16234. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16235. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  16236. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  16237. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  16238. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  16239. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16240. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  16241. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16242. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  16243. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  16244. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  16245. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  16246. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  16247. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  16248. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16249. ==18304==  Block was alloc'd by thread #1
  16250. ==18304==
  16251. ==18304==
  16252. ==18304== ----------------------------------------------------------------
  16253. ==18304==
  16254. ==18304== Thread #20: lock order "0x7B89680 before 0x129AD7B8" violated
  16255. ==18304==
  16256. ==18304== Observed (incorrect) order is: acquisition of lock at 0x129AD7B8
  16257. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16258. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  16259. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16260. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16261. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16262. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16263. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16264. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16265. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16266. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16267. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16268. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16269. ==18304==
  16270. ==18304==  followed by a later acquisition of lock at 0x7B89680
  16271. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16272. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  16273. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  16274. ==18304==    by 0x9599FD4: sofia_glue_execute_sql_callback (sofia_glue.c:2846)
  16275. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16276. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16277. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16278. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16279. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16280. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16281. ==18304==
  16282. ==18304== Required order was established by acquisition of lock at 0x7B89680
  16283. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16284. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  16285. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16286. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16287. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16288. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16289. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16290. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16291. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16292. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16293. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16294. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16295. ==18304==
  16296. ==18304==  followed by a later acquisition of lock at 0x129AD7B8
  16297. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16298. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  16299. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16300. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16301. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16302. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16303. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16304. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16305. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16306. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16307. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16308. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16309. ==18304==
  16310. ==18304==  Lock at 0x7B89680 was first observed
  16311. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16312. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16313. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  16314. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  16315. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  16316. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  16317. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16318. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  16319. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16320. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  16321. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  16322. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  16323. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  16324. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  16325. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  16326. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16327. ==18304==  Block was alloc'd by thread #1
  16328. ==18304==
  16329. ==18304==  Lock at 0x129AD7B8 was first observed
  16330. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16331. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16332. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  16333. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16334. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16335. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16336. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16337. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16338. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16339. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16340. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16341. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16342. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16343. ==18304==  Address 0x129ad7b8 is 1,144 bytes inside a block of size 8,192 alloc'd
  16344. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16345. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16346. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16347. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16348. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  16349. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16350. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16351. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16352. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16353. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16354. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16355. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16356. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16357. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16358. ==18304==  Block was alloc'd by thread #20
  16359. ==18304==
  16360. ==18304==
  16361. ==18304== ----------------------------------------------------------------
  16362. ==18304==
  16363. ==18304== Thread #21: lock order "0x99F61F0 before 0x99F6240" violated
  16364. ==18304==
  16365. ==18304== Observed (incorrect) order is: acquisition of lock at 0x99F6240
  16366. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16367. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  16368. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16369. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16370. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16371. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16372. ==18304==
  16373. ==18304==  followed by a later acquisition of lock at 0x99F61F0
  16374. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  16375. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  16376. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16377. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16378. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16379. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16380. ==18304==
  16381. ==18304== Required order was established by acquisition of lock at 0x99F61F0
  16382. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16383. ==18304==    by 0x4CE3278: switch_user_sql_thread (switch_core_sqldb.c:2289)
  16384. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16385. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16386. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16387. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16388. ==18304==
  16389. ==18304==  followed by a later acquisition of lock at 0x99F6240
  16390. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16391. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  16392. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16393. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16394. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16395. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16396. ==18304==
  16397. ==18304==  Lock at 0x99F61F0 was first observed
  16398. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16399. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16400. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  16401. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16402. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16403. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16404. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16405. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16406. ==18304==  Address 0x99f61f0 is 496 bytes inside a block of size 8,192 alloc'd
  16407. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16408. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16409. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16410. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16411. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  16412. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16413. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16414. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16415. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16416. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16417. ==18304==  Block was alloc'd by thread #11
  16418. ==18304==
  16419. ==18304==  Lock at 0x99F6240 was first observed
  16420. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16421. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16422. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  16423. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16424. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16425. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16426. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16427. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16428. ==18304==  Address 0x99f6240 is 576 bytes inside a block of size 8,192 alloc'd
  16429. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16430. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16431. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16432. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16433. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  16434. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16435. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16436. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16437. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16438. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16439. ==18304==  Block was alloc'd by thread #11
  16440. ==18304==
  16441. ==18304==
  16442. ==18304== ----------------------------------------------------------------
  16443. ==18304==
  16444. ==18304== Thread #18: lock order "0x97FFDA0 before 0x97FFDF0" violated
  16445. ==18304==
  16446. ==18304== Observed (incorrect) order is: acquisition of lock at 0x97FFDF0
  16447. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16448. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  16449. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16450. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16451. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16452. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16453. ==18304==
  16454. ==18304==  followed by a later acquisition of lock at 0x97FFDA0
  16455. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  16456. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  16457. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16458. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16459. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16460. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16461. ==18304==
  16462. ==18304== Required order was established by acquisition of lock at 0x97FFDA0
  16463. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16464. ==18304==    by 0x4CE3278: switch_user_sql_thread (switch_core_sqldb.c:2289)
  16465. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16466. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16467. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16468. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16469. ==18304==
  16470. ==18304==  followed by a later acquisition of lock at 0x97FFDF0
  16471. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16472. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  16473. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16474. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16475. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16476. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16477. ==18304==
  16478. ==18304==  Lock at 0x97FFDA0 was first observed
  16479. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16480. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16481. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  16482. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16483. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16484. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16485. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16486. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16487. ==18304==  Address 0x97ffda0 is 480 bytes inside a block of size 8,192 alloc'd
  16488. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16489. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16490. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16491. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16492. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  16493. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16494. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16495. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16496. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16497. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16498. ==18304==  Block was alloc'd by thread #12
  16499. ==18304==
  16500. ==18304==  Lock at 0x97FFDF0 was first observed
  16501. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16502. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16503. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  16504. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16505. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16506. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16507. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16508. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16509. ==18304==  Address 0x97ffdf0 is 560 bytes inside a block of size 8,192 alloc'd
  16510. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16511. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16512. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16513. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16514. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  16515. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16516. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16517. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16518. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16519. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16520. ==18304==  Block was alloc'd by thread #12
  16521. ==18304==
  16522. ==18304==
  16523. ==18304== ---Thread-Announcement------------------------------------------
  16524. ==18304==
  16525. ==18304== Thread #24 was created
  16526. ==18304==    at 0x560E4BE: clone (clone.S:71)
  16527. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  16528. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  16529. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  16530. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  16531. ==18304==    by 0x9573BA8: launch_sofia_worker_thread (sofia.c:3117)
  16532. ==18304==    by 0x957E108: sofia_profile_thread_run (sofia.c:3416)
  16533. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16534. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16535. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16536. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16537. ==18304==
  16538. ==18304== ----------------------------------------------------------------
  16539. ==18304==
  16540. ==18304== Thread #24: lock order "0x7B89680 before 0x12A99B38" violated
  16541. ==18304==
  16542. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12A99B38
  16543. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16544. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  16545. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16546. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16547. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16548. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16549. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16550. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16551. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16552. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16553. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16554. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16555. ==18304==
  16556. ==18304==  followed by a later acquisition of lock at 0x7B89680
  16557. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16558. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  16559. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  16560. ==18304==    by 0x9599FD4: sofia_glue_execute_sql_callback (sofia_glue.c:2846)
  16561. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16562. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16563. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16564. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16565. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16566. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16567. ==18304==
  16568. ==18304== Required order was established by acquisition of lock at 0x7B89680
  16569. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16570. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  16571. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16572. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16573. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16574. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16575. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16576. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16577. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16578. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16579. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16580. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16581. ==18304==
  16582. ==18304==  followed by a later acquisition of lock at 0x12A99B38
  16583. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16584. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  16585. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16586. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16587. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16588. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16589. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16590. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16591. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16592. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16593. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16594. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16595. ==18304==
  16596. ==18304==  Lock at 0x7B89680 was first observed
  16597. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16598. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16599. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  16600. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  16601. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  16602. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  16603. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16604. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  16605. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16606. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  16607. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  16608. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  16609. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  16610. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  16611. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  16612. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16613. ==18304==  Block was alloc'd by thread #1
  16614. ==18304==
  16615. ==18304==  Lock at 0x12A99B38 was first observed
  16616. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16617. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16618. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  16619. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16620. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16621. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16622. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16623. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16624. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16625. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16626. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16627. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16628. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16629. ==18304==  Address 0x12a99b38 is 1,144 bytes inside a block of size 8,192 alloc'd
  16630. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16631. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16632. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16633. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16634. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  16635. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16636. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16637. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16638. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  16639. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  16640. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  16641. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16642. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16643. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16644. ==18304==  Block was alloc'd by thread #24
  16645. ==18304==
  16646. ==18304==
  16647. ==18304== ----------------------------------------------------------------
  16648. ==18304==
  16649. ==18304== Thread #15: lock order "0x7B89680 before 0x12A900A8" violated
  16650. ==18304==
  16651. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12A900A8
  16652. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16653. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  16654. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16655. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16656. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16657. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  16658. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  16659. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16660. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16661. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16662. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16663. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16664. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16665. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16666. ==18304==
  16667. ==18304==  followed by a later acquisition of lock at 0x7B89680
  16668. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16669. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  16670. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  16671. ==18304==    by 0x959A18B: sofia_glue_execute_sql2str (sofia_glue.c:2882)
  16672. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  16673. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16674. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16675. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16676. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16677. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16678. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16679. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16680. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16681. ==18304==
  16682. ==18304== Required order was established by acquisition of lock at 0x7B89680
  16683. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16684. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  16685. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16686. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16687. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16688. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  16689. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  16690. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16691. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16692. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16693. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16694. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16695. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16696. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16697. ==18304==
  16698. ==18304==  followed by a later acquisition of lock at 0x12A900A8
  16699. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16700. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  16701. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16702. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16703. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16704. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  16705. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  16706. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16707. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16708. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16709. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16710. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16711. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16712. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16713. ==18304==
  16714. ==18304==  Lock at 0x7B89680 was first observed
  16715. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16716. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16717. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  16718. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  16719. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  16720. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  16721. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16722. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  16723. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16724. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  16725. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  16726. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  16727. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  16728. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  16729. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  16730. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16731. ==18304==  Block was alloc'd by thread #1
  16732. ==18304==
  16733. ==18304==  Lock at 0x12A900A8 was first observed
  16734. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16735. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16736. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  16737. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16738. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16739. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16740. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  16741. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  16742. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16743. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16744. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16745. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16746. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16747. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16748. ==18304==  Address 0x12a900a8 is 1,144 bytes inside a block of size 8,192 alloc'd
  16749. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16750. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16751. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16752. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16753. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  16754. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16755. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16756. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16757. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  16758. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  16759. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16760. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16761. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16762. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16763. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16764. ==18304==  Block was alloc'd by thread #15
  16765. ==18304==
  16766. ==18304==
  16767. ==18304== ----------------------------------------------------------------
  16768. ==18304==
  16769. ==18304==  Lock at 0x933FF58 was first observed
  16770. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16771. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16772. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  16773. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16774. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16775. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16776. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16777. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  16778. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16779. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  16780. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  16781. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  16782. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  16783. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  16784. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  16785. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  16786. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  16787. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  16788. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  16789. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16790. ==18304==  Block was alloc'd by thread #1
  16791. ==18304==
  16792. ==18304==  Lock at 0x9788298 was first observed
  16793. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16794. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16795. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  16796. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16797. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16798. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16799. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  16800. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  16801. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16802. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16803. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16804. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16805. ==18304==  Address 0x9788298 is 1,144 bytes inside a block of size 8,192 alloc'd
  16806. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16807. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16808. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16809. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16810. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  16811. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16812. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16813. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16814. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  16815. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  16816. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16817. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16818. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16819. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16820. ==18304==  Block was alloc'd by thread #14
  16821. ==18304==
  16822. ==18304==  Lock at 0xAEDA190 was first observed
  16823. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16824. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16825. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  16826. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16827. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16828. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16829. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16830. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16831. ==18304==  Address 0xaeda190 is 480 bytes inside a block of size 8,192 alloc'd
  16832. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16833. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16834. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16835. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16836. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  16837. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16838. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16839. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16840. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16841. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16842. ==18304==  Block was alloc'd by thread #14
  16843. ==18304==
  16844. ==18304== Possible data race during read of size 4 at 0xAEDA104 by thread #15
  16845. ==18304== Locks held: 1, at address 0x933FF58
  16846. ==18304==    at 0x4CE858B: switch_sql_queue_manager_push_confirm (switch_core_sqldb.c:1997)
  16847. ==18304==    by 0x9599644: sofia_glue_execute_sql_now (sofia_glue.c:2709)
  16848. ==18304==    by 0x95AA09A: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3926)
  16849. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16850. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16851. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16852. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16853. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16854. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16855. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16856. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16857. ==18304==
  16858. ==18304== This conflicts with a previous write of size 4 by thread #28
  16859. ==18304== Locks held: 2, at addresses 0x9788298 0xAEDA190
  16860. ==18304==    at 0x4CE329A: switch_user_sql_thread (switch_core_sqldb.c:2306)
  16861. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16862. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16863. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16864. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16865. ==18304==  Address 0xaeda104 is 340 bytes inside a block of size 8,192 alloc'd
  16866. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16867. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16868. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16869. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16870. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  16871. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  16872. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16873. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16874. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16875. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16876. ==18304==  Block was alloc'd by thread #14
  16877. ==18304==
  16878. ==18304== ----------------------------------------------------------------
  16879. ==18304==
  16880. ==18304== Thread #15: lock order "0x12A900A8 before 0x7B89680" violated
  16881. ==18304==
  16882. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  16883. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16884. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  16885. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  16886. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16887. ==18304==    by 0x4CE8614: switch_sql_queue_manager_push_confirm (switch_core_sqldb.c:2004)
  16888. ==18304==    by 0x9599644: sofia_glue_execute_sql_now (sofia_glue.c:2709)
  16889. ==18304==    by 0x95AA09A: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3926)
  16890. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16891. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16892. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16893. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16894. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16895. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16896. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16897. ==18304==
  16898. ==18304==  followed by a later acquisition of lock at 0x12A900A8
  16899. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  16900. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  16901. ==18304==    by 0x4CE22FF: get_handle (switch_core_sqldb.c:199)
  16902. ==18304==    by 0x4CE22FF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  16903. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16904. ==18304==    by 0x4CE8614: switch_sql_queue_manager_push_confirm (switch_core_sqldb.c:2004)
  16905. ==18304==    by 0x9599644: sofia_glue_execute_sql_now (sofia_glue.c:2709)
  16906. ==18304==    by 0x95AA09A: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3926)
  16907. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16908. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16909. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16910. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16911. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16912. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16913. ==18304==
  16914. ==18304== Required order was established by acquisition of lock at 0x12A900A8
  16915. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16916. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  16917. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  16918. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16919. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16920. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  16921. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  16922. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16923. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16924. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16925. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16926. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16927. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16928. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16929. ==18304==
  16930. ==18304==  followed by a later acquisition of lock at 0x7B89680
  16931. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  16932. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  16933. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  16934. ==18304==    by 0x959A18B: sofia_glue_execute_sql2str (sofia_glue.c:2882)
  16935. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  16936. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16937. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16938. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16939. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16940. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16941. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16942. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  16943. ==18304==    by 0x560E4CE: clone (clone.S:95)
  16944. ==18304==
  16945. ==18304==  Lock at 0x12A900A8 was first observed
  16946. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16947. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16948. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  16949. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16950. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16951. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16952. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  16953. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  16954. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16955. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16956. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16957. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16958. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16959. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  16960. ==18304==  Address 0x12a900a8 is 1,144 bytes inside a block of size 8,192 alloc'd
  16961. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16962. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  16963. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  16964. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  16965. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  16966. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  16967. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  16968. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  16969. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  16970. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  16971. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  16972. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  16973. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  16974. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  16975. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  16976. ==18304==  Block was alloc'd by thread #15
  16977. ==18304==
  16978. ==18304==  Lock at 0x7B89680 was first observed
  16979. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  16980. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  16981. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  16982. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  16983. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  16984. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  16985. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16986. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  16987. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  16988. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  16989. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  16990. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  16991. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  16992. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  16993. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  16994. ==18304==    by 0x10AEC7: main (switch.c:1200)
  16995. ==18304==  Block was alloc'd by thread #1
  16996. ==18304==
  16997. ==18304==
  16998. ==18304== ----------------------------------------------------------------
  16999. ==18304==
  17000. ==18304== Thread #20: lock order "0x129AD7B8 before 0x7B89680" violated
  17001. ==18304==
  17002. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  17003. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17004. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  17005. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  17006. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17007. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17008. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17009. ==18304==    by 0x95B024C: sofia_reg_check_expire (sofia_reg.c:828)
  17010. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17011. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17012. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17013. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17014. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17015. ==18304==
  17016. ==18304==  followed by a later acquisition of lock at 0x129AD7B8
  17017. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  17018. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  17019. ==18304==    by 0x4CE22FF: get_handle (switch_core_sqldb.c:199)
  17020. ==18304==    by 0x4CE22FF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  17021. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17022. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17023. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17024. ==18304==    by 0x95B024C: sofia_reg_check_expire (sofia_reg.c:828)
  17025. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17026. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17027. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17028. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17029. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17030. ==18304==
  17031. ==18304== Required order was established by acquisition of lock at 0x129AD7B8
  17032. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17033. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  17034. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  17035. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17036. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17037. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17038. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  17039. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17040. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17041. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17042. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17043. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17044. ==18304==
  17045. ==18304==  followed by a later acquisition of lock at 0x7B89680
  17046. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17047. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  17048. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  17049. ==18304==    by 0x9599FD4: sofia_glue_execute_sql_callback (sofia_glue.c:2846)
  17050. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  17051. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17052. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17053. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17054. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17055. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17056. ==18304==
  17057. ==18304==  Lock at 0x129AD7B8 was first observed
  17058. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17059. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17060. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  17061. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17062. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17063. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17064. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17065. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  17066. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17067. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17068. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17069. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17070. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17071. ==18304==  Address 0x129ad7b8 is 1,144 bytes inside a block of size 8,192 alloc'd
  17072. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17073. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17074. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17075. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17076. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  17077. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17078. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17079. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17080. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17081. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  17082. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17083. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17084. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17085. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17086. ==18304==  Block was alloc'd by thread #20
  17087. ==18304==
  17088. ==18304==  Lock at 0x7B89680 was first observed
  17089. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17090. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17091. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  17092. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  17093. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  17094. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17095. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17096. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  17097. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17098. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  17099. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  17100. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  17101. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  17102. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  17103. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  17104. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17105. ==18304==  Block was alloc'd by thread #1
  17106. ==18304==
  17107. ==18304==
  17108. ==18304== ----------------------------------------------------------------
  17109. ==18304==
  17110. ==18304== Thread #23: lock order "0x9B2DE80 before 0x9B2DED0" violated
  17111. ==18304==
  17112. ==18304== Observed (incorrect) order is: acquisition of lock at 0x9B2DED0
  17113. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17114. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  17115. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17116. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17117. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17118. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17119. ==18304==
  17120. ==18304==  followed by a later acquisition of lock at 0x9B2DE80
  17121. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  17122. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  17123. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17124. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17125. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17126. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17127. ==18304==
  17128. ==18304== Required order was established by acquisition of lock at 0x9B2DE80
  17129. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17130. ==18304==    by 0x4CE3278: switch_user_sql_thread (switch_core_sqldb.c:2289)
  17131. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17132. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17133. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17134. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17135. ==18304==
  17136. ==18304==  followed by a later acquisition of lock at 0x9B2DED0
  17137. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17138. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  17139. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17140. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17141. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17142. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17143. ==18304==
  17144. ==18304==  Lock at 0x9B2DE80 was first observed
  17145. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17146. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17147. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  17148. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  17149. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17150. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17151. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17152. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17153. ==18304==  Address 0x9b2de80 is 496 bytes inside a block of size 8,192 alloc'd
  17154. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17155. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17156. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17157. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17158. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  17159. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  17160. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17161. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17162. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17163. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17164. ==18304==  Block was alloc'd by thread #13
  17165. ==18304==
  17166. ==18304==  Lock at 0x9B2DED0 was first observed
  17167. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17168. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17169. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  17170. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  17171. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17172. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17173. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17174. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17175. ==18304==  Address 0x9b2ded0 is 576 bytes inside a block of size 8,192 alloc'd
  17176. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17177. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17178. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17179. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17180. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  17181. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  17182. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17183. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17184. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17185. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17186. ==18304==  Block was alloc'd by thread #13
  17187. ==18304==
  17188. ==18304==
  17189. ==18304== ----------------------------------------------------------------
  17190. ==18304==
  17191. ==18304== Thread #24: lock order "0x12A99B38 before 0x7B89680" violated
  17192. ==18304==
  17193. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  17194. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17195. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  17196. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  17197. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17198. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17199. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17200. ==18304==    by 0x95B024C: sofia_reg_check_expire (sofia_reg.c:828)
  17201. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17202. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17203. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17204. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17205. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17206. ==18304==
  17207. ==18304==  followed by a later acquisition of lock at 0x12A99B38
  17208. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  17209. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  17210. ==18304==    by 0x4CE22FF: get_handle (switch_core_sqldb.c:199)
  17211. ==18304==    by 0x4CE22FF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  17212. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17213. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17214. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17215. ==18304==    by 0x95B024C: sofia_reg_check_expire (sofia_reg.c:828)
  17216. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17217. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17218. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17219. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17220. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17221. ==18304==
  17222. ==18304== Required order was established by acquisition of lock at 0x12A99B38
  17223. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17224. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  17225. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  17226. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17227. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17228. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17229. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  17230. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17231. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17232. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17233. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17234. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17235. ==18304==
  17236. ==18304==  followed by a later acquisition of lock at 0x7B89680
  17237. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17238. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  17239. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  17240. ==18304==    by 0x9599FD4: sofia_glue_execute_sql_callback (sofia_glue.c:2846)
  17241. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  17242. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17243. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17244. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17245. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17246. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17247. ==18304==
  17248. ==18304==  Lock at 0x12A99B38 was first observed
  17249. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17250. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17251. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  17252. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17253. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17254. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17255. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17256. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  17257. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17258. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17259. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17260. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17261. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17262. ==18304==  Address 0x12a99b38 is 1,144 bytes inside a block of size 8,192 alloc'd
  17263. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17264. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17265. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17266. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17267. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  17268. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17269. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17270. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17271. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17272. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  17273. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17274. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17275. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17276. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17277. ==18304==  Block was alloc'd by thread #24
  17278. ==18304==
  17279. ==18304==  Lock at 0x7B89680 was first observed
  17280. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17281. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17282. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  17283. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  17284. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  17285. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17286. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17287. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  17288. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17289. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  17290. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  17291. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  17292. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  17293. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  17294. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  17295. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17296. ==18304==  Block was alloc'd by thread #1
  17297. ==18304==
  17298. ==18304==
  17299. ==18304== ----------------------------------------------------------------
  17300. ==18304==
  17301. ==18304== Thread #1: lock order "0x12ACABF8 before 0x7B89680" violated
  17302. ==18304==
  17303. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  17304. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17305. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  17306. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  17307. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17308. ==18304==    by 0xB95943B: limit_get_db_handle (mod_db.c:99)
  17309. ==18304==    by 0xB959475: limit_execute_sql (mod_db.c:113)
  17310. ==18304==    by 0xB95A815: do_config (mod_db.c:335)
  17311. ==18304==    by 0xB95A815: mod_db_load (mod_db.c:653)
  17312. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17313. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17314. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17315. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17316. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17317. ==18304==
  17318. ==18304==  followed by a later acquisition of lock at 0x12ACABF8
  17319. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  17320. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  17321. ==18304==    by 0x4CE22FF: get_handle (switch_core_sqldb.c:199)
  17322. ==18304==    by 0x4CE22FF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  17323. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17324. ==18304==    by 0xB95943B: limit_get_db_handle (mod_db.c:99)
  17325. ==18304==    by 0xB959475: limit_execute_sql (mod_db.c:113)
  17326. ==18304==    by 0xB95A815: do_config (mod_db.c:335)
  17327. ==18304==    by 0xB95A815: mod_db_load (mod_db.c:653)
  17328. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17329. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17330. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17331. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17332. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17333. ==18304==
  17334. ==18304== Required order was established by acquisition of lock at 0x12ACABF8
  17335. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17336. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  17337. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  17338. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17339. ==18304==    by 0xB95943B: limit_get_db_handle (mod_db.c:99)
  17340. ==18304==    by 0xB95AAC2: do_config (mod_db.c:304)
  17341. ==18304==    by 0xB95AAC2: mod_db_load (mod_db.c:653)
  17342. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17343. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17344. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17345. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17346. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17347. ==18304==
  17348. ==18304==  followed by a later acquisition of lock at 0x7B89680
  17349. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17350. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  17351. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  17352. ==18304==    by 0xB95A7F5: do_config (mod_db.c:332)
  17353. ==18304==    by 0xB95A7F5: mod_db_load (mod_db.c:653)
  17354. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17355. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17356. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17357. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17358. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17359. ==18304==
  17360. ==18304==  Lock at 0x12ACABF8 was first observed
  17361. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17362. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17363. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  17364. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17365. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17366. ==18304==    by 0xB95943B: limit_get_db_handle (mod_db.c:99)
  17367. ==18304==    by 0xB95AAC2: do_config (mod_db.c:304)
  17368. ==18304==    by 0xB95AAC2: mod_db_load (mod_db.c:653)
  17369. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17370. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17371. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17372. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17373. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17374. ==18304==  Address 0x12acabf8 is 1,144 bytes inside a block of size 8,192 alloc'd
  17375. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17376. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17377. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17378. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17379. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  17380. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17381. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17382. ==18304==    by 0xB95943B: limit_get_db_handle (mod_db.c:99)
  17383. ==18304==    by 0xB95AAC2: do_config (mod_db.c:304)
  17384. ==18304==    by 0xB95AAC2: mod_db_load (mod_db.c:653)
  17385. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17386. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17387. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17388. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17389. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17390. ==18304==  Block was alloc'd by thread #1
  17391. ==18304==
  17392. ==18304==  Lock at 0x7B89680 was first observed
  17393. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17394. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17395. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  17396. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  17397. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  17398. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17399. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17400. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  17401. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17402. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  17403. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  17404. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  17405. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  17406. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  17407. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  17408. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17409. ==18304==  Block was alloc'd by thread #1
  17410. ==18304==
  17411. ==18304==
  17412. ==18304== ---Thread-Announcement------------------------------------------
  17413. ==18304==
  17414. ==18304== Thread #31 was created
  17415. ==18304==    at 0x560E4BE: clone (clone.S:71)
  17416. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  17417. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  17418. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  17419. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  17420. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1903)
  17421. ==18304==    by 0x4CE5ADF: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  17422. ==18304==    by 0x12DDEECA: load_config (mod_fifo.c:4457)
  17423. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17424. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17425. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17426. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17427. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17428. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17429. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17430. ==18304==
  17431. ==18304== ----------------------------------------------------------------
  17432. ==18304==
  17433. ==18304==  Lock at 0x12BDF998 was first observed
  17434. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17435. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17436. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  17437. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  17438. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17439. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17440. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17441. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17442. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17443. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17444. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17445. ==18304==  Address 0x12bdf998 is 456 bytes inside a block of size 8,192 alloc'd
  17446. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17447. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17448. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17449. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17450. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  17451. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  17452. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17453. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17454. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17455. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17456. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17457. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17458. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17459. ==18304==  Block was alloc'd by thread #1
  17460. ==18304==
  17461. ==18304==  Lock at 0x12BE3CC8 was first observed
  17462. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17463. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17464. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  17465. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17466. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17467. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  17468. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17469. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17470. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17471. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17472. ==18304==  Address 0x12be3cc8 is 1,144 bytes inside a block of size 8,192 alloc'd
  17473. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17474. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17475. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17476. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17477. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  17478. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17479. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17480. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  17481. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17482. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17483. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17484. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17485. ==18304==  Block was alloc'd by thread #31
  17486. ==18304==
  17487. ==18304==  Lock at 0x12BDDC08 was first observed
  17488. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17489. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17490. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  17491. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17492. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17493. ==18304==    by 0x12DD8991: fifo_get_db_handle (mod_fifo.c:909)
  17494. ==18304==    by 0x12DDEE44: load_config (mod_fifo.c:4442)
  17495. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17496. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17497. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17498. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17499. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17500. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17501. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17502. ==18304==  Address 0x12bddc08 is 1,144 bytes inside a block of size 8,192 alloc'd
  17503. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17504. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17505. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17506. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17507. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  17508. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17509. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17510. ==18304==    by 0x12DD8991: fifo_get_db_handle (mod_fifo.c:909)
  17511. ==18304==    by 0x12DDEE44: load_config (mod_fifo.c:4442)
  17512. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17513. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17514. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17515. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17516. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17517. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17518. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17519. ==18304==  Block was alloc'd by thread #1
  17520. ==18304==
  17521. ==18304== Possible data race during write of size 4 at 0x12BDF920 by thread #31
  17522. ==18304== Locks held: 2, at addresses 0x12BDF998 0x12BE3CC8
  17523. ==18304==    at 0x4CE329A: switch_user_sql_thread (switch_core_sqldb.c:2306)
  17524. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17525. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17526. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17527. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17528. ==18304==
  17529. ==18304== This conflicts with a previous read of size 4 by thread #1
  17530. ==18304== Locks held: 1, at address 0x12BDDC08
  17531. ==18304==    at 0x4CE5AEA: switch_sql_queue_manager_start (switch_core_sqldb.c:1904)
  17532. ==18304==    by 0x4CE5AEA: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  17533. ==18304==    by 0x12DDEECA: load_config (mod_fifo.c:4457)
  17534. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17535. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17536. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17537. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17538. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17539. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17540. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17541. ==18304==  Address 0x12bdf920 is 336 bytes inside a block of size 8,192 alloc'd
  17542. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17543. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17544. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17545. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17546. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  17547. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  17548. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17549. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17550. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17551. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17552. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17553. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17554. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17555. ==18304==  Block was alloc'd by thread #1
  17556. ==18304==
  17557. ==18304== ----------------------------------------------------------------
  17558. ==18304==
  17559. ==18304==  Lock at 0x12BDDC08 was first observed
  17560. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17561. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17562. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  17563. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17564. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17565. ==18304==    by 0x12DD8991: fifo_get_db_handle (mod_fifo.c:909)
  17566. ==18304==    by 0x12DDEE44: load_config (mod_fifo.c:4442)
  17567. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17568. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17569. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17570. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17571. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17572. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17573. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17574. ==18304==  Address 0x12bddc08 is 1,144 bytes inside a block of size 8,192 alloc'd
  17575. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17576. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17577. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17578. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17579. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  17580. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17581. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17582. ==18304==    by 0x12DD8991: fifo_get_db_handle (mod_fifo.c:909)
  17583. ==18304==    by 0x12DDEE44: load_config (mod_fifo.c:4442)
  17584. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17585. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17586. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17587. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17588. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17589. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17590. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17591. ==18304==  Block was alloc'd by thread #1
  17592. ==18304==
  17593. ==18304==  Lock at 0x12BDF998 was first observed
  17594. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17595. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17596. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  17597. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  17598. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17599. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17600. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17601. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17602. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17603. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17604. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17605. ==18304==  Address 0x12bdf998 is 456 bytes inside a block of size 8,192 alloc'd
  17606. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17607. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17608. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17609. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17610. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  17611. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  17612. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17613. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17614. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17615. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17616. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17617. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17618. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17619. ==18304==  Block was alloc'd by thread #1
  17620. ==18304==
  17621. ==18304==  Lock at 0x12BE3CC8 was first observed
  17622. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17623. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17624. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  17625. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17626. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17627. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  17628. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17629. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17630. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17631. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17632. ==18304==  Address 0x12be3cc8 is 1,144 bytes inside a block of size 8,192 alloc'd
  17633. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17634. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17635. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17636. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17637. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  17638. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17639. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17640. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  17641. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17642. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17643. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17644. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17645. ==18304==  Block was alloc'd by thread #31
  17646. ==18304==
  17647. ==18304== Possible data race during read of size 4 at 0x12BDF920 by thread #1
  17648. ==18304== Locks held: 1, at address 0x12BDDC08
  17649. ==18304==    at 0x4CE5AFD: switch_sql_queue_manager_start (switch_core_sqldb.c:1904)
  17650. ==18304==    by 0x4CE5AFD: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  17651. ==18304==    by 0x12DDEECA: load_config (mod_fifo.c:4457)
  17652. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17653. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17654. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17655. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17656. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17657. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17658. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17659. ==18304==
  17660. ==18304== This conflicts with a previous write of size 4 by thread #31
  17661. ==18304== Locks held: 2, at addresses 0x12BDF998 0x12BE3CC8
  17662. ==18304==    at 0x4CE329A: switch_user_sql_thread (switch_core_sqldb.c:2306)
  17663. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17664. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17665. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17666. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17667. ==18304==  Address 0x12bdf920 is 336 bytes inside a block of size 8,192 alloc'd
  17668. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17669. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17670. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17671. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17672. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  17673. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  17674. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17675. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17676. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17677. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17678. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17679. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17680. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17681. ==18304==  Block was alloc'd by thread #1
  17682. ==18304==
  17683. ==18304== ----------------------------------------------------------------
  17684. ==18304==
  17685. ==18304==  Lock at 0x12BDDC08 was first observed
  17686. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17687. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17688. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  17689. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17690. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17691. ==18304==    by 0x12DD8991: fifo_get_db_handle (mod_fifo.c:909)
  17692. ==18304==    by 0x12DDEE44: load_config (mod_fifo.c:4442)
  17693. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17694. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17695. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17696. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17697. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17698. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17699. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17700. ==18304==  Address 0x12bddc08 is 1,144 bytes inside a block of size 8,192 alloc'd
  17701. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17702. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17703. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17704. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17705. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  17706. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17707. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17708. ==18304==    by 0x12DD8991: fifo_get_db_handle (mod_fifo.c:909)
  17709. ==18304==    by 0x12DDEE44: load_config (mod_fifo.c:4442)
  17710. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17711. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17712. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17713. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17714. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17715. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17716. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17717. ==18304==  Block was alloc'd by thread #1
  17718. ==18304==
  17719. ==18304==  Lock at 0x12BE3CC8 was first observed
  17720. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17721. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17722. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  17723. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17724. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17725. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  17726. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17727. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17728. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17729. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17730. ==18304==  Address 0x12be3cc8 is 1,144 bytes inside a block of size 8,192 alloc'd
  17731. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17732. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17733. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17734. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17735. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  17736. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17737. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17738. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  17739. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17740. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17741. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17742. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17743. ==18304==  Block was alloc'd by thread #31
  17744. ==18304==
  17745. ==18304== Possible data race during read of size 8 at 0x12BDF8E8 by thread #1
  17746. ==18304== Locks held: 1, at address 0x12BDDC08
  17747. ==18304==    at 0x4CE5B06: switch_sql_queue_manager_start (switch_core_sqldb.c:1908)
  17748. ==18304==    by 0x4CE5B06: switch_sql_queue_manager_start (switch_core_sqldb.c:1894)
  17749. ==18304==    by 0x12DDEECA: load_config (mod_fifo.c:4457)
  17750. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17751. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17752. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17753. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17754. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17755. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17756. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17757. ==18304==
  17758. ==18304== This conflicts with a previous write of size 8 by thread #31
  17759. ==18304== Locks held: 1, at address 0x12BE3CC8
  17760. ==18304==    at 0x4CE23D0: _switch_cache_db_get_db_handle (switch_core_sqldb.c:678)
  17761. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17762. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  17763. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17764. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17765. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17766. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17767. ==18304==  Address 0x12bdf8e8 is 280 bytes inside a block of size 8,192 alloc'd
  17768. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17769. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17770. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17771. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17772. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  17773. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  17774. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  17775. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  17776. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  17777. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  17778. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  17779. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17780. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17781. ==18304==  Block was alloc'd by thread #1
  17782. ==18304==
  17783. ==18304== ----------------------------------------------------------------
  17784. ==18304==
  17785. ==18304== Thread #18: lock order "0x97FFDF0 before 0x97FFDA0" violated
  17786. ==18304==
  17787. ==18304== Observed (incorrect) order is: acquisition of lock at 0x97FFDA0
  17788. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  17789. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  17790. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17791. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17792. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17793. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17794. ==18304==
  17795. ==18304==  followed by a later acquisition of lock at 0x97FFDF0
  17796. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17797. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  17798. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17799. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17800. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17801. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17802. ==18304==
  17803. ==18304== Required order was established by acquisition of lock at 0x97FFDF0
  17804. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17805. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  17806. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17807. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17808. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17809. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17810. ==18304==
  17811. ==18304==  followed by a later acquisition of lock at 0x97FFDA0
  17812. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  17813. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  17814. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17815. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17816. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17817. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17818. ==18304==
  17819. ==18304==  Lock at 0x97FFDF0 was first observed
  17820. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17821. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17822. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  17823. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  17824. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17825. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17826. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17827. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17828. ==18304==  Address 0x97ffdf0 is 560 bytes inside a block of size 8,192 alloc'd
  17829. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17830. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17831. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17832. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17833. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  17834. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  17835. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17836. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17837. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17838. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17839. ==18304==  Block was alloc'd by thread #12
  17840. ==18304==
  17841. ==18304==  Lock at 0x97FFDA0 was first observed
  17842. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17843. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17844. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  17845. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  17846. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17847. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17848. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17849. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17850. ==18304==  Address 0x97ffda0 is 480 bytes inside a block of size 8,192 alloc'd
  17851. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17852. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17853. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17854. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17855. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  17856. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  17857. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17858. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17859. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17860. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17861. ==18304==  Block was alloc'd by thread #12
  17862. ==18304==
  17863. ==18304==
  17864. ==18304== ---Thread-Announcement------------------------------------------
  17865. ==18304==
  17866. ==18304== Thread #30 was created
  17867. ==18304==    at 0x560E4BE: clone (clone.S:71)
  17868. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  17869. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  17870. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  17871. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  17872. ==18304==    by 0x9573BA8: launch_sofia_worker_thread (sofia.c:3117)
  17873. ==18304==    by 0x957E108: sofia_profile_thread_run (sofia.c:3416)
  17874. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17875. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17876. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17877. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17878. ==18304==
  17879. ==18304== ----------------------------------------------------------------
  17880. ==18304==
  17881. ==18304== Thread #30: lock order "0x12A900A8 before 0x7B89680" violated
  17882. ==18304==
  17883. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  17884. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17885. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  17886. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  17887. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17888. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17889. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17890. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  17891. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17892. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17893. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17894. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17895. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17896. ==18304==
  17897. ==18304==  followed by a later acquisition of lock at 0x12A900A8
  17898. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  17899. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  17900. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  17901. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  17902. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17903. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17904. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  17905. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  17906. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  17907. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17908. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17909. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17910. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17911. ==18304==
  17912. ==18304== Required order was established by acquisition of lock at 0x12A900A8
  17913. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17914. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  17915. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  17916. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17917. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17918. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  17919. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  17920. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  17921. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  17922. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  17923. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  17924. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17925. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17926. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17927. ==18304==
  17928. ==18304==  followed by a later acquisition of lock at 0x7B89680
  17929. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  17930. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  17931. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  17932. ==18304==    by 0x959A18B: sofia_glue_execute_sql2str (sofia_glue.c:2882)
  17933. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  17934. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  17935. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  17936. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  17937. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  17938. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17939. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17940. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  17941. ==18304==    by 0x560E4CE: clone (clone.S:95)
  17942. ==18304==
  17943. ==18304==  Lock at 0x12A900A8 was first observed
  17944. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17945. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17946. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  17947. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17948. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17949. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17950. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  17951. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  17952. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  17953. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  17954. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  17955. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  17956. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17957. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  17958. ==18304==  Address 0x12a900a8 is 1,144 bytes inside a block of size 8,192 alloc'd
  17959. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17960. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  17961. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  17962. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  17963. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  17964. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  17965. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  17966. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  17967. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  17968. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  17969. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  17970. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  17971. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  17972. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  17973. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  17974. ==18304==  Block was alloc'd by thread #15
  17975. ==18304==
  17976. ==18304==  Lock at 0x7B89680 was first observed
  17977. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  17978. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  17979. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  17980. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  17981. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  17982. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  17983. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17984. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  17985. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  17986. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  17987. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  17988. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  17989. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  17990. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  17991. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  17992. ==18304==    by 0x10AEC7: main (switch.c:1200)
  17993. ==18304==  Block was alloc'd by thread #1
  17994. ==18304==
  17995. ==18304==
  17996. ==18304== ----------------------------------------------------------------
  17997. ==18304==
  17998. ==18304==  Lock at 0x92F9638 was first observed
  17999. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18000. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  18001. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  18002. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  18003. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  18004. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18005. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18006. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18007. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  18008. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  18009. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  18010. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  18011. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  18012. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18013. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18014. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18015. ==18304==  Block was alloc'd by thread #27
  18016. ==18304==
  18017. ==18304== Possible data race during write of size 8 at 0x12951648 by thread #15
  18018. ==18304== Locks held: none
  18019. ==18304==    at 0x94D3848: nua_dialog_usage_set_refresh_range (nua_dialog.c:568)
  18020. ==18304==    by 0x95AA236: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4067)
  18021. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  18022. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  18023. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  18024. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  18025. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18026. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18027. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18028. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18029. ==18304==
  18030. ==18304== This conflicts with a previous read of size 8 by thread #27
  18031. ==18304== Locks held: 1, at address 0x92F9638
  18032. ==18304==    at 0x94E9818: nh_call_pending (nua_stack.c:756)
  18033. ==18304==    by 0x94E9818: nua_stack_timer (nua_stack.c:740)
  18034. ==18304==    by 0x9528F7E: su_timer_expire (su_timer.c:585)
  18035. ==18304==    by 0x951B7E5: su_base_port_run (su_base_port.c:339)
  18036. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  18037. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18038. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18039. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18040. ==18304==  Address 0x12951648 is 40 bytes inside a block of size 88 alloc'd
  18041. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  18042. ==18304==    by 0x9519064: sub_alloc (su_alloc.c:498)
  18043. ==18304==    by 0x951ADA7: su_zalloc (su_alloc.c:1577)
  18044. ==18304==    by 0x94D349D: nua_dialog_usage_add (nua_dialog.c:322)
  18045. ==18304==    by 0x94D4EC4: nua_subscribe_server_preprocess (nua_notifier.c:254)
  18046. ==18304==    by 0x94DED18: nua_stack_process_request (nua_server.c:226)
  18047. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  18048. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  18049. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  18050. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  18051. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  18052. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  18053. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  18054. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  18055. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  18056. ==18304==  Block was alloc'd by thread #27
  18057. ==18304==
  18058. ==18304== ---Thread-Announcement------------------------------------------
  18059. ==18304==
  18060. ==18304== Thread #10 was created
  18061. ==18304==    at 0x560E4BE: clone (clone.S:71)
  18062. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  18063. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  18064. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  18065. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  18066. ==18304==    by 0x4CE9AF3: switch_core_sqldb_start (switch_core_sqldb.c:3871)
  18067. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  18068. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  18069. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18070. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18071. ==18304==
  18072. ==18304== ----------------------------------------------------------------
  18073. ==18304==
  18074. ==18304== Possible data race during read of size 4 at 0x79DD534 by thread #10
  18075. ==18304== Locks held: none
  18076. ==18304==    at 0x4CE5C66: switch_sql_queue_manager_push (switch_core_sqldb.c:1955)
  18077. ==18304==    by 0x4CE93AE: switch_core_expire_registration (switch_core_sqldb.c:3614)
  18078. ==18304==    by 0x4CE93AE: switch_core_expire_registration (switch_core_sqldb.c:3596)
  18079. ==18304==    by 0x4CE9458: switch_core_sql_db_thread (switch_core_sqldb.c:1597)
  18080. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18081. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18082. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18083. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18084. ==18304==  Address 0x79dd534 is 340 bytes inside a block of size 8,192 alloc'd
  18085. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18086. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18087. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18088. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18089. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  18090. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  18091. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  18092. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  18093. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  18094. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18095. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18096. ==18304==  Block was alloc'd by thread #1
  18097. ==18304==
  18098. ==18304== ----------------------------------------------------------------
  18099. ==18304==
  18100. ==18304== Thread #21: lock order "0x99F6240 before 0x99F61F0" violated
  18101. ==18304==
  18102. ==18304== Observed (incorrect) order is: acquisition of lock at 0x99F61F0
  18103. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  18104. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  18105. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18106. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18107. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18108. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18109. ==18304==
  18110. ==18304==  followed by a later acquisition of lock at 0x99F6240
  18111. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18112. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  18113. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18114. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18115. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18116. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18117. ==18304==
  18118. ==18304== Required order was established by acquisition of lock at 0x99F6240
  18119. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18120. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  18121. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18122. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18123. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18124. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18125. ==18304==
  18126. ==18304==  followed by a later acquisition of lock at 0x99F61F0
  18127. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  18128. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  18129. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18130. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18131. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18132. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18133. ==18304==
  18134. ==18304==  Lock at 0x99F6240 was first observed
  18135. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18136. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  18137. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  18138. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18139. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18140. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18141. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18142. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18143. ==18304==  Address 0x99f6240 is 576 bytes inside a block of size 8,192 alloc'd
  18144. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18145. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18146. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18147. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18148. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  18149. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18150. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18151. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18152. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18153. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18154. ==18304==  Block was alloc'd by thread #11
  18155. ==18304==
  18156. ==18304==  Lock at 0x99F61F0 was first observed
  18157. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18158. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  18159. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  18160. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18161. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18162. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18163. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18164. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18165. ==18304==  Address 0x99f61f0 is 496 bytes inside a block of size 8,192 alloc'd
  18166. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18167. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18168. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18169. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18170. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  18171. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18172. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18173. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18174. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18175. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18176. ==18304==  Block was alloc'd by thread #11
  18177. ==18304==
  18178. ==18304==
  18179. ==18304== ----------------------------------------------------------------
  18180. ==18304==
  18181. ==18304==  Lock at 0x9ABEEE8 was first observed
  18182. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18183. ==18304==    by 0xB9B9436: __ks_mutex_create (ks_mutex.c:252)
  18184. ==18304==    by 0xB9B964F: __ks_cond_create_ex (ks_mutex.c:415)
  18185. ==18304==    by 0xB9B9713: __ks_cond_create (ks_mutex.c:446)
  18186. ==18304==    by 0x1280469B: swclt_hmgr_init (handle_manager.c:283)
  18187. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  18188. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  18189. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18190. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18191. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18192. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18193. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18194. ==18304==  Address 0x9abeee8 is 104 bytes inside a block of size 162 alloc'd
  18195. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18196. ==18304==    by 0xB9BA9F5: alloc_mem (ks_pool.c:330)
  18197. ==18304==    by 0xB9BBD39: __ks_pool_alloc_ex (ks_pool.c:1058)
  18198. ==18304==    by 0xB9BC057: __ks_pool_alloc (ks_pool.c:1101)
  18199. ==18304==    by 0xB9B9361: __ks_mutex_create (ks_mutex.c:217)
  18200. ==18304==    by 0xB9B964F: __ks_cond_create_ex (ks_mutex.c:415)
  18201. ==18304==    by 0xB9B9713: __ks_cond_create (ks_mutex.c:446)
  18202. ==18304==    by 0x1280469B: swclt_hmgr_init (handle_manager.c:283)
  18203. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  18204. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  18205. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18206. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18207. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18208. ==18304==  Block was alloc'd by thread #1
  18209. ==18304==
  18210. ==18304== Possible data race during read of size 8 at 0xB9F0068 by thread #29
  18211. ==18304== Locks held: 1, at address 0x9ABEEE8
  18212. ==18304==    at 0xB9B8C46: ks_log (ks_log.c:450)
  18213. ==18304==    by 0x128045CA: __manager_loop (handle_manager.c:258)
  18214. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  18215. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  18216. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18217. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18218. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18219. ==18304==
  18220. ==18304== This conflicts with a previous write of size 8 by thread #1
  18221. ==18304== Locks held: none
  18222. ==18304==    at 0xB9B8A98: ks_global_set_logger (ks_log.c:394)
  18223. ==18304==    by 0xB94DB42: mod_signalwire_load (mod_signalwire.c:876)
  18224. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18225. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18226. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18227. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18228. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18229. ==18304==  Address 0xb9f0068 is 0 bytes inside data symbol "ks_logger"
  18230. ==18304==
  18231. ==18304== ----------------------------------------------------------------
  18232. ==18304==
  18233. ==18304== Thread #30: lock order "0x7B89680 before 0x12A900A8" violated
  18234. ==18304==
  18235. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12A900A8
  18236. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  18237. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  18238. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  18239. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  18240. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  18241. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  18242. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  18243. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  18244. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  18245. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18246. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18247. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18248. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18249. ==18304==
  18250. ==18304==  followed by a later acquisition of lock at 0x7B89680
  18251. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18252. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  18253. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  18254. ==18304==    by 0x9599FD4: sofia_glue_execute_sql_callback (sofia_glue.c:2846)
  18255. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  18256. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  18257. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18258. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18259. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18260. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18261. ==18304==
  18262. ==18304== Required order was established by acquisition of lock at 0x7B89680
  18263. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18264. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  18265. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  18266. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  18267. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  18268. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  18269. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  18270. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  18271. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  18272. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  18273. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  18274. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18275. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18276. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18277. ==18304==
  18278. ==18304==  followed by a later acquisition of lock at 0x12A900A8
  18279. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18280. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  18281. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  18282. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  18283. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  18284. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  18285. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  18286. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  18287. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  18288. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  18289. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  18290. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18291. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18292. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18293. ==18304==
  18294. ==18304==  Lock at 0x7B89680 was first observed
  18295. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18296. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  18297. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  18298. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  18299. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  18300. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18301. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18302. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  18303. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18304. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  18305. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  18306. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  18307. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  18308. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  18309. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  18310. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18311. ==18304==  Block was alloc'd by thread #1
  18312. ==18304==
  18313. ==18304==  Lock at 0x12A900A8 was first observed
  18314. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18315. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  18316. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  18317. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  18318. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  18319. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  18320. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  18321. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  18322. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  18323. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  18324. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  18325. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  18326. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18327. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18328. ==18304==  Address 0x12a900a8 is 1,144 bytes inside a block of size 8,192 alloc'd
  18329. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18330. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18331. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18332. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18333. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  18334. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  18335. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  18336. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  18337. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  18338. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  18339. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  18340. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  18341. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  18342. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  18343. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18344. ==18304==  Block was alloc'd by thread #15
  18345. ==18304==
  18346. ==18304==
  18347. ==18304== ----------------------------------------------------------------
  18348. ==18304==
  18349. ==18304== Thread #28: lock order "0xAEDA190 before 0xAEDA1E0" violated
  18350. ==18304==
  18351. ==18304== Observed (incorrect) order is: acquisition of lock at 0xAEDA1E0
  18352. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18353. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  18354. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18355. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18356. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18357. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18358. ==18304==
  18359. ==18304==  followed by a later acquisition of lock at 0xAEDA190
  18360. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  18361. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  18362. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18363. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18364. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18365. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18366. ==18304==
  18367. ==18304== Required order was established by acquisition of lock at 0xAEDA190
  18368. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18369. ==18304==    by 0x4CE3278: switch_user_sql_thread (switch_core_sqldb.c:2289)
  18370. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18371. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18372. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18373. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18374. ==18304==
  18375. ==18304==  followed by a later acquisition of lock at 0xAEDA1E0
  18376. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18377. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  18378. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18379. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18380. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18381. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18382. ==18304==
  18383. ==18304==  Lock at 0xAEDA190 was first observed
  18384. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18385. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  18386. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  18387. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18388. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18389. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18390. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18391. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18392. ==18304==  Address 0xaeda190 is 480 bytes inside a block of size 8,192 alloc'd
  18393. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18394. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18395. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18396. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18397. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  18398. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18399. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18400. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18401. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18402. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18403. ==18304==  Block was alloc'd by thread #14
  18404. ==18304==
  18405. ==18304==  Lock at 0xAEDA1E0 was first observed
  18406. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18407. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  18408. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  18409. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18410. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18411. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18412. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18413. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18414. ==18304==  Address 0xaeda1e0 is 560 bytes inside a block of size 8,192 alloc'd
  18415. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18416. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18417. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18418. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18419. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  18420. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18421. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18422. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18423. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18424. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18425. ==18304==  Block was alloc'd by thread #14
  18426. ==18304==
  18427. ==18304==
  18428. ==18304== ----------------------------------------------------------------
  18429. ==18304==
  18430. ==18304== Possible data race during read of size 8 at 0xB9F0068 by thread #29
  18431. ==18304== Locks held: none
  18432. ==18304==    at 0xB9B8C46: ks_log (ks_log.c:450)
  18433. ==18304==    by 0x128043A8: __service_handle_type (handle_manager.c:211)
  18434. ==18304==    by 0x1280446D: __service_handles (handle_manager.c:230)
  18435. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  18436. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  18437. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  18438. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18439. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18440. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18441. ==18304==
  18442. ==18304== This conflicts with a previous write of size 8 by thread #1
  18443. ==18304== Locks held: none
  18444. ==18304==    at 0xB9B8A98: ks_global_set_logger (ks_log.c:394)
  18445. ==18304==    by 0xB94DB42: mod_signalwire_load (mod_signalwire.c:876)
  18446. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18447. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18448. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18449. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18450. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18451. ==18304==  Address 0xb9f0068 is 0 bytes inside data symbol "ks_logger"
  18452. ==18304==
  18453. ==18304== ----------------------------------------------------------------
  18454. ==18304==
  18455. ==18304== Possible data race during read of size 4 at 0xF671020 by thread #29
  18456. ==18304== Locks held: none
  18457. ==18304==    at 0xB9AF858: ks_handle_enum_type (ks_handle.c:872)
  18458. ==18304==    by 0x1280440D: __service_handle_type (handle_manager.c:213)
  18459. ==18304==    by 0x1280446D: __service_handles (handle_manager.c:230)
  18460. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  18461. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  18462. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  18463. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18464. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18465. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18466. ==18304==
  18467. ==18304== This conflicts with a previous write of size 4 by thread #1
  18468. ==18304== Locks held: none
  18469. ==18304==    at 0xB9AE682: __ks_handle_alloc_ex (ks_handle.c:374)
  18470. ==18304==    by 0x12812B00: __swclt_sess_create (session.c:818)
  18471. ==18304==    by 0xB94DE34: mod_signalwire_load (mod_signalwire.c:901)
  18472. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18473. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18474. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18475. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18476. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18477. ==18304==  Address 0xf671020 is 63438080 bytes inside data symbol "g_handle_groups"
  18478. ==18304==
  18479. ==18304== ----------------------------------------------------------------
  18480. ==18304==
  18481. ==18304== Thread #23: lock order "0x9B2DED0 before 0x9B2DE80" violated
  18482. ==18304==
  18483. ==18304== Observed (incorrect) order is: acquisition of lock at 0x9B2DE80
  18484. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  18485. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  18486. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18487. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18488. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18489. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18490. ==18304==
  18491. ==18304==  followed by a later acquisition of lock at 0x9B2DED0
  18492. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18493. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  18494. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18495. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18496. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18497. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18498. ==18304==
  18499. ==18304== Required order was established by acquisition of lock at 0x9B2DED0
  18500. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18501. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  18502. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18503. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18504. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18505. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18506. ==18304==
  18507. ==18304==  followed by a later acquisition of lock at 0x9B2DE80
  18508. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  18509. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  18510. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18511. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18512. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18513. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18514. ==18304==
  18515. ==18304==  Lock at 0x9B2DED0 was first observed
  18516. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18517. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  18518. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  18519. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18520. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18521. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18522. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18523. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18524. ==18304==  Address 0x9b2ded0 is 576 bytes inside a block of size 8,192 alloc'd
  18525. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18526. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18527. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18528. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18529. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  18530. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18531. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18532. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18533. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18534. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18535. ==18304==  Block was alloc'd by thread #13
  18536. ==18304==
  18537. ==18304==  Lock at 0x9B2DE80 was first observed
  18538. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18539. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  18540. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  18541. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18542. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18543. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18544. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18545. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18546. ==18304==  Address 0x9b2de80 is 496 bytes inside a block of size 8,192 alloc'd
  18547. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18548. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18549. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18550. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18551. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  18552. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  18553. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18554. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18555. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18556. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18557. ==18304==  Block was alloc'd by thread #13
  18558. ==18304==
  18559. ==18304==
  18560. ==18304== ----------------------------------------------------------------
  18561. ==18304==
  18562. ==18304== Possible data race during read of size 4 at 0x51215E0 by thread #6
  18563. ==18304== Locks held: none
  18564. ==18304==    at 0x4DBF130: switch_micro_time_now (switch_time.c:312)
  18565. ==18304==    by 0x4D5470A: switch_event_prep_for_delivery_detailed (switch_event.c:1972)
  18566. ==18304==    by 0x4D5498E: switch_event_create_subclass_detailed (switch_event.c:774)
  18567. ==18304==    by 0x4D5498E: switch_event_create_subclass_detailed (switch_event.c:743)
  18568. ==18304==    by 0x4CFEF7B: send_heartbeat (switch_core.c:81)
  18569. ==18304==    by 0x4CFEF7B: heartbeat_callback (switch_core.c:212)
  18570. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  18571. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  18572. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  18573. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18574. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18575. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18576. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18577. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  18578. ==18304==
  18579. ==18304== ----------------------------------------------------------------
  18580. ==18304==
  18581. ==18304==  Lock at 0x12BDF998 was first observed
  18582. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18583. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  18584. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  18585. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  18586. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  18587. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  18588. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18589. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18590. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18591. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18592. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18593. ==18304==  Address 0x12bdf998 is 456 bytes inside a block of size 8,192 alloc'd
  18594. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18595. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18596. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18597. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18598. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  18599. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  18600. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  18601. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  18602. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18603. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18604. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18605. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18606. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18607. ==18304==  Block was alloc'd by thread #1
  18608. ==18304==
  18609. ==18304==  Lock at 0x12BE3CC8 was first observed
  18610. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18611. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  18612. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  18613. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  18614. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  18615. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  18616. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18617. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18618. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18619. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18620. ==18304==  Address 0x12be3cc8 is 1,144 bytes inside a block of size 8,192 alloc'd
  18621. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18622. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18623. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18624. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18625. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  18626. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  18627. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  18628. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  18629. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18630. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18631. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18632. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18633. ==18304==  Block was alloc'd by thread #31
  18634. ==18304==
  18635. ==18304== Possible data race during read of size 4 at 0x12BDF924 by thread #1
  18636. ==18304== Locks held: none
  18637. ==18304==    at 0x4CE858B: switch_sql_queue_manager_push_confirm (switch_core_sqldb.c:1997)
  18638. ==18304==    by 0x12DD3D2C: fifo_execute_sql_queued (mod_fifo.c:929)
  18639. ==18304==    by 0x12DDEF4C: load_config (mod_fifo.c:4469)
  18640. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  18641. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  18642. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18643. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18644. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18645. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18646. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18647. ==18304==
  18648. ==18304== This conflicts with a previous write of size 4 by thread #31
  18649. ==18304== Locks held: 2, at addresses 0x12BDF998 0x12BE3CC8
  18650. ==18304==    at 0x4CE329A: switch_user_sql_thread (switch_core_sqldb.c:2306)
  18651. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18652. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18653. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18654. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18655. ==18304==  Address 0x12bdf924 is 340 bytes inside a block of size 8,192 alloc'd
  18656. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18657. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  18658. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  18659. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  18660. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  18661. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  18662. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  18663. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  18664. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18665. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18666. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18667. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18668. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18669. ==18304==  Block was alloc'd by thread #1
  18670. ==18304==
  18671. ==18304== ----------------------------------------------------------------
  18672. ==18304==
  18673. ==18304== Possible data race during read of size 2 at 0xF671012 by thread #29
  18674. ==18304== Locks held: none
  18675. ==18304==    at 0xB9AF868: ks_handle_enum_type (ks_handle.c:873)
  18676. ==18304==    by 0x1280440D: __service_handle_type (handle_manager.c:213)
  18677. ==18304==    by 0x12804495: __service_handles (handle_manager.c:234)
  18678. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  18679. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  18680. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  18681. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18682. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18683. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18684. ==18304==
  18685. ==18304== This conflicts with a previous write of size 2 by thread #1
  18686. ==18304== Locks held: none
  18687. ==18304==    at 0xB9AF1A4: ks_handle_set_ready (ks_handle.c:707)
  18688. ==18304==    by 0x12812B92: __swclt_sess_create (session.c:818)
  18689. ==18304==    by 0xB94DE34: mod_signalwire_load (mod_signalwire.c:901)
  18690. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18691. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18692. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18693. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18694. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18695. ==18304==  Address 0xf671012 is 63438066 bytes inside data symbol "g_handle_groups"
  18696. ==18304==
  18697. ==18304== ----------------------------------------------------------------
  18698. ==18304==
  18699. ==18304== Possible data race during read of size 2 at 0xF671010 by thread #29
  18700. ==18304== Locks held: none
  18701. ==18304==    at 0xB9AF88E: ks_handle_enum_type (ks_handle.c:874)
  18702. ==18304==    by 0x1280440D: __service_handle_type (handle_manager.c:213)
  18703. ==18304==    by 0x12804495: __service_handles (handle_manager.c:234)
  18704. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  18705. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  18706. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  18707. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18708. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18709. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18710. ==18304==
  18711. ==18304== This conflicts with a previous write of size 2 by thread #1
  18712. ==18304== Locks held: none
  18713. ==18304==    at 0xB9AE664: __ks_handle_alloc_ex (ks_handle.c:368)
  18714. ==18304==    by 0x12812B00: __swclt_sess_create (session.c:818)
  18715. ==18304==    by 0xB94DE34: mod_signalwire_load (mod_signalwire.c:901)
  18716. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18717. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18718. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18719. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18720. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18721. ==18304==  Address 0xf671010 is 63438064 bytes inside data symbol "g_handle_groups"
  18722. ==18304==
  18723. ==18304== ----------------------------------------------------------------
  18724. ==18304==
  18725. ==18304== Possible data race during read of size 8 at 0xF671030 by thread #29
  18726. ==18304== Locks held: none
  18727. ==18304==    at 0xB9AF8AB: ks_handle_enum_type (ks_handle.c:875)
  18728. ==18304==    by 0x1280440D: __service_handle_type (handle_manager.c:213)
  18729. ==18304==    by 0x12804495: __service_handles (handle_manager.c:234)
  18730. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  18731. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  18732. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  18733. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18734. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18735. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18736. ==18304==
  18737. ==18304== This conflicts with a previous write of size 8 by thread #1
  18738. ==18304== Locks held: none
  18739. ==18304==    at 0xB9AE627: __ks_handle_alloc_ex (ks_handle.c:358)
  18740. ==18304==    by 0x12812B00: __swclt_sess_create (session.c:818)
  18741. ==18304==    by 0xB94DE34: mod_signalwire_load (mod_signalwire.c:901)
  18742. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18743. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18744. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18745. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18746. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18747. ==18304==  Address 0xf671030 is 63438096 bytes inside data symbol "g_handle_groups"
  18748. ==18304==
  18749. ==18304== ----------------------------------------------------------------
  18750. ==18304==
  18751. ==18304== Possible data race during read of size 8 at 0x932EB68 by thread #29
  18752. ==18304== Locks held: none
  18753. ==18304==    at 0xB9AF8AF: ks_handle_enum_type (ks_handle.c:875)
  18754. ==18304==    by 0x1280440D: __service_handle_type (handle_manager.c:213)
  18755. ==18304==    by 0x12804495: __service_handles (handle_manager.c:234)
  18756. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  18757. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  18758. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  18759. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18760. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18761. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18762. ==18304==
  18763. ==18304== This conflicts with a previous write of size 8 by thread #1
  18764. ==18304== Locks held: none
  18765. ==18304==    at 0xB9AE70C: __ks_handle_alloc_ex (ks_handle.c:391)
  18766. ==18304==    by 0x12812B00: __swclt_sess_create (session.c:818)
  18767. ==18304==    by 0xB94DE34: mod_signalwire_load (mod_signalwire.c:901)
  18768. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18769. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18770. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18771. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18772. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18773. ==18304==  Address 0x932eb68 is 104 bytes inside a block of size 834 alloc'd
  18774. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18775. ==18304==    by 0xB9BA9F5: alloc_mem (ks_pool.c:330)
  18776. ==18304==    by 0xB9BBD39: __ks_pool_alloc_ex (ks_pool.c:1058)
  18777. ==18304==    by 0xB9BC057: __ks_pool_alloc (ks_pool.c:1101)
  18778. ==18304==    by 0xB9AE626: __ks_handle_alloc_ex (ks_handle.c:358)
  18779. ==18304==    by 0x12812B00: __swclt_sess_create (session.c:818)
  18780. ==18304==    by 0xB94DE34: mod_signalwire_load (mod_signalwire.c:901)
  18781. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18782. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18783. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18784. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18785. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18786. ==18304==  Block was alloc'd by thread #1
  18787. ==18304==
  18788. ==18304== ----------------------------------------------------------------
  18789. ==18304==
  18790. ==18304== Possible data race during read of size 4 at 0x932EB90 by thread #29
  18791. ==18304== Locks held: none
  18792. ==18304==    at 0x12803719: ks_atomic_increment_uint32 (ks_atomic.h:49)
  18793. ==18304==    by 0x12803751: ks_spinlock_try_acquire (ks_atomic.h:74)
  18794. ==18304==    by 0x128037E9: ks_spinlock_acquire (ks_atomic.h:95)
  18795. ==18304==    by 0x12803E9F: __service_handle (handle_manager.c:100)
  18796. ==18304==    by 0x128043F4: __service_handle_type (handle_manager.c:219)
  18797. ==18304==    by 0x12804495: __service_handles (handle_manager.c:234)
  18798. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  18799. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  18800. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  18801. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18802. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18803. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18804. ==18304==  Address 0x932eb90 is 144 bytes inside a block of size 834 alloc'd
  18805. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18806. ==18304==    by 0xB9BA9F5: alloc_mem (ks_pool.c:330)
  18807. ==18304==    by 0xB9BBD39: __ks_pool_alloc_ex (ks_pool.c:1058)
  18808. ==18304==    by 0xB9BC057: __ks_pool_alloc (ks_pool.c:1101)
  18809. ==18304==    by 0xB9AE626: __ks_handle_alloc_ex (ks_handle.c:358)
  18810. ==18304==    by 0x12812B00: __swclt_sess_create (session.c:818)
  18811. ==18304==    by 0xB94DE34: mod_signalwire_load (mod_signalwire.c:901)
  18812. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18813. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18814. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18815. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18816. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18817. ==18304==  Block was alloc'd by thread #1
  18818. ==18304==
  18819. ==18304== ----------------------------------------------------------------
  18820. ==18304==
  18821. ==18304== Possible data race during read of size 8 at 0x932EBA0 by thread #29
  18822. ==18304== Locks held: none
  18823. ==18304==    at 0x12803ED1: __service_handle (handle_manager.c:104)
  18824. ==18304==    by 0x128043F4: __service_handle_type (handle_manager.c:219)
  18825. ==18304==    by 0x12804495: __service_handles (handle_manager.c:234)
  18826. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  18827. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  18828. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  18829. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18830. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18831. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18832. ==18304==  Address 0x932eba0 is 160 bytes inside a block of size 834 alloc'd
  18833. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18834. ==18304==    by 0xB9BA9F5: alloc_mem (ks_pool.c:330)
  18835. ==18304==    by 0xB9BBD39: __ks_pool_alloc_ex (ks_pool.c:1058)
  18836. ==18304==    by 0xB9BC057: __ks_pool_alloc (ks_pool.c:1101)
  18837. ==18304==    by 0xB9AE626: __ks_handle_alloc_ex (ks_handle.c:358)
  18838. ==18304==    by 0x12812B00: __swclt_sess_create (session.c:818)
  18839. ==18304==    by 0xB94DE34: mod_signalwire_load (mod_signalwire.c:901)
  18840. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18841. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18842. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18843. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18844. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18845. ==18304==  Block was alloc'd by thread #1
  18846. ==18304==
  18847. ==18304== ----------------------------------------------------------------
  18848. ==18304==
  18849. ==18304==  Lock at 0x9ABEEE8 was first observed
  18850. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18851. ==18304==    by 0xB9B9436: __ks_mutex_create (ks_mutex.c:252)
  18852. ==18304==    by 0xB9B964F: __ks_cond_create_ex (ks_mutex.c:415)
  18853. ==18304==    by 0xB9B9713: __ks_cond_create (ks_mutex.c:446)
  18854. ==18304==    by 0x1280469B: swclt_hmgr_init (handle_manager.c:283)
  18855. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  18856. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  18857. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18858. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18859. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18860. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18861. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18862. ==18304==  Address 0x9abeee8 is 104 bytes inside a block of size 162 alloc'd
  18863. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  18864. ==18304==    by 0xB9BA9F5: alloc_mem (ks_pool.c:330)
  18865. ==18304==    by 0xB9BBD39: __ks_pool_alloc_ex (ks_pool.c:1058)
  18866. ==18304==    by 0xB9BC057: __ks_pool_alloc (ks_pool.c:1101)
  18867. ==18304==    by 0xB9B9361: __ks_mutex_create (ks_mutex.c:217)
  18868. ==18304==    by 0xB9B964F: __ks_cond_create_ex (ks_mutex.c:415)
  18869. ==18304==    by 0xB9B9713: __ks_cond_create (ks_mutex.c:446)
  18870. ==18304==    by 0x1280469B: swclt_hmgr_init (handle_manager.c:283)
  18871. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  18872. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  18873. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18874. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18875. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18876. ==18304==  Block was alloc'd by thread #1
  18877. ==18304==
  18878. ==18304== Possible data race during read of size 8 at 0xB9F0068 by thread #29
  18879. ==18304== Locks held: 1, at address 0x9ABEEE8
  18880. ==18304==    at 0xB9B8C46: ks_log (ks_log.c:450)
  18881. ==18304==    by 0x1280458D: __manager_loop (handle_manager.c:254)
  18882. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  18883. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  18884. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18885. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18886. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18887. ==18304==
  18888. ==18304== This conflicts with a previous write of size 8 by thread #1
  18889. ==18304== Locks held: none
  18890. ==18304==    at 0xB9B8A98: ks_global_set_logger (ks_log.c:394)
  18891. ==18304==    by 0xB94DB42: mod_signalwire_load (mod_signalwire.c:876)
  18892. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18893. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18894. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18895. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18896. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18897. ==18304==  Address 0xb9f0068 is 0 bytes inside data symbol "ks_logger"
  18898. ==18304==
  18899. ==18304== ---Thread-Announcement------------------------------------------
  18900. ==18304==
  18901. ==18304== Thread #34 was created
  18902. ==18304==    at 0x560E4BE: clone (clone.S:71)
  18903. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  18904. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  18905. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  18906. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  18907. ==18304==    by 0x133268E9: launch_timer_thread (mod_spandsp_fax.c:255)
  18908. ==18304==    by 0x133268E9: mod_spandsp_fax_load (mod_spandsp_fax.c:1717)
  18909. ==18304==    by 0x1331E8B4: mod_spandsp_init (mod_spandsp.c:851)
  18910. ==18304==    by 0x1331E8B4: mod_spandsp_init (mod_spandsp.c:775)
  18911. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18912. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18913. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18914. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18915. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18916. ==18304==
  18917. ==18304== ----------------------------------------------------------------
  18918. ==18304==
  18919. ==18304== Possible data race during write of size 4 at 0x133D8B18 by thread #34
  18920. ==18304== Locks held: none
  18921. ==18304==    at 0x13321C8D: timer_thread_run (mod_spandsp_fax.c:209)
  18922. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18923. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18924. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18925. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18926. ==18304==
  18927. ==18304== This conflicts with a previous read of size 4 by thread #1
  18928. ==18304== Locks held: none
  18929. ==18304==    at 0x133268EA: mod_spandsp_fax_load (mod_spandsp_fax.c:1719)
  18930. ==18304==    by 0x1331E8B4: mod_spandsp_init (mod_spandsp.c:851)
  18931. ==18304==    by 0x1331E8B4: mod_spandsp_init (mod_spandsp.c:775)
  18932. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18933. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18934. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18935. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18936. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18937. ==18304==  Address 0x133d8b18 is 24 bytes inside data symbol "t38_state_list"
  18938. ==18304==
  18939. ==18304== ----------------------------------------------------------------
  18940. ==18304==
  18941. ==18304== Possible data race during read of size 4 at 0x133D8B18 by thread #1
  18942. ==18304== Locks held: none
  18943. ==18304==    at 0x13326917: mod_spandsp_fax_load (mod_spandsp_fax.c:1719)
  18944. ==18304==    by 0x1331E8B4: mod_spandsp_init (mod_spandsp.c:851)
  18945. ==18304==    by 0x1331E8B4: mod_spandsp_init (mod_spandsp.c:775)
  18946. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  18947. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  18948. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  18949. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  18950. ==18304==    by 0x10AEC7: main (switch.c:1200)
  18951. ==18304==
  18952. ==18304== This conflicts with a previous write of size 4 by thread #34
  18953. ==18304== Locks held: none
  18954. ==18304==    at 0x13321C8D: timer_thread_run (mod_spandsp_fax.c:209)
  18955. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18956. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18957. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18958. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18959. ==18304==  Address 0x133d8b18 is 24 bytes inside data symbol "t38_state_list"
  18960. ==18304==
  18961. ==18304== ----------------------------------------------------------------
  18962. ==18304==
  18963. ==18304== Thread #28: lock order "0xAEDA1E0 before 0xAEDA190" violated
  18964. ==18304==
  18965. ==18304== Observed (incorrect) order is: acquisition of lock at 0xAEDA190
  18966. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  18967. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  18968. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18969. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18970. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18971. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18972. ==18304==
  18973. ==18304==  followed by a later acquisition of lock at 0xAEDA1E0
  18974. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18975. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  18976. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18977. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18978. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18979. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18980. ==18304==
  18981. ==18304== Required order was established by acquisition of lock at 0xAEDA1E0
  18982. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  18983. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  18984. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18985. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18986. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18987. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18988. ==18304==
  18989. ==18304==  followed by a later acquisition of lock at 0xAEDA190
  18990. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  18991. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  18992. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  18993. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  18994. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  18995. ==18304==    by 0x560E4CE: clone (clone.S:95)
  18996. ==18304==
  18997. ==18304==  Lock at 0xAEDA1E0 was first observed
  18998. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  18999. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19000. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  19001. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  19002. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19003. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19004. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19005. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19006. ==18304==  Address 0xaeda1e0 is 560 bytes inside a block of size 8,192 alloc'd
  19007. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19008. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  19009. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  19010. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  19011. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  19012. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  19013. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19014. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19015. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19016. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19017. ==18304==  Block was alloc'd by thread #14
  19018. ==18304==
  19019. ==18304==  Lock at 0xAEDA190 was first observed
  19020. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19021. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19022. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  19023. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  19024. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19025. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19026. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19027. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19028. ==18304==  Address 0xaeda190 is 480 bytes inside a block of size 8,192 alloc'd
  19029. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19030. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  19031. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  19032. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  19033. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  19034. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  19035. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19036. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19037. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19038. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19039. ==18304==  Block was alloc'd by thread #14
  19040. ==18304==
  19041. ==18304==
  19042. ==18304== ---Thread-Announcement------------------------------------------
  19043. ==18304==
  19044. ==18304== Thread #33 was created
  19045. ==18304==    at 0x560E4BE: clone (clone.S:71)
  19046. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  19047. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  19048. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  19049. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  19050. ==18304==    by 0x95A5052: sofia_presence_event_thread_start (sofia_presence.c:1695)
  19051. ==18304==    by 0x95A50C4: sofia_presence_event_handler (sofia_presence.c:1704)
  19052. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  19053. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  19054. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19055. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19056. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19057. ==18304==
  19058. ==18304== ----------------------------------------------------------------
  19059. ==18304==
  19060. ==18304== Thread #33: lock order "0x12A99B38 before 0x7B89680" violated
  19061. ==18304==
  19062. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  19063. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19064. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  19065. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  19066. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19067. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19068. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19069. ==18304==    by 0x95A330F: actual_sofia_presence_event_handler (sofia_presence.c:1374)
  19070. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  19071. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  19072. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19073. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19074. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19075. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19076. ==18304==
  19077. ==18304==  followed by a later acquisition of lock at 0x12A99B38
  19078. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  19079. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  19080. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  19081. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  19082. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19083. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19084. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19085. ==18304==    by 0x95A330F: actual_sofia_presence_event_handler (sofia_presence.c:1374)
  19086. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  19087. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  19088. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19089. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19090. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19091. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19092. ==18304==
  19093. ==18304== Required order was established by acquisition of lock at 0x12A99B38
  19094. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19095. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  19096. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  19097. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19098. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19099. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19100. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  19101. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  19102. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19103. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19104. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19105. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19106. ==18304==
  19107. ==18304==  followed by a later acquisition of lock at 0x7B89680
  19108. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19109. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  19110. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  19111. ==18304==    by 0x9599FD4: sofia_glue_execute_sql_callback (sofia_glue.c:2846)
  19112. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  19113. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  19114. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19115. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19116. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19117. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19118. ==18304==
  19119. ==18304==  Lock at 0x12A99B38 was first observed
  19120. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19121. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19122. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  19123. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19124. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19125. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19126. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19127. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  19128. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  19129. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19130. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19131. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19132. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19133. ==18304==  Address 0x12a99b38 is 1,144 bytes inside a block of size 8,192 alloc'd
  19134. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19135. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  19136. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  19137. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  19138. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  19139. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19140. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19141. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19142. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19143. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  19144. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  19145. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19146. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19147. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19148. ==18304==  Block was alloc'd by thread #24
  19149. ==18304==
  19150. ==18304==  Lock at 0x7B89680 was first observed
  19151. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19152. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19153. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  19154. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  19155. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  19156. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19157. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19158. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  19159. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19160. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  19161. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  19162. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  19163. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  19164. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  19165. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  19166. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19167. ==18304==  Block was alloc'd by thread #1
  19168. ==18304==
  19169. ==18304==
  19170. ==18304== ----------------------------------------------------------------
  19171. ==18304==
  19172. ==18304== Thread #33: lock order "0x7B89680 before 0x12A99B38" violated
  19173. ==18304==
  19174. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12A99B38
  19175. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  19176. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  19177. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  19178. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  19179. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19180. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19181. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19182. ==18304==    by 0x95A330F: actual_sofia_presence_event_handler (sofia_presence.c:1374)
  19183. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  19184. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  19185. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19186. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19187. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19188. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19189. ==18304==
  19190. ==18304==  followed by a later acquisition of lock at 0x7B89680
  19191. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19192. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  19193. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  19194. ==18304==    by 0x9599FD4: sofia_glue_execute_sql_callback (sofia_glue.c:2846)
  19195. ==18304==    by 0x95A330F: actual_sofia_presence_event_handler (sofia_presence.c:1374)
  19196. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  19197. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  19198. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19199. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19200. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19201. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19202. ==18304==
  19203. ==18304== Required order was established by acquisition of lock at 0x7B89680
  19204. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19205. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  19206. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  19207. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19208. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19209. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19210. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  19211. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  19212. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19213. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19214. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19215. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19216. ==18304==
  19217. ==18304==  followed by a later acquisition of lock at 0x12A99B38
  19218. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19219. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  19220. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  19221. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19222. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19223. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19224. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  19225. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  19226. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19227. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19228. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19229. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19230. ==18304==
  19231. ==18304==  Lock at 0x7B89680 was first observed
  19232. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19233. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19234. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  19235. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  19236. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  19237. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19238. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19239. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  19240. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19241. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  19242. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  19243. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  19244. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  19245. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  19246. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  19247. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19248. ==18304==  Block was alloc'd by thread #1
  19249. ==18304==
  19250. ==18304==  Lock at 0x12A99B38 was first observed
  19251. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19252. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19253. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  19254. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19255. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19256. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19257. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19258. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  19259. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  19260. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19261. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19262. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19263. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19264. ==18304==  Address 0x12a99b38 is 1,144 bytes inside a block of size 8,192 alloc'd
  19265. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19266. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  19267. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  19268. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  19269. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  19270. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19271. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19272. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19273. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19274. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  19275. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  19276. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19277. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19278. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19279. ==18304==  Block was alloc'd by thread #24
  19280. ==18304==
  19281. ==18304==
  19282. ==18304== ----------------------------------------------------------------
  19283. ==18304==
  19284. ==18304== Thread #3: lock order "0x12F92130 before 0x7411E00" violated
  19285. ==18304==
  19286. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7411E00
  19287. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  19288. ==18304==    by 0x4D53773: switch_event_deliver (switch_event.c:403)
  19289. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  19290. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19291. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19292. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19293. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19294. ==18304==
  19295. ==18304==  followed by a later acquisition of lock at 0x12F92130
  19296. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19297. ==18304==    by 0x1327A1C8: vm_event_thread_start (mod_voicemail.c:4107)
  19298. ==18304==    by 0x1327A2B4: vm_event_handler (mod_voicemail.c:4135)
  19299. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  19300. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  19301. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19302. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19303. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19304. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19305. ==18304==
  19306. ==18304==  Lock at 0x12F92130 was first observed
  19307. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19308. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19309. ==18304==    by 0x1326FAEB: mod_voicemail_load (mod_voicemail.c:6201)
  19310. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19311. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19312. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19313. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19314. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19315. ==18304==  Address 0x12f92130 is 320 bytes inside a block of size 8,192 alloc'd
  19316. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19317. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  19318. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  19319. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  19320. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  19321. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19322. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19323. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19324. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19325. ==18304==  Block was alloc'd by thread #1
  19326. ==18304==
  19327. ==18304==  Lock at 0x7411E00 was first observed
  19328. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  19329. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  19330. ==18304==    by 0x4D52574: switch_event_init (switch_event.c:699)
  19331. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  19332. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  19333. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19334. ==18304==  Address 0x7411e00 is 3,280 bytes inside a block of size 8,192 alloc'd
  19335. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19336. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  19337. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  19338. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  19339. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  19340. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  19341. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  19342. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  19343. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  19344. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19345. ==18304==  Block was alloc'd by thread #1
  19346. ==18304==
  19347. ==18304==
  19348. ==18304== ---Thread-Announcement------------------------------------------
  19349. ==18304==
  19350. ==18304== Thread #35 was created
  19351. ==18304==    at 0x560E4BE: clone (clone.S:71)
  19352. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  19353. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  19354. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  19355. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  19356. ==18304==    by 0x1327A243: vm_event_thread_start (mod_voicemail.c:4123)
  19357. ==18304==    by 0x1327A2B4: vm_event_handler (mod_voicemail.c:4135)
  19358. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  19359. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  19360. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19361. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19362. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19363. ==18304==
  19364. ==18304== ----------------------------------------------------------------
  19365. ==18304==
  19366. ==18304== Thread #35: lock order "0x1300FA58 before 0x7B89680" violated
  19367. ==18304==
  19368. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  19369. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19370. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  19371. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  19372. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19373. ==18304==    by 0x132690E8: vm_get_db_handle (mod_voicemail.c:221)
  19374. ==18304==    by 0x13269150: vm_execute_sql_callback (mod_voicemail.c:297)
  19375. ==18304==    by 0x132692DF: message_count (mod_voicemail.c:1406)
  19376. ==18304==    by 0x13269799: actual_message_query_handler (mod_voicemail.c:4008)
  19377. ==18304==    by 0x13269799: vm_event_thread_run (mod_voicemail.c:4075)
  19378. ==18304==    by 0x13269799: vm_event_thread_run (mod_voicemail.c:4046)
  19379. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19380. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19381. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19382. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19383. ==18304==
  19384. ==18304==  followed by a later acquisition of lock at 0x1300FA58
  19385. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  19386. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  19387. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  19388. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  19389. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19390. ==18304==    by 0x132690E8: vm_get_db_handle (mod_voicemail.c:221)
  19391. ==18304==    by 0x13269150: vm_execute_sql_callback (mod_voicemail.c:297)
  19392. ==18304==    by 0x132692DF: message_count (mod_voicemail.c:1406)
  19393. ==18304==    by 0x13269799: actual_message_query_handler (mod_voicemail.c:4008)
  19394. ==18304==    by 0x13269799: vm_event_thread_run (mod_voicemail.c:4075)
  19395. ==18304==    by 0x13269799: vm_event_thread_run (mod_voicemail.c:4046)
  19396. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19397. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19398. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19399. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19400. ==18304==
  19401. ==18304== Required order was established by acquisition of lock at 0x1300FA58
  19402. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19403. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  19404. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  19405. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19406. ==18304==    by 0x132690E8: vm_get_db_handle (mod_voicemail.c:221)
  19407. ==18304==    by 0x1326B0E2: load_profile (mod_voicemail.c:773)
  19408. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  19409. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  19410. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19411. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19412. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19413. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19414. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19415. ==18304==
  19416. ==18304==  followed by a later acquisition of lock at 0x7B89680
  19417. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19418. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  19419. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  19420. ==18304==    by 0x1326B1CD: load_profile (mod_voicemail.c:791)
  19421. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  19422. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  19423. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19424. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19425. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19426. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19427. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19428. ==18304==
  19429. ==18304==  Lock at 0x1300FA58 was first observed
  19430. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19431. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19432. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  19433. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19434. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19435. ==18304==    by 0x132690E8: vm_get_db_handle (mod_voicemail.c:221)
  19436. ==18304==    by 0x1326B0E2: load_profile (mod_voicemail.c:773)
  19437. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  19438. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  19439. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19440. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19441. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19442. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19443. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19444. ==18304==  Address 0x1300fa58 is 1,144 bytes inside a block of size 8,192 alloc'd
  19445. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19446. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  19447. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  19448. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  19449. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  19450. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19451. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19452. ==18304==    by 0x132690E8: vm_get_db_handle (mod_voicemail.c:221)
  19453. ==18304==    by 0x1326B0E2: load_profile (mod_voicemail.c:773)
  19454. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  19455. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  19456. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19457. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19458. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19459. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19460. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19461. ==18304==  Block was alloc'd by thread #1
  19462. ==18304==
  19463. ==18304==  Lock at 0x7B89680 was first observed
  19464. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19465. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19466. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  19467. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  19468. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  19469. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19470. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19471. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  19472. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19473. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  19474. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  19475. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  19476. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  19477. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  19478. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  19479. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19480. ==18304==  Block was alloc'd by thread #1
  19481. ==18304==
  19482. ==18304==
  19483. ==18304== ----------------------------------------------------------------
  19484. ==18304==
  19485. ==18304== Thread #35: lock order "0x7B89680 before 0x1300FA58" violated
  19486. ==18304==
  19487. ==18304== Observed (incorrect) order is: acquisition of lock at 0x1300FA58
  19488. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  19489. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  19490. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  19491. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  19492. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19493. ==18304==    by 0x132690E8: vm_get_db_handle (mod_voicemail.c:221)
  19494. ==18304==    by 0x13269150: vm_execute_sql_callback (mod_voicemail.c:297)
  19495. ==18304==    by 0x132692DF: message_count (mod_voicemail.c:1406)
  19496. ==18304==    by 0x13269799: actual_message_query_handler (mod_voicemail.c:4008)
  19497. ==18304==    by 0x13269799: vm_event_thread_run (mod_voicemail.c:4075)
  19498. ==18304==    by 0x13269799: vm_event_thread_run (mod_voicemail.c:4046)
  19499. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19500. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19501. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19502. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19503. ==18304==
  19504. ==18304==  followed by a later acquisition of lock at 0x7B89680
  19505. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19506. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  19507. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  19508. ==18304==    by 0x132691C5: vm_execute_sql_callback (mod_voicemail.c:311)
  19509. ==18304==    by 0x132692DF: message_count (mod_voicemail.c:1406)
  19510. ==18304==    by 0x13269799: actual_message_query_handler (mod_voicemail.c:4008)
  19511. ==18304==    by 0x13269799: vm_event_thread_run (mod_voicemail.c:4075)
  19512. ==18304==    by 0x13269799: vm_event_thread_run (mod_voicemail.c:4046)
  19513. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19514. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19515. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19516. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19517. ==18304==
  19518. ==18304== Required order was established by acquisition of lock at 0x7B89680
  19519. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19520. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  19521. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  19522. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19523. ==18304==    by 0x132690E8: vm_get_db_handle (mod_voicemail.c:221)
  19524. ==18304==    by 0x1326B0E2: load_profile (mod_voicemail.c:773)
  19525. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  19526. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  19527. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19528. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19529. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19530. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19531. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19532. ==18304==
  19533. ==18304==  followed by a later acquisition of lock at 0x1300FA58
  19534. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  19535. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  19536. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  19537. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19538. ==18304==    by 0x132690E8: vm_get_db_handle (mod_voicemail.c:221)
  19539. ==18304==    by 0x1326B0E2: load_profile (mod_voicemail.c:773)
  19540. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  19541. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  19542. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19543. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19544. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19545. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19546. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19547. ==18304==
  19548. ==18304==  Lock at 0x7B89680 was first observed
  19549. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19550. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19551. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  19552. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  19553. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  19554. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19555. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19556. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  19557. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19558. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  19559. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  19560. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  19561. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  19562. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  19563. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  19564. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19565. ==18304==  Block was alloc'd by thread #1
  19566. ==18304==
  19567. ==18304==  Lock at 0x1300FA58 was first observed
  19568. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19569. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19570. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  19571. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19572. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19573. ==18304==    by 0x132690E8: vm_get_db_handle (mod_voicemail.c:221)
  19574. ==18304==    by 0x1326B0E2: load_profile (mod_voicemail.c:773)
  19575. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  19576. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  19577. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19578. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19579. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19580. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19581. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19582. ==18304==  Address 0x1300fa58 is 1,144 bytes inside a block of size 8,192 alloc'd
  19583. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19584. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  19585. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  19586. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  19587. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  19588. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19589. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19590. ==18304==    by 0x132690E8: vm_get_db_handle (mod_voicemail.c:221)
  19591. ==18304==    by 0x1326B0E2: load_profile (mod_voicemail.c:773)
  19592. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  19593. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  19594. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19595. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19596. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19597. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19598. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19599. ==18304==  Block was alloc'd by thread #1
  19600. ==18304==
  19601. ==18304==
  19602. ==18304== ----------------------------------------------------------------
  19603. ==18304==
  19604. ==18304==  Lock at 0x933FF58 was first observed
  19605. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19606. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19607. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  19608. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19609. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19610. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19611. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19612. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  19613. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19614. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  19615. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  19616. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  19617. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  19618. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  19619. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  19620. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19621. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19622. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19623. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19624. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19625. ==18304==  Block was alloc'd by thread #1
  19626. ==18304==
  19627. ==18304==  Lock at 0xAE58C78 was first observed
  19628. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19629. ==18304==    by 0x570C379: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19630. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19631. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  19632. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  19633. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19634. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19635. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19636. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19637. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  19638. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  19639. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19640. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19641. ==18304==  Address 0xae58c78 is 8 bytes inside a block of size 48 alloc'd
  19642. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19643. ==18304==    by 0x572CC53: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19644. ==18304==    by 0x56FD703: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19645. ==18304==    by 0x56FD798: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19646. ==18304==    by 0x570C34C: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19647. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19648. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  19649. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  19650. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19651. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19652. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19653. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19654. ==18304==  Block was alloc'd by thread #15
  19655. ==18304==
  19656. ==18304==  Lock at 0x12F8A368 was first observed
  19657. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19658. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19659. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  19660. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19661. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19662. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19663. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19664. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19665. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  19666. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  19667. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19668. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19669. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19670. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19671. ==18304==  Address 0x12f8a368 is 1,144 bytes inside a block of size 8,192 alloc'd
  19672. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19673. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  19674. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  19675. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  19676. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  19677. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19678. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19679. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19680. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19681. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19682. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  19683. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  19684. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19685. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19686. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19687. ==18304==  Block was alloc'd by thread #15
  19688. ==18304==
  19689. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #33
  19690. ==18304== Locks held: 3, at addresses 0x933FF58 0xAE58C78 0x12F8A368
  19691. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  19692. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  19693. ==18304==    by 0x94D80BA: nua_handle_save_tags (nua_params.c:1311)
  19694. ==18304==    by 0x94D22F5: nh_create_handle (nua_common.c:120)
  19695. ==18304==    by 0x94C8E95: nua_handle (nua.c:315)
  19696. ==18304==    by 0x95A5F1D: _send_presence_notify.constprop.5 (sofia_presence.c:2336)
  19697. ==18304==    by 0x95A6CC8: sofia_presence_mwi_callback (sofia_presence.c:3273)
  19698. ==18304==    by 0x5785C4E: sqlite3_exec (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19699. ==18304==    by 0x4D40407: switch_core_db_exec (switch_core_db.c:90)
  19700. ==18304==    by 0x4CE4CD0: switch_cache_db_execute_sql_callback (switch_core_sqldb.c:1360)
  19701. ==18304==    by 0x9599F79: sofia_glue_execute_sql_callback (sofia_glue.c:2835)
  19702. ==18304==    by 0x959F3F5: actual_sofia_presence_mwi_event_handler (sofia_presence.c:606)
  19703. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1642)
  19704. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1601)
  19705. ==18304==
  19706. ==18304== This conflicts with a previous write of size 8 by thread #15
  19707. ==18304== Locks held: 1, at addresses  (and 1 that can't be shown)
  19708. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  19709. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  19710. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  19711. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19712. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19713. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19714. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19715. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19716. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19717. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  19718. ==18304==
  19719. ==18304== ----------------------------------------------------------------
  19720. ==18304==
  19721. ==18304==  Lock at 0x933FF58 was first observed
  19722. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19723. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19724. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  19725. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19726. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19727. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19728. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19729. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  19730. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19731. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  19732. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  19733. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  19734. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  19735. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  19736. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  19737. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19738. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19739. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19740. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19741. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19742. ==18304==  Block was alloc'd by thread #1
  19743. ==18304==
  19744. ==18304==  Lock at 0xAE58C78 was first observed
  19745. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19746. ==18304==    by 0x570C379: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19747. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19748. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  19749. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  19750. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19751. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19752. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19753. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19754. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  19755. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  19756. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19757. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19758. ==18304==  Address 0xae58c78 is 8 bytes inside a block of size 48 alloc'd
  19759. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19760. ==18304==    by 0x572CC53: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19761. ==18304==    by 0x56FD703: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19762. ==18304==    by 0x56FD798: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19763. ==18304==    by 0x570C34C: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19764. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19765. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  19766. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  19767. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19768. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19769. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19770. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19771. ==18304==  Block was alloc'd by thread #15
  19772. ==18304==
  19773. ==18304==  Lock at 0x12F8A368 was first observed
  19774. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19775. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19776. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  19777. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19778. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19779. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19780. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19781. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19782. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  19783. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  19784. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19785. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19786. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19787. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19788. ==18304==  Address 0x12f8a368 is 1,144 bytes inside a block of size 8,192 alloc'd
  19789. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19790. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  19791. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  19792. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  19793. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  19794. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19795. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19796. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19797. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19798. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19799. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  19800. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  19801. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19802. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19803. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19804. ==18304==  Block was alloc'd by thread #15
  19805. ==18304==
  19806. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #33
  19807. ==18304== Locks held: 3, at addresses 0x933FF58 0xAE58C78 0x12F8A368
  19808. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  19809. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  19810. ==18304==    by 0x94D80BA: nua_handle_save_tags (nua_params.c:1311)
  19811. ==18304==    by 0x94D22F5: nh_create_handle (nua_common.c:120)
  19812. ==18304==    by 0x94C8E95: nua_handle (nua.c:315)
  19813. ==18304==    by 0x95A5F1D: _send_presence_notify.constprop.5 (sofia_presence.c:2336)
  19814. ==18304==    by 0x95A6CC8: sofia_presence_mwi_callback (sofia_presence.c:3273)
  19815. ==18304==    by 0x5785C4E: sqlite3_exec (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19816. ==18304==    by 0x4D40407: switch_core_db_exec (switch_core_db.c:90)
  19817. ==18304==    by 0x4CE4CD0: switch_cache_db_execute_sql_callback (switch_core_sqldb.c:1360)
  19818. ==18304==    by 0x9599F79: sofia_glue_execute_sql_callback (sofia_glue.c:2835)
  19819. ==18304==    by 0x959F3F5: actual_sofia_presence_mwi_event_handler (sofia_presence.c:606)
  19820. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1642)
  19821. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1601)
  19822. ==18304==
  19823. ==18304== This conflicts with a previous write of size 8 by thread #15
  19824. ==18304== Locks held: 1, at addresses  (and 1 that can't be shown)
  19825. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  19826. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  19827. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  19828. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19829. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19830. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19831. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19832. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19833. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19834. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  19835. ==18304==
  19836. ==18304== ----------------------------------------------------------------
  19837. ==18304==
  19838. ==18304==  Lock at 0x933FF58 was first observed
  19839. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19840. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19841. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  19842. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19843. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19844. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19845. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19846. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  19847. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19848. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  19849. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  19850. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  19851. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  19852. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  19853. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  19854. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19855. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19856. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19857. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19858. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19859. ==18304==  Block was alloc'd by thread #1
  19860. ==18304==
  19861. ==18304==  Lock at 0xAE58C78 was first observed
  19862. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19863. ==18304==    by 0x570C379: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19864. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19865. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  19866. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  19867. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19868. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19869. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19870. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19871. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  19872. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  19873. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19874. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19875. ==18304==  Address 0xae58c78 is 8 bytes inside a block of size 48 alloc'd
  19876. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19877. ==18304==    by 0x572CC53: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19878. ==18304==    by 0x56FD703: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19879. ==18304==    by 0x56FD798: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19880. ==18304==    by 0x570C34C: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19881. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19882. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  19883. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  19884. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19885. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19886. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19887. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19888. ==18304==  Block was alloc'd by thread #15
  19889. ==18304==
  19890. ==18304==  Lock at 0x12F8A368 was first observed
  19891. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19892. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19893. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  19894. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19895. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19896. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19897. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19898. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19899. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  19900. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  19901. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19902. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19903. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19904. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19905. ==18304==  Address 0x12f8a368 is 1,144 bytes inside a block of size 8,192 alloc'd
  19906. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19907. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  19908. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  19909. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  19910. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  19911. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  19912. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19913. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19914. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19915. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19916. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  19917. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  19918. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19919. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19920. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19921. ==18304==  Block was alloc'd by thread #15
  19922. ==18304==
  19923. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #33
  19924. ==18304== Locks held: 3, at addresses 0x933FF58 0xAE58C78 0x12F8A368
  19925. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  19926. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  19927. ==18304==    by 0x94D80BA: nua_handle_save_tags (nua_params.c:1311)
  19928. ==18304==    by 0x94D22F5: nh_create_handle (nua_common.c:120)
  19929. ==18304==    by 0x94C8E95: nua_handle (nua.c:315)
  19930. ==18304==    by 0x95A5F1D: _send_presence_notify.constprop.5 (sofia_presence.c:2336)
  19931. ==18304==    by 0x95A6CC8: sofia_presence_mwi_callback (sofia_presence.c:3273)
  19932. ==18304==    by 0x5785C4E: sqlite3_exec (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19933. ==18304==    by 0x4D40407: switch_core_db_exec (switch_core_db.c:90)
  19934. ==18304==    by 0x4CE4CD0: switch_cache_db_execute_sql_callback (switch_core_sqldb.c:1360)
  19935. ==18304==    by 0x9599F79: sofia_glue_execute_sql_callback (sofia_glue.c:2835)
  19936. ==18304==    by 0x959F3F5: actual_sofia_presence_mwi_event_handler (sofia_presence.c:606)
  19937. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1642)
  19938. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1601)
  19939. ==18304==
  19940. ==18304== This conflicts with a previous write of size 8 by thread #15
  19941. ==18304== Locks held: 1, at addresses  (and 1 that can't be shown)
  19942. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  19943. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  19944. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  19945. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19946. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19947. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19948. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19949. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19950. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19951. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  19952. ==18304==
  19953. ==18304== ----------------------------------------------------------------
  19954. ==18304==
  19955. ==18304==  Lock at 0x933FF58 was first observed
  19956. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19957. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  19958. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  19959. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  19960. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  19961. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  19962. ==18304==    by 0x560E4CE: clone (clone.S:95)
  19963. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  19964. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19965. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  19966. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  19967. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  19968. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  19969. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  19970. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  19971. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  19972. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  19973. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  19974. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  19975. ==18304==    by 0x10AEC7: main (switch.c:1200)
  19976. ==18304==  Block was alloc'd by thread #1
  19977. ==18304==
  19978. ==18304==  Lock at 0xAE58C78 was first observed
  19979. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  19980. ==18304==    by 0x570C379: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19981. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19982. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  19983. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  19984. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  19985. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  19986. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  19987. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  19988. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  19989. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  19990. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  19991. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  19992. ==18304==  Address 0xae58c78 is 8 bytes inside a block of size 48 alloc'd
  19993. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  19994. ==18304==    by 0x572CC53: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19995. ==18304==    by 0x56FD703: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19996. ==18304==    by 0x56FD798: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19997. ==18304==    by 0x570C34C: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19998. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  19999. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  20000. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  20001. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20002. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20003. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20004. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20005. ==18304==  Block was alloc'd by thread #15
  20006. ==18304==
  20007. ==18304==  Lock at 0x12F8A368 was first observed
  20008. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20009. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20010. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  20011. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20012. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20013. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20014. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20015. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20016. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20017. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20018. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20019. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20020. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20021. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20022. ==18304==  Address 0x12f8a368 is 1,144 bytes inside a block of size 8,192 alloc'd
  20023. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20024. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  20025. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  20026. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  20027. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  20028. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20029. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20030. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20031. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20032. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20033. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20034. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20035. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20036. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20037. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20038. ==18304==  Block was alloc'd by thread #15
  20039. ==18304==
  20040. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #33
  20041. ==18304== Locks held: 3, at addresses 0x933FF58 0xAE58C78 0x12F8A368
  20042. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  20043. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  20044. ==18304==    by 0x94D80BA: nua_handle_save_tags (nua_params.c:1311)
  20045. ==18304==    by 0x94D22F5: nh_create_handle (nua_common.c:120)
  20046. ==18304==    by 0x94C8E95: nua_handle (nua.c:315)
  20047. ==18304==    by 0x95A5F1D: _send_presence_notify.constprop.5 (sofia_presence.c:2336)
  20048. ==18304==    by 0x95A6CC8: sofia_presence_mwi_callback (sofia_presence.c:3273)
  20049. ==18304==    by 0x5785C4E: sqlite3_exec (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20050. ==18304==    by 0x4D40407: switch_core_db_exec (switch_core_db.c:90)
  20051. ==18304==    by 0x4CE4CD0: switch_cache_db_execute_sql_callback (switch_core_sqldb.c:1360)
  20052. ==18304==    by 0x9599F79: sofia_glue_execute_sql_callback (sofia_glue.c:2835)
  20053. ==18304==    by 0x959F3F5: actual_sofia_presence_mwi_event_handler (sofia_presence.c:606)
  20054. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1642)
  20055. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1601)
  20056. ==18304==
  20057. ==18304== This conflicts with a previous write of size 8 by thread #15
  20058. ==18304== Locks held: 1, at addresses  (and 1 that can't be shown)
  20059. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  20060. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  20061. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  20062. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20063. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20064. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20065. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20066. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20067. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20068. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  20069. ==18304==
  20070. ==18304== ----------------------------------------------------------------
  20071. ==18304==
  20072. ==18304==  Lock at 0x933FF58 was first observed
  20073. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20074. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20075. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  20076. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20077. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20078. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20079. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20080. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  20081. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20082. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  20083. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  20084. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  20085. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  20086. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  20087. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  20088. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  20089. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  20090. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  20091. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20092. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20093. ==18304==  Block was alloc'd by thread #1
  20094. ==18304==
  20095. ==18304==  Lock at 0xAE58C78 was first observed
  20096. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20097. ==18304==    by 0x570C379: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20098. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20099. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  20100. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  20101. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20102. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20103. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20104. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20105. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20106. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20107. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20108. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20109. ==18304==  Address 0xae58c78 is 8 bytes inside a block of size 48 alloc'd
  20110. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20111. ==18304==    by 0x572CC53: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20112. ==18304==    by 0x56FD703: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20113. ==18304==    by 0x56FD798: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20114. ==18304==    by 0x570C34C: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20115. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20116. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  20117. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  20118. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20119. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20120. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20121. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20122. ==18304==  Block was alloc'd by thread #15
  20123. ==18304==
  20124. ==18304==  Lock at 0x12F8A368 was first observed
  20125. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20126. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20127. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  20128. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20129. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20130. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20131. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20132. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20133. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20134. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20135. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20136. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20137. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20138. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20139. ==18304==  Address 0x12f8a368 is 1,144 bytes inside a block of size 8,192 alloc'd
  20140. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20141. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  20142. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  20143. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  20144. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  20145. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20146. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20147. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20148. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20149. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20150. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20151. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20152. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20153. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20154. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20155. ==18304==  Block was alloc'd by thread #15
  20156. ==18304==
  20157. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #33
  20158. ==18304== Locks held: 3, at addresses 0x933FF58 0xAE58C78 0x12F8A368
  20159. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  20160. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  20161. ==18304==    by 0x94D80BA: nua_handle_save_tags (nua_params.c:1311)
  20162. ==18304==    by 0x94D22F5: nh_create_handle (nua_common.c:120)
  20163. ==18304==    by 0x94C8E95: nua_handle (nua.c:315)
  20164. ==18304==    by 0x95A5F1D: _send_presence_notify.constprop.5 (sofia_presence.c:2336)
  20165. ==18304==    by 0x95A6CC8: sofia_presence_mwi_callback (sofia_presence.c:3273)
  20166. ==18304==    by 0x5785C4E: sqlite3_exec (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20167. ==18304==    by 0x4D40407: switch_core_db_exec (switch_core_db.c:90)
  20168. ==18304==    by 0x4CE4CD0: switch_cache_db_execute_sql_callback (switch_core_sqldb.c:1360)
  20169. ==18304==    by 0x9599F79: sofia_glue_execute_sql_callback (sofia_glue.c:2835)
  20170. ==18304==    by 0x959F3F5: actual_sofia_presence_mwi_event_handler (sofia_presence.c:606)
  20171. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1642)
  20172. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1601)
  20173. ==18304==
  20174. ==18304== This conflicts with a previous write of size 8 by thread #15
  20175. ==18304== Locks held: 1, at addresses  (and 1 that can't be shown)
  20176. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  20177. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  20178. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  20179. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20180. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20181. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20182. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20183. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20184. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20185. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  20186. ==18304==
  20187. ==18304== ----------------------------------------------------------------
  20188. ==18304==
  20189. ==18304==  Lock at 0x933FF58 was first observed
  20190. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20191. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20192. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  20193. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20194. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20195. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20196. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20197. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  20198. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20199. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  20200. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  20201. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  20202. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  20203. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  20204. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  20205. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  20206. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  20207. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  20208. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20209. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20210. ==18304==  Block was alloc'd by thread #1
  20211. ==18304==
  20212. ==18304==  Lock at 0xAE58C78 was first observed
  20213. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20214. ==18304==    by 0x570C379: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20215. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20216. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  20217. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  20218. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20219. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20220. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20221. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20222. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20223. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20224. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20225. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20226. ==18304==  Address 0xae58c78 is 8 bytes inside a block of size 48 alloc'd
  20227. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20228. ==18304==    by 0x572CC53: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20229. ==18304==    by 0x56FD703: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20230. ==18304==    by 0x56FD798: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20231. ==18304==    by 0x570C34C: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20232. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20233. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  20234. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  20235. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20236. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20237. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20238. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20239. ==18304==  Block was alloc'd by thread #15
  20240. ==18304==
  20241. ==18304==  Lock at 0x12F8A368 was first observed
  20242. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20243. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20244. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  20245. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20246. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20247. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20248. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20249. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20250. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20251. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20252. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20253. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20254. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20255. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20256. ==18304==  Address 0x12f8a368 is 1,144 bytes inside a block of size 8,192 alloc'd
  20257. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20258. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  20259. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  20260. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  20261. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  20262. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20263. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20264. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20265. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20266. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20267. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20268. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20269. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20270. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20271. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20272. ==18304==  Block was alloc'd by thread #15
  20273. ==18304==
  20274. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #33
  20275. ==18304== Locks held: 3, at addresses 0x933FF58 0xAE58C78 0x12F8A368
  20276. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  20277. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  20278. ==18304==    by 0x94D80BA: nua_handle_save_tags (nua_params.c:1311)
  20279. ==18304==    by 0x94D22F5: nh_create_handle (nua_common.c:120)
  20280. ==18304==    by 0x94C8E95: nua_handle (nua.c:315)
  20281. ==18304==    by 0x95A5F1D: _send_presence_notify.constprop.5 (sofia_presence.c:2336)
  20282. ==18304==    by 0x95A6CC8: sofia_presence_mwi_callback (sofia_presence.c:3273)
  20283. ==18304==    by 0x5785C4E: sqlite3_exec (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20284. ==18304==    by 0x4D40407: switch_core_db_exec (switch_core_db.c:90)
  20285. ==18304==    by 0x4CE4CD0: switch_cache_db_execute_sql_callback (switch_core_sqldb.c:1360)
  20286. ==18304==    by 0x9599F79: sofia_glue_execute_sql_callback (sofia_glue.c:2835)
  20287. ==18304==    by 0x959F3F5: actual_sofia_presence_mwi_event_handler (sofia_presence.c:606)
  20288. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1642)
  20289. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1601)
  20290. ==18304==
  20291. ==18304== This conflicts with a previous write of size 8 by thread #15
  20292. ==18304== Locks held: 1, at addresses  (and 1 that can't be shown)
  20293. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  20294. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  20295. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  20296. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20297. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20298. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20299. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20300. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20301. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20302. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  20303. ==18304==
  20304. ==18304== ----------------------------------------------------------------
  20305. ==18304==
  20306. ==18304==  Lock at 0x933FF58 was first observed
  20307. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20308. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20309. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  20310. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20311. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20312. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20313. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20314. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  20315. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20316. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  20317. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  20318. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  20319. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  20320. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  20321. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  20322. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  20323. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  20324. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  20325. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20326. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20327. ==18304==  Block was alloc'd by thread #1
  20328. ==18304==
  20329. ==18304==  Lock at 0xAE58C78 was first observed
  20330. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20331. ==18304==    by 0x570C379: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20332. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20333. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  20334. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  20335. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20336. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20337. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20338. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20339. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20340. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20341. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20342. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20343. ==18304==  Address 0xae58c78 is 8 bytes inside a block of size 48 alloc'd
  20344. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20345. ==18304==    by 0x572CC53: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20346. ==18304==    by 0x56FD703: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20347. ==18304==    by 0x56FD798: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20348. ==18304==    by 0x570C34C: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20349. ==18304==    by 0x57C6D2B: ??? (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20350. ==18304==    by 0x4D40727: switch_core_db_open_file (switch_core_db.c:232)
  20351. ==18304==    by 0x4CE296B: _switch_cache_db_get_db_handle (switch_core_sqldb.c:634)
  20352. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20353. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20354. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20355. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20356. ==18304==  Block was alloc'd by thread #15
  20357. ==18304==
  20358. ==18304==  Lock at 0x12F8A368 was first observed
  20359. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20360. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20361. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  20362. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20363. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20364. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20365. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20366. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20367. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20368. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20369. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20370. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20371. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20372. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20373. ==18304==  Address 0x12f8a368 is 1,144 bytes inside a block of size 8,192 alloc'd
  20374. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20375. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  20376. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  20377. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  20378. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  20379. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20380. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20381. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20382. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20383. ==18304==    by 0x95AAF5D: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:4305)
  20384. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  20385. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  20386. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  20387. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  20388. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20389. ==18304==  Block was alloc'd by thread #15
  20390. ==18304==
  20391. ==18304==  Lock at 0x92F9638 was first observed
  20392. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20393. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  20394. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  20395. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  20396. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  20397. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20398. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20399. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20400. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  20401. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  20402. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  20403. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  20404. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  20405. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20406. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20407. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20408. ==18304==  Block was alloc'd by thread #27
  20409. ==18304==
  20410. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #33
  20411. ==18304== Locks held: 3, at addresses 0x933FF58 0xAE58C78 0x12F8A368
  20412. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  20413. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  20414. ==18304==    by 0x94D80BA: nua_handle_save_tags (nua_params.c:1311)
  20415. ==18304==    by 0x94D22F5: nh_create_handle (nua_common.c:120)
  20416. ==18304==    by 0x94C8E95: nua_handle (nua.c:315)
  20417. ==18304==    by 0x95A5F1D: _send_presence_notify.constprop.5 (sofia_presence.c:2336)
  20418. ==18304==    by 0x95A6CC8: sofia_presence_mwi_callback (sofia_presence.c:3273)
  20419. ==18304==    by 0x5785C4E: sqlite3_exec (in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6)
  20420. ==18304==    by 0x4D40407: switch_core_db_exec (switch_core_db.c:90)
  20421. ==18304==    by 0x4CE4CD0: switch_cache_db_execute_sql_callback (switch_core_sqldb.c:1360)
  20422. ==18304==    by 0x9599F79: sofia_glue_execute_sql_callback (sofia_glue.c:2835)
  20423. ==18304==    by 0x959F3F5: actual_sofia_presence_mwi_event_handler (sofia_presence.c:606)
  20424. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1642)
  20425. ==18304==    by 0x95A4F67: sofia_presence_event_thread_run (sofia_presence.c:1601)
  20426. ==18304==
  20427. ==18304== This conflicts with a previous write of size 8 by thread #27
  20428. ==18304== Locks held: 2, at address 0x92F9638 (and 1 that can't be shown)
  20429. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  20430. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  20431. ==18304==    by 0x94D3142: nua_dialog_usage_remove_at (nua_dialog.c:432)
  20432. ==18304==    by 0x94D4F5F: nua_notify_usage_shutdown (nua_notifier.c:883)
  20433. ==18304==    by 0x94D3AA8: nua_dialog_shutdown (nua_dialog.c:609)
  20434. ==18304==    by 0x94E9EBA: nua_stack_destroy_handle.part.3 (nua_stack.c:945)
  20435. ==18304==    by 0x94EA47F: nua_stack_destroy_handle (nua_stack.c:938)
  20436. ==18304==    by 0x94EA47F: nua_stack_signal (nua_stack.c:661)
  20437. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  20438. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  20439. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  20440. ==18304==
  20441. ==18304== ----------------------------------------------------------------
  20442. ==18304==
  20443. ==18304==  Lock at 0x92F9638 was first observed
  20444. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20445. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  20446. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  20447. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  20448. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  20449. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20450. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20451. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20452. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  20453. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  20454. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  20455. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  20456. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  20457. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20458. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20459. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20460. ==18304==  Block was alloc'd by thread #27
  20461. ==18304==
  20462. ==18304==  Lock at 0x9342088 was first observed
  20463. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20464. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  20465. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  20466. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  20467. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  20468. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  20469. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  20470. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20471. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20472. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20473. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20474. ==18304==  Address 0x9342088 is 40 bytes inside a block of size 80 alloc'd
  20475. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  20476. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  20477. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  20478. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  20479. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  20480. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  20481. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  20482. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20483. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20484. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20485. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20486. ==18304==  Block was alloc'd by thread #14
  20487. ==18304==
  20488. ==18304== Possible data race during write of size 8 at 0x9346608 by thread #27
  20489. ==18304== Locks held: 2, at addresses 0x92F9638 0x9342088
  20490. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  20491. ==18304==    by 0x94E939D: nua_stack_event (nua_stack.c:328)
  20492. ==18304==    by 0x94CF7F1: nua_client_report (nua_client.c:1581)
  20493. ==18304==    by 0x94D05B5: nua_base_client_response (nua_client.c:1521)
  20494. ==18304==    by 0x94D09F2: nua_client_response (nua_client.c:1107)
  20495. ==18304==    by 0x94D0ABB: nua_client_orq_response (nua_client.c:995)
  20496. ==18304==    by 0x94BA9A7: outgoing_recv (nta.c:9518)
  20497. ==18304==    by 0x94C32A8: agent_recv_response (nta.c:3388)
  20498. ==18304==    by 0x94C32A8: agent_recv_message (nta.c:2792)
  20499. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  20500. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  20501. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  20502. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  20503. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  20504. ==18304==  Address 0x9346608 is 56 bytes inside a block of size 216 alloc'd
  20505. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  20506. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  20507. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  20508. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  20509. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  20510. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20511. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20512. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20513. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20514. ==18304==  Block was alloc'd by thread #14
  20515. ==18304==
  20516. ==18304== ----------------------------------------------------------------
  20517. ==18304==
  20518. ==18304==  Lock at 0x9346648 was first observed
  20519. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20520. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  20521. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  20522. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  20523. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  20524. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  20525. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20526. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20527. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20528. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20529. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  20530. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  20531. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  20532. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  20533. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  20534. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  20535. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20536. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20537. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20538. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20539. ==18304==  Block was alloc'd by thread #14
  20540. ==18304==
  20541. ==18304==  Lock at 0x92F9638 was first observed
  20542. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20543. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  20544. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  20545. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  20546. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  20547. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20548. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20549. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20550. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  20551. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  20552. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  20553. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  20554. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  20555. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20556. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20557. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20558. ==18304==  Block was alloc'd by thread #27
  20559. ==18304==
  20560. ==18304==  Lock at 0x9342088 was first observed
  20561. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20562. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  20563. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  20564. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  20565. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  20566. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  20567. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  20568. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20569. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20570. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20571. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20572. ==18304==  Address 0x9342088 is 40 bytes inside a block of size 80 alloc'd
  20573. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  20574. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  20575. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  20576. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  20577. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  20578. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  20579. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  20580. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20581. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20582. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20583. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20584. ==18304==  Block was alloc'd by thread #14
  20585. ==18304==
  20586. ==18304== Possible data race during read of size 8 at 0x9346608 by thread #14
  20587. ==18304== Locks held: 1, at address 0x9346648
  20588. ==18304==    at 0x951B98D: su_base_port_step (su_base_port.c:472)
  20589. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  20590. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20591. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20592. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20593. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20594. ==18304==
  20595. ==18304== This conflicts with a previous write of size 8 by thread #27
  20596. ==18304== Locks held: 2, at addresses 0x92F9638 0x9342088
  20597. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  20598. ==18304==    by 0x94E939D: nua_stack_event (nua_stack.c:328)
  20599. ==18304==    by 0x94CF7F1: nua_client_report (nua_client.c:1581)
  20600. ==18304==    by 0x94D05B5: nua_base_client_response (nua_client.c:1521)
  20601. ==18304==    by 0x94D09F2: nua_client_response (nua_client.c:1107)
  20602. ==18304==    by 0x94D0ABB: nua_client_orq_response (nua_client.c:995)
  20603. ==18304==    by 0x94BA9A7: outgoing_recv (nta.c:9518)
  20604. ==18304==    by 0x94C32A8: agent_recv_response (nta.c:3388)
  20605. ==18304==    by 0x94C32A8: agent_recv_message (nta.c:2792)
  20606. ==18304==  Address 0x9346608 is 56 bytes inside a block of size 216 alloc'd
  20607. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  20608. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  20609. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  20610. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  20611. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  20612. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20613. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20614. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20615. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20616. ==18304==  Block was alloc'd by thread #14
  20617. ==18304==
  20618. ==18304== ----------------------------------------------------------------
  20619. ==18304==
  20620. ==18304== Thread #9: lock order "0x79DD5F8 before 0x79DD5A8" violated
  20621. ==18304==
  20622. ==18304== Observed (incorrect) order is: acquisition of lock at 0x79DD5A8
  20623. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  20624. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  20625. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20626. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20627. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20628. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20629. ==18304==
  20630. ==18304==  followed by a later acquisition of lock at 0x79DD5F8
  20631. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  20632. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  20633. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20634. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20635. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20636. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20637. ==18304==
  20638. ==18304== Required order was established by acquisition of lock at 0x79DD5F8
  20639. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  20640. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  20641. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20642. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20643. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20644. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20645. ==18304==
  20646. ==18304==  followed by a later acquisition of lock at 0x79DD5A8
  20647. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  20648. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  20649. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20650. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20651. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20652. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20653. ==18304==
  20654. ==18304==  Lock at 0x79DD5F8 was first observed
  20655. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20656. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20657. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  20658. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  20659. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  20660. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  20661. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  20662. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20663. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20664. ==18304==  Address 0x79dd5f8 is 536 bytes inside a block of size 8,192 alloc'd
  20665. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20666. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  20667. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  20668. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  20669. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  20670. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  20671. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  20672. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  20673. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  20674. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20675. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20676. ==18304==  Block was alloc'd by thread #1
  20677. ==18304==
  20678. ==18304==  Lock at 0x79DD5A8 was first observed
  20679. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20680. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20681. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  20682. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  20683. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  20684. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  20685. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  20686. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20687. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20688. ==18304==  Address 0x79dd5a8 is 456 bytes inside a block of size 8,192 alloc'd
  20689. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20690. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  20691. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  20692. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  20693. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  20694. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  20695. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  20696. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  20697. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  20698. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20699. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20700. ==18304==  Block was alloc'd by thread #1
  20701. ==18304==
  20702. ==18304==
  20703. ==18304== ----------------------------------------------------------------
  20704. ==18304==
  20705. ==18304==  Lock at 0x7B89680 was first observed
  20706. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20707. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20708. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  20709. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  20710. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  20711. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20712. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20713. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  20714. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20715. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  20716. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  20717. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  20718. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  20719. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  20720. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  20721. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20722. ==18304==  Block was alloc'd by thread #1
  20723. ==18304==
  20724. ==18304==  Lock at 0x9330F70 was first observed
  20725. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20726. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20727. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  20728. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20729. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20730. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20731. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20732. ==18304==  Address 0x9330f70 is 560 bytes inside a block of size 8,192 alloc'd
  20733. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20734. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  20735. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  20736. ==18304==    by 0x5028D18: apr_threadattr_create (thread.c:45)
  20737. ==18304==    by 0x4CBD478: switch_threadattr_create (switch_apr.c:660)
  20738. ==18304==    by 0x9573D51: launch_sofia_profile_thread (sofia.c:3554)
  20739. ==18304==    by 0x95761BA: config_sofia (sofia.c:6190)
  20740. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  20741. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  20742. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  20743. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  20744. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20745. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20746. ==18304==  Block was alloc'd by thread #1
  20747. ==18304==
  20748. ==18304==  Lock at 0x12A99B38 was first observed
  20749. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20750. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20751. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  20752. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20753. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20754. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20755. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20756. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  20757. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  20758. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20759. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20760. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20761. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20762. ==18304==  Address 0x12a99b38 is 1,144 bytes inside a block of size 8,192 alloc'd
  20763. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20764. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  20765. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  20766. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  20767. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  20768. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20769. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20770. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20771. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20772. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  20773. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  20774. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20775. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20776. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20777. ==18304==  Block was alloc'd by thread #24
  20778. ==18304==
  20779. ==18304== Possible data race during read of size 8 at 0x12A998E0 by thread #10
  20780. ==18304== Locks held: 1, at address 0x7B89680
  20781. ==18304==    at 0x4CE1080: sql_close (switch_core_sqldb.c:276)
  20782. ==18304==    by 0x4CE943E: switch_core_sql_db_thread (switch_core_sqldb.c:1592)
  20783. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20784. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20785. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20786. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20787. ==18304==
  20788. ==18304== This conflicts with a previous write of size 8 by thread #24
  20789. ==18304== Locks held: 2, at addresses 0x9330F70 0x12A99B38
  20790. ==18304==    at 0x4CE23BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:675)
  20791. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20792. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20793. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  20794. ==18304==    by 0x95B05A2: sofia_reg_check_ping_expire (sofia_reg.c:939)
  20795. ==18304==    by 0x9567982: sofia_profile_worker_thread_run (sofia.c:3008)
  20796. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20797. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20798. ==18304==  Address 0x12a998e0 is 544 bytes inside a block of size 8,192 alloc'd
  20799. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20800. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  20801. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  20802. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  20803. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  20804. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20805. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20806. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  20807. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  20808. ==18304==    by 0x95B01D1: sofia_reg_check_expire (sofia_reg.c:810)
  20809. ==18304==    by 0x95679A3: sofia_profile_worker_thread_run (sofia.c:3002)
  20810. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20811. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20812. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20813. ==18304==  Block was alloc'd by thread #24
  20814. ==18304==
  20815. ==18304== ----------------------------------------------------------------
  20816. ==18304==
  20817. ==18304== Thread #10: lock order "0x7A48108 before 0x7B89680" violated
  20818. ==18304==
  20819. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  20820. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  20821. ==18304==    by 0x4CE105E: sql_close (switch_core_sqldb.c:269)
  20822. ==18304==    by 0x4CE943E: switch_core_sql_db_thread (switch_core_sqldb.c:1592)
  20823. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20824. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20825. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20826. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20827. ==18304==
  20828. ==18304==  followed by a later acquisition of lock at 0x7A48108
  20829. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  20830. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  20831. ==18304==    by 0x4CE1126: sql_close (switch_core_sqldb.c:284)
  20832. ==18304==    by 0x4CE943E: switch_core_sql_db_thread (switch_core_sqldb.c:1592)
  20833. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20834. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20835. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20836. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20837. ==18304==
  20838. ==18304== Required order was established by acquisition of lock at 0x7A48108
  20839. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  20840. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  20841. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  20842. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20843. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  20844. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  20845. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  20846. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  20847. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  20848. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20849. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20850. ==18304==
  20851. ==18304==  followed by a later acquisition of lock at 0x7B89680
  20852. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  20853. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  20854. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  20855. ==18304==    by 0x4CE9DD4: switch_core_sqldb_start (switch_core_sqldb.c:3905)
  20856. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  20857. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  20858. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20859. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20860. ==18304==
  20861. ==18304==  Lock at 0x7A48108 was first observed
  20862. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20863. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20864. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  20865. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20866. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20867. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  20868. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  20869. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  20870. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  20871. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  20872. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20873. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20874. ==18304==  Address 0x7a48108 is 1,144 bytes inside a block of size 8,192 alloc'd
  20875. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20876. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  20877. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  20878. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  20879. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  20880. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  20881. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  20882. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  20883. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  20884. ==18304==    by 0x4CE9511: switch_core_sqldb_start (switch_core_sqldb.c:3636)
  20885. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  20886. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  20887. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20888. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20889. ==18304==  Block was alloc'd by thread #1
  20890. ==18304==
  20891. ==18304==  Lock at 0x7B89680 was first observed
  20892. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20893. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20894. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  20895. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  20896. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  20897. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20898. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20899. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  20900. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20901. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  20902. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  20903. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  20904. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  20905. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  20906. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  20907. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20908. ==18304==  Block was alloc'd by thread #1
  20909. ==18304==
  20910. ==18304==
  20911. ==18304== ---Thread-Announcement------------------------------------------
  20912. ==18304==
  20913. ==18304== Thread #36 was created
  20914. ==18304==    at 0x560E4BE: clone (clone.S:71)
  20915. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  20916. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  20917. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  20918. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  20919. ==18304==    by 0x1402043B: launch_thread (mod_local_stream.c:1322)
  20920. ==18304==    by 0x14020CED: launch_streams (mod_local_stream.c:1339)
  20921. ==18304==    by 0x14020D9E: mod_local_stream_load (mod_local_stream.c:1542)
  20922. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  20923. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  20924. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  20925. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20926. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20927. ==18304==
  20928. ==18304== ----------------------------------------------------------------
  20929. ==18304==
  20930. ==18304== Thread #36: lock order "0x7D7DD28 before 0x7D7DCC8" violated
  20931. ==18304==
  20932. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  20933. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  20934. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  20935. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  20936. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  20937. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20938. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20939. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20940. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20941. ==18304==
  20942. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  20943. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  20944. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  20945. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  20946. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20947. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20948. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20949. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20950. ==18304==
  20951. ==18304== Required order was established by acquisition of lock at 0x7D7DD28
  20952. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  20953. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  20954. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  20955. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  20956. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20957. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20958. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20959. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20960. ==18304==
  20961. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  20962. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  20963. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  20964. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  20965. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  20966. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  20967. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  20968. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  20969. ==18304==    by 0x560E4CE: clone (clone.S:95)
  20970. ==18304==
  20971. ==18304==  Lock at 0x7D7DD28 was first observed
  20972. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  20973. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  20974. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  20975. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  20976. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  20977. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  20978. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  20979. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20980. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20981. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  20982. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  20983. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  20984. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  20985. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  20986. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  20987. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  20988. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  20989. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  20990. ==18304==    by 0x10AEC7: main (switch.c:1200)
  20991. ==18304==  Block was alloc'd by thread #1
  20992. ==18304==
  20993. ==18304==  Lock at 0x7D7DCC8 was first observed
  20994. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  20995. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  20996. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  20997. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  20998. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  20999. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21000. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21001. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21002. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21003. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  21004. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21005. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21006. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21007. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21008. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21009. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21010. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21011. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21012. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21013. ==18304==  Block was alloc'd by thread #1
  21014. ==18304==
  21015. ==18304==
  21016. ==18304== ---Thread-Announcement------------------------------------------
  21017. ==18304==
  21018. ==18304== Thread #37 was created
  21019. ==18304==    at 0x560E4BE: clone (clone.S:71)
  21020. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  21021. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  21022. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  21023. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  21024. ==18304==    by 0x1402043B: launch_thread (mod_local_stream.c:1322)
  21025. ==18304==    by 0x14020CED: launch_streams (mod_local_stream.c:1339)
  21026. ==18304==    by 0x14020D9E: mod_local_stream_load (mod_local_stream.c:1542)
  21027. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21028. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21029. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  21030. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21031. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21032. ==18304==
  21033. ==18304== ----------------------------------------------------------------
  21034. ==18304==
  21035. ==18304== Thread #37: lock order "0x7D7DD28 before 0x7D7DCC8" violated
  21036. ==18304==
  21037. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  21038. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21039. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21040. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21041. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21042. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21043. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21044. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21045. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21046. ==18304==
  21047. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  21048. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21049. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  21050. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  21051. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21052. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21053. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21054. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21055. ==18304==
  21056. ==18304== Required order was established by acquisition of lock at 0x7D7DD28
  21057. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21058. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21059. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21060. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21061. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21062. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21063. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21064. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21065. ==18304==
  21066. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  21067. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21068. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21069. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21070. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21071. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21072. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21073. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21074. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21075. ==18304==
  21076. ==18304==  Lock at 0x7D7DD28 was first observed
  21077. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  21078. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  21079. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21080. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21081. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21082. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21083. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21084. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21085. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21086. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  21087. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21088. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21089. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21090. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21091. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21092. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21093. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21094. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21095. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21096. ==18304==  Block was alloc'd by thread #1
  21097. ==18304==
  21098. ==18304==  Lock at 0x7D7DCC8 was first observed
  21099. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  21100. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  21101. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21102. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21103. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21104. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21105. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21106. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21107. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21108. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  21109. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21110. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21111. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21112. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21113. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21114. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21115. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21116. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21117. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21118. ==18304==  Block was alloc'd by thread #1
  21119. ==18304==
  21120. ==18304==
  21121. ==18304== ---Thread-Announcement------------------------------------------
  21122. ==18304==
  21123. ==18304== Thread #38 was created
  21124. ==18304==    at 0x560E4BE: clone (clone.S:71)
  21125. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  21126. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  21127. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  21128. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  21129. ==18304==    by 0x1402043B: launch_thread (mod_local_stream.c:1322)
  21130. ==18304==    by 0x14020CED: launch_streams (mod_local_stream.c:1339)
  21131. ==18304==    by 0x14020D9E: mod_local_stream_load (mod_local_stream.c:1542)
  21132. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21133. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21134. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  21135. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21136. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21137. ==18304==
  21138. ==18304== ----------------------------------------------------------------
  21139. ==18304==
  21140. ==18304== Thread #38: lock order "0x7D7DC08 before 0x7D7DD28" violated
  21141. ==18304==
  21142. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  21143. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21144. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21145. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21146. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21147. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21148. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21149. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21150. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21151. ==18304==
  21152. ==18304==  followed by a later acquisition of lock at 0x7D7DC08
  21153. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21154. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21155. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21156. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21157. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21158. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21159. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21160. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21161. ==18304==
  21162. ==18304== Required order was established by acquisition of lock at 0x7D7DC08
  21163. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21164. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21165. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21166. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21167. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21168. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21169. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21170. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21171. ==18304==
  21172. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  21173. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21174. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  21175. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  21176. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21177. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21178. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21179. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21180. ==18304==
  21181. ==18304==  Lock at 0x7D7DC08 was first observed
  21182. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  21183. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  21184. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  21185. ==18304==    by 0x4DC0A81: softtimer_load (switch_time.c:1530)
  21186. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21187. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21188. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21189. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21190. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21191. ==18304==  Address 0x7d7dc08 is 600 bytes inside a block of size 8,192 alloc'd
  21192. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21193. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21194. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21195. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21196. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21197. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21198. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21199. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21200. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21201. ==18304==  Block was alloc'd by thread #1
  21202. ==18304==
  21203. ==18304==  Lock at 0x7D7DD28 was first observed
  21204. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  21205. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  21206. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21207. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21208. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21209. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21210. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21211. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21212. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21213. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  21214. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21215. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21216. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21217. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21218. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21219. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21220. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21221. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21222. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21223. ==18304==  Block was alloc'd by thread #1
  21224. ==18304==
  21225. ==18304==
  21226. ==18304== ----------------------------------------------------------------
  21227. ==18304==
  21228. ==18304== Thread #38: lock order "0x7D7DCC8 before 0x7D7DD28" violated
  21229. ==18304==
  21230. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  21231. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21232. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21233. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21234. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21235. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21236. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21237. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21238. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21239. ==18304==
  21240. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  21241. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21242. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21243. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21244. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21245. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21246. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21247. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21248. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21249. ==18304==
  21250. ==18304== Required order was established by acquisition of lock at 0x7D7DCC8
  21251. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21252. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21253. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21254. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21255. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21256. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21257. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21258. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21259. ==18304==
  21260. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  21261. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21262. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  21263. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  21264. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21265. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21266. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21267. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21268. ==18304==
  21269. ==18304==  Lock at 0x7D7DCC8 was first observed
  21270. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  21271. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  21272. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21273. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21274. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21275. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21276. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21277. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21278. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21279. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  21280. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21281. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21282. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21283. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21284. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21285. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21286. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21287. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21288. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21289. ==18304==  Block was alloc'd by thread #1
  21290. ==18304==
  21291. ==18304==  Lock at 0x7D7DD28 was first observed
  21292. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  21293. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  21294. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21295. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21296. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21297. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21298. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21299. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21300. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21301. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  21302. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21303. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21304. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21305. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21306. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21307. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21308. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21309. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21310. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21311. ==18304==  Block was alloc'd by thread #1
  21312. ==18304==
  21313. ==18304==
  21314. ==18304== ---Thread-Announcement------------------------------------------
  21315. ==18304==
  21316. ==18304== Thread #39 was created
  21317. ==18304==    at 0x560E4BE: clone (clone.S:71)
  21318. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  21319. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  21320. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  21321. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  21322. ==18304==    by 0x1402043B: launch_thread (mod_local_stream.c:1322)
  21323. ==18304==    by 0x14020CED: launch_streams (mod_local_stream.c:1339)
  21324. ==18304==    by 0x14020D9E: mod_local_stream_load (mod_local_stream.c:1542)
  21325. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21326. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21327. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  21328. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21329. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21330. ==18304==
  21331. ==18304== ----------------------------------------------------------------
  21332. ==18304==
  21333. ==18304== Possible data race during read of size 4 at 0x50FBF04 by thread #39
  21334. ==18304== Locks held: none
  21335. ==18304==    at 0x4CBE13A: switch_buffer_create_dynamic (switch_buffer.c:139)
  21336. ==18304==    by 0x14021042: read_stream_thread (mod_local_stream.c:253)
  21337. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21338. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21339. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21340. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21341. ==18304==
  21342. ==18304== This conflicts with a previous write of size 4 by thread #38
  21343. ==18304== Locks held: none
  21344. ==18304==    at 0x4CBE161: switch_buffer_create_dynamic (switch_buffer.c:139)
  21345. ==18304==    by 0x14021042: read_stream_thread (mod_local_stream.c:253)
  21346. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21347. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21348. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21349. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21350. ==18304==  Address 0x50fbf04 is 0 bytes inside data symbol "buffer_id"
  21351. ==18304==
  21352. ==18304== ----------------------------------------------------------------
  21353. ==18304==
  21354. ==18304== Possible data race during write of size 4 at 0x50FBF04 by thread #39
  21355. ==18304== Locks held: none
  21356. ==18304==    at 0x4CBE161: switch_buffer_create_dynamic (switch_buffer.c:139)
  21357. ==18304==    by 0x14021042: read_stream_thread (mod_local_stream.c:253)
  21358. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21359. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21360. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21361. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21362. ==18304==
  21363. ==18304== This conflicts with a previous write of size 4 by thread #38
  21364. ==18304== Locks held: none
  21365. ==18304==    at 0x4CBE161: switch_buffer_create_dynamic (switch_buffer.c:139)
  21366. ==18304==    by 0x14021042: read_stream_thread (mod_local_stream.c:253)
  21367. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21368. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21369. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21370. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21371. ==18304==  Address 0x50fbf04 is 0 bytes inside data symbol "buffer_id"
  21372. ==18304==
  21373. ==18304== ----------------------------------------------------------------
  21374. ==18304==
  21375. ==18304== Thread #39: lock order "0x7D7DC08 before 0x7D7DD28" violated
  21376. ==18304==
  21377. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  21378. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21379. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21380. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21381. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21382. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21383. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21384. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21385. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21386. ==18304==
  21387. ==18304==  followed by a later acquisition of lock at 0x7D7DC08
  21388. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21389. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21390. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21391. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21392. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21393. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21394. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21395. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21396. ==18304==
  21397. ==18304== Required order was established by acquisition of lock at 0x7D7DC08
  21398. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21399. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21400. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21401. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21402. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21403. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21404. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21405. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21406. ==18304==
  21407. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  21408. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21409. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  21410. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  21411. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21412. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21413. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21414. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21415. ==18304==
  21416. ==18304==  Lock at 0x7D7DC08 was first observed
  21417. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  21418. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  21419. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  21420. ==18304==    by 0x4DC0A81: softtimer_load (switch_time.c:1530)
  21421. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21422. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21423. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21424. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21425. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21426. ==18304==  Address 0x7d7dc08 is 600 bytes inside a block of size 8,192 alloc'd
  21427. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21428. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21429. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21430. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21431. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21432. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21433. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21434. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21435. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21436. ==18304==  Block was alloc'd by thread #1
  21437. ==18304==
  21438. ==18304==  Lock at 0x7D7DD28 was first observed
  21439. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  21440. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  21441. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21442. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21443. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21444. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21445. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21446. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21447. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21448. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  21449. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21450. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21451. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21452. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21453. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21454. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21455. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21456. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21457. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21458. ==18304==  Block was alloc'd by thread #1
  21459. ==18304==
  21460. ==18304==
  21461. ==18304== ----------------------------------------------------------------
  21462. ==18304==
  21463. ==18304== Thread #39: lock order "0x7D7DCC8 before 0x7D7DD28" violated
  21464. ==18304==
  21465. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  21466. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21467. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21468. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21469. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21470. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21471. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21472. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21473. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21474. ==18304==
  21475. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  21476. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21477. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21478. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21479. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21480. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21481. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21482. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21483. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21484. ==18304==
  21485. ==18304== Required order was established by acquisition of lock at 0x7D7DCC8
  21486. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21487. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21488. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21489. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21490. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21491. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21492. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21493. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21494. ==18304==
  21495. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  21496. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21497. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  21498. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  21499. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21500. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21501. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21502. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21503. ==18304==
  21504. ==18304==  Lock at 0x7D7DCC8 was first observed
  21505. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  21506. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  21507. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21508. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21509. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21510. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21511. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21512. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21513. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21514. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  21515. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21516. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21517. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21518. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21519. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21520. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21521. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21522. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21523. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21524. ==18304==  Block was alloc'd by thread #1
  21525. ==18304==
  21526. ==18304==  Lock at 0x7D7DD28 was first observed
  21527. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  21528. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  21529. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21530. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21531. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21532. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21533. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21534. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21535. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21536. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  21537. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21538. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21539. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21540. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21541. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21542. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21543. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21544. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21545. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21546. ==18304==  Block was alloc'd by thread #1
  21547. ==18304==
  21548. ==18304==
  21549. ==18304== ---Thread-Announcement------------------------------------------
  21550. ==18304==
  21551. ==18304== Thread #40 was created
  21552. ==18304==    at 0x560E4BE: clone (clone.S:71)
  21553. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  21554. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  21555. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  21556. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  21557. ==18304==    by 0x1402043B: launch_thread (mod_local_stream.c:1322)
  21558. ==18304==    by 0x14020CED: launch_streams (mod_local_stream.c:1339)
  21559. ==18304==    by 0x14020D9E: mod_local_stream_load (mod_local_stream.c:1542)
  21560. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21561. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21562. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  21563. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21564. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21565. ==18304==
  21566. ==18304== ----------------------------------------------------------------
  21567. ==18304==
  21568. ==18304== Thread #40: lock order "0x7D7DC08 before 0x7D7DD28" violated
  21569. ==18304==
  21570. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  21571. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21572. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21573. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21574. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21575. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21576. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21577. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21578. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21579. ==18304==
  21580. ==18304==  followed by a later acquisition of lock at 0x7D7DC08
  21581. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21582. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21583. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21584. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21585. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21586. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21587. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21588. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21589. ==18304==
  21590. ==18304== Required order was established by acquisition of lock at 0x7D7DC08
  21591. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21592. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21593. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21594. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21595. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21596. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21597. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21598. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21599. ==18304==
  21600. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  21601. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21602. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  21603. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  21604. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21605. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21606. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21607. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21608. ==18304==
  21609. ==18304==  Lock at 0x7D7DC08 was first observed
  21610. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  21611. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  21612. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  21613. ==18304==    by 0x4DC0A81: softtimer_load (switch_time.c:1530)
  21614. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21615. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21616. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21617. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21618. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21619. ==18304==  Address 0x7d7dc08 is 600 bytes inside a block of size 8,192 alloc'd
  21620. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21621. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21622. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21623. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21624. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21625. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21626. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21627. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21628. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21629. ==18304==  Block was alloc'd by thread #1
  21630. ==18304==
  21631. ==18304==  Lock at 0x7D7DD28 was first observed
  21632. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  21633. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  21634. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21635. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21636. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21637. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21638. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21639. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21640. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21641. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  21642. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21643. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21644. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21645. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21646. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21647. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21648. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21649. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21650. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21651. ==18304==  Block was alloc'd by thread #1
  21652. ==18304==
  21653. ==18304==
  21654. ==18304== ----------------------------------------------------------------
  21655. ==18304==
  21656. ==18304== Thread #40: lock order "0x7D7DCC8 before 0x7D7DD28" violated
  21657. ==18304==
  21658. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  21659. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21660. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21661. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21662. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21663. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21664. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21665. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21666. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21667. ==18304==
  21668. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  21669. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21670. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21671. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21672. ==18304==    by 0x140210A8: read_stream_thread (mod_local_stream.c:258)
  21673. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21674. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21675. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21676. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21677. ==18304==
  21678. ==18304== Required order was established by acquisition of lock at 0x7D7DCC8
  21679. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21680. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21681. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21682. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21683. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21684. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21685. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21686. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21687. ==18304==
  21688. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  21689. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21690. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  21691. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  21692. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21693. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21694. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21695. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21696. ==18304==
  21697. ==18304==  Lock at 0x7D7DCC8 was first observed
  21698. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  21699. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  21700. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21701. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21702. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21703. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21704. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21705. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21706. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21707. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  21708. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21709. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21710. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21711. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21712. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21713. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21714. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21715. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21716. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21717. ==18304==  Block was alloc'd by thread #1
  21718. ==18304==
  21719. ==18304==  Lock at 0x7D7DD28 was first observed
  21720. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  21721. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  21722. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21723. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21724. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21725. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21726. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21727. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21728. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21729. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  21730. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21731. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21732. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21733. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21734. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21735. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21736. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21737. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21738. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21739. ==18304==  Block was alloc'd by thread #1
  21740. ==18304==
  21741. ==18304==
  21742. ==18304== ----------------------------------------------------------------
  21743. ==18304==
  21744. ==18304== Thread #38: lock order "0x7D7DD28 before 0x7D7DCC8" violated
  21745. ==18304==
  21746. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  21747. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21748. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21749. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21750. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21751. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21752. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21753. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21754. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21755. ==18304==
  21756. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  21757. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21758. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  21759. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  21760. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21761. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21762. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21763. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21764. ==18304==
  21765. ==18304== Required order was established by acquisition of lock at 0x7D7DD28
  21766. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21767. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21768. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21769. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21770. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21771. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21772. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21773. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21774. ==18304==
  21775. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  21776. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21777. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21778. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21779. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21780. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21781. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21782. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21783. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21784. ==18304==
  21785. ==18304==  Lock at 0x7D7DD28 was first observed
  21786. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  21787. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  21788. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21789. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21790. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21791. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21792. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21793. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21794. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21795. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  21796. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21797. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21798. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21799. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21800. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21801. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21802. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21803. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21804. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21805. ==18304==  Block was alloc'd by thread #1
  21806. ==18304==
  21807. ==18304==  Lock at 0x7D7DCC8 was first observed
  21808. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  21809. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  21810. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21811. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21812. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21813. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21814. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21815. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21816. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21817. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  21818. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21819. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21820. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21821. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21822. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21823. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21824. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21825. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21826. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21827. ==18304==  Block was alloc'd by thread #1
  21828. ==18304==
  21829. ==18304==
  21830. ==18304== ----------------------------------------------------------------
  21831. ==18304==
  21832. ==18304== Thread #39: lock order "0x7D7DD28 before 0x7D7DCC8" violated
  21833. ==18304==
  21834. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  21835. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21836. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21837. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21838. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21839. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21840. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21841. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21842. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21843. ==18304==
  21844. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  21845. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21846. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  21847. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  21848. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21849. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21850. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21851. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21852. ==18304==
  21853. ==18304== Required order was established by acquisition of lock at 0x7D7DD28
  21854. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21855. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21856. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21857. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21858. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21859. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21860. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21861. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21862. ==18304==
  21863. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  21864. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21865. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21866. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21867. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21868. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21869. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21870. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21871. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21872. ==18304==
  21873. ==18304==  Lock at 0x7D7DD28 was first observed
  21874. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  21875. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  21876. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21877. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21878. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21879. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21880. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21881. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21882. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21883. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  21884. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21885. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21886. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21887. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21888. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21889. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21890. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21891. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21892. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21893. ==18304==  Block was alloc'd by thread #1
  21894. ==18304==
  21895. ==18304==  Lock at 0x7D7DCC8 was first observed
  21896. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  21897. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  21898. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21899. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21900. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21901. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21902. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21903. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21904. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21905. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  21906. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21907. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21908. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21909. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21910. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21911. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21912. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21913. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21914. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21915. ==18304==  Block was alloc'd by thread #1
  21916. ==18304==
  21917. ==18304==
  21918. ==18304== ----------------------------------------------------------------
  21919. ==18304==
  21920. ==18304== Thread #40: lock order "0x7D7DD28 before 0x7D7DCC8" violated
  21921. ==18304==
  21922. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  21923. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21924. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21925. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21926. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21927. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21928. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21929. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21930. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21931. ==18304==
  21932. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  21933. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21934. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  21935. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  21936. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21937. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21938. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21939. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21940. ==18304==
  21941. ==18304== Required order was established by acquisition of lock at 0x7D7DD28
  21942. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  21943. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21944. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21945. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21946. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21947. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21948. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21949. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21950. ==18304==
  21951. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  21952. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  21953. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  21954. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  21955. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  21956. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  21957. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  21958. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  21959. ==18304==    by 0x560E4CE: clone (clone.S:95)
  21960. ==18304==
  21961. ==18304==  Lock at 0x7D7DD28 was first observed
  21962. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  21963. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  21964. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21965. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21966. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21967. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21968. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21969. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21970. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21971. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  21972. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21973. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21974. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21975. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21976. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21977. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21978. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21979. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21980. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21981. ==18304==  Block was alloc'd by thread #1
  21982. ==18304==
  21983. ==18304==  Lock at 0x7D7DCC8 was first observed
  21984. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  21985. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  21986. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  21987. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  21988. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  21989. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  21990. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  21991. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  21992. ==18304==    by 0x10AEC7: main (switch.c:1200)
  21993. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  21994. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  21995. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  21996. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  21997. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  21998. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  21999. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  22000. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  22001. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  22002. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22003. ==18304==  Block was alloc'd by thread #1
  22004. ==18304==
  22005. ==18304==
  22006. ==18304== ---Thread-Announcement------------------------------------------
  22007. ==18304==
  22008. ==18304== Thread #43 was created
  22009. ==18304==    at 0x560E4BE: clone (clone.S:71)
  22010. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  22011. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  22012. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  22013. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  22014. ==18304==    by 0x4CFC0A1: switch_core_launch_thread (switch_core.c:611)
  22015. ==18304==    by 0x4D46ECA: switch_loadable_module_runtime (switch_loadable_module.c:150)
  22016. ==18304==    by 0x4D46ECA: switch_loadable_module_init (switch_loadable_module.c:2365)
  22017. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  22018. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22019. ==18304==
  22020. ==18304== ----------------------------------------------------------------
  22021. ==18304==
  22022. ==18304== Possible data race during write of size 1 at 0x8F1D8D8 by thread #43
  22023. ==18304== Locks held: none
  22024. ==18304==    at 0x8F148B0: mod_event_socket_runtime (mod_event_socket.c:3000)
  22025. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22026. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22027. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22028. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22029. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22030. ==18304==
  22031. ==18304== This conflicts with a previous read of size 1 by thread #3
  22032. ==18304== Locks held: none
  22033. ==18304==    at 0x8F1287D: event_handler (mod_event_socket.c:280)
  22034. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  22035. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  22036. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22037. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22038. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22039. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22040. ==18304==  Address 0x8f1d8d8 is 24 bytes inside data symbol "listen_list"
  22041. ==18304==
  22042. ==18304== ---Thread-Announcement------------------------------------------
  22043. ==18304==
  22044. ==18304== Thread #44 was created
  22045. ==18304==    at 0x560E4BE: clone (clone.S:71)
  22046. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  22047. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  22048. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  22049. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  22050. ==18304==    by 0x4CFC0A1: switch_core_launch_thread (switch_core.c:611)
  22051. ==18304==    by 0x4D46ECA: switch_loadable_module_runtime (switch_loadable_module.c:150)
  22052. ==18304==    by 0x4D46ECA: switch_loadable_module_init (switch_loadable_module.c:2365)
  22053. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  22054. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22055. ==18304==
  22056. ==18304== ----------------------------------------------------------------
  22057. ==18304==
  22058. ==18304== Possible data race during write of size 4 at 0x51215E0 by thread #44
  22059. ==18304== Locks held: none
  22060. ==18304==    at 0x4DBF918: softtimer_runtime (switch_time.c:1083)
  22061. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22062. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22063. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22064. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22065. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22066. ==18304==
  22067. ==18304== This conflicts with a previous read of size 4 by thread #43
  22068. ==18304== Locks held: none
  22069. ==18304==    at 0x4DBF130: switch_micro_time_now (switch_time.c:312)
  22070. ==18304==    by 0x4DB2EAA: switch_log_vprintf (switch_log.c:517)
  22071. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  22072. ==18304==    by 0x8F14893: mod_event_socket_runtime (mod_event_socket.c:2984)
  22073. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22074. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22075. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22076. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22077. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  22078. ==18304==
  22079. ==18304== ----------------------------------------------------------------
  22080. ==18304==
  22081. ==18304== Possible data race during write of size 1 at 0x50FC504 by thread #1
  22082. ==18304== Locks held: none
  22083. ==18304==    at 0x4D02F6A: switch_core_init_and_modload (switch_core.c:2521)
  22084. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22085. ==18304==
  22086. ==18304== This conflicts with a previous read of size 1 by thread #10
  22087. ==18304== Locks held: none
  22088. ==18304==    at 0x4CE9400: switch_core_sql_db_thread (switch_core_sqldb.c:1596)
  22089. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22090. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22091. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22092. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22093. ==18304==  Address 0x50fc504 is 580 bytes inside data symbol "runtime"
  22094. ==18304==
  22095. ==18304== ----------------------------------------------------------------
  22096. ==18304==
  22097. ==18304== Possible data race during write of size 4 at 0x51215E0 by thread #44
  22098. ==18304== Locks held: none
  22099. ==18304==    at 0x4DBF985: softtimer_runtime (switch_time.c:1121)
  22100. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22101. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22102. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22103. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22104. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22105. ==18304==
  22106. ==18304== This conflicts with a previous read of size 4 by thread #1
  22107. ==18304== Locks held: none
  22108. ==18304==    at 0x4DBF130: switch_micro_time_now (switch_time.c:312)
  22109. ==18304==    by 0x4DB2EAA: switch_log_vprintf (switch_log.c:517)
  22110. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  22111. ==18304==    by 0x4D02F50: switch_core_init_and_modload (switch_core.c:2510)
  22112. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22113. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  22114. ==18304==
  22115. ==18304== ----------------------------------------------------------------
  22116. ==18304==
  22117. ==18304== Possible data race during read of size 1 at 0x50FC504 by thread #10
  22118. ==18304== Locks held: none
  22119. ==18304==    at 0x4CE9400: switch_core_sql_db_thread (switch_core_sqldb.c:1596)
  22120. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22121. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22122. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22123. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22124. ==18304==
  22125. ==18304== This conflicts with a previous write of size 1 by thread #1
  22126. ==18304== Locks held: none
  22127. ==18304==    at 0x4D02F6A: switch_core_init_and_modload (switch_core.c:2521)
  22128. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22129. ==18304==  Address 0x50fc504 is 580 bytes inside data symbol "runtime"
  22130. ==18304==
  22131. ==18304== ----------------------------------------------------------------
  22132. ==18304==
  22133. ==18304== Possible data race during write of size 8 at 0x50FC508 by thread #44
  22134. ==18304== Locks held: none
  22135. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  22136. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22137. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22138. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22139. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22140. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22141. ==18304==
  22142. ==18304== This conflicts with a previous read of size 8 by thread #30
  22143. ==18304== Locks held: none
  22144. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  22145. ==18304==    by 0x4DBF278: switch_epoch_time_now (switch_time.c:323)
  22146. ==18304==    by 0x9567897: sofia_profile_worker_thread_run (sofia.c:3014)
  22147. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22148. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22149. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22150. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22151. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  22152. ==18304==
  22153. ==18304== ---Thread-Announcement------------------------------------------
  22154. ==18304==
  22155. ==18304== Thread #41 was created
  22156. ==18304==    at 0x560E4BE: clone (clone.S:71)
  22157. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  22158. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  22159. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  22160. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  22161. ==18304==    by 0x4CFC0A1: switch_core_launch_thread (switch_core.c:611)
  22162. ==18304==    by 0x4D46ECA: switch_loadable_module_runtime (switch_loadable_module.c:150)
  22163. ==18304==    by 0x4D46ECA: switch_loadable_module_init (switch_loadable_module.c:2365)
  22164. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  22165. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22166. ==18304==
  22167. ==18304== ----------------------------------------------------------------
  22168. ==18304==
  22169. ==18304== Possible data race during read of size 4 at 0x51215E0 by thread #41
  22170. ==18304== Locks held: none
  22171. ==18304==    at 0x4DBF130: switch_micro_time_now (switch_time.c:312)
  22172. ==18304==    by 0x4DAFF49: switch_stun_lookup (switch_stun.c:778)
  22173. ==18304==    by 0xB94F1BE: mod_signalwire_adoption_post (mod_signalwire.c:301)
  22174. ==18304==    by 0xB94FBA4: mod_signalwire_state_adoption (mod_signalwire.c:1008)
  22175. ==18304==    by 0xB94FBA4: mod_signalwire_runtime (mod_signalwire.c:1297)
  22176. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22177. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22178. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22179. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22180. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22181. ==18304==
  22182. ==18304== This conflicts with a previous write of size 4 by thread #44
  22183. ==18304== Locks held: none
  22184. ==18304==    at 0x4DBF985: softtimer_runtime (switch_time.c:1121)
  22185. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22186. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22187. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22188. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22189. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22190. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  22191. ==18304==
  22192. ==18304== ----------------------------------------------------------------
  22193. ==18304==
  22194. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #41
  22195. ==18304== Locks held: none
  22196. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  22197. ==18304==    by 0x4DAFF49: switch_stun_lookup (switch_stun.c:778)
  22198. ==18304==    by 0xB94F1BE: mod_signalwire_adoption_post (mod_signalwire.c:301)
  22199. ==18304==    by 0xB94FBA4: mod_signalwire_state_adoption (mod_signalwire.c:1008)
  22200. ==18304==    by 0xB94FBA4: mod_signalwire_runtime (mod_signalwire.c:1297)
  22201. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22202. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22203. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22204. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22205. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22206. ==18304==
  22207. ==18304== This conflicts with a previous write of size 8 by thread #44
  22208. ==18304== Locks held: none
  22209. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  22210. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22211. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22212. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22213. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22214. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22215. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  22216. ==18304==
  22217. ==18304== ----------------------------------------------------------------
  22218. ==18304==
  22219. ==18304== Possible data race during read of size 4 at 0x51215E0 by thread #41
  22220. ==18304== Locks held: none
  22221. ==18304==    at 0x4DBF130: switch_micro_time_now (switch_time.c:312)
  22222. ==18304==    by 0x4DAFFA1: switch_stun_lookup (switch_stun.c:790)
  22223. ==18304==    by 0xB94F1BE: mod_signalwire_adoption_post (mod_signalwire.c:301)
  22224. ==18304==    by 0xB94FBA4: mod_signalwire_state_adoption (mod_signalwire.c:1008)
  22225. ==18304==    by 0xB94FBA4: mod_signalwire_runtime (mod_signalwire.c:1297)
  22226. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22227. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22228. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22229. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22230. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22231. ==18304==
  22232. ==18304== This conflicts with a previous write of size 4 by thread #44
  22233. ==18304== Locks held: none
  22234. ==18304==    at 0x4DBF985: softtimer_runtime (switch_time.c:1121)
  22235. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22236. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22237. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22238. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22239. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22240. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  22241. ==18304==
  22242. ==18304== ----------------------------------------------------------------
  22243. ==18304==
  22244. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #41
  22245. ==18304== Locks held: none
  22246. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  22247. ==18304==    by 0x4DAFFA1: switch_stun_lookup (switch_stun.c:790)
  22248. ==18304==    by 0xB94F1BE: mod_signalwire_adoption_post (mod_signalwire.c:301)
  22249. ==18304==    by 0xB94FBA4: mod_signalwire_state_adoption (mod_signalwire.c:1008)
  22250. ==18304==    by 0xB94FBA4: mod_signalwire_runtime (mod_signalwire.c:1297)
  22251. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22252. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22253. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22254. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22255. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22256. ==18304==
  22257. ==18304== This conflicts with a previous write of size 8 by thread #44
  22258. ==18304== Locks held: none
  22259. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  22260. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22261. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22262. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22263. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22264. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22265. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  22266. ==18304==
  22267. ==18304== ---Thread-Announcement------------------------------------------
  22268. ==18304==
  22269. ==18304== Thread #47 was created
  22270. ==18304==    at 0x560E4BE: clone (clone.S:71)
  22271. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  22272. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  22273. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  22274. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  22275. ==18304==    by 0x4CD0E4D: switch_console_loop (switch_console.c:1177)
  22276. ==18304==    by 0x10AEFC: main (switch.c:1227)
  22277. ==18304==
  22278. ==18304== ----------------------------------------------------------------
  22279. ==18304==
  22280. ==18304==  Lock at 0x7B89590 was first observed
  22281. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22282. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22283. ==18304==    by 0x4DB37D6: switch_log_init (switch_log.c:699)
  22284. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  22285. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22286. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22287. ==18304==  Address 0x7b89590 is 800,080 bytes inside a block of size 802,816 alloc'd
  22288. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22289. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  22290. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  22291. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  22292. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  22293. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  22294. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22295. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22296. ==18304==  Block was alloc'd by thread #1
  22297. ==18304==
  22298. ==18304== Possible data race during write of size 1 at 0x746A293 by thread #47
  22299. ==18304== Locks held: none
  22300. ==18304==    at 0x48425EC: mempcpy (vg_replace_strmem.c:1536)
  22301. ==18304==    by 0x55909E4: _IO_new_file_xsputn (fileops.c:1243)
  22302. ==18304==    by 0x55909E4: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1204)
  22303. ==18304==    by 0x558554E: fputs (iofputs.c:38)
  22304. ==18304==    by 0x5E07DE8: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22305. ==18304==    by 0x5E07FF8: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22306. ==18304==    by 0x5E04FC5: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22307. ==18304==    by 0x5E03626: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22308. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22309. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22310. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  22311. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22312. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22313. ==18304==
  22314. ==18304== This conflicts with a previous write of size 1 by thread #5
  22315. ==18304== Locks held: 1, at address 0x7B89590
  22316. ==18304==    at 0x48425C6: mempcpy (vg_replace_strmem.c:1536)
  22317. ==18304==    by 0x55909E4: _IO_new_file_xsputn (fileops.c:1243)
  22318. ==18304==    by 0x55909E4: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1204)
  22319. ==18304==    by 0x55651FA: vfprintf (vfprintf.c:1638)
  22320. ==18304==    by 0x556D533: fprintf (fprintf.c:32)
  22321. ==18304==    by 0x485467A: switch_console_logger (mod_console.c:336)
  22322. ==18304==    by 0x485467A: switch_console_logger (mod_console.c:254)
  22323. ==18304==    by 0x4DB3711: log_thread (switch_log.c:482)
  22324. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22325. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22326. ==18304==  Address 0x746a293 is 3 bytes inside a block of size 1,024 alloc'd
  22327. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22328. ==18304==    by 0x558471B: _IO_file_doallocate (filedoalloc.c:101)
  22329. ==18304==    by 0x55926FF: _IO_doallocbuf (genops.c:347)
  22330. ==18304==    by 0x5591987: _IO_file_overflow@@GLIBC_2.2.5 (fileops.c:752)
  22331. ==18304==    by 0x5590A8E: _IO_new_file_xsputn (fileops.c:1251)
  22332. ==18304==    by 0x5590A8E: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1204)
  22333. ==18304==    by 0x558554E: fputs (iofputs.c:38)
  22334. ==18304==    by 0x4DB342E: switch_log_vprintf (switch_log.c:643)
  22335. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  22336. ==18304==    by 0x4D52628: switch_event_init (switch_event.c:710)
  22337. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  22338. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22339. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22340. ==18304==  Block was alloc'd by thread #1
  22341. ==18304==
  22342. ==18304== ----------------------------------------------------------------
  22343. ==18304==
  22344. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #41
  22345. ==18304== Locks held: none
  22346. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  22347. ==18304==    by 0x4DB2EAA: switch_log_vprintf (switch_log.c:517)
  22348. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  22349. ==18304==    by 0xB94EED8: mod_signalwire_adoption_post (mod_signalwire.c:343)
  22350. ==18304==    by 0xB94FBA4: mod_signalwire_state_adoption (mod_signalwire.c:1008)
  22351. ==18304==    by 0xB94FBA4: mod_signalwire_runtime (mod_signalwire.c:1297)
  22352. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22353. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22354. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22355. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22356. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22357. ==18304==
  22358. ==18304== This conflicts with a previous write of size 8 by thread #44
  22359. ==18304== Locks held: none
  22360. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  22361. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22362. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22363. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22364. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22365. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22366. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  22367. ==18304==
  22368. ==18304== ----------------------------------------------------------------
  22369. ==18304==
  22370. ==18304==  Lock at 0x7B89590 was first observed
  22371. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22372. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22373. ==18304==    by 0x4DB37D6: switch_log_init (switch_log.c:699)
  22374. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  22375. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22376. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22377. ==18304==  Address 0x7b89590 is 800,080 bytes inside a block of size 802,816 alloc'd
  22378. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22379. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  22380. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  22381. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  22382. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  22383. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  22384. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22385. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22386. ==18304==  Block was alloc'd by thread #1
  22387. ==18304==
  22388. ==18304== Possible data race during write of size 1 at 0x746A294 by thread #5
  22389. ==18304== Locks held: 1, at address 0x7B89590
  22390. ==18304==    at 0x48425C6: mempcpy (vg_replace_strmem.c:1536)
  22391. ==18304==    by 0x55909E4: _IO_new_file_xsputn (fileops.c:1243)
  22392. ==18304==    by 0x55909E4: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1204)
  22393. ==18304==    by 0x55651FA: vfprintf (vfprintf.c:1638)
  22394. ==18304==    by 0x556D533: fprintf (fprintf.c:32)
  22395. ==18304==    by 0x485467A: switch_console_logger (mod_console.c:336)
  22396. ==18304==    by 0x485467A: switch_console_logger (mod_console.c:254)
  22397. ==18304==    by 0x4DB3711: log_thread (switch_log.c:482)
  22398. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22399. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22400. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22401. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22402. ==18304==
  22403. ==18304== This conflicts with a previous write of size 1 by thread #47
  22404. ==18304== Locks held: none
  22405. ==18304==    at 0x48425EC: mempcpy (vg_replace_strmem.c:1536)
  22406. ==18304==    by 0x55909E4: _IO_new_file_xsputn (fileops.c:1243)
  22407. ==18304==    by 0x55909E4: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1204)
  22408. ==18304==    by 0x558554E: fputs (iofputs.c:38)
  22409. ==18304==    by 0x5E07DE8: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22410. ==18304==    by 0x5E07FF8: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22411. ==18304==    by 0x5E04FC5: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22412. ==18304==    by 0x5E03626: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22413. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  22414. ==18304==  Address 0x746a294 is 4 bytes inside a block of size 1,024 alloc'd
  22415. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22416. ==18304==    by 0x558471B: _IO_file_doallocate (filedoalloc.c:101)
  22417. ==18304==    by 0x55926FF: _IO_doallocbuf (genops.c:347)
  22418. ==18304==    by 0x5591987: _IO_file_overflow@@GLIBC_2.2.5 (fileops.c:752)
  22419. ==18304==    by 0x5590A8E: _IO_new_file_xsputn (fileops.c:1251)
  22420. ==18304==    by 0x5590A8E: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1204)
  22421. ==18304==    by 0x558554E: fputs (iofputs.c:38)
  22422. ==18304==    by 0x4DB342E: switch_log_vprintf (switch_log.c:643)
  22423. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  22424. ==18304==    by 0x4D52628: switch_event_init (switch_event.c:710)
  22425. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  22426. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22427. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22428. ==18304==  Block was alloc'd by thread #1
  22429. ==18304==
  22430. ==18304== ----------------------------------------------------------------
  22431. ==18304==
  22432. ==18304==  Lock at 0x7B8A200 was first observed
  22433. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22434. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22435. ==18304==    by 0x4D4019B: switch_scheduler_task_thread_start (switch_scheduler.c:345)
  22436. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  22437. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22438. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22439. ==18304==  Address 0x7b8a200 is 384 bytes inside a block of size 8,192 alloc'd
  22440. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22441. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  22442. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  22443. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  22444. ==18304==    by 0x4D40172: switch_scheduler_task_thread_start (switch_scheduler.c:343)
  22445. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  22446. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22447. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22448. ==18304==  Block was alloc'd by thread #1
  22449. ==18304==
  22450. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #6
  22451. ==18304== Locks held: 1, at address 0x7B8A200
  22452. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  22453. ==18304==    by 0x4DBF278: switch_epoch_time_now (switch_time.c:323)
  22454. ==18304==    by 0x4D3F785: task_thread_loop (switch_scheduler.c:113)
  22455. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22456. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22457. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22458. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22459. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22460. ==18304==
  22461. ==18304== This conflicts with a previous write of size 8 by thread #44
  22462. ==18304== Locks held: none
  22463. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  22464. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22465. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22466. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22467. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22468. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22469. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  22470. ==18304==
  22471. ==18304== ----------------------------------------------------------------
  22472. ==18304==
  22473. ==18304==  Lock at 0x79DD5A8 was first observed
  22474. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22475. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22476. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  22477. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  22478. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  22479. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  22480. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  22481. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  22482. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22483. ==18304==  Address 0x79dd5a8 is 456 bytes inside a block of size 8,192 alloc'd
  22484. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22485. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  22486. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  22487. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  22488. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  22489. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start_thread (switch_core_sqldb.c:3956)
  22490. ==18304==    by 0x4CEA1A3: switch_core_sqldb_start (switch_core_sqldb.c:3870)
  22491. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  22492. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  22493. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  22494. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22495. ==18304==  Block was alloc'd by thread #1
  22496. ==18304==
  22497. ==18304==  Lock at 0x7EB61E8 was first observed
  22498. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22499. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22500. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  22501. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  22502. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  22503. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  22504. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22505. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22506. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22507. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22508. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  22509. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22510. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  22511. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  22512. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  22513. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  22514. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  22515. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  22516. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  22517. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22518. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22519. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22520. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22521. ==18304==  Block was alloc'd by thread #9
  22522. ==18304==
  22523. ==18304== Possible data race during read of size 1 at 0x50FC506 by thread #9
  22524. ==18304== Locks held: 2, at addresses 0x79DD5A8 0x7EB61E8
  22525. ==18304==    at 0x4CE39BB: switch_user_sql_thread (switch_core_sqldb.c:2332)
  22526. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22527. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22528. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22529. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22530. ==18304==
  22531. ==18304== This conflicts with a previous write of size 1 by thread #1
  22532. ==18304== Locks held: none
  22533. ==18304==    at 0x4D02F6A: switch_core_init_and_modload (switch_core.c:2521)
  22534. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22535. ==18304==  Address 0x50fc506 is 582 bytes inside data symbol "runtime"
  22536. ==18304==
  22537. ==18304== ----------------------------------------------------------------
  22538. ==18304==
  22539. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #6
  22540. ==18304== Locks held: none
  22541. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  22542. ==18304==    by 0x4D5470A: switch_event_prep_for_delivery_detailed (switch_event.c:1972)
  22543. ==18304==    by 0x4D5498E: switch_event_create_subclass_detailed (switch_event.c:774)
  22544. ==18304==    by 0x4D5498E: switch_event_create_subclass_detailed (switch_event.c:743)
  22545. ==18304==    by 0x4CFEF7B: send_heartbeat (switch_core.c:81)
  22546. ==18304==    by 0x4CFEF7B: heartbeat_callback (switch_core.c:212)
  22547. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  22548. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  22549. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22550. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22551. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22552. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22553. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22554. ==18304==
  22555. ==18304== This conflicts with a previous write of size 8 by thread #44
  22556. ==18304== Locks held: none
  22557. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  22558. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22559. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22560. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22561. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22562. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22563. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  22564. ==18304==
  22565. ==18304== ----------------------------------------------------------------
  22566. ==18304==
  22567. ==18304==  Lock at 0x72FFE18 was first observed
  22568. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22569. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22570. ==18304==    by 0x4D02712: switch_core_init (switch_core.c:1917)
  22571. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22572. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22573. ==18304==  Address 0x72ffe18 is 400,568 bytes inside a block of size 401,408 alloc'd
  22574. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22575. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  22576. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  22577. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  22578. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  22579. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  22580. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22581. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22582. ==18304==  Block was alloc'd by thread #1
  22583. ==18304==
  22584. ==18304== Possible data race during read of size 4 at 0x50FC53C by thread #6
  22585. ==18304== Locks held: none
  22586. ==18304==    at 0x4CFF131: send_heartbeat (switch_core.c:102)
  22587. ==18304==    by 0x4CFF131: heartbeat_callback (switch_core.c:212)
  22588. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  22589. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  22590. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22591. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22592. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22593. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22594. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22595. ==18304==
  22596. ==18304== This conflicts with a previous write of size 4 by thread #44
  22597. ==18304== Locks held: 1, at address 0x72FFE18
  22598. ==18304==    at 0x4DBF932: softtimer_runtime (switch_time.c:1085)
  22599. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22600. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22601. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22602. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22603. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22604. ==18304==  Address 0x50fc53c is 636 bytes inside data symbol "runtime"
  22605. ==18304==
  22606. ==18304== ----------------------------------------------------------------
  22607. ==18304==
  22608. ==18304== Possible data race during write of size 8 at 0x50FC650 by thread #44
  22609. ==18304== Locks held: none
  22610. ==18304==    at 0x4DC839C: switch_get_system_idle_time (switch_profile.c:168)
  22611. ==18304==    by 0x4DBFE99: softtimer_runtime (switch_time.c:1238)
  22612. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22613. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22614. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22615. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22616. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22617. ==18304==
  22618. ==18304== This conflicts with a previous read of size 8 by thread #6
  22619. ==18304== Locks held: none
  22620. ==18304==    at 0x4CF0C97: switch_core_idle_cpu (switch_core_session.c:2544)
  22621. ==18304==    by 0x4CFF23A: send_heartbeat (switch_core.c:109)
  22622. ==18304==    by 0x4CFF23A: heartbeat_callback (switch_core.c:212)
  22623. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  22624. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  22625. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22626. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22627. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22628. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22629. ==18304==  Address 0x50fc650 is 912 bytes inside data symbol "runtime"
  22630. ==18304==
  22631. ==18304== ----------------------------------------------------------------
  22632. ==18304==
  22633. ==18304== Possible data race during write of size 8 at 0x50FC650 by thread #44
  22634. ==18304== Locks held: none
  22635. ==18304==    at 0x4DC8523: switch_get_system_idle_time (switch_profile.c:227)
  22636. ==18304==    by 0x4DBFE99: softtimer_runtime (switch_time.c:1238)
  22637. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22638. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22639. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22640. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22641. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22642. ==18304==
  22643. ==18304== This conflicts with a previous read of size 8 by thread #6
  22644. ==18304== Locks held: none
  22645. ==18304==    at 0x4CF0C97: switch_core_idle_cpu (switch_core_session.c:2544)
  22646. ==18304==    by 0x4CFF23A: send_heartbeat (switch_core.c:109)
  22647. ==18304==    by 0x4CFF23A: heartbeat_callback (switch_core.c:212)
  22648. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  22649. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  22650. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22651. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22652. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22653. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22654. ==18304==  Address 0x50fc650 is 912 bytes inside data symbol "runtime"
  22655. ==18304==
  22656. ==18304== ----------------------------------------------------------------
  22657. ==18304==
  22658. ==18304==  Lock at 0x72FFE18 was first observed
  22659. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22660. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22661. ==18304==    by 0x4D02712: switch_core_init (switch_core.c:1917)
  22662. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22663. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22664. ==18304==  Address 0x72ffe18 is 400,568 bytes inside a block of size 401,408 alloc'd
  22665. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22666. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  22667. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  22668. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  22669. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  22670. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  22671. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22672. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22673. ==18304==  Block was alloc'd by thread #1
  22674. ==18304==
  22675. ==18304== Possible data race during write of size 4 at 0x50FC540 by thread #44
  22676. ==18304== Locks held: 1, at address 0x72FFE18
  22677. ==18304==    at 0x4DBFECA: softtimer_runtime (switch_time.c:1246)
  22678. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22679. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22680. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22681. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22682. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22683. ==18304==
  22684. ==18304== This conflicts with a previous read of size 4 by thread #6
  22685. ==18304== Locks held: none
  22686. ==18304==    at 0x4CFF157: send_heartbeat (switch_core.c:103)
  22687. ==18304==    by 0x4CFF157: heartbeat_callback (switch_core.c:212)
  22688. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  22689. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  22690. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22691. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22692. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22693. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22694. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22695. ==18304==  Address 0x50fc540 is 640 bytes inside data symbol "runtime"
  22696. ==18304==
  22697. ==18304== ----------------------------------------------------------------
  22698. ==18304==
  22699. ==18304==  Lock at 0x72FFE18 was first observed
  22700. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22701. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22702. ==18304==    by 0x4D02712: switch_core_init (switch_core.c:1917)
  22703. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22704. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22705. ==18304==  Address 0x72ffe18 is 400,568 bytes inside a block of size 401,408 alloc'd
  22706. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22707. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  22708. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  22709. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  22710. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  22711. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  22712. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22713. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22714. ==18304==  Block was alloc'd by thread #1
  22715. ==18304==
  22716. ==18304== Possible data race during write of size 4 at 0x50FC53C by thread #44
  22717. ==18304== Locks held: 1, at address 0x72FFE18
  22718. ==18304==    at 0x4DBFF0B: softtimer_runtime (switch_time.c:1265)
  22719. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22720. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22721. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22722. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22723. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22724. ==18304==
  22725. ==18304== This conflicts with a previous read of size 4 by thread #6
  22726. ==18304== Locks held: none
  22727. ==18304==    at 0x4CFF131: send_heartbeat (switch_core.c:102)
  22728. ==18304==    by 0x4CFF131: heartbeat_callback (switch_core.c:212)
  22729. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  22730. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  22731. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22732. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22733. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22734. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22735. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22736. ==18304==  Address 0x50fc53c is 636 bytes inside data symbol "runtime"
  22737. ==18304==
  22738. ==18304== ----------------------------------------------------------------
  22739. ==18304==
  22740. ==18304== Possible data race during read of size 8 at 0xB9F0068 by thread #29
  22741. ==18304== Locks held: none
  22742. ==18304==    at 0xB9B8CA8: ks_log (ks_log.c:455)
  22743. ==18304==    by 0x128043A8: __service_handle_type (handle_manager.c:211)
  22744. ==18304==    by 0x1280449F: __service_handles (handle_manager.c:235)
  22745. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  22746. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  22747. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  22748. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22749. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22750. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22751. ==18304==  Address 0xb9f0068 is 0 bytes inside data symbol "ks_logger"
  22752. ==18304==
  22753. ==18304== ----------------------------------------------------------------
  22754. ==18304==
  22755. ==18304==  Lock at 0x72FFE18 was first observed
  22756. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22757. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22758. ==18304==    by 0x4D02712: switch_core_init (switch_core.c:1917)
  22759. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22760. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22761. ==18304==  Address 0x72ffe18 is 400,568 bytes inside a block of size 401,408 alloc'd
  22762. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22763. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  22764. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  22765. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  22766. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  22767. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  22768. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22769. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22770. ==18304==  Block was alloc'd by thread #1
  22771. ==18304==
  22772. ==18304== Possible data race during read of size 4 at 0x50FC540 by thread #6
  22773. ==18304== Locks held: none
  22774. ==18304==    at 0x4CFF157: send_heartbeat (switch_core.c:103)
  22775. ==18304==    by 0x4CFF157: heartbeat_callback (switch_core.c:212)
  22776. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  22777. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  22778. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22779. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22780. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22781. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22782. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22783. ==18304==
  22784. ==18304== This conflicts with a previous write of size 4 by thread #44
  22785. ==18304== Locks held: 1, at address 0x72FFE18
  22786. ==18304==    at 0x4DBFECA: softtimer_runtime (switch_time.c:1246)
  22787. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22788. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22789. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22790. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22791. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22792. ==18304==  Address 0x50fc540 is 640 bytes inside data symbol "runtime"
  22793. ==18304==
  22794. ==18304== ----------------------------------------------------------------
  22795. ==18304==
  22796. ==18304== Possible data race during read of size 8 at 0x50FC650 by thread #6
  22797. ==18304== Locks held: none
  22798. ==18304==    at 0x4CF0C97: switch_core_idle_cpu (switch_core_session.c:2544)
  22799. ==18304==    by 0x4CFF23A: send_heartbeat (switch_core.c:109)
  22800. ==18304==    by 0x4CFF23A: heartbeat_callback (switch_core.c:212)
  22801. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  22802. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  22803. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22804. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22805. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22806. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22807. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22808. ==18304==
  22809. ==18304== This conflicts with a previous write of size 8 by thread #44
  22810. ==18304== Locks held: none
  22811. ==18304==    at 0x4DC839C: switch_get_system_idle_time (switch_profile.c:168)
  22812. ==18304==    by 0x4DBFE99: softtimer_runtime (switch_time.c:1238)
  22813. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  22814. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22815. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22816. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22817. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22818. ==18304==  Address 0x50fc650 is 912 bytes inside data symbol "runtime"
  22819. ==18304==
  22820. ==18304== ----------------------------------------------------------------
  22821. ==18304==
  22822. ==18304==  Lock at 0x7B8A200 was first observed
  22823. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22824. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22825. ==18304==    by 0x4D4019B: switch_scheduler_task_thread_start (switch_scheduler.c:345)
  22826. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  22827. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22828. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22829. ==18304==  Address 0x7b8a200 is 384 bytes inside a block of size 8,192 alloc'd
  22830. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22831. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  22832. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  22833. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  22834. ==18304==    by 0x4D40172: switch_scheduler_task_thread_start (switch_scheduler.c:343)
  22835. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  22836. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22837. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22838. ==18304==  Block was alloc'd by thread #1
  22839. ==18304==
  22840. ==18304== Possible data race during read of size 4 at 0x7D75B30 by thread #6
  22841. ==18304== Locks held: 1, at address 0x7B8A200
  22842. ==18304==    at 0x4D3F792: task_thread_loop (switch_scheduler.c:114)
  22843. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22844. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22845. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22846. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22847. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22848. ==18304==  Address 0x7d75b30 is 64 bytes inside a block of size 120 alloc'd
  22849. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  22850. ==18304==    by 0x4D3FC90: switch_scheduler_add_task (switch_scheduler.c:221)
  22851. ==18304==    by 0x4D02CB8: switch_core_init (switch_core.c:2015)
  22852. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22853. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22854. ==18304==  Block was alloc'd by thread #1
  22855. ==18304==
  22856. ==18304== ----------------------------------------------------------------
  22857. ==18304==
  22858. ==18304==  Lock at 0x7B8A200 was first observed
  22859. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22860. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22861. ==18304==    by 0x4D4019B: switch_scheduler_task_thread_start (switch_scheduler.c:345)
  22862. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  22863. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22864. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22865. ==18304==  Address 0x7b8a200 is 384 bytes inside a block of size 8,192 alloc'd
  22866. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22867. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  22868. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  22869. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  22870. ==18304==    by 0x4D40172: switch_scheduler_task_thread_start (switch_scheduler.c:343)
  22871. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  22872. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22873. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22874. ==18304==  Block was alloc'd by thread #1
  22875. ==18304==
  22876. ==18304== Possible data race during write of size 4 at 0x7D75B30 by thread #6
  22877. ==18304== Locks held: 1, at address 0x7B8A200
  22878. ==18304==    at 0x4D3F83F: task_thread_loop (switch_scheduler.c:127)
  22879. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22880. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22881. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22882. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22883. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22884. ==18304==  Address 0x7d75b30 is 64 bytes inside a block of size 120 alloc'd
  22885. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  22886. ==18304==    by 0x4D3FC90: switch_scheduler_add_task (switch_scheduler.c:221)
  22887. ==18304==    by 0x4D02CB8: switch_core_init (switch_core.c:2015)
  22888. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22889. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22890. ==18304==  Block was alloc'd by thread #1
  22891. ==18304==
  22892. ==18304== ---Thread-Announcement------------------------------------------
  22893. ==18304==
  22894. ==18304== Thread #49 was created
  22895. ==18304==    at 0x560E4BE: clone (clone.S:71)
  22896. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  22897. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  22898. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  22899. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  22900. ==18304==    by 0x4D3F856: task_thread_loop (switch_scheduler.c:128)
  22901. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22902. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22903. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22904. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22905. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22906. ==18304==
  22907. ==18304== ----------------------------------------------------------------
  22908. ==18304==
  22909. ==18304== Possible data race during read of size 1 at 0x50FC664 by thread #3
  22910. ==18304== Locks held: none
  22911. ==18304==    at 0x4CD24EC: vxprintf (switch_mprintf.c:689)
  22912. ==18304==    by 0x4CD24EC: base_vprintf.constprop.0 (switch_mprintf.c:860)
  22913. ==18304==    by 0x4CD37CA: switch_mprintf (switch_mprintf.c:903)
  22914. ==18304==    by 0x4CE63FC: core_event_handler (switch_core_sqldb.c:2815)
  22915. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  22916. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  22917. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22918. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22919. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22920. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22921. ==18304==
  22922. ==18304== This conflicts with a previous write of size 1 by thread #49
  22923. ==18304== Locks held: none
  22924. ==18304==    at 0x5605D89: gethostname (gethostname.c:36)
  22925. ==18304==    by 0x4CFB5E8: check_ip (switch_core.c:129)
  22926. ==18304==    by 0x4CFBCF8: check_ip_callback (switch_core.c:221)
  22927. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  22928. ==18304==    by 0x4D3FC10: task_own_thread (switch_scheduler.c:95)
  22929. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22930. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22931. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22932. ==18304==  Address 0x50fc664 is 932 bytes inside data symbol "runtime"
  22933. ==18304==
  22934. ==18304== ----------------------------------------------------------------
  22935. ==18304==
  22936. ==18304== Possible data race during read of size 1 at 0x50FC665 by thread #3
  22937. ==18304== Locks held: none
  22938. ==18304==    at 0x4CD2516: vxprintf (switch_mprintf.c:689)
  22939. ==18304==    by 0x4CD2516: base_vprintf.constprop.0 (switch_mprintf.c:860)
  22940. ==18304==    by 0x4CD37CA: switch_mprintf (switch_mprintf.c:903)
  22941. ==18304==    by 0x4CE63FC: core_event_handler (switch_core_sqldb.c:2815)
  22942. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  22943. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  22944. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22945. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22946. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22947. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22948. ==18304==
  22949. ==18304== This conflicts with a previous write of size 1 by thread #49
  22950. ==18304== Locks held: none
  22951. ==18304==    at 0x5605D89: gethostname (gethostname.c:36)
  22952. ==18304==    by 0x4CFB5E8: check_ip (switch_core.c:129)
  22953. ==18304==    by 0x4CFBCF8: check_ip_callback (switch_core.c:221)
  22954. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  22955. ==18304==    by 0x4D3FC10: task_own_thread (switch_scheduler.c:95)
  22956. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22957. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22958. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22959. ==18304==  Address 0x50fc665 is 933 bytes inside data symbol "runtime"
  22960. ==18304==
  22961. ==18304== ----------------------------------------------------------------
  22962. ==18304==
  22963. ==18304==  Lock at 0x7B8A200 was first observed
  22964. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  22965. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  22966. ==18304==    by 0x4D4019B: switch_scheduler_task_thread_start (switch_scheduler.c:345)
  22967. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  22968. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22969. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22970. ==18304==  Address 0x7b8a200 is 384 bytes inside a block of size 8,192 alloc'd
  22971. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  22972. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  22973. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  22974. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  22975. ==18304==    by 0x4D40172: switch_scheduler_task_thread_start (switch_scheduler.c:343)
  22976. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  22977. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  22978. ==18304==    by 0x10AEC7: main (switch.c:1200)
  22979. ==18304==  Block was alloc'd by thread #1
  22980. ==18304==
  22981. ==18304== Possible data race during write of size 4 at 0x7D75B30 by thread #49
  22982. ==18304== Locks held: none
  22983. ==18304==    at 0x4D3FC2E: task_own_thread (switch_scheduler.c:97)
  22984. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22985. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22986. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22987. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22988. ==18304==
  22989. ==18304== This conflicts with a previous read of size 4 by thread #6
  22990. ==18304== Locks held: 1, at address 0x7B8A200
  22991. ==18304==    at 0x4D3F792: task_thread_loop (switch_scheduler.c:114)
  22992. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  22993. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  22994. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  22995. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  22996. ==18304==    by 0x560E4CE: clone (clone.S:95)
  22997. ==18304==  Address 0x7d75b30 is 64 bytes inside a block of size 120 alloc'd
  22998. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  22999. ==18304==    by 0x4D3FC90: switch_scheduler_add_task (switch_scheduler.c:221)
  23000. ==18304==    by 0x4D02CB8: switch_core_init (switch_core.c:2015)
  23001. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  23002. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23003. ==18304==  Block was alloc'd by thread #1
  23004. ==18304==
  23005. ==18304== ----------------------------------------------------------------
  23006. ==18304==
  23007. ==18304== Thread #47: lock order "0x7B89680 before 0x79E0688" violated
  23008. ==18304==
  23009. ==18304== Observed (incorrect) order is: acquisition of lock at 0x79E0688
  23010. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  23011. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  23012. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  23013. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  23014. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  23015. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  23016. ==18304==    by 0x4CCEFAD: switch_console_expand_alias (switch_console.c:253)
  23017. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  23018. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  23019. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  23020. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23021. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23022. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23023. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23024. ==18304==
  23025. ==18304==  followed by a later acquisition of lock at 0x7B89680
  23026. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  23027. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  23028. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  23029. ==18304==    by 0x4CCF1DC: switch_console_expand_alias (switch_console.c:305)
  23030. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  23031. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  23032. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  23033. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23034. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23035. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23036. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23037. ==18304==
  23038. ==18304== Required order was established by acquisition of lock at 0x7B89680
  23039. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  23040. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  23041. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  23042. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  23043. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  23044. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  23045. ==18304==    by 0x4CCEFAD: switch_console_expand_alias (switch_console.c:253)
  23046. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  23047. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  23048. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  23049. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23050. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23051. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23052. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23053. ==18304==
  23054. ==18304==  followed by a later acquisition of lock at 0x79E0688
  23055. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  23056. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  23057. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  23058. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  23059. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  23060. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  23061. ==18304==    by 0x4CCEFAD: switch_console_expand_alias (switch_console.c:253)
  23062. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  23063. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  23064. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  23065. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23066. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23067. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23068. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23069. ==18304==
  23070. ==18304==  Lock at 0x7B89680 was first observed
  23071. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23072. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23073. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  23074. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  23075. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  23076. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23077. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23078. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  23079. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23080. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  23081. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  23082. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  23083. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  23084. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  23085. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  23086. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23087. ==18304==  Block was alloc'd by thread #1
  23088. ==18304==
  23089. ==18304==  Lock at 0x79E0688 was first observed
  23090. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23091. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23092. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  23093. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  23094. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  23095. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  23096. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  23097. ==18304==    by 0x4CCEFAD: switch_console_expand_alias (switch_console.c:253)
  23098. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  23099. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  23100. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  23101. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23102. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23103. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23104. ==18304==  Address 0x79e0688 is 1,144 bytes inside a block of size 8,192 alloc'd
  23105. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23106. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23107. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23108. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23109. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  23110. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  23111. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  23112. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  23113. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  23114. ==18304==    by 0x4CCEFAD: switch_console_expand_alias (switch_console.c:253)
  23115. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  23116. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  23117. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  23118. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23119. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23120. ==18304==  Block was alloc'd by thread #47
  23121. ==18304==
  23122. ==18304==
  23123. ==18304== ----------------------------------------------------------------
  23124. ==18304==
  23125. ==18304==  Lock at 0xAE53F78 was first observed
  23126. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23127. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23128. ==18304==    by 0x12D3FF34: mod_commands_load (mod_commands.c:7454)
  23129. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  23130. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23131. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23132. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23133. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23134. ==18304==  Address 0xae53f78 is 696 bytes inside a block of size 8,192 alloc'd
  23135. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23136. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23137. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23138. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23139. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  23140. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23141. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23142. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23143. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23144. ==18304==  Block was alloc'd by thread #1
  23145. ==18304==
  23146. ==18304==  Lock at 0xAE6A778 was first observed
  23147. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  23148. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  23149. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  23150. ==18304==    by 0xB94DA00: mod_signalwire_load (mod_signalwire.c:847)
  23151. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  23152. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23153. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23154. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23155. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23156. ==18304==  Address 0xae6a778 is 504 bytes inside a block of size 8,192 alloc'd
  23157. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23158. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23159. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23160. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23161. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  23162. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23163. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23164. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23165. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23166. ==18304==  Block was alloc'd by thread #1
  23167. ==18304==
  23168. ==18304== Possible data race during write of size 4 at 0xB955464 by thread #47
  23169. ==18304== Locks held: 2, at addresses 0xAE53F78 0xAE6A778
  23170. ==18304==    at 0xB94E478: mod_signalwire_shutdown (mod_signalwire.c:970)
  23171. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  23172. ==18304==    by 0x4D45FFE: switch_loadable_module_unload_module (switch_loadable_module.c:1940)
  23173. ==18304==    by 0x12D3404B: unload_function (mod_commands.c:2755)
  23174. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  23175. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  23176. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  23177. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  23178. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23179. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23180. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23181. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23182. ==18304==
  23183. ==18304== This conflicts with a previous read of size 4 by thread #41
  23184. ==18304== Locks held: none
  23185. ==18304==    at 0xB94FB3A: mod_signalwire_runtime (mod_signalwire.c:1272)
  23186. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  23187. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23188. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23189. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23190. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23191. ==18304==  Address 0xb955464 is 4 bytes inside data symbol "globals"
  23192. ==18304==
  23193. ==18304== ----------------------------------------------------------------
  23194. ==18304==
  23195. ==18304==  Lock at 0xAE53F78 was first observed
  23196. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23197. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23198. ==18304==    by 0x12D3FF34: mod_commands_load (mod_commands.c:7454)
  23199. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  23200. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23201. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23202. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23203. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23204. ==18304==  Address 0xae53f78 is 696 bytes inside a block of size 8,192 alloc'd
  23205. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23206. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23207. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23208. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23209. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  23210. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23211. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23212. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23213. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23214. ==18304==  Block was alloc'd by thread #1
  23215. ==18304==
  23216. ==18304==  Lock at 0xAE6A778 was first observed
  23217. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  23218. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  23219. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  23220. ==18304==    by 0xB94DA00: mod_signalwire_load (mod_signalwire.c:847)
  23221. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  23222. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23223. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23224. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23225. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23226. ==18304==  Address 0xae6a778 is 504 bytes inside a block of size 8,192 alloc'd
  23227. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23228. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23229. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23230. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23231. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  23232. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23233. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23234. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23235. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23236. ==18304==  Block was alloc'd by thread #1
  23237. ==18304==
  23238. ==18304== Possible data race during write of size 8 at 0x932EBA0 by thread #47
  23239. ==18304== Locks held: 2, at addresses 0xAE53F78 0xAE6A778
  23240. ==18304==    at 0x12806436: __swclt_hstate_initiate_change_in (handle_state.c:320)
  23241. ==18304==    by 0x128062A4: __swclt_hstate_initiate_change_now (handle_state.c:302)
  23242. ==18304==    by 0x1281165C: __disconnect (session.c:472)
  23243. ==18304==    by 0x12812D62: swclt_sess_disconnect (session.c:860)
  23244. ==18304==    by 0xB94E486: mod_signalwire_shutdown (mod_signalwire.c:972)
  23245. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  23246. ==18304==    by 0x4D45FFE: switch_loadable_module_unload_module (switch_loadable_module.c:1940)
  23247. ==18304==    by 0x12D3404B: unload_function (mod_commands.c:2755)
  23248. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  23249. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  23250. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  23251. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  23252. ==18304==
  23253. ==18304== This conflicts with a previous read of size 8 by thread #29
  23254. ==18304== Locks held: none
  23255. ==18304==    at 0x12803ED1: __service_handle (handle_manager.c:104)
  23256. ==18304==    by 0x128043F4: __service_handle_type (handle_manager.c:219)
  23257. ==18304==    by 0x12804495: __service_handles (handle_manager.c:234)
  23258. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  23259. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  23260. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  23261. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23262. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23263. ==18304==  Address 0x932eba0 is 160 bytes inside a block of size 834 alloc'd
  23264. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23265. ==18304==    by 0xB9BA9F5: alloc_mem (ks_pool.c:330)
  23266. ==18304==    by 0xB9BBD39: __ks_pool_alloc_ex (ks_pool.c:1058)
  23267. ==18304==    by 0xB9BC057: __ks_pool_alloc (ks_pool.c:1101)
  23268. ==18304==    by 0xB9AE626: __ks_handle_alloc_ex (ks_handle.c:358)
  23269. ==18304==    by 0x12812B00: __swclt_sess_create (session.c:818)
  23270. ==18304==    by 0xB94DE34: mod_signalwire_load (mod_signalwire.c:901)
  23271. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  23272. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23273. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23274. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23275. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23276. ==18304==  Block was alloc'd by thread #1
  23277. ==18304==
  23278. ==18304== ----------------------------------------------------------------
  23279. ==18304==
  23280. ==18304==  Lock at 0xAE53F78 was first observed
  23281. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23282. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23283. ==18304==    by 0x12D3FF34: mod_commands_load (mod_commands.c:7454)
  23284. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  23285. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23286. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23287. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23288. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23289. ==18304==  Address 0xae53f78 is 696 bytes inside a block of size 8,192 alloc'd
  23290. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23291. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23292. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23293. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23294. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  23295. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23296. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23297. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23298. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23299. ==18304==  Block was alloc'd by thread #1
  23300. ==18304==
  23301. ==18304==  Lock at 0xAE6A778 was first observed
  23302. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  23303. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  23304. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  23305. ==18304==    by 0xB94DA00: mod_signalwire_load (mod_signalwire.c:847)
  23306. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  23307. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23308. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23309. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23310. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23311. ==18304==  Address 0xae6a778 is 504 bytes inside a block of size 8,192 alloc'd
  23312. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23313. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23314. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23315. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23316. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  23317. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23318. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23319. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23320. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23321. ==18304==  Block was alloc'd by thread #1
  23322. ==18304==
  23323. ==18304== Possible data race during read of size 4 at 0xB955464 by thread #41
  23324. ==18304== Locks held: none
  23325. ==18304==    at 0xB94FB3A: mod_signalwire_runtime (mod_signalwire.c:1272)
  23326. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  23327. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23328. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23329. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23330. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23331. ==18304==
  23332. ==18304== This conflicts with a previous write of size 4 by thread #47
  23333. ==18304== Locks held: 2, at addresses 0xAE53F78 0xAE6A778
  23334. ==18304==    at 0xB94E478: mod_signalwire_shutdown (mod_signalwire.c:970)
  23335. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  23336. ==18304==    by 0x4D45FFE: switch_loadable_module_unload_module (switch_loadable_module.c:1940)
  23337. ==18304==    by 0x12D3404B: unload_function (mod_commands.c:2755)
  23338. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  23339. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  23340. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  23341. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  23342. ==18304==  Address 0xb955464 is 4 bytes inside data symbol "globals"
  23343. ==18304==
  23344. ==18304== ----------------------------------------------------------------
  23345. ==18304==
  23346. ==18304==  Lock at 0x9346648 was first observed
  23347. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23348. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  23349. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  23350. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  23351. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  23352. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  23353. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23354. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23355. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23356. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23357. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  23358. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  23359. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  23360. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  23361. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  23362. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  23363. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23364. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23365. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23366. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23367. ==18304==  Block was alloc'd by thread #14
  23368. ==18304==
  23369. ==18304== Possible data race during read of size 1 at 0x50FC504 by thread #14
  23370. ==18304== Locks held: 1, at address 0x9346648
  23371. ==18304==    at 0x4CFF3E2: switch_core_ready_inbound (switch_core.c:2997)
  23372. ==18304==    by 0x9593D34: sofia_event_callback (sofia.c:2478)
  23373. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23374. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23375. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23376. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  23377. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23378. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23379. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23380. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23381. ==18304==
  23382. ==18304== This conflicts with a previous write of size 1 by thread #1
  23383. ==18304== Locks held: none
  23384. ==18304==    at 0x4D02F6A: switch_core_init_and_modload (switch_core.c:2521)
  23385. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23386. ==18304==  Address 0x50fc504 is 580 bytes inside data symbol "runtime"
  23387. ==18304==
  23388. ==18304== ----------------------------------------------------------------
  23389. ==18304==
  23390. ==18304==  Lock at 0x9346648 was first observed
  23391. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23392. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  23393. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  23394. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  23395. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  23396. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  23397. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23398. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23399. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23400. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23401. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  23402. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  23403. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  23404. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  23405. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  23406. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  23407. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23408. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23409. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23410. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23411. ==18304==  Block was alloc'd by thread #14
  23412. ==18304==
  23413. ==18304== Possible data race during read of size 1 at 0x50FC504 by thread #14
  23414. ==18304== Locks held: 1, at address 0x9346648
  23415. ==18304==    at 0x4CFF3E2: switch_core_ready_inbound (switch_core.c:2997)
  23416. ==18304==    by 0x4CECEE4: switch_core_session_request_uuid (switch_core_session.c:2329)
  23417. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  23418. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23419. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23420. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23421. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  23422. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23423. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23424. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23425. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23426. ==18304==
  23427. ==18304== This conflicts with a previous write of size 1 by thread #1
  23428. ==18304== Locks held: none
  23429. ==18304==    at 0x4D02F6A: switch_core_init_and_modload (switch_core.c:2521)
  23430. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23431. ==18304==  Address 0x50fc504 is 580 bytes inside data symbol "runtime"
  23432. ==18304==
  23433. ==18304== ----------------------------------------------------------------
  23434. ==18304==
  23435. ==18304==  Lock at 0x9346648 was first observed
  23436. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23437. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  23438. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  23439. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  23440. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  23441. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  23442. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23443. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23444. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23445. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23446. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  23447. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  23448. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  23449. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  23450. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  23451. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  23452. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23453. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23454. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23455. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23456. ==18304==  Block was alloc'd by thread #14
  23457. ==18304==
  23458. ==18304== Possible data race during read of size 1 at 0x50FC504 by thread #14
  23459. ==18304== Locks held: 1, at address 0x9346648
  23460. ==18304==    at 0x4CFF3C0: switch_core_ready (switch_core.c:2992)
  23461. ==18304==    by 0x4CECA01: switch_core_session_request_uuid (switch_core_session.c:2339)
  23462. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  23463. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23464. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23465. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23466. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  23467. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23468. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23469. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23470. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23471. ==18304==
  23472. ==18304== This conflicts with a previous write of size 1 by thread #1
  23473. ==18304== Locks held: none
  23474. ==18304==    at 0x4D02F6A: switch_core_init_and_modload (switch_core.c:2521)
  23475. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23476. ==18304==  Address 0x50fc504 is 580 bytes inside data symbol "runtime"
  23477. ==18304==
  23478. ==18304== ----------------------------------------------------------------
  23479. ==18304==
  23480. ==18304==  Lock at 0x72FFE18 was first observed
  23481. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23482. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23483. ==18304==    by 0x4D02712: switch_core_init (switch_core.c:1917)
  23484. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  23485. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23486. ==18304==  Address 0x72ffe18 is 400,568 bytes inside a block of size 401,408 alloc'd
  23487. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23488. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  23489. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  23490. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  23491. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  23492. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  23493. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  23494. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23495. ==18304==  Block was alloc'd by thread #1
  23496. ==18304==
  23497. ==18304==  Lock at 0x9346648 was first observed
  23498. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23499. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  23500. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  23501. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  23502. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  23503. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  23504. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23505. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23506. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23507. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23508. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  23509. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  23510. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  23511. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  23512. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  23513. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  23514. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23515. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23516. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23517. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23518. ==18304==  Block was alloc'd by thread #14
  23519. ==18304==
  23520. ==18304== Possible data race during write of size 4 at 0x50FC53C by thread #14
  23521. ==18304== Locks held: 2, at addresses 0x72FFE18 0x9346648
  23522. ==18304==    at 0x4CECE0B: switch_core_session_request_uuid (switch_core_session.c:2353)
  23523. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  23524. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23525. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23526. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23527. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  23528. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23529. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23530. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23531. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23532. ==18304==
  23533. ==18304== This conflicts with a previous write of size 4 by thread #44
  23534. ==18304== Locks held: 1, at address 0x72FFE18
  23535. ==18304==    at 0x4DBFF0B: softtimer_runtime (switch_time.c:1265)
  23536. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  23537. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23538. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23539. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23540. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23541. ==18304==  Address 0x50fc53c is 636 bytes inside data symbol "runtime"
  23542. ==18304==
  23543. ==18304== ---Thread-Announcement------------------------------------------
  23544. ==18304==
  23545. ==18304== Thread #50 was created
  23546. ==18304==    at 0x560E4BE: clone (clone.S:71)
  23547. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  23548. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  23549. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  23550. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  23551. ==18304==    by 0x4CF0814: check_queue (switch_core_session.c:1855)
  23552. ==18304==    by 0x4CF099E: switch_core_session_thread_pool_launch (switch_core_session.c:1906)
  23553. ==18304==    by 0x4CF0AE4: switch_core_session_thread_launch (switch_core_session.c:1927)
  23554. ==18304==    by 0x9593B87: sofia_event_callback (sofia.c:2617)
  23555. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23556. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23557. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23558. ==18304==
  23559. ==18304== ----------------------------------------------------------------
  23560. ==18304==
  23561. ==18304==  Lock at 0x72FFE68 was first observed
  23562. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23563. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23564. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  23565. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  23566. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23567. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  23568. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23569. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  23570. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  23571. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  23572. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  23573. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  23574. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  23575. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23576. ==18304==  Block was alloc'd by thread #1
  23577. ==18304==
  23578. ==18304==  Lock at 0x9346648 was first observed
  23579. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23580. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  23581. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  23582. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  23583. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  23584. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  23585. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23586. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23587. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23588. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23589. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  23590. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  23591. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  23592. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  23593. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  23594. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  23595. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23596. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23597. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23598. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23599. ==18304==  Block was alloc'd by thread #14
  23600. ==18304==
  23601. ==18304== Possible data race during read of size 1 at 0x7A389E0 by thread #14
  23602. ==18304== Locks held: 2, at addresses 0x72FFE68 0x9346648
  23603. ==18304==    at 0x4CFA180: switch_core_session_read_lock (switch_core_rwlock.c:88)
  23604. ==18304==    by 0x4CEAEA1: switch_core_session_perform_locate (switch_core_session.c:135)
  23605. ==18304==    by 0x9593946: sofia_event_callback (sofia.c:2648)
  23606. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23607. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23608. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23609. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  23610. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23611. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23612. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23613. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23614. ==18304==
  23615. ==18304== This conflicts with a previous write of size 1 by thread #50
  23616. ==18304== Locks held: none
  23617. ==18304==    at 0x4CF43E1: switch_core_session_run (switch_core_state_machine.c:558)
  23618. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  23619. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  23620. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23621. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23622. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23623. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23624. ==18304==  Address 0x7a389e0 is 80 bytes inside a block of size 36,864 alloc'd
  23625. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23626. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  23627. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  23628. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  23629. ==18304==    by 0x4CECAC0: switch_core_session_request_uuid (switch_core_session.c:2377)
  23630. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  23631. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23632. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23633. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23634. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  23635. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23636. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23637. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23638. ==18304==  Block was alloc'd by thread #14
  23639. ==18304==
  23640. ==18304== ----------------------------------------------------------------
  23641. ==18304==
  23642. ==18304==  Lock at 0x12B7C550 was first observed
  23643. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23644. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23645. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  23646. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  23647. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23648. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23649. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23650. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  23651. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23652. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23653. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23654. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23655. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  23656. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23657. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23658. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23659. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23660. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  23661. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  23662. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23663. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23664. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23665. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  23666. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23667. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23668. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23669. ==18304==  Block was alloc'd by thread #14
  23670. ==18304==
  23671. ==18304==  Lock at 0x1303F698 was first observed
  23672. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23673. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23674. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  23675. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  23676. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23677. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23678. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23679. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  23680. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23681. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23682. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23683. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23684. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  23685. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23686. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  23687. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  23688. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  23689. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  23690. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  23691. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  23692. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  23693. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  23694. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  23695. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23696. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23697. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23698. ==18304==  Block was alloc'd by thread #14
  23699. ==18304==
  23700. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  23701. ==18304== Locks held: 2, at addresses 0x12B7C550 0x1303F698
  23702. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  23703. ==18304==    by 0x95854A5: sofia_handle_sip_i_invite (sofia.c:10260)
  23704. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  23705. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23706. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  23707. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  23708. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  23709. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  23710. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  23711. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  23712. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  23713. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23714. ==18304==
  23715. ==18304== This conflicts with a previous write of size 8 by thread #44
  23716. ==18304== Locks held: none
  23717. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  23718. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  23719. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23720. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23721. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23722. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23723. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  23724. ==18304==
  23725. ==18304== ----------------------------------------------------------------
  23726. ==18304==
  23727. ==18304== Thread #50: lock order "0x13074888 before 0x13074778" violated
  23728. ==18304==
  23729. ==18304== Observed (incorrect) order is: acquisition of lock at 0x13074778
  23730. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  23731. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  23732. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  23733. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  23734. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  23735. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  23736. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  23737. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23738. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  23739. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  23740. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  23741. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  23742. ==18304==
  23743. ==18304==  followed by a later acquisition of lock at 0x13074888
  23744. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  23745. ==18304==    by 0x4D497A8: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2955)
  23746. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  23747. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  23748. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  23749. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  23750. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23751. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  23752. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  23753. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  23754. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  23755. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  23756. ==18304==
  23757. ==18304== Required order was established by acquisition of lock at 0x13074888
  23758. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  23759. ==18304==    by 0x4D47C4C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  23760. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  23761. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  23762. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  23763. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  23764. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  23765. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23766. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  23767. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  23768. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  23769. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  23770. ==18304==
  23771. ==18304==  followed by a later acquisition of lock at 0x13074778
  23772. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  23773. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  23774. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  23775. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  23776. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  23777. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  23778. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  23779. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23780. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  23781. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  23782. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  23783. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  23784. ==18304==
  23785. ==18304==  Lock at 0x13074888 was first observed
  23786. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23787. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23788. ==18304==    by 0x4D4A460: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  23789. ==18304==    by 0x134EF187: mod_opus_load (mod_opus.c:1352)
  23790. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  23791. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23792. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23793. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23794. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23795. ==18304==  Address 0x13074888 is 776 bytes inside a block of size 8,192 alloc'd
  23796. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23797. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23798. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23799. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23800. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  23801. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23802. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23803. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23804. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23805. ==18304==  Block was alloc'd by thread #1
  23806. ==18304==
  23807. ==18304==  Lock at 0x13074778 was first observed
  23808. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  23809. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  23810. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  23811. ==18304==    by 0x134EF176: mod_opus_load (mod_opus.c:1350)
  23812. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  23813. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23814. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23815. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23816. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23817. ==18304==  Address 0x13074778 is 504 bytes inside a block of size 8,192 alloc'd
  23818. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23819. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23820. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23821. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23822. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  23823. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  23824. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  23825. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23826. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23827. ==18304==  Block was alloc'd by thread #1
  23828. ==18304==
  23829. ==18304==
  23830. ==18304== ----------------------------------------------------------------
  23831. ==18304==
  23832. ==18304== Thread #50: lock order "0x12A900A8 before 0x7B89680" violated
  23833. ==18304==
  23834. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  23835. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  23836. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  23837. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  23838. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  23839. ==18304==    by 0x4CE8614: switch_sql_queue_manager_push_confirm (switch_core_sqldb.c:2004)
  23840. ==18304==    by 0x9599644: sofia_glue_execute_sql_now (sofia_glue.c:2709)
  23841. ==18304==    by 0x95B0CC6: sofia_reg_auth_challenge (sofia_reg.c:1147)
  23842. ==18304==    by 0x95B5036: sofia_reg_handle_register_token (sofia_reg.c:1787)
  23843. ==18304==    by 0x9586643: sofia_handle_sip_i_invite (sofia.c:10543)
  23844. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  23845. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23846. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  23847. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  23848. ==18304==
  23849. ==18304==  followed by a later acquisition of lock at 0x12A900A8
  23850. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  23851. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  23852. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  23853. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  23854. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  23855. ==18304==    by 0x4CE8614: switch_sql_queue_manager_push_confirm (switch_core_sqldb.c:2004)
  23856. ==18304==    by 0x9599644: sofia_glue_execute_sql_now (sofia_glue.c:2709)
  23857. ==18304==    by 0x95B0CC6: sofia_reg_auth_challenge (sofia_reg.c:1147)
  23858. ==18304==    by 0x95B5036: sofia_reg_handle_register_token (sofia_reg.c:1787)
  23859. ==18304==    by 0x9586643: sofia_handle_sip_i_invite (sofia.c:10543)
  23860. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  23861. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23862. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  23863. ==18304==
  23864. ==18304== Required order was established by acquisition of lock at 0x12A900A8
  23865. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  23866. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  23867. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  23868. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  23869. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  23870. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  23871. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  23872. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  23873. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23874. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  23875. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  23876. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23877. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23878. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23879. ==18304==
  23880. ==18304==  followed by a later acquisition of lock at 0x7B89680
  23881. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  23882. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  23883. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  23884. ==18304==    by 0x959A18B: sofia_glue_execute_sql2str (sofia_glue.c:2882)
  23885. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  23886. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  23887. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23888. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  23889. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  23890. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23891. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23892. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23893. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23894. ==18304==
  23895. ==18304==  Lock at 0x12A900A8 was first observed
  23896. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23897. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23898. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  23899. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  23900. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  23901. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  23902. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  23903. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  23904. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  23905. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23906. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  23907. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  23908. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23909. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23910. ==18304==  Address 0x12a900a8 is 1,144 bytes inside a block of size 8,192 alloc'd
  23911. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23912. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  23913. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  23914. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  23915. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  23916. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  23917. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  23918. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  23919. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  23920. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  23921. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  23922. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  23923. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  23924. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  23925. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23926. ==18304==  Block was alloc'd by thread #15
  23927. ==18304==
  23928. ==18304==  Lock at 0x7B89680 was first observed
  23929. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23930. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23931. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  23932. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  23933. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  23934. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  23935. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23936. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  23937. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23938. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  23939. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  23940. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  23941. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  23942. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  23943. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  23944. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23945. ==18304==  Block was alloc'd by thread #1
  23946. ==18304==
  23947. ==18304==
  23948. ==18304== ----------------------------------------------------------------
  23949. ==18304==
  23950. ==18304== Thread #3: lock order "0x72FFE68 before 0x7411E00" violated
  23951. ==18304==
  23952. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7411E00
  23953. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  23954. ==18304==    by 0x4D53773: switch_event_deliver (switch_event.c:403)
  23955. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  23956. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23957. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23958. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23959. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23960. ==18304==
  23961. ==18304==  followed by a later acquisition of lock at 0x72FFE68
  23962. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  23963. ==18304==    by 0x4CEAE82: switch_core_session_perform_locate (switch_core_session.c:126)
  23964. ==18304==    by 0x4DAE28B: switch_ivr_uuid_exists (switch_ivr.c:3973)
  23965. ==18304==    by 0x4CE5E65: core_event_handler (switch_core_sqldb.c:2458)
  23966. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  23967. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  23968. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  23969. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  23970. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  23971. ==18304==    by 0x560E4CE: clone (clone.S:95)
  23972. ==18304==
  23973. ==18304==  Lock at 0x72FFE68 was first observed
  23974. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  23975. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  23976. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  23977. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  23978. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23979. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  23980. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23981. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  23982. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  23983. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  23984. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  23985. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  23986. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  23987. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23988. ==18304==  Block was alloc'd by thread #1
  23989. ==18304==
  23990. ==18304==  Lock at 0x7411E00 was first observed
  23991. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  23992. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  23993. ==18304==    by 0x4D52574: switch_event_init (switch_event.c:699)
  23994. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  23995. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  23996. ==18304==    by 0x10AEC7: main (switch.c:1200)
  23997. ==18304==  Address 0x7411e00 is 3,280 bytes inside a block of size 8,192 alloc'd
  23998. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  23999. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  24000. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  24001. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  24002. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  24003. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  24004. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  24005. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  24006. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  24007. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24008. ==18304==  Block was alloc'd by thread #1
  24009. ==18304==
  24010. ==18304==
  24011. ==18304== ----------------------------------------------------------------
  24012. ==18304==
  24013. ==18304== Thread #3: lock order "0x12B7C888 before 0x7411E00" violated
  24014. ==18304==
  24015. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7411E00
  24016. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  24017. ==18304==    by 0x4D53773: switch_event_deliver (switch_event.c:403)
  24018. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  24019. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24020. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24021. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24022. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24023. ==18304==
  24024. ==18304==  followed by a later acquisition of lock at 0x12B7C888
  24025. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  24026. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  24027. ==18304==    by 0x4CEAEA1: switch_core_session_perform_locate (switch_core_session.c:135)
  24028. ==18304==    by 0x4DAE28B: switch_ivr_uuid_exists (switch_ivr.c:3973)
  24029. ==18304==    by 0x4CE5E65: core_event_handler (switch_core_sqldb.c:2458)
  24030. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  24031. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  24032. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24033. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24034. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24035. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24036. ==18304==
  24037. ==18304==  Lock at 0x12B7C888 was first observed
  24038. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  24039. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  24040. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  24041. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  24042. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  24043. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  24044. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  24045. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  24046. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24047. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24048. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24049. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24050. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  24051. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24052. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24053. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24054. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24055. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  24056. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  24057. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  24058. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  24059. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  24060. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  24061. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24062. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24063. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24064. ==18304==  Block was alloc'd by thread #14
  24065. ==18304==
  24066. ==18304==  Lock at 0x7411E00 was first observed
  24067. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  24068. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  24069. ==18304==    by 0x4D52574: switch_event_init (switch_event.c:699)
  24070. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  24071. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  24072. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24073. ==18304==  Address 0x7411e00 is 3,280 bytes inside a block of size 8,192 alloc'd
  24074. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24075. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  24076. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  24077. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  24078. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  24079. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  24080. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  24081. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  24082. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  24083. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24084. ==18304==  Block was alloc'd by thread #1
  24085. ==18304==
  24086. ==18304==
  24087. ==18304== ----------------------------------------------------------------
  24088. ==18304==
  24089. ==18304==  Lock at 0x72FFE18 was first observed
  24090. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24091. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24092. ==18304==    by 0x4D02712: switch_core_init (switch_core.c:1917)
  24093. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  24094. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24095. ==18304==  Address 0x72ffe18 is 400,568 bytes inside a block of size 401,408 alloc'd
  24096. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24097. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  24098. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  24099. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  24100. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  24101. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  24102. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  24103. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24104. ==18304==  Block was alloc'd by thread #1
  24105. ==18304==
  24106. ==18304==  Lock at 0x9346648 was first observed
  24107. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24108. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  24109. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  24110. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  24111. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  24112. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  24113. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24114. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24115. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24116. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24117. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  24118. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  24119. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  24120. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  24121. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  24122. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  24123. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24124. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24125. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24126. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24127. ==18304==  Block was alloc'd by thread #14
  24128. ==18304==
  24129. ==18304== Possible data race during read of size 4 at 0x50FC53C by thread #44
  24130. ==18304== Locks held: none
  24131. ==18304==    at 0x4DBFE9A: softtimer_runtime (switch_time.c:1242)
  24132. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  24133. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24134. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24135. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24136. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24137. ==18304==
  24138. ==18304== This conflicts with a previous write of size 4 by thread #14
  24139. ==18304== Locks held: 2, at addresses 0x72FFE18 0x9346648
  24140. ==18304==    at 0x4CECE0B: switch_core_session_request_uuid (switch_core_session.c:2353)
  24141. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  24142. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  24143. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  24144. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  24145. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  24146. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24147. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24148. ==18304==  Address 0x50fc53c is 636 bytes inside data symbol "runtime"
  24149. ==18304==
  24150. ==18304== ----------------------------------------------------------------
  24151. ==18304==
  24152. ==18304==  Lock at 0x72FFE18 was first observed
  24153. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24154. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24155. ==18304==    by 0x4D02712: switch_core_init (switch_core.c:1917)
  24156. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  24157. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24158. ==18304==  Address 0x72ffe18 is 400,568 bytes inside a block of size 401,408 alloc'd
  24159. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24160. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  24161. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  24162. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  24163. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  24164. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  24165. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  24166. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24167. ==18304==  Block was alloc'd by thread #1
  24168. ==18304==
  24169. ==18304== Possible data race during write of size 4 at 0x50FC548 by thread #44
  24170. ==18304== Locks held: 1, at address 0x72FFE18
  24171. ==18304==    at 0x4DBFEED: softtimer_runtime (switch_time.c:1259)
  24172. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  24173. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24174. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24175. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24176. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24177. ==18304==
  24178. ==18304== This conflicts with a previous read of size 4 by thread #6
  24179. ==18304== Locks held: none
  24180. ==18304==    at 0x4CFF1A3: send_heartbeat (switch_core.c:105)
  24181. ==18304==    by 0x4CFF1A3: heartbeat_callback (switch_core.c:212)
  24182. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  24183. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  24184. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  24185. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24186. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24187. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24188. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24189. ==18304==  Address 0x50fc548 is 648 bytes inside data symbol "runtime"
  24190. ==18304==
  24191. ==18304== ----------------------------------------------------------------
  24192. ==18304==
  24193. ==18304==  Lock at 0x72FFE18 was first observed
  24194. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24195. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24196. ==18304==    by 0x4D02712: switch_core_init (switch_core.c:1917)
  24197. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  24198. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24199. ==18304==  Address 0x72ffe18 is 400,568 bytes inside a block of size 401,408 alloc'd
  24200. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24201. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  24202. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  24203. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  24204. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  24205. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  24206. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  24207. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24208. ==18304==  Block was alloc'd by thread #1
  24209. ==18304==
  24210. ==18304== Possible data race during write of size 4 at 0x50FC544 by thread #44
  24211. ==18304== Locks held: 1, at address 0x72FFE18
  24212. ==18304==    at 0x4DBFEFD: softtimer_runtime (switch_time.c:1263)
  24213. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  24214. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24215. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24216. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24217. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24218. ==18304==
  24219. ==18304== This conflicts with a previous read of size 4 by thread #6
  24220. ==18304== Locks held: none
  24221. ==18304==    at 0x4CFF17D: send_heartbeat (switch_core.c:104)
  24222. ==18304==    by 0x4CFF17D: heartbeat_callback (switch_core.c:212)
  24223. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  24224. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  24225. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  24226. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24227. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24228. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24229. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24230. ==18304==  Address 0x50fc544 is 644 bytes inside data symbol "runtime"
  24231. ==18304==
  24232. ==18304== ----------------------------------------------------------------
  24233. ==18304==
  24234. ==18304==  Lock at 0xAE53F78 was first observed
  24235. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24236. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24237. ==18304==    by 0x12D3FF34: mod_commands_load (mod_commands.c:7454)
  24238. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24239. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24240. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24241. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24242. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24243. ==18304==  Address 0xae53f78 is 696 bytes inside a block of size 8,192 alloc'd
  24244. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24245. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24246. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24247. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24248. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24249. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24250. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24251. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24252. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24253. ==18304==  Block was alloc'd by thread #1
  24254. ==18304==
  24255. ==18304==  Lock at 0xAE6A778 was first observed
  24256. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  24257. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  24258. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  24259. ==18304==    by 0xB94DA00: mod_signalwire_load (mod_signalwire.c:847)
  24260. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24261. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24262. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24263. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24264. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24265. ==18304==  Address 0xae6a778 is 504 bytes inside a block of size 8,192 alloc'd
  24266. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24267. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24268. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24269. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24270. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24271. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24272. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24273. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24274. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24275. ==18304==  Block was alloc'd by thread #1
  24276. ==18304==
  24277. ==18304== Possible data race during write of size 2 at 0xF0F1062 by thread #47
  24278. ==18304== Locks held: 2, at addresses 0xAE53F78 0xAE6A778
  24279. ==18304==    at 0xB9AEC71: __handle_destroy (ks_handle.c:581)
  24280. ==18304==    by 0xB9AEAC5: __destroy_slot_children (ks_handle.c:546)
  24281. ==18304==    by 0xB9AEE4A: __handle_destroy (ks_handle.c:597)
  24282. ==18304==    by 0xB9AEF08: __ks_handle_destroy (ks_handle.c:637)
  24283. ==18304==    by 0xB94E501: mod_signalwire_shutdown (mod_signalwire.c:983)
  24284. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  24285. ==18304==    by 0x4D45FFE: switch_loadable_module_unload_module (switch_loadable_module.c:1940)
  24286. ==18304==    by 0x12D3404B: unload_function (mod_commands.c:2755)
  24287. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  24288. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  24289. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  24290. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  24291. ==18304==
  24292. ==18304== This conflicts with a previous read of size 2 by thread #29
  24293. ==18304== Locks held: none
  24294. ==18304==    at 0xB9AF868: ks_handle_enum_type (ks_handle.c:873)
  24295. ==18304==    by 0x1280440D: __service_handle_type (handle_manager.c:213)
  24296. ==18304==    by 0x128044A9: __service_handles (handle_manager.c:236)
  24297. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  24298. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  24299. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  24300. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24301. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24302. ==18304==  Address 0xf0f1062 is 57670978 bytes inside data symbol "g_handle_groups"
  24303. ==18304==
  24304. ==18304== ----------------------------------------------------------------
  24305. ==18304==
  24306. ==18304==  Lock at 0xAE53F78 was first observed
  24307. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24308. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24309. ==18304==    by 0x12D3FF34: mod_commands_load (mod_commands.c:7454)
  24310. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24311. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24312. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24313. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24314. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24315. ==18304==  Address 0xae53f78 is 696 bytes inside a block of size 8,192 alloc'd
  24316. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24317. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24318. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24319. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24320. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24321. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24322. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24323. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24324. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24325. ==18304==  Block was alloc'd by thread #1
  24326. ==18304==
  24327. ==18304==  Lock at 0xAE6A778 was first observed
  24328. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  24329. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  24330. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  24331. ==18304==    by 0xB94DA00: mod_signalwire_load (mod_signalwire.c:847)
  24332. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24333. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24334. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24335. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24336. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24337. ==18304==  Address 0xae6a778 is 504 bytes inside a block of size 8,192 alloc'd
  24338. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24339. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24340. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24341. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24342. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24343. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24344. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24345. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24346. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24347. ==18304==  Block was alloc'd by thread #1
  24348. ==18304==
  24349. ==18304== Possible data race during write of size 2 at 0xF0F1062 by thread #47
  24350. ==18304== Locks held: 2, at addresses 0xAE53F78 0xAE6A778
  24351. ==18304==    at 0xB9ADD0C: __release_slot (ks_handle.c:150)
  24352. ==18304==    by 0xB9AEEA5: __handle_destroy (ks_handle.c:615)
  24353. ==18304==    by 0xB9AEAC5: __destroy_slot_children (ks_handle.c:546)
  24354. ==18304==    by 0xB9AEE4A: __handle_destroy (ks_handle.c:597)
  24355. ==18304==    by 0xB9AEF08: __ks_handle_destroy (ks_handle.c:637)
  24356. ==18304==    by 0xB94E501: mod_signalwire_shutdown (mod_signalwire.c:983)
  24357. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  24358. ==18304==    by 0x4D45FFE: switch_loadable_module_unload_module (switch_loadable_module.c:1940)
  24359. ==18304==    by 0x12D3404B: unload_function (mod_commands.c:2755)
  24360. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  24361. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  24362. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  24363. ==18304==
  24364. ==18304== This conflicts with a previous read of size 2 by thread #29
  24365. ==18304== Locks held: none
  24366. ==18304==    at 0xB9AF868: ks_handle_enum_type (ks_handle.c:873)
  24367. ==18304==    by 0x1280440D: __service_handle_type (handle_manager.c:213)
  24368. ==18304==    by 0x128044A9: __service_handles (handle_manager.c:236)
  24369. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  24370. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  24371. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  24372. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24373. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24374. ==18304==  Address 0xf0f1062 is 57670978 bytes inside data symbol "g_handle_groups"
  24375. ==18304==
  24376. ==18304== ----------------------------------------------------------------
  24377. ==18304==
  24378. ==18304==  Lock at 0xAE53F78 was first observed
  24379. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24380. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24381. ==18304==    by 0x12D3FF34: mod_commands_load (mod_commands.c:7454)
  24382. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24383. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24384. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24385. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24386. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24387. ==18304==  Address 0xae53f78 is 696 bytes inside a block of size 8,192 alloc'd
  24388. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24389. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24390. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24391. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24392. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24393. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24394. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24395. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24396. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24397. ==18304==  Block was alloc'd by thread #1
  24398. ==18304==
  24399. ==18304==  Lock at 0xAE6A778 was first observed
  24400. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  24401. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  24402. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  24403. ==18304==    by 0xB94DA00: mod_signalwire_load (mod_signalwire.c:847)
  24404. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24405. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24406. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24407. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24408. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24409. ==18304==  Address 0xae6a778 is 504 bytes inside a block of size 8,192 alloc'd
  24410. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24411. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24412. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24413. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24414. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24415. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24416. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24417. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24418. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24419. ==18304==  Block was alloc'd by thread #1
  24420. ==18304==
  24421. ==18304== Possible data race during write of size 2 at 0xF0F1060 by thread #47
  24422. ==18304== Locks held: 2, at addresses 0xAE53F78 0xAE6A778
  24423. ==18304==    at 0xB9ADD16: __release_slot (ks_handle.c:151)
  24424. ==18304==    by 0xB9AEEA5: __handle_destroy (ks_handle.c:615)
  24425. ==18304==    by 0xB9AEAC5: __destroy_slot_children (ks_handle.c:546)
  24426. ==18304==    by 0xB9AEE4A: __handle_destroy (ks_handle.c:597)
  24427. ==18304==    by 0xB9AEF08: __ks_handle_destroy (ks_handle.c:637)
  24428. ==18304==    by 0xB94E501: mod_signalwire_shutdown (mod_signalwire.c:983)
  24429. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  24430. ==18304==    by 0x4D45FFE: switch_loadable_module_unload_module (switch_loadable_module.c:1940)
  24431. ==18304==    by 0x12D3404B: unload_function (mod_commands.c:2755)
  24432. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  24433. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  24434. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  24435. ==18304==
  24436. ==18304== This conflicts with a previous read of size 2 by thread #29
  24437. ==18304== Locks held: none
  24438. ==18304==    at 0xB9AF88E: ks_handle_enum_type (ks_handle.c:874)
  24439. ==18304==    by 0x1280440D: __service_handle_type (handle_manager.c:213)
  24440. ==18304==    by 0x128044A9: __service_handles (handle_manager.c:236)
  24441. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  24442. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  24443. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  24444. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24445. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24446. ==18304==  Address 0xf0f1060 is 57670976 bytes inside data symbol "g_handle_groups"
  24447. ==18304==
  24448. ==18304== ----------------------------------------------------------------
  24449. ==18304==
  24450. ==18304==  Lock at 0xAE53F78 was first observed
  24451. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24452. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24453. ==18304==    by 0x12D3FF34: mod_commands_load (mod_commands.c:7454)
  24454. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24455. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24456. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24457. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24458. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24459. ==18304==  Address 0xae53f78 is 696 bytes inside a block of size 8,192 alloc'd
  24460. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24461. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24462. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24463. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24464. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24465. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24466. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24467. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24468. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24469. ==18304==  Block was alloc'd by thread #1
  24470. ==18304==
  24471. ==18304==  Lock at 0xAE6A778 was first observed
  24472. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  24473. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  24474. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  24475. ==18304==    by 0xB94DA00: mod_signalwire_load (mod_signalwire.c:847)
  24476. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24477. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24478. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24479. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24480. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24481. ==18304==  Address 0xae6a778 is 504 bytes inside a block of size 8,192 alloc'd
  24482. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24483. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24484. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24485. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24486. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24487. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24488. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24489. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24490. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24491. ==18304==  Block was alloc'd by thread #1
  24492. ==18304==
  24493. ==18304== Possible data race during write of size 4 at 0xF0F105C by thread #47
  24494. ==18304== Locks held: 2, at addresses 0xAE53F78 0xAE6A778
  24495. ==18304==    at 0xB9ADD20: __release_slot (ks_handle.c:152)
  24496. ==18304==    by 0xB9AEEA5: __handle_destroy (ks_handle.c:615)
  24497. ==18304==    by 0xB9AEAC5: __destroy_slot_children (ks_handle.c:546)
  24498. ==18304==    by 0xB9AEE4A: __handle_destroy (ks_handle.c:597)
  24499. ==18304==    by 0xB9AEF08: __ks_handle_destroy (ks_handle.c:637)
  24500. ==18304==    by 0xB94E501: mod_signalwire_shutdown (mod_signalwire.c:983)
  24501. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  24502. ==18304==    by 0x4D45FFE: switch_loadable_module_unload_module (switch_loadable_module.c:1940)
  24503. ==18304==    by 0x12D3404B: unload_function (mod_commands.c:2755)
  24504. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  24505. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  24506. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  24507. ==18304==
  24508. ==18304== This conflicts with a previous read of size 4 by thread #29
  24509. ==18304== Locks held: none
  24510. ==18304==    at 0xB9AD1BF: ks_atomic_increment_uint32 (ks_atomic.h:49)
  24511. ==18304==    by 0xB9ADDDA: __inc_ref (ks_handle.c:176)
  24512. ==18304==    by 0xB9AE7B4: __ks_handle_get (ks_handle.c:434)
  24513. ==18304==    by 0x12803E83: __service_handle (handle_manager.c:96)
  24514. ==18304==    by 0x128043F4: __service_handle_type (handle_manager.c:219)
  24515. ==18304==    by 0x128044A9: __service_handles (handle_manager.c:236)
  24516. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  24517. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  24518. ==18304==  Address 0xf0f105c is 57670972 bytes inside data symbol "g_handle_groups"
  24519. ==18304==
  24520. ==18304== ----------------------------------------------------------------
  24521. ==18304==
  24522. ==18304==  Lock at 0xAE53F78 was first observed
  24523. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24524. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24525. ==18304==    by 0x12D3FF34: mod_commands_load (mod_commands.c:7454)
  24526. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24527. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24528. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24529. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24530. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24531. ==18304==  Address 0xae53f78 is 696 bytes inside a block of size 8,192 alloc'd
  24532. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24533. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24534. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24535. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24536. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24537. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24538. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24539. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24540. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24541. ==18304==  Block was alloc'd by thread #1
  24542. ==18304==
  24543. ==18304==  Lock at 0xAE6A778 was first observed
  24544. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  24545. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  24546. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  24547. ==18304==    by 0xB94DA00: mod_signalwire_load (mod_signalwire.c:847)
  24548. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24549. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24550. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24551. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24552. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24553. ==18304==  Address 0xae6a778 is 504 bytes inside a block of size 8,192 alloc'd
  24554. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24555. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24556. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24557. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24558. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24559. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24560. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24561. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24562. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24563. ==18304==  Block was alloc'd by thread #1
  24564. ==18304==
  24565. ==18304== Possible data race during write of size 4 at 0xF0F1070 by thread #47
  24566. ==18304== Locks held: 2, at addresses 0xAE53F78 0xAE6A778
  24567. ==18304==    at 0xB9ADD5A: __release_slot (ks_handle.c:161)
  24568. ==18304==    by 0xB9AEEA5: __handle_destroy (ks_handle.c:615)
  24569. ==18304==    by 0xB9AEAC5: __destroy_slot_children (ks_handle.c:546)
  24570. ==18304==    by 0xB9AEE4A: __handle_destroy (ks_handle.c:597)
  24571. ==18304==    by 0xB9AEF08: __ks_handle_destroy (ks_handle.c:637)
  24572. ==18304==    by 0xB94E501: mod_signalwire_shutdown (mod_signalwire.c:983)
  24573. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  24574. ==18304==    by 0x4D45FFE: switch_loadable_module_unload_module (switch_loadable_module.c:1940)
  24575. ==18304==    by 0x12D3404B: unload_function (mod_commands.c:2755)
  24576. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  24577. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  24578. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  24579. ==18304==
  24580. ==18304== This conflicts with a previous read of size 4 by thread #29
  24581. ==18304== Locks held: none
  24582. ==18304==    at 0xB9AF858: ks_handle_enum_type (ks_handle.c:872)
  24583. ==18304==    by 0x1280440D: __service_handle_type (handle_manager.c:213)
  24584. ==18304==    by 0x1280449F: __service_handles (handle_manager.c:235)
  24585. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  24586. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  24587. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  24588. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24589. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24590. ==18304==  Address 0xf0f1070 is 57670992 bytes inside data symbol "g_handle_groups"
  24591. ==18304==
  24592. ==18304== ----------------------------------------------------------------
  24593. ==18304==
  24594. ==18304==  Lock at 0xAE53F78 was first observed
  24595. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24596. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24597. ==18304==    by 0x12D3FF34: mod_commands_load (mod_commands.c:7454)
  24598. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24599. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24600. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24601. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24602. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24603. ==18304==  Address 0xae53f78 is 696 bytes inside a block of size 8,192 alloc'd
  24604. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24605. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24606. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24607. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24608. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24609. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24610. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24611. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24612. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24613. ==18304==  Block was alloc'd by thread #1
  24614. ==18304==
  24615. ==18304==  Lock at 0xAE6A778 was first observed
  24616. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  24617. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  24618. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  24619. ==18304==    by 0xB94DA00: mod_signalwire_load (mod_signalwire.c:847)
  24620. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  24621. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24622. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24623. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24624. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24625. ==18304==  Address 0xae6a778 is 504 bytes inside a block of size 8,192 alloc'd
  24626. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24627. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24628. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24629. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24630. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  24631. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  24632. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  24633. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24634. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24635. ==18304==  Block was alloc'd by thread #1
  24636. ==18304==
  24637. ==18304== Possible data race during write of size 8 at 0xF0F1080 by thread #47
  24638. ==18304== Locks held: 2, at addresses 0xAE53F78 0xAE6A778
  24639. ==18304==    at 0xB9ADDB2: __release_slot (ks_handle.c:171)
  24640. ==18304==    by 0xB9AEEA5: __handle_destroy (ks_handle.c:615)
  24641. ==18304==    by 0xB9AEAC5: __destroy_slot_children (ks_handle.c:546)
  24642. ==18304==    by 0xB9AEE4A: __handle_destroy (ks_handle.c:597)
  24643. ==18304==    by 0xB9AEF08: __ks_handle_destroy (ks_handle.c:637)
  24644. ==18304==    by 0xB94E501: mod_signalwire_shutdown (mod_signalwire.c:983)
  24645. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  24646. ==18304==    by 0x4D45FFE: switch_loadable_module_unload_module (switch_loadable_module.c:1940)
  24647. ==18304==    by 0x12D3404B: unload_function (mod_commands.c:2755)
  24648. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  24649. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  24650. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  24651. ==18304==
  24652. ==18304== This conflicts with a previous read of size 8 by thread #29
  24653. ==18304== Locks held: none
  24654. ==18304==    at 0xB9AF8AB: ks_handle_enum_type (ks_handle.c:875)
  24655. ==18304==    by 0x1280440D: __service_handle_type (handle_manager.c:213)
  24656. ==18304==    by 0x128044A9: __service_handles (handle_manager.c:236)
  24657. ==18304==    by 0x12804601: __manager_loop (handle_manager.c:265)
  24658. ==18304==    by 0x12804662: __manager_thread_wrapper (handle_manager.c:275)
  24659. ==18304==    by 0xB9C7E72: thread_launch (ks_thread.c:248)
  24660. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24661. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24662. ==18304==  Address 0xf0f1080 is 57671008 bytes inside data symbol "g_handle_groups"
  24663. ==18304==
  24664. ==18304== ----------------------------------------------------------------
  24665. ==18304==
  24666. ==18304== Thread #50: lock order "0x7B89680 before 0x12A900A8" violated
  24667. ==18304==
  24668. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12A900A8
  24669. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  24670. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  24671. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  24672. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  24673. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  24674. ==18304==    by 0x4CE8614: switch_sql_queue_manager_push_confirm (switch_core_sqldb.c:2004)
  24675. ==18304==    by 0x9599644: sofia_glue_execute_sql_now (sofia_glue.c:2709)
  24676. ==18304==    by 0x95B0CC6: sofia_reg_auth_challenge (sofia_reg.c:1147)
  24677. ==18304==    by 0x95B5036: sofia_reg_handle_register_token (sofia_reg.c:1787)
  24678. ==18304==    by 0x9586643: sofia_handle_sip_i_invite (sofia.c:10543)
  24679. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  24680. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  24681. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  24682. ==18304==
  24683. ==18304==  followed by a later acquisition of lock at 0x7B89680
  24684. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  24685. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  24686. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  24687. ==18304==    by 0x4CE8646: switch_sql_queue_manager_push_confirm (switch_core_sqldb.c:2006)
  24688. ==18304==    by 0x9599644: sofia_glue_execute_sql_now (sofia_glue.c:2709)
  24689. ==18304==    by 0x95B0CC6: sofia_reg_auth_challenge (sofia_reg.c:1147)
  24690. ==18304==    by 0x95B5036: sofia_reg_handle_register_token (sofia_reg.c:1787)
  24691. ==18304==    by 0x9586643: sofia_handle_sip_i_invite (sofia.c:10543)
  24692. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  24693. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  24694. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  24695. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  24696. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  24697. ==18304==
  24698. ==18304== Required order was established by acquisition of lock at 0x7B89680
  24699. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  24700. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  24701. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  24702. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  24703. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  24704. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  24705. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  24706. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  24707. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  24708. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  24709. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  24710. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24711. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24712. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24713. ==18304==
  24714. ==18304==  followed by a later acquisition of lock at 0x12A900A8
  24715. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  24716. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  24717. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  24718. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  24719. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  24720. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  24721. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  24722. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  24723. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  24724. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  24725. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  24726. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24727. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24728. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24729. ==18304==
  24730. ==18304==  Lock at 0x7B89680 was first observed
  24731. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24732. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24733. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  24734. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  24735. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  24736. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  24737. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24738. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  24739. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24740. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  24741. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  24742. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  24743. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  24744. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  24745. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  24746. ==18304==    by 0x10AEC7: main (switch.c:1200)
  24747. ==18304==  Block was alloc'd by thread #1
  24748. ==18304==
  24749. ==18304==  Lock at 0x12A900A8 was first observed
  24750. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24751. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24752. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  24753. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  24754. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  24755. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  24756. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  24757. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  24758. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  24759. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  24760. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  24761. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  24762. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24763. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24764. ==18304==  Address 0x12a900a8 is 1,144 bytes inside a block of size 8,192 alloc'd
  24765. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24766. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24767. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24768. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24769. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  24770. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  24771. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  24772. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  24773. ==18304==    by 0x959A107: sofia_glue_execute_sql2str (sofia_glue.c:2861)
  24774. ==18304==    by 0x95A9EC8: sofia_presence_handle_sip_i_subscribe (sofia_presence.c:3884)
  24775. ==18304==    by 0x958B615: our_sofia_event_callback (sofia.c:2064)
  24776. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  24777. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  24778. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  24779. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24780. ==18304==  Block was alloc'd by thread #15
  24781. ==18304==
  24782. ==18304==
  24783. ==18304== ----------------------------------------------------------------
  24784. ==18304==
  24785. ==18304==  Lock at 0x12A9F3C0 was first observed
  24786. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24787. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  24788. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  24789. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  24790. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  24791. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  24792. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  24793. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  24794. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  24795. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  24796. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  24797. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  24798. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  24799. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  24800. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  24801. ==18304==  Address 0x12a9f3c0 is 0 bytes inside a block of size 80 alloc'd
  24802. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  24803. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  24804. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  24805. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  24806. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  24807. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  24808. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  24809. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  24810. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  24811. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  24812. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  24813. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  24814. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  24815. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  24816. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  24817. ==18304==  Block was alloc'd by thread #27
  24818. ==18304==
  24819. ==18304==  Lock at 0x12B7C550 was first observed
  24820. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24821. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24822. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  24823. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  24824. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  24825. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  24826. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  24827. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  24828. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24829. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24830. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24831. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24832. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  24833. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24834. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24835. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24836. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24837. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  24838. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  24839. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  24840. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  24841. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  24842. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  24843. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24844. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24845. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24846. ==18304==  Block was alloc'd by thread #14
  24847. ==18304==
  24848. ==18304==  Lock at 0x1303F698 was first observed
  24849. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24850. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24851. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  24852. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  24853. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  24854. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  24855. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  24856. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  24857. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24858. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24859. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24860. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24861. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  24862. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24863. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  24864. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  24865. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  24866. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  24867. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  24868. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  24869. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  24870. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  24871. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  24872. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24873. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24874. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24875. ==18304==  Block was alloc'd by thread #14
  24876. ==18304==
  24877. ==18304==  Lock at 0x92F9638 was first observed
  24878. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24879. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  24880. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  24881. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  24882. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  24883. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24884. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24885. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24886. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  24887. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  24888. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  24889. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  24890. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  24891. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24892. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24893. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24894. ==18304==  Block was alloc'd by thread #27
  24895. ==18304==
  24896. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #50
  24897. ==18304== Locks held: 3, at addresses 0x12A9F3C0 0x12B7C550 0x1303F698
  24898. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  24899. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  24900. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  24901. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  24902. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  24903. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  24904. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  24905. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  24906. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  24907. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  24908. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24909. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24910. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24911. ==18304==
  24912. ==18304== This conflicts with a previous write of size 8 by thread #27
  24913. ==18304== Locks held: 1, at address 0x92F9638
  24914. ==18304==    at 0x951A6A9: su_block_find (su_alloc.c:301)
  24915. ==18304==    by 0x951A6A9: su_realloc (su_alloc.c:1418)
  24916. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  24917. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  24918. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  24919. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  24920. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  24921. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  24922. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  24923. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  24924. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  24925. ==18304==
  24926. ==18304== ----------------------------------------------------------------
  24927. ==18304==
  24928. ==18304==  Lock at 0x12A9F3C0 was first observed
  24929. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24930. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  24931. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  24932. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  24933. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  24934. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  24935. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  24936. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  24937. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  24938. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  24939. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  24940. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  24941. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  24942. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  24943. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  24944. ==18304==  Address 0x12a9f3c0 is 0 bytes inside a block of size 80 alloc'd
  24945. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  24946. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  24947. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  24948. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  24949. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  24950. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  24951. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  24952. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  24953. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  24954. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  24955. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  24956. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  24957. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  24958. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  24959. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  24960. ==18304==  Block was alloc'd by thread #27
  24961. ==18304==
  24962. ==18304==  Lock at 0x12B7C550 was first observed
  24963. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24964. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24965. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  24966. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  24967. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  24968. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  24969. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  24970. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  24971. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24972. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24973. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24974. ==18304==    by 0x560E4CE: clone (clone.S:95)
  24975. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  24976. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  24977. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  24978. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  24979. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  24980. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  24981. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  24982. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  24983. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  24984. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  24985. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  24986. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  24987. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  24988. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  24989. ==18304==  Block was alloc'd by thread #14
  24990. ==18304==
  24991. ==18304==  Lock at 0x1303F698 was first observed
  24992. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  24993. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  24994. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  24995. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  24996. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  24997. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  24998. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  24999. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25000. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25001. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25002. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25003. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25004. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  25005. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25006. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  25007. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  25008. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  25009. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  25010. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25011. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25012. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25013. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25014. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25015. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25016. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25017. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25018. ==18304==  Block was alloc'd by thread #14
  25019. ==18304==
  25020. ==18304==  Lock at 0x92F9638 was first observed
  25021. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25022. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  25023. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  25024. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  25025. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25026. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25027. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25028. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25029. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  25030. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25031. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  25032. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  25033. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25034. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25035. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25036. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25037. ==18304==  Block was alloc'd by thread #27
  25038. ==18304==
  25039. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #50
  25040. ==18304== Locks held: 3, at addresses 0x12A9F3C0 0x12B7C550 0x1303F698
  25041. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  25042. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  25043. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  25044. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  25045. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  25046. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  25047. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  25048. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  25049. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  25050. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  25051. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25052. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25053. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25054. ==18304==
  25055. ==18304== This conflicts with a previous write of size 8 by thread #27
  25056. ==18304== Locks held: 1, at address 0x92F9638
  25057. ==18304==    at 0x951A6A9: su_block_find (su_alloc.c:301)
  25058. ==18304==    by 0x951A6A9: su_realloc (su_alloc.c:1418)
  25059. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  25060. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  25061. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  25062. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  25063. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25064. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  25065. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  25066. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  25067. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  25068. ==18304==
  25069. ==18304== ----------------------------------------------------------------
  25070. ==18304==
  25071. ==18304==  Lock at 0x12A9F3C0 was first observed
  25072. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25073. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  25074. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  25075. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  25076. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  25077. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  25078. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  25079. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  25080. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  25081. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  25082. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  25083. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  25084. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  25085. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  25086. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25087. ==18304==  Address 0x12a9f3c0 is 0 bytes inside a block of size 80 alloc'd
  25088. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25089. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  25090. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  25091. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  25092. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  25093. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  25094. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  25095. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  25096. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  25097. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  25098. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  25099. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  25100. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  25101. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  25102. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25103. ==18304==  Block was alloc'd by thread #27
  25104. ==18304==
  25105. ==18304==  Lock at 0x12B7C550 was first observed
  25106. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25107. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25108. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  25109. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25110. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25111. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25112. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25113. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25114. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25115. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25116. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25117. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25118. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  25119. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25120. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  25121. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  25122. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  25123. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  25124. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25125. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25126. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25127. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25128. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25129. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25130. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25131. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25132. ==18304==  Block was alloc'd by thread #14
  25133. ==18304==
  25134. ==18304==  Lock at 0x1303F698 was first observed
  25135. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25136. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25137. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  25138. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  25139. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25140. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25141. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25142. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25143. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25144. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25145. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25146. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25147. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  25148. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25149. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  25150. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  25151. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  25152. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  25153. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25154. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25155. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25156. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25157. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25158. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25159. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25160. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25161. ==18304==  Block was alloc'd by thread #14
  25162. ==18304==
  25163. ==18304==  Lock at 0x92F9638 was first observed
  25164. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25165. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  25166. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  25167. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  25168. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25169. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25170. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25171. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25172. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  25173. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25174. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  25175. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  25176. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25177. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25178. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25179. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25180. ==18304==  Block was alloc'd by thread #27
  25181. ==18304==
  25182. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #50
  25183. ==18304== Locks held: 3, at addresses 0x12A9F3C0 0x12B7C550 0x1303F698
  25184. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  25185. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  25186. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  25187. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  25188. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  25189. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  25190. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  25191. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  25192. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  25193. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  25194. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25195. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25196. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25197. ==18304==
  25198. ==18304== This conflicts with a previous write of size 8 by thread #27
  25199. ==18304== Locks held: 1, at address 0x92F9638
  25200. ==18304==    at 0x951A6B1: su_block_find (su_alloc.c:302)
  25201. ==18304==    by 0x951A6B1: su_realloc (su_alloc.c:1418)
  25202. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  25203. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  25204. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  25205. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  25206. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25207. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  25208. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  25209. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  25210. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  25211. ==18304==
  25212. ==18304== ----------------------------------------------------------------
  25213. ==18304==
  25214. ==18304==  Lock at 0x12A9F3C0 was first observed
  25215. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25216. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  25217. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  25218. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  25219. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  25220. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  25221. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  25222. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  25223. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  25224. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  25225. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  25226. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  25227. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  25228. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  25229. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25230. ==18304==  Address 0x12a9f3c0 is 0 bytes inside a block of size 80 alloc'd
  25231. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25232. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  25233. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  25234. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  25235. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  25236. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  25237. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  25238. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  25239. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  25240. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  25241. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  25242. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  25243. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  25244. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  25245. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25246. ==18304==  Block was alloc'd by thread #27
  25247. ==18304==
  25248. ==18304==  Lock at 0x12B7C550 was first observed
  25249. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25250. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25251. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  25252. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25253. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25254. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25255. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25256. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25257. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25258. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25259. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25260. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25261. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  25262. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25263. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  25264. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  25265. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  25266. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  25267. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25268. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25269. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25270. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25271. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25272. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25273. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25274. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25275. ==18304==  Block was alloc'd by thread #14
  25276. ==18304==
  25277. ==18304==  Lock at 0x1303F698 was first observed
  25278. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25279. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25280. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  25281. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  25282. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25283. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25284. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25285. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25286. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25287. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25288. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25289. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25290. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  25291. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25292. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  25293. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  25294. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  25295. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  25296. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25297. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25298. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25299. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25300. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25301. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25302. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25303. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25304. ==18304==  Block was alloc'd by thread #14
  25305. ==18304==
  25306. ==18304==  Lock at 0x92F9638 was first observed
  25307. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25308. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  25309. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  25310. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  25311. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25312. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25313. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25314. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25315. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  25316. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25317. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  25318. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  25319. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25320. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25321. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25322. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25323. ==18304==  Block was alloc'd by thread #27
  25324. ==18304==
  25325. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #50
  25326. ==18304== Locks held: 3, at addresses 0x12A9F3C0 0x12B7C550 0x1303F698
  25327. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  25328. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  25329. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  25330. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  25331. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  25332. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  25333. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  25334. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  25335. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  25336. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  25337. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25338. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25339. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25340. ==18304==
  25341. ==18304== This conflicts with a previous write of size 8 by thread #27
  25342. ==18304== Locks held: 1, at address 0x92F9638
  25343. ==18304==    at 0x951A6B1: su_block_find (su_alloc.c:302)
  25344. ==18304==    by 0x951A6B1: su_realloc (su_alloc.c:1418)
  25345. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  25346. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  25347. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  25348. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  25349. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25350. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  25351. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  25352. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  25353. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  25354. ==18304==
  25355. ==18304== ----------------------------------------------------------------
  25356. ==18304==
  25357. ==18304==  Lock at 0x12A9F3C0 was first observed
  25358. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25359. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  25360. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  25361. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  25362. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  25363. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  25364. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  25365. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  25366. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  25367. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  25368. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  25369. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  25370. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  25371. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  25372. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25373. ==18304==  Address 0x12a9f3c0 is 0 bytes inside a block of size 80 alloc'd
  25374. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25375. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  25376. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  25377. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  25378. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  25379. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  25380. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  25381. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  25382. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  25383. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  25384. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  25385. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  25386. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  25387. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  25388. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25389. ==18304==  Block was alloc'd by thread #27
  25390. ==18304==
  25391. ==18304==  Lock at 0x12B7C550 was first observed
  25392. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25393. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25394. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  25395. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25396. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25397. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25398. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25399. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25400. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25401. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25402. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25403. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25404. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  25405. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25406. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  25407. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  25408. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  25409. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  25410. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25411. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25412. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25413. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25414. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25415. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25416. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25417. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25418. ==18304==  Block was alloc'd by thread #14
  25419. ==18304==
  25420. ==18304==  Lock at 0x1303F698 was first observed
  25421. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25422. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25423. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  25424. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  25425. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25426. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25427. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25428. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25429. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25430. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25431. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25432. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25433. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  25434. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25435. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  25436. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  25437. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  25438. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  25439. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25440. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25441. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25442. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25443. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25444. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25445. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25446. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25447. ==18304==  Block was alloc'd by thread #14
  25448. ==18304==
  25449. ==18304==  Lock at 0x92F9638 was first observed
  25450. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25451. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  25452. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  25453. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  25454. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25455. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25456. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25457. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25458. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  25459. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25460. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  25461. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  25462. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25463. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25464. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25465. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25466. ==18304==  Block was alloc'd by thread #27
  25467. ==18304==
  25468. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #50
  25469. ==18304== Locks held: 3, at addresses 0x12A9F3C0 0x12B7C550 0x1303F698
  25470. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  25471. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  25472. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  25473. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  25474. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  25475. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  25476. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  25477. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  25478. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  25479. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  25480. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25481. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25482. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25483. ==18304==
  25484. ==18304== This conflicts with a previous write of size 8 by thread #27
  25485. ==18304== Locks held: 1, at address 0x92F9638
  25486. ==18304==    at 0x951A6BC: su_block_find (su_alloc.c:303)
  25487. ==18304==    by 0x951A6BC: su_realloc (su_alloc.c:1418)
  25488. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  25489. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  25490. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  25491. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  25492. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25493. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  25494. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  25495. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  25496. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  25497. ==18304==
  25498. ==18304== ----------------------------------------------------------------
  25499. ==18304==
  25500. ==18304==  Lock at 0x12A9F3C0 was first observed
  25501. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25502. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  25503. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  25504. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  25505. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  25506. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  25507. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  25508. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  25509. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  25510. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  25511. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  25512. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  25513. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  25514. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  25515. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25516. ==18304==  Address 0x12a9f3c0 is 0 bytes inside a block of size 80 alloc'd
  25517. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25518. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  25519. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  25520. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  25521. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  25522. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  25523. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  25524. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  25525. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  25526. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  25527. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  25528. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  25529. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  25530. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  25531. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25532. ==18304==  Block was alloc'd by thread #27
  25533. ==18304==
  25534. ==18304==  Lock at 0x12B7C550 was first observed
  25535. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25536. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25537. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  25538. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25539. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25540. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25541. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25542. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25543. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25544. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25545. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25546. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25547. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  25548. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25549. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  25550. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  25551. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  25552. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  25553. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25554. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25555. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25556. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25557. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25558. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25559. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25560. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25561. ==18304==  Block was alloc'd by thread #14
  25562. ==18304==
  25563. ==18304==  Lock at 0x1303F698 was first observed
  25564. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25565. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25566. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  25567. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  25568. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25569. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25570. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25571. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25572. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25573. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25574. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25575. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25576. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  25577. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25578. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  25579. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  25580. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  25581. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  25582. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25583. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25584. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25585. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25586. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25587. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25588. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25589. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25590. ==18304==  Block was alloc'd by thread #14
  25591. ==18304==
  25592. ==18304==  Lock at 0x92F9638 was first observed
  25593. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25594. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  25595. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  25596. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  25597. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25598. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25599. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25600. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25601. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  25602. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25603. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  25604. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  25605. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25606. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25607. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25608. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25609. ==18304==  Block was alloc'd by thread #27
  25610. ==18304==
  25611. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #50
  25612. ==18304== Locks held: 3, at addresses 0x12A9F3C0 0x12B7C550 0x1303F698
  25613. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  25614. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  25615. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  25616. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  25617. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  25618. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  25619. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  25620. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  25621. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  25622. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  25623. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25624. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25625. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25626. ==18304==
  25627. ==18304== This conflicts with a previous write of size 8 by thread #27
  25628. ==18304== Locks held: 1, at address 0x92F9638
  25629. ==18304==    at 0x951A6BC: su_block_find (su_alloc.c:303)
  25630. ==18304==    by 0x951A6BC: su_realloc (su_alloc.c:1418)
  25631. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  25632. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  25633. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  25634. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  25635. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25636. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  25637. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  25638. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  25639. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  25640. ==18304==
  25641. ==18304== ----------------------------------------------------------------
  25642. ==18304==
  25643. ==18304== Thread #50: lock order "0x1303F698 before 0x12B7C550" violated
  25644. ==18304==
  25645. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C550
  25646. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  25647. ==18304==    by 0x4CF4411: switch_core_session_run (switch_core_state_machine.c:565)
  25648. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  25649. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  25650. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25651. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25652. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25653. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25654. ==18304==
  25655. ==18304==  followed by a later acquisition of lock at 0x1303F698
  25656. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  25657. ==18304==    by 0x9559BC7: sofia_receive_message (mod_sofia.c:1326)
  25658. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  25659. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  25660. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  25661. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  25662. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  25663. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  25664. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25665. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25666. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25667. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25668. ==18304==
  25669. ==18304==  Lock at 0x1303F698 was first observed
  25670. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25671. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25672. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  25673. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  25674. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25675. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25676. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25677. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25678. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25679. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25680. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25681. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25682. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  25683. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25684. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  25685. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  25686. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  25687. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  25688. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25689. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25690. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25691. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25692. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25693. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25694. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25695. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25696. ==18304==  Block was alloc'd by thread #14
  25697. ==18304==
  25698. ==18304==  Lock at 0x12B7C550 was first observed
  25699. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25700. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25701. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  25702. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25703. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25704. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25705. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25706. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25707. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25708. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25709. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25710. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25711. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  25712. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25713. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  25714. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  25715. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  25716. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  25717. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25718. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25719. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25720. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25721. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25722. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25723. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25724. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25725. ==18304==  Block was alloc'd by thread #14
  25726. ==18304==
  25727. ==18304==
  25728. ==18304== ----------------------------------------------------------------
  25729. ==18304==
  25730. ==18304==  Lock at 0x9346648 was first observed
  25731. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25732. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  25733. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  25734. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  25735. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  25736. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  25737. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25738. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25739. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25740. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25741. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  25742. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25743. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  25744. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  25745. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  25746. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  25747. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25748. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25749. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25750. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25751. ==18304==  Block was alloc'd by thread #14
  25752. ==18304==
  25753. ==18304==  Lock at 0x92F9638 was first observed
  25754. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25755. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  25756. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  25757. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  25758. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25759. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25760. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25761. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25762. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  25763. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25764. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  25765. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  25766. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  25767. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25768. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25769. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25770. ==18304==  Block was alloc'd by thread #27
  25771. ==18304==
  25772. ==18304== Possible data race during read of size 1 at 0x9ABED84 by thread #14
  25773. ==18304== Locks held: 1, at address 0x9346648
  25774. ==18304==    at 0x94E832F: nua_application_event (nua_stack.c:368)
  25775. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25776. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25777. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25778. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25779. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25780. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25781. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25782. ==18304==
  25783. ==18304== This conflicts with a previous write of size 1 by thread #27
  25784. ==18304== Locks held: 1, at address 0x92F9638
  25785. ==18304==    at 0x94E2F55: nua_session_usage_remove (nua_session.c:313)
  25786. ==18304==    by 0x94D2F7F: nua_dialog_usage_remove_at (nua_dialog.c:398)
  25787. ==18304==    by 0x94DF88E: nua_base_server_report (nua_server.c:739)
  25788. ==18304==    by 0x94E62F5: nua_invite_server_report (nua_session.c:2513)
  25789. ==18304==    by 0x94EA395: nua_stack_signal (nua_stack.c:657)
  25790. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25791. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  25792. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  25793. ==18304==  Address 0x9abed84 is 100 bytes inside a block of size 280 alloc'd
  25794. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25795. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  25796. ==18304==    by 0x94D22B7: nh_create_handle (nua_common.c:113)
  25797. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  25798. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  25799. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  25800. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  25801. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  25802. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  25803. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  25804. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  25805. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  25806. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  25807. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  25808. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  25809. ==18304==  Block was alloc'd by thread #27
  25810. ==18304==
  25811. ==18304== ----------------------------------------------------------------
  25812. ==18304==
  25813. ==18304== Thread #14: lock order "0x12B7C888 before 0x72FFE68" violated
  25814. ==18304==
  25815. ==18304== Observed (incorrect) order is: acquisition of lock at 0x72FFE68
  25816. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  25817. ==18304==    by 0x4CEAE82: switch_core_session_perform_locate (switch_core_session.c:126)
  25818. ==18304==    by 0x9593946: sofia_event_callback (sofia.c:2648)
  25819. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25820. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25821. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25822. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25823. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25824. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25825. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25826. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25827. ==18304==
  25828. ==18304==  followed by a later acquisition of lock at 0x12B7C888
  25829. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  25830. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  25831. ==18304==    by 0x4CEAEA1: switch_core_session_perform_locate (switch_core_session.c:135)
  25832. ==18304==    by 0x9593946: sofia_event_callback (sofia.c:2648)
  25833. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25834. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25835. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25836. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25837. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25838. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25839. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25840. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25841. ==18304==
  25842. ==18304==  Lock at 0x12B7C888 was first observed
  25843. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  25844. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  25845. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  25846. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25847. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25848. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25849. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25850. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25851. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25852. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25853. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25854. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25855. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  25856. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25857. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  25858. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  25859. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  25860. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  25861. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25862. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25863. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25864. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25865. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25866. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25867. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25868. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25869. ==18304==  Block was alloc'd by thread #14
  25870. ==18304==
  25871. ==18304==  Lock at 0x72FFE68 was first observed
  25872. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25873. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25874. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  25875. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  25876. ==18304==    by 0x10AEC7: main (switch.c:1200)
  25877. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  25878. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25879. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  25880. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  25881. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  25882. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  25883. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  25884. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  25885. ==18304==    by 0x10AEC7: main (switch.c:1200)
  25886. ==18304==  Block was alloc'd by thread #1
  25887. ==18304==
  25888. ==18304==
  25889. ==18304== ----------------------------------------------------------------
  25890. ==18304==
  25891. ==18304==  Lock at 0x12B7C550 was first observed
  25892. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25893. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25894. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  25895. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25896. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25897. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25898. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25899. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25900. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25901. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25902. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25903. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25904. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  25905. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25906. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  25907. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  25908. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  25909. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  25910. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25911. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25912. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25913. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25914. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25915. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25916. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25917. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25918. ==18304==  Block was alloc'd by thread #14
  25919. ==18304==
  25920. ==18304==  Lock at 0x1303F698 was first observed
  25921. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25922. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  25923. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  25924. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  25925. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25926. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25927. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25928. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25929. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25930. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25931. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25932. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25933. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  25934. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  25935. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  25936. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  25937. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  25938. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  25939. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  25940. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25941. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25942. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25943. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25944. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25945. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25946. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25947. ==18304==  Block was alloc'd by thread #14
  25948. ==18304==
  25949. ==18304==  Lock at 0x9346648 was first observed
  25950. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  25951. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  25952. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  25953. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  25954. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  25955. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  25956. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25957. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25958. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25959. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25960. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  25961. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  25962. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  25963. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  25964. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  25965. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  25966. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25967. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25968. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  25969. ==18304==    by 0x560E4CE: clone (clone.S:95)
  25970. ==18304==  Block was alloc'd by thread #14
  25971. ==18304==
  25972. ==18304== Possible data race during read of size 8 at 0x9ABED50 by thread #50
  25973. ==18304== Locks held: 2, at addresses 0x12B7C550 0x1303F698
  25974. ==18304==    at 0x94C9584: nua_handle_magic (nua.c:368)
  25975. ==18304==    by 0x9593221: sofia_process_dispatch_event (sofia.c:2267)
  25976. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  25977. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  25978. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  25979. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  25980. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  25981. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  25982. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  25983. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  25984. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  25985. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25986. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25987. ==18304==
  25988. ==18304== This conflicts with a previous write of size 8 by thread #14
  25989. ==18304== Locks held: 1, at address 0x9346648
  25990. ==18304==    at 0x94CEE73: nua_handle_destroy (nua.c:924)
  25991. ==18304==    by 0x9594004: sofia_event_callback (sofia.c:2443)
  25992. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  25993. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  25994. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  25995. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  25996. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  25997. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  25998. ==18304==  Address 0x9abed50 is 48 bytes inside a block of size 280 alloc'd
  25999. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  26000. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  26001. ==18304==    by 0x94D22B7: nh_create_handle (nua_common.c:113)
  26002. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  26003. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  26004. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  26005. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  26006. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  26007. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  26008. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  26009. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  26010. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  26011. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  26012. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  26013. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  26014. ==18304==  Block was alloc'd by thread #27
  26015. ==18304==
  26016. ==18304== ----------------------------------------------------------------
  26017. ==18304==
  26018. ==18304== Thread #30: lock order "0x7B89680 before 0x933FF58" violated
  26019. ==18304==
  26020. ==18304== Observed (incorrect) order is: acquisition of lock at 0x933FF58
  26021. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26022. ==18304==    by 0x9599F3C: sofia_glue_execute_sql_callback (sofia_glue.c:2822)
  26023. ==18304==    by 0x95B0549: sofia_reg_check_ping_expire (sofia_reg.c:932)
  26024. ==18304==    by 0x9567982: sofia_profile_worker_thread_run (sofia.c:3008)
  26025. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26026. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26027. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26028. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26029. ==18304==
  26030. ==18304==  followed by a later acquisition of lock at 0x7B89680
  26031. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26032. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  26033. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  26034. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  26035. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  26036. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  26037. ==18304==    by 0x95B0549: sofia_reg_check_ping_expire (sofia_reg.c:932)
  26038. ==18304==    by 0x9567982: sofia_profile_worker_thread_run (sofia.c:3008)
  26039. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26040. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26041. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26042. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26043. ==18304==
  26044. ==18304==  Lock at 0x7B89680 was first observed
  26045. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26046. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26047. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  26048. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  26049. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  26050. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26051. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26052. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  26053. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26054. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  26055. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  26056. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  26057. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  26058. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  26059. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  26060. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26061. ==18304==  Block was alloc'd by thread #1
  26062. ==18304==
  26063. ==18304==  Lock at 0x933FF58 was first observed
  26064. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26065. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26066. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  26067. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26068. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26069. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26070. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26071. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  26072. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26073. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  26074. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  26075. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  26076. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  26077. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  26078. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  26079. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  26080. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26081. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26082. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26083. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26084. ==18304==  Block was alloc'd by thread #1
  26085. ==18304==
  26086. ==18304==
  26087. ==18304== ----------------------------------------------------------------
  26088. ==18304==
  26089. ==18304==  Lock at 0x9346648 was first observed
  26090. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26091. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  26092. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  26093. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  26094. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  26095. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  26096. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26097. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26098. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26099. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26100. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  26101. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  26102. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  26103. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  26104. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  26105. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  26106. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26107. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26108. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26109. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26110. ==18304==  Block was alloc'd by thread #14
  26111. ==18304==
  26112. ==18304==  Lock at 0x12B7C550 was first observed
  26113. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26114. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26115. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  26116. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26117. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26118. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26119. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26120. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26121. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26122. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26123. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26124. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26125. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  26126. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26127. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26128. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26129. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26130. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  26131. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26132. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26133. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26134. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26135. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26136. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26137. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26138. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26139. ==18304==  Block was alloc'd by thread #14
  26140. ==18304==
  26141. ==18304== Possible data race during write of size 1 at 0x1303F2F7 by thread #14
  26142. ==18304== Locks held: 1, at address 0x9346648
  26143. ==18304==    at 0x95938E6: sofia_event_callback (sofia.c:2546)
  26144. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26145. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26146. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26147. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26148. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26149. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26150. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26151. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26152. ==18304==
  26153. ==18304== This conflicts with a previous read of size 1 by thread #50
  26154. ==18304== Locks held: 1, at address 0x12B7C550
  26155. ==18304==    at 0x9559BA1: sofia_receive_message (mod_sofia.c:2698)
  26156. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26157. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26158. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26159. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  26160. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  26161. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  26162. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  26163. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  26164. ==18304==  Address 0x1303f2f7 is 2,135 bytes inside a block of size 8,192 alloc'd
  26165. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26166. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  26167. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  26168. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  26169. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  26170. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26171. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26172. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26173. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26174. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26175. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26176. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26177. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26178. ==18304==  Block was alloc'd by thread #14
  26179. ==18304==
  26180. ==18304== ----------------------------------------------------------------
  26181. ==18304==
  26182. ==18304== Thread #50: lock order "0x13074778 before 0x13074888" violated
  26183. ==18304==
  26184. ==18304== Observed (incorrect) order is: acquisition of lock at 0x13074888
  26185. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26186. ==18304==    by 0x4D47C4C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  26187. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  26188. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  26189. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  26190. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  26191. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26192. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26193. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26194. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26195. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26196. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26197. ==18304==
  26198. ==18304==  followed by a later acquisition of lock at 0x13074778
  26199. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  26200. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  26201. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  26202. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  26203. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  26204. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  26205. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26206. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26207. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26208. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26209. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26210. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26211. ==18304==
  26212. ==18304== Required order was established by acquisition of lock at 0x13074778
  26213. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  26214. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  26215. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  26216. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  26217. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  26218. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  26219. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26220. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26221. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26222. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26223. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26224. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26225. ==18304==
  26226. ==18304==  followed by a later acquisition of lock at 0x13074888
  26227. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26228. ==18304==    by 0x4D497A8: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2955)
  26229. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  26230. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  26231. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  26232. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26233. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26234. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26235. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26236. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26237. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26238. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  26239. ==18304==
  26240. ==18304==  Lock at 0x13074778 was first observed
  26241. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  26242. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  26243. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  26244. ==18304==    by 0x134EF176: mod_opus_load (mod_opus.c:1350)
  26245. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  26246. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26247. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26248. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26249. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26250. ==18304==  Address 0x13074778 is 504 bytes inside a block of size 8,192 alloc'd
  26251. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26252. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26253. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26254. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26255. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  26256. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26257. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26258. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26259. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26260. ==18304==  Block was alloc'd by thread #1
  26261. ==18304==
  26262. ==18304==  Lock at 0x13074888 was first observed
  26263. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26264. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26265. ==18304==    by 0x4D4A460: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  26266. ==18304==    by 0x134EF187: mod_opus_load (mod_opus.c:1352)
  26267. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  26268. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26269. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26270. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26271. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26272. ==18304==  Address 0x13074888 is 776 bytes inside a block of size 8,192 alloc'd
  26273. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26274. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26275. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26276. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26277. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  26278. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26279. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26280. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26281. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26282. ==18304==  Block was alloc'd by thread #1
  26283. ==18304==
  26284. ==18304==
  26285. ==18304== ----------------------------------------------------------------
  26286. ==18304==
  26287. ==18304== Thread #50: lock order "0x13074828 before 0x13074888" violated
  26288. ==18304==
  26289. ==18304== Observed (incorrect) order is: acquisition of lock at 0x13074888
  26290. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26291. ==18304==    by 0x4D47C4C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  26292. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  26293. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  26294. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  26295. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  26296. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26297. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26298. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26299. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26300. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26301. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26302. ==18304==
  26303. ==18304==  followed by a later acquisition of lock at 0x13074828
  26304. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  26305. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  26306. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  26307. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  26308. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  26309. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  26310. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26311. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26312. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26313. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26314. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26315. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26316. ==18304==
  26317. ==18304== Required order was established by acquisition of lock at 0x13074828
  26318. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  26319. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  26320. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  26321. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  26322. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  26323. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  26324. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26325. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26326. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26327. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26328. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26329. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26330. ==18304==
  26331. ==18304==  followed by a later acquisition of lock at 0x13074888
  26332. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26333. ==18304==    by 0x4D497A8: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2955)
  26334. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  26335. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  26336. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  26337. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26338. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26339. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26340. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26341. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26342. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26343. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  26344. ==18304==
  26345. ==18304==  Lock at 0x13074828 was first observed
  26346. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  26347. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  26348. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  26349. ==18304==    by 0x134EF187: mod_opus_load (mod_opus.c:1352)
  26350. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  26351. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26352. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26353. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26354. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26355. ==18304==  Address 0x13074828 is 680 bytes inside a block of size 8,192 alloc'd
  26356. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26357. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26358. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26359. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26360. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  26361. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26362. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26363. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26364. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26365. ==18304==  Block was alloc'd by thread #1
  26366. ==18304==
  26367. ==18304==  Lock at 0x13074888 was first observed
  26368. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26369. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26370. ==18304==    by 0x4D4A460: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  26371. ==18304==    by 0x134EF187: mod_opus_load (mod_opus.c:1352)
  26372. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  26373. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26374. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26375. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26376. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26377. ==18304==  Address 0x13074888 is 776 bytes inside a block of size 8,192 alloc'd
  26378. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26379. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26380. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26381. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26382. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  26383. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26384. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26385. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26386. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26387. ==18304==  Block was alloc'd by thread #1
  26388. ==18304==
  26389. ==18304==
  26390. ==18304== ----------------------------------------------------------------
  26391. ==18304==
  26392. ==18304== Thread #50: lock order "0x933FF58 before 0x12B7C550" violated
  26393. ==18304==
  26394. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C550
  26395. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26396. ==18304==    by 0x4CF4411: switch_core_session_run (switch_core_state_machine.c:565)
  26397. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  26398. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  26399. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26400. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26401. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26402. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26403. ==18304==
  26404. ==18304==  followed by a later acquisition of lock at 0x933FF58
  26405. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26406. ==18304==    by 0x9599F3C: sofia_glue_execute_sql_callback (sofia_glue.c:2822)
  26407. ==18304==    by 0x95B2220: sofia_reg_parse_auth (sofia_reg.c:2828)
  26408. ==18304==    by 0x95B43F5: sofia_reg_handle_register_token (sofia_reg.c:1547)
  26409. ==18304==    by 0x9586643: sofia_handle_sip_i_invite (sofia.c:10543)
  26410. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26411. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26412. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26413. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26414. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26415. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26416. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  26417. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  26418. ==18304==
  26419. ==18304==  Lock at 0x933FF58 was first observed
  26420. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26421. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26422. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  26423. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26424. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26425. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26426. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26427. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  26428. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26429. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  26430. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  26431. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  26432. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  26433. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  26434. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  26435. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  26436. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26437. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26438. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26439. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26440. ==18304==  Block was alloc'd by thread #1
  26441. ==18304==
  26442. ==18304==  Lock at 0x12B7C550 was first observed
  26443. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26444. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26445. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  26446. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26447. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26448. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26449. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26450. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26451. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26452. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26453. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26454. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26455. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  26456. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26457. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26458. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26459. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26460. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  26461. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26462. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26463. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26464. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26465. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26466. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26467. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26468. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26469. ==18304==  Block was alloc'd by thread #14
  26470. ==18304==
  26471. ==18304==
  26472. ==18304== ----------------------------------------------------------------
  26473. ==18304==
  26474. ==18304== Thread #50: lock order "0x7B89680 before 0x12B7C550" violated
  26475. ==18304==
  26476. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C550
  26477. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26478. ==18304==    by 0x4CF4411: switch_core_session_run (switch_core_state_machine.c:565)
  26479. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  26480. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  26481. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26482. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26483. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26484. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26485. ==18304==
  26486. ==18304==  followed by a later acquisition of lock at 0x7B89680
  26487. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26488. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  26489. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  26490. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  26491. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  26492. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  26493. ==18304==    by 0x95B2220: sofia_reg_parse_auth (sofia_reg.c:2828)
  26494. ==18304==    by 0x95B43F5: sofia_reg_handle_register_token (sofia_reg.c:1547)
  26495. ==18304==    by 0x9586643: sofia_handle_sip_i_invite (sofia.c:10543)
  26496. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26497. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26498. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26499. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26500. ==18304==
  26501. ==18304==  Lock at 0x7B89680 was first observed
  26502. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26503. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26504. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  26505. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  26506. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  26507. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26508. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26509. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  26510. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26511. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  26512. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  26513. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  26514. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  26515. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  26516. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  26517. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26518. ==18304==  Block was alloc'd by thread #1
  26519. ==18304==
  26520. ==18304==  Lock at 0x12B7C550 was first observed
  26521. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26522. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26523. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  26524. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26525. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26526. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26527. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26528. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26529. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26530. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26531. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26532. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26533. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  26534. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26535. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26536. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26537. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26538. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  26539. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26540. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26541. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26542. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26543. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26544. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26545. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26546. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26547. ==18304==  Block was alloc'd by thread #14
  26548. ==18304==
  26549. ==18304==
  26550. ==18304== ----------------------------------------------------------------
  26551. ==18304==
  26552. ==18304==  Lock at 0x9346648 was first observed
  26553. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26554. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  26555. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  26556. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  26557. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  26558. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  26559. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26560. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26561. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26562. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26563. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  26564. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  26565. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  26566. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  26567. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  26568. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  26569. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26570. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26571. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26572. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26573. ==18304==  Block was alloc'd by thread #14
  26574. ==18304==
  26575. ==18304==  Lock at 0x92F9638 was first observed
  26576. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26577. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  26578. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  26579. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  26580. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  26581. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26582. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26583. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26584. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  26585. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  26586. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  26587. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  26588. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  26589. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26590. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26591. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26592. ==18304==  Block was alloc'd by thread #27
  26593. ==18304==
  26594. ==18304==  Lock at 0x9342088 was first observed
  26595. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26596. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  26597. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  26598. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  26599. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  26600. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  26601. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  26602. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26603. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26604. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26605. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26606. ==18304==  Address 0x9342088 is 40 bytes inside a block of size 80 alloc'd
  26607. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  26608. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  26609. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  26610. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  26611. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  26612. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  26613. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  26614. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26615. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26616. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26617. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26618. ==18304==  Block was alloc'd by thread #14
  26619. ==18304==
  26620. ==18304== Possible data race during read of size 8 at 0x9346608 by thread #14
  26621. ==18304== Locks held: 1, at address 0x9346648
  26622. ==18304==    at 0x951B9FB: su_base_port_step (su_base_port.c:494)
  26623. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26624. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26625. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26626. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26627. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26628. ==18304==
  26629. ==18304== This conflicts with a previous write of size 8 by thread #27
  26630. ==18304== Locks held: 2, at addresses 0x92F9638 0x9342088
  26631. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  26632. ==18304==    by 0x94E939D: nua_stack_event (nua_stack.c:328)
  26633. ==18304==    by 0x94E9DB7: nua_stack_tevent (nua_stack.c:245)
  26634. ==18304==    by 0x94E037E: signal_call_state_change (nua_session.c:4201)
  26635. ==18304==    by 0x94E63E0: nua_invite_server_report (nua_session.c:2530)
  26636. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  26637. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  26638. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  26639. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  26640. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  26641. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  26642. ==18304==  Address 0x9346608 is 56 bytes inside a block of size 216 alloc'd
  26643. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  26644. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  26645. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  26646. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  26647. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  26648. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26649. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26650. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26651. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26652. ==18304==  Block was alloc'd by thread #14
  26653. ==18304==
  26654. ==18304== ----------------------------------------------------------------
  26655. ==18304==
  26656. ==18304==  Lock at 0x12B7C550 was first observed
  26657. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26658. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26659. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  26660. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26661. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26662. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26663. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26664. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26665. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26666. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26667. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26668. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26669. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  26670. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26671. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26672. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26673. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26674. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  26675. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26676. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26677. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26678. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26679. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26680. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26681. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26682. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26683. ==18304==  Block was alloc'd by thread #14
  26684. ==18304==
  26685. ==18304==  Lock at 0x1303F698 was first observed
  26686. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26687. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26688. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  26689. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  26690. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26691. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26692. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26693. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26694. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26695. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26696. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26697. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26698. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  26699. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26700. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  26701. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  26702. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  26703. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  26704. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26705. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26706. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26707. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26708. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26709. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26710. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26711. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26712. ==18304==  Block was alloc'd by thread #14
  26713. ==18304==
  26714. ==18304== Possible data race during read of size 8 at 0x50FE2B0 by thread #50
  26715. ==18304== Locks held: 2, at addresses 0x12B7C550 0x1303F698
  26716. ==18304==    at 0x4DB9A2A: switch_xml_locate (switch_xml.c:1732)
  26717. ==18304==    by 0x4DB9D8B: switch_xml_locate_domain (switch_xml.c:1816)
  26718. ==18304==    by 0x4DBA062: switch_xml_locate_user (switch_xml.c:2200)
  26719. ==18304==    by 0x4DBACD9: switch_xml_locate_user_merged (switch_xml.c:2127)
  26720. ==18304==    by 0x95B1E64: sofia_reg_parse_auth (sofia_reg.c:2929)
  26721. ==18304==    by 0x95B43F5: sofia_reg_handle_register_token (sofia_reg.c:1547)
  26722. ==18304==    by 0x9586643: sofia_handle_sip_i_invite (sofia.c:10543)
  26723. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26724. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26725. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26726. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26727. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26728. ==18304==  Address 0x50fe2b0 is 0 bytes inside data symbol "BINDINGS"
  26729. ==18304==
  26730. ==18304== ----------------------------------------------------------------
  26731. ==18304==
  26732. ==18304== Thread #50: lock order "0x933FF58 before 0x12B7C550" violated
  26733. ==18304==
  26734. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C550
  26735. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26736. ==18304==    by 0x4CF4411: switch_core_session_run (switch_core_state_machine.c:565)
  26737. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  26738. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  26739. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26740. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26741. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26742. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26743. ==18304==
  26744. ==18304==  followed by a later acquisition of lock at 0x933FF58
  26745. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26746. ==18304==    by 0x959962B: sofia_glue_execute_sql_now (sofia_glue.c:2708)
  26747. ==18304==    by 0x95B212C: sofia_reg_parse_auth (sofia_reg.c:3262)
  26748. ==18304==    by 0x95B43F5: sofia_reg_handle_register_token (sofia_reg.c:1547)
  26749. ==18304==    by 0x9586643: sofia_handle_sip_i_invite (sofia.c:10543)
  26750. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26751. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26752. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26753. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26754. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26755. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26756. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  26757. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  26758. ==18304==
  26759. ==18304==  Lock at 0x933FF58 was first observed
  26760. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26761. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26762. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  26763. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26764. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26765. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26766. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26767. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  26768. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26769. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  26770. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  26771. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  26772. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  26773. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  26774. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  26775. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  26776. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26777. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26778. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26779. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26780. ==18304==  Block was alloc'd by thread #1
  26781. ==18304==
  26782. ==18304==  Lock at 0x12B7C550 was first observed
  26783. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26784. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26785. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  26786. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26787. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26788. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26789. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26790. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26791. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26792. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26793. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26794. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26795. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  26796. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26797. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26798. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26799. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26800. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  26801. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26802. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26803. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26804. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26805. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26806. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26807. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26808. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26809. ==18304==  Block was alloc'd by thread #14
  26810. ==18304==
  26811. ==18304==
  26812. ==18304== ----------------------------------------------------------------
  26813. ==18304==
  26814. ==18304== Thread #15: lock order "0x7B89680 before 0x933FF58" violated
  26815. ==18304==
  26816. ==18304== Observed (incorrect) order is: acquisition of lock at 0x933FF58
  26817. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26818. ==18304==    by 0x9599F3C: sofia_glue_execute_sql_callback (sofia_glue.c:2822)
  26819. ==18304==    by 0x95B2220: sofia_reg_parse_auth (sofia_reg.c:2828)
  26820. ==18304==    by 0x95B43F5: sofia_reg_handle_register_token (sofia_reg.c:1547)
  26821. ==18304==    by 0x95B8212: sofia_reg_handle_sip_i_register (sofia_reg.c:2373)
  26822. ==18304==    by 0x958B5C8: our_sofia_event_callback (sofia.c:1827)
  26823. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26824. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  26825. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  26826. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26827. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26828. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26829. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26830. ==18304==
  26831. ==18304==  followed by a later acquisition of lock at 0x7B89680
  26832. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  26833. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  26834. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  26835. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  26836. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  26837. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  26838. ==18304==    by 0x95B2220: sofia_reg_parse_auth (sofia_reg.c:2828)
  26839. ==18304==    by 0x95B43F5: sofia_reg_handle_register_token (sofia_reg.c:1547)
  26840. ==18304==    by 0x95B8212: sofia_reg_handle_sip_i_register (sofia_reg.c:2373)
  26841. ==18304==    by 0x958B5C8: our_sofia_event_callback (sofia.c:1827)
  26842. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26843. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  26844. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  26845. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26846. ==18304==
  26847. ==18304==  Lock at 0x7B89680 was first observed
  26848. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26849. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26850. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  26851. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  26852. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  26853. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26854. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26855. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  26856. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26857. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  26858. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  26859. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  26860. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  26861. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  26862. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  26863. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26864. ==18304==  Block was alloc'd by thread #1
  26865. ==18304==
  26866. ==18304==  Lock at 0x933FF58 was first observed
  26867. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26868. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26869. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  26870. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26871. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26872. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26873. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26874. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  26875. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26876. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  26877. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  26878. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  26879. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  26880. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  26881. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  26882. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  26883. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  26884. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  26885. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  26886. ==18304==    by 0x10AEC7: main (switch.c:1200)
  26887. ==18304==  Block was alloc'd by thread #1
  26888. ==18304==
  26889. ==18304==
  26890. ==18304== ----------------------------------------------------------------
  26891. ==18304==
  26892. ==18304==  Lock at 0x12B7C500 was first observed
  26893. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26894. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26895. ==18304==    by 0x4CC755B: switch_channel_alloc (switch_channel.c:462)
  26896. ==18304==    by 0x4CECAE9: switch_core_session_request_uuid (switch_core_session.c:2382)
  26897. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26898. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26899. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26900. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26901. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26902. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26903. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26904. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26905. ==18304==  Address 0x12b7c500 is 2,400 bytes inside a block of size 8,192 alloc'd
  26906. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26907. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26908. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26909. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26910. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  26911. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26912. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26913. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26914. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26915. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26916. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26917. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26918. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26919. ==18304==  Block was alloc'd by thread #14
  26920. ==18304==
  26921. ==18304==  Lock at 0x12B7C550 was first observed
  26922. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26923. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26924. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  26925. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26926. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26927. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26928. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26929. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26930. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26931. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26932. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26933. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26934. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  26935. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26936. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  26937. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  26938. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  26939. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  26940. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26941. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26942. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26943. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26944. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26945. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26946. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26947. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26948. ==18304==  Block was alloc'd by thread #14
  26949. ==18304==
  26950. ==18304==  Lock at 0x1303F698 was first observed
  26951. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  26952. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  26953. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  26954. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  26955. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26956. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26957. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26958. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26959. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26960. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26961. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26962. ==18304==    by 0x560E4CE: clone (clone.S:95)
  26963. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  26964. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  26965. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  26966. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  26967. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  26968. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  26969. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  26970. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  26971. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  26972. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  26973. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  26974. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  26975. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  26976. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  26977. ==18304==  Block was alloc'd by thread #14
  26978. ==18304==
  26979. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  26980. ==18304== Locks held: 3, at addresses 0x12B7C500 0x12B7C550 0x1303F698
  26981. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  26982. ==18304==    by 0x4CC2D40: switch_channel_set_caller_profile (switch_channel.c:2821)
  26983. ==18304==    by 0x9585EAF: sofia_handle_sip_i_invite (sofia.c:10631)
  26984. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  26985. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  26986. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  26987. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  26988. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  26989. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  26990. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  26991. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  26992. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  26993. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  26994. ==18304==
  26995. ==18304== This conflicts with a previous write of size 8 by thread #44
  26996. ==18304== Locks held: none
  26997. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  26998. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  26999. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27000. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27001. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27002. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27003. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  27004. ==18304==
  27005. ==18304== ----------------------------------------------------------------
  27006. ==18304==
  27007. ==18304==  Lock at 0x12A2D3D0 was first observed
  27008. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27009. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  27010. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27011. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27012. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27013. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27014. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27015. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27016. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27017. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27018. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27019. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27020. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27021. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27022. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27023. ==18304==  Address 0x12a2d3d0 is 0 bytes inside a block of size 80 alloc'd
  27024. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27025. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  27026. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27027. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27028. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27029. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27030. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27031. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27032. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27033. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27034. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27035. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27036. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27037. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27038. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27039. ==18304==  Block was alloc'd by thread #27
  27040. ==18304==
  27041. ==18304==  Lock at 0x92F9638 was first observed
  27042. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27043. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  27044. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  27045. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  27046. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27047. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27048. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27049. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27050. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  27051. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27052. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  27053. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  27054. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27055. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27056. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27057. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27058. ==18304==  Block was alloc'd by thread #27
  27059. ==18304==
  27060. ==18304== Possible data race during write of size 8 at 0x963A090 by thread #15
  27061. ==18304== Locks held: 1, at address 0x12A2D3D0
  27062. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  27063. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  27064. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  27065. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  27066. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  27067. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27068. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27069. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27070. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27071. ==18304==
  27072. ==18304== This conflicts with a previous read of size 8 by thread #27
  27073. ==18304== Locks held: 1, at address 0x92F9638
  27074. ==18304==    at 0x951A6FD: su_block_find (su_alloc.c:312)
  27075. ==18304==    by 0x951A6FD: su_realloc (su_alloc.c:1418)
  27076. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  27077. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  27078. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  27079. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  27080. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27081. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  27082. ==18304==    by 0x94E983A: nua_stack_timer (nua_stack.c:741)
  27083. ==18304==    by 0x9528F7E: su_timer_expire (su_timer.c:585)
  27084. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  27085. ==18304==
  27086. ==18304== ----------------------------------------------------------------
  27087. ==18304==
  27088. ==18304==  Lock at 0xAE53F78 was first observed
  27089. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27090. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27091. ==18304==    by 0x12D3FF34: mod_commands_load (mod_commands.c:7454)
  27092. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  27093. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  27094. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  27095. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  27096. ==18304==    by 0x10AEC7: main (switch.c:1200)
  27097. ==18304==  Address 0xae53f78 is 696 bytes inside a block of size 8,192 alloc'd
  27098. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27099. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  27100. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  27101. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  27102. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  27103. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  27104. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  27105. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  27106. ==18304==    by 0x10AEC7: main (switch.c:1200)
  27107. ==18304==  Block was alloc'd by thread #1
  27108. ==18304==
  27109. ==18304==  Lock at 0xAE6A778 was first observed
  27110. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  27111. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  27112. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  27113. ==18304==    by 0xB94DA00: mod_signalwire_load (mod_signalwire.c:847)
  27114. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  27115. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  27116. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  27117. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  27118. ==18304==    by 0x10AEC7: main (switch.c:1200)
  27119. ==18304==  Address 0xae6a778 is 504 bytes inside a block of size 8,192 alloc'd
  27120. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27121. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  27122. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  27123. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  27124. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  27125. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  27126. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  27127. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  27128. ==18304==    by 0x10AEC7: main (switch.c:1200)
  27129. ==18304==  Block was alloc'd by thread #1
  27130. ==18304==
  27131. ==18304== Possible data race during write of size 4 at 0x932EFA4 by thread #29
  27132. ==18304== Locks held: none
  27133. ==18304==    at 0xB9C81F9: thread_launch (ks_thread.c:270)
  27134. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27135. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27136. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27137. ==18304==
  27138. ==18304== This conflicts with a previous read of size 4 by thread #47
  27139. ==18304== Locks held: 2, at addresses 0xAE53F78 0xAE6A778
  27140. ==18304==    at 0xB9C966B: ks_thread_destroy (ks_thread.c:581)
  27141. ==18304==    by 0x128048F2: swclt_hmgr_shutdown (handle_manager.c:308)
  27142. ==18304==    by 0x12806ECD: swclt_shutdown (init.c:46)
  27143. ==18304==    by 0xB94E514: mod_signalwire_shutdown (mod_signalwire.c:989)
  27144. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  27145. ==18304==    by 0x4D45FFE: switch_loadable_module_unload_module (switch_loadable_module.c:1940)
  27146. ==18304==    by 0x12D3404B: unload_function (mod_commands.c:2755)
  27147. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  27148. ==18304==  Address 0x932efa4 is 212 bytes inside a block of size 250 alloc'd
  27149. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27150. ==18304==    by 0xB9BA9F5: alloc_mem (ks_pool.c:330)
  27151. ==18304==    by 0xB9BBD39: __ks_pool_alloc_ex (ks_pool.c:1058)
  27152. ==18304==    by 0xB9BC057: __ks_pool_alloc (ks_pool.c:1101)
  27153. ==18304==    by 0xB9C9F8C: __ks_thread_create_ex (ks_thread.c:757)
  27154. ==18304==    by 0x1280478B: swclt_hmgr_init (handle_manager.c:287)
  27155. ==18304==    by 0x12806E6E: swclt_init (init.c:34)
  27156. ==18304==    by 0xB94DB2B: mod_signalwire_load (mod_signalwire.c:873)
  27157. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  27158. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  27159. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  27160. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  27161. ==18304==    by 0x10AEC7: main (switch.c:1200)
  27162. ==18304==  Block was alloc'd by thread #1
  27163. ==18304==
  27164. ==18304== ----------------------------------------------------------------
  27165. ==18304==
  27166. ==18304==  Lock at 0x12B7C550 was first observed
  27167. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27168. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27169. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  27170. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27171. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27172. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27173. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27174. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27175. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27176. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27177. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27178. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27179. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  27180. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27181. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  27182. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  27183. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  27184. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  27185. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27186. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27187. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27188. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27189. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27190. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27191. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27192. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27193. ==18304==  Block was alloc'd by thread #14
  27194. ==18304==
  27195. ==18304==  Lock at 0x12BB7D60 was first observed
  27196. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27197. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  27198. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27199. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27200. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27201. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27202. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27203. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27204. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27205. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27206. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27207. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27208. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27209. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27210. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27211. ==18304==  Address 0x12bb7d60 is 0 bytes inside a block of size 80 alloc'd
  27212. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27213. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  27214. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27215. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27216. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27217. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27218. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27219. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27220. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27221. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27222. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27223. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27224. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27225. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27226. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27227. ==18304==  Block was alloc'd by thread #27
  27228. ==18304==
  27229. ==18304==  Lock at 0x1303F698 was first observed
  27230. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27231. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27232. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  27233. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  27234. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27235. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27236. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27237. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27238. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27239. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27240. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27241. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27242. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  27243. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27244. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  27245. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  27246. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  27247. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  27248. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27249. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27250. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27251. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27252. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27253. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27254. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27255. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27256. ==18304==  Block was alloc'd by thread #14
  27257. ==18304==
  27258. ==18304==  Lock at 0x92F9638 was first observed
  27259. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27260. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  27261. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  27262. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  27263. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27264. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27265. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27266. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27267. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  27268. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27269. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  27270. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  27271. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27272. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27273. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27274. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27275. ==18304==  Block was alloc'd by thread #27
  27276. ==18304==
  27277. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #50
  27278. ==18304== Locks held: 3, at addresses 0x12B7C550 0x12BB7D60 0x1303F698
  27279. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  27280. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  27281. ==18304==    by 0x9589636: sofia_handle_sip_i_invite (sofia.c:11470)
  27282. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  27283. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  27284. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  27285. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  27286. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  27287. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  27288. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  27289. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  27290. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  27291. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  27292. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  27293. ==18304==
  27294. ==18304== This conflicts with a previous write of size 8 by thread #27
  27295. ==18304== Locks held: 1, at address 0x92F9638
  27296. ==18304==    at 0x951A6A9: su_block_find (su_alloc.c:301)
  27297. ==18304==    by 0x951A6A9: su_realloc (su_alloc.c:1418)
  27298. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  27299. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  27300. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  27301. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  27302. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27303. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  27304. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  27305. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  27306. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  27307. ==18304==
  27308. ==18304== ----------------------------------------------------------------
  27309. ==18304==
  27310. ==18304==  Lock at 0x12B7C550 was first observed
  27311. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27312. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27313. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  27314. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27315. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27316. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27317. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27318. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27319. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27320. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27321. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27322. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27323. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  27324. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27325. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  27326. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  27327. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  27328. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  27329. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27330. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27331. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27332. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27333. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27334. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27335. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27336. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27337. ==18304==  Block was alloc'd by thread #14
  27338. ==18304==
  27339. ==18304==  Lock at 0x12BB7D60 was first observed
  27340. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27341. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  27342. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27343. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27344. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27345. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27346. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27347. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27348. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27349. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27350. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27351. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27352. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27353. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27354. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27355. ==18304==  Address 0x12bb7d60 is 0 bytes inside a block of size 80 alloc'd
  27356. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27357. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  27358. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27359. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27360. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27361. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27362. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27363. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27364. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27365. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27366. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27367. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27368. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27369. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27370. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27371. ==18304==  Block was alloc'd by thread #27
  27372. ==18304==
  27373. ==18304==  Lock at 0x1303F698 was first observed
  27374. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27375. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27376. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  27377. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  27378. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27379. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27380. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27381. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27382. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27383. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27384. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27385. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27386. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  27387. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27388. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  27389. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  27390. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  27391. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  27392. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27393. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27394. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27395. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27396. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27397. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27398. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27399. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27400. ==18304==  Block was alloc'd by thread #14
  27401. ==18304==
  27402. ==18304==  Lock at 0x92F9638 was first observed
  27403. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27404. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  27405. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  27406. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  27407. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27408. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27409. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27410. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27411. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  27412. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27413. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  27414. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  27415. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27416. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27417. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27418. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27419. ==18304==  Block was alloc'd by thread #27
  27420. ==18304==
  27421. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #50
  27422. ==18304== Locks held: 3, at addresses 0x12B7C550 0x12BB7D60 0x1303F698
  27423. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  27424. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  27425. ==18304==    by 0x9589636: sofia_handle_sip_i_invite (sofia.c:11470)
  27426. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  27427. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  27428. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  27429. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  27430. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  27431. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  27432. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  27433. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  27434. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  27435. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  27436. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  27437. ==18304==
  27438. ==18304== This conflicts with a previous write of size 8 by thread #27
  27439. ==18304== Locks held: 1, at address 0x92F9638
  27440. ==18304==    at 0x951A6A9: su_block_find (su_alloc.c:301)
  27441. ==18304==    by 0x951A6A9: su_realloc (su_alloc.c:1418)
  27442. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  27443. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  27444. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  27445. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  27446. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27447. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  27448. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  27449. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  27450. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  27451. ==18304==
  27452. ==18304== ----------------------------------------------------------------
  27453. ==18304==
  27454. ==18304==  Lock at 0x12B7C550 was first observed
  27455. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27456. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27457. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  27458. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27459. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27460. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27461. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27462. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27463. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27464. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27465. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27466. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27467. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  27468. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27469. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  27470. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  27471. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  27472. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  27473. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27474. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27475. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27476. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27477. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27478. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27479. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27480. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27481. ==18304==  Block was alloc'd by thread #14
  27482. ==18304==
  27483. ==18304==  Lock at 0x12BB7D60 was first observed
  27484. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27485. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  27486. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27487. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27488. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27489. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27490. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27491. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27492. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27493. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27494. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27495. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27496. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27497. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27498. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27499. ==18304==  Address 0x12bb7d60 is 0 bytes inside a block of size 80 alloc'd
  27500. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27501. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  27502. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27503. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27504. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27505. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27506. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27507. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27508. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27509. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27510. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27511. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27512. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27513. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27514. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27515. ==18304==  Block was alloc'd by thread #27
  27516. ==18304==
  27517. ==18304==  Lock at 0x1303F698 was first observed
  27518. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27519. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27520. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  27521. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  27522. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27523. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27524. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27525. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27526. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27527. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27528. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27529. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27530. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  27531. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27532. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  27533. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  27534. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  27535. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  27536. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27537. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27538. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27539. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27540. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27541. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27542. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27543. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27544. ==18304==  Block was alloc'd by thread #14
  27545. ==18304==
  27546. ==18304==  Lock at 0x92F9638 was first observed
  27547. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27548. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  27549. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  27550. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  27551. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27552. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27553. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27554. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27555. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  27556. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27557. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  27558. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  27559. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27560. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27561. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27562. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27563. ==18304==  Block was alloc'd by thread #27
  27564. ==18304==
  27565. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #50
  27566. ==18304== Locks held: 3, at addresses 0x12B7C550 0x12BB7D60 0x1303F698
  27567. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  27568. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  27569. ==18304==    by 0x9589636: sofia_handle_sip_i_invite (sofia.c:11470)
  27570. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  27571. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  27572. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  27573. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  27574. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  27575. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  27576. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  27577. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  27578. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  27579. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  27580. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  27581. ==18304==
  27582. ==18304== This conflicts with a previous write of size 8 by thread #27
  27583. ==18304== Locks held: 1, at address 0x92F9638
  27584. ==18304==    at 0x951A6B1: su_block_find (su_alloc.c:302)
  27585. ==18304==    by 0x951A6B1: su_realloc (su_alloc.c:1418)
  27586. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  27587. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  27588. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  27589. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  27590. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27591. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  27592. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  27593. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  27594. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  27595. ==18304==
  27596. ==18304== ----------------------------------------------------------------
  27597. ==18304==
  27598. ==18304==  Lock at 0x12B7C550 was first observed
  27599. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27600. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27601. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  27602. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27603. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27604. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27605. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27606. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27607. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27608. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27609. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27610. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27611. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  27612. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27613. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  27614. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  27615. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  27616. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  27617. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27618. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27619. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27620. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27621. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27622. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27623. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27624. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27625. ==18304==  Block was alloc'd by thread #14
  27626. ==18304==
  27627. ==18304==  Lock at 0x12BB7D60 was first observed
  27628. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27629. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  27630. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27631. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27632. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27633. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27634. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27635. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27636. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27637. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27638. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27639. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27640. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27641. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27642. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27643. ==18304==  Address 0x12bb7d60 is 0 bytes inside a block of size 80 alloc'd
  27644. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27645. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  27646. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27647. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27648. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27649. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27650. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27651. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27652. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27653. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27654. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27655. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27656. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27657. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27658. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27659. ==18304==  Block was alloc'd by thread #27
  27660. ==18304==
  27661. ==18304==  Lock at 0x1303F698 was first observed
  27662. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27663. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27664. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  27665. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  27666. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27667. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27668. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27669. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27670. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27671. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27672. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27673. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27674. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  27675. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27676. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  27677. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  27678. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  27679. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  27680. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27681. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27682. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27683. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27684. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27685. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27686. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27687. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27688. ==18304==  Block was alloc'd by thread #14
  27689. ==18304==
  27690. ==18304==  Lock at 0x92F9638 was first observed
  27691. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27692. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  27693. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  27694. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  27695. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27696. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27697. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27698. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27699. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  27700. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27701. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  27702. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  27703. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27704. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27705. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27706. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27707. ==18304==  Block was alloc'd by thread #27
  27708. ==18304==
  27709. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #50
  27710. ==18304== Locks held: 3, at addresses 0x12B7C550 0x12BB7D60 0x1303F698
  27711. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  27712. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  27713. ==18304==    by 0x9589636: sofia_handle_sip_i_invite (sofia.c:11470)
  27714. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  27715. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  27716. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  27717. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  27718. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  27719. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  27720. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  27721. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  27722. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  27723. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  27724. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  27725. ==18304==
  27726. ==18304== This conflicts with a previous write of size 8 by thread #27
  27727. ==18304== Locks held: 1, at address 0x92F9638
  27728. ==18304==    at 0x951A6B1: su_block_find (su_alloc.c:302)
  27729. ==18304==    by 0x951A6B1: su_realloc (su_alloc.c:1418)
  27730. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  27731. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  27732. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  27733. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  27734. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27735. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  27736. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  27737. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  27738. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  27739. ==18304==
  27740. ==18304== ----------------------------------------------------------------
  27741. ==18304==
  27742. ==18304==  Lock at 0x12B7C550 was first observed
  27743. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27744. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27745. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  27746. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27747. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27748. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27749. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27750. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27751. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27752. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27753. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27754. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27755. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  27756. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27757. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  27758. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  27759. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  27760. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  27761. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27762. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27763. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27764. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27765. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27766. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27767. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27768. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27769. ==18304==  Block was alloc'd by thread #14
  27770. ==18304==
  27771. ==18304==  Lock at 0x12BB7D60 was first observed
  27772. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27773. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  27774. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27775. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27776. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27777. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27778. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27779. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27780. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27781. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27782. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27783. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27784. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27785. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27786. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27787. ==18304==  Address 0x12bb7d60 is 0 bytes inside a block of size 80 alloc'd
  27788. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27789. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  27790. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27791. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27792. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27793. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27794. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27795. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27796. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27797. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27798. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27799. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27800. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27801. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27802. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27803. ==18304==  Block was alloc'd by thread #27
  27804. ==18304==
  27805. ==18304==  Lock at 0x1303F698 was first observed
  27806. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27807. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27808. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  27809. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  27810. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27811. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27812. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27813. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27814. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27815. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27816. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27817. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27818. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  27819. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27820. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  27821. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  27822. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  27823. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  27824. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27825. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27826. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27827. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27828. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27829. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27830. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27831. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27832. ==18304==  Block was alloc'd by thread #14
  27833. ==18304==
  27834. ==18304==  Lock at 0x92F9638 was first observed
  27835. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27836. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  27837. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  27838. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  27839. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27840. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27841. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27842. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27843. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  27844. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27845. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  27846. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  27847. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27848. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27849. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27850. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27851. ==18304==  Block was alloc'd by thread #27
  27852. ==18304==
  27853. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #50
  27854. ==18304== Locks held: 3, at addresses 0x12B7C550 0x12BB7D60 0x1303F698
  27855. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  27856. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  27857. ==18304==    by 0x9589636: sofia_handle_sip_i_invite (sofia.c:11470)
  27858. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  27859. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  27860. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  27861. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  27862. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  27863. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  27864. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  27865. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  27866. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  27867. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  27868. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  27869. ==18304==
  27870. ==18304== This conflicts with a previous write of size 8 by thread #27
  27871. ==18304== Locks held: 1, at address 0x92F9638
  27872. ==18304==    at 0x951A6BC: su_block_find (su_alloc.c:303)
  27873. ==18304==    by 0x951A6BC: su_realloc (su_alloc.c:1418)
  27874. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  27875. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  27876. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  27877. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  27878. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27879. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  27880. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  27881. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  27882. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  27883. ==18304==
  27884. ==18304== ----------------------------------------------------------------
  27885. ==18304==
  27886. ==18304==  Lock at 0x12B7C550 was first observed
  27887. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27888. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27889. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  27890. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27891. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27892. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27893. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27894. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27895. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27896. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27897. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27898. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27899. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  27900. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27901. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  27902. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  27903. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  27904. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  27905. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27906. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27907. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27908. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27909. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27910. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27911. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27912. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27913. ==18304==  Block was alloc'd by thread #14
  27914. ==18304==
  27915. ==18304==  Lock at 0x12BB7D60 was first observed
  27916. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27917. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  27918. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27919. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27920. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27921. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27922. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27923. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27924. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27925. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27926. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27927. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27928. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27929. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27930. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27931. ==18304==  Address 0x12bb7d60 is 0 bytes inside a block of size 80 alloc'd
  27932. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27933. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  27934. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  27935. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  27936. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  27937. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  27938. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  27939. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  27940. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  27941. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  27942. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  27943. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  27944. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  27945. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  27946. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  27947. ==18304==  Block was alloc'd by thread #27
  27948. ==18304==
  27949. ==18304==  Lock at 0x1303F698 was first observed
  27950. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27951. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  27952. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  27953. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  27954. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27955. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27956. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27957. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27958. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27959. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27960. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27961. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27962. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  27963. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  27964. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  27965. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  27966. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  27967. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  27968. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  27969. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  27970. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  27971. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  27972. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  27973. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  27974. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27975. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27976. ==18304==  Block was alloc'd by thread #14
  27977. ==18304==
  27978. ==18304==  Lock at 0x92F9638 was first observed
  27979. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  27980. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  27981. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  27982. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  27983. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27984. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27985. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27986. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27987. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  27988. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  27989. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  27990. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  27991. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  27992. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  27993. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  27994. ==18304==    by 0x560E4CE: clone (clone.S:95)
  27995. ==18304==  Block was alloc'd by thread #27
  27996. ==18304==
  27997. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #50
  27998. ==18304== Locks held: 3, at addresses 0x12B7C550 0x12BB7D60 0x1303F698
  27999. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  28000. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  28001. ==18304==    by 0x9589636: sofia_handle_sip_i_invite (sofia.c:11470)
  28002. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  28003. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  28004. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  28005. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  28006. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  28007. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  28008. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  28009. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  28010. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  28011. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28012. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28013. ==18304==
  28014. ==18304== This conflicts with a previous write of size 8 by thread #27
  28015. ==18304== Locks held: 1, at address 0x92F9638
  28016. ==18304==    at 0x951A6BC: su_block_find (su_alloc.c:303)
  28017. ==18304==    by 0x951A6BC: su_realloc (su_alloc.c:1418)
  28018. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  28019. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  28020. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  28021. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  28022. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  28023. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  28024. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  28025. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  28026. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  28027. ==18304==
  28028. ==18304== ----------------------------------------------------------------
  28029. ==18304==
  28030. ==18304==  Lock at 0x12B7C550 was first observed
  28031. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28032. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28033. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  28034. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28035. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28036. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28037. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28038. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28039. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28040. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28041. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28042. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28043. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  28044. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28045. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28046. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28047. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28048. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  28049. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28050. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28051. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28052. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28053. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28054. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28055. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28056. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28057. ==18304==  Block was alloc'd by thread #14
  28058. ==18304==
  28059. ==18304==  Lock at 0x12BB7D60 was first observed
  28060. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28061. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  28062. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  28063. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  28064. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  28065. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  28066. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  28067. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  28068. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  28069. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  28070. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  28071. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  28072. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  28073. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  28074. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  28075. ==18304==  Address 0x12bb7d60 is 0 bytes inside a block of size 80 alloc'd
  28076. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  28077. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  28078. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  28079. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  28080. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  28081. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  28082. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  28083. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  28084. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  28085. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  28086. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  28087. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  28088. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  28089. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  28090. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  28091. ==18304==  Block was alloc'd by thread #27
  28092. ==18304==
  28093. ==18304==  Lock at 0x1303F698 was first observed
  28094. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28095. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28096. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  28097. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  28098. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28099. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28100. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28101. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28102. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28103. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28104. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28105. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28106. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  28107. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28108. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  28109. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  28110. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  28111. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  28112. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28113. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28114. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28115. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28116. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28117. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28118. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28119. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28120. ==18304==  Block was alloc'd by thread #14
  28121. ==18304==
  28122. ==18304==  Lock at 0x92F9638 was first observed
  28123. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28124. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  28125. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  28126. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  28127. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  28128. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28129. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28130. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28131. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  28132. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  28133. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  28134. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  28135. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  28136. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28137. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28138. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28139. ==18304==  Block was alloc'd by thread #27
  28140. ==18304==
  28141. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #50
  28142. ==18304== Locks held: 3, at addresses 0x12B7C550 0x12BB7D60 0x1303F698
  28143. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  28144. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  28145. ==18304==    by 0x9589636: sofia_handle_sip_i_invite (sofia.c:11470)
  28146. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  28147. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  28148. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  28149. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  28150. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  28151. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  28152. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  28153. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  28154. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  28155. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28156. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28157. ==18304==
  28158. ==18304== This conflicts with a previous write of size 8 by thread #27
  28159. ==18304== Locks held: 2, at address 0x92F9638 (and 1 that can't be shown)
  28160. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  28161. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  28162. ==18304==    by 0x94D2E1C: nua_dialog_store_peer_info (nua_dialog.c:161)
  28163. ==18304==    by 0x94D2E62: nua_dialog_zap (nua_dialog.c:211)
  28164. ==18304==    by 0x94D36F4: nua_dialog_remove (nua_dialog.c:230)
  28165. ==18304==    by 0x94D36F4: nua_dialog_remove (nua_dialog.c:225)
  28166. ==18304==    by 0x94D36F4: nua_dialog_deinit (nua_dialog.c:491)
  28167. ==18304==    by 0x94E908C: nh_destroy (nua_stack.c:994)
  28168. ==18304==    by 0x94E908C: nh_destroy (nua_stack.c:975)
  28169. ==18304==    by 0x94EA47F: nua_stack_destroy_handle (nua_stack.c:938)
  28170. ==18304==    by 0x94EA47F: nua_stack_signal (nua_stack.c:661)
  28171. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28172. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  28173. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  28174. ==18304==
  28175. ==18304== ----------------------------------------------------------------
  28176. ==18304==
  28177. ==18304==  Lock at 0x12B7C550 was first observed
  28178. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28179. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28180. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  28181. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28182. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28183. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28184. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28185. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28186. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28187. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28188. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28189. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28190. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  28191. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28192. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28193. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28194. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28195. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  28196. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28197. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28198. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28199. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28200. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28201. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28202. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28203. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28204. ==18304==  Block was alloc'd by thread #14
  28205. ==18304==
  28206. ==18304==  Lock at 0x12BB7D60 was first observed
  28207. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28208. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  28209. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  28210. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  28211. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  28212. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  28213. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  28214. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  28215. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  28216. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  28217. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  28218. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  28219. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  28220. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  28221. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  28222. ==18304==  Address 0x12bb7d60 is 0 bytes inside a block of size 80 alloc'd
  28223. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  28224. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  28225. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  28226. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  28227. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  28228. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  28229. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  28230. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  28231. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  28232. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  28233. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  28234. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  28235. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  28236. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  28237. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  28238. ==18304==  Block was alloc'd by thread #27
  28239. ==18304==
  28240. ==18304==  Lock at 0x1303F698 was first observed
  28241. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28242. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28243. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  28244. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  28245. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28246. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28247. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28248. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28249. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28250. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28251. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28252. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28253. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  28254. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28255. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  28256. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  28257. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  28258. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  28259. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28260. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28261. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28262. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28263. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28264. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28265. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28266. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28267. ==18304==  Block was alloc'd by thread #14
  28268. ==18304==
  28269. ==18304==  Lock at 0x92F9638 was first observed
  28270. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28271. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  28272. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  28273. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  28274. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  28275. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28276. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28277. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28278. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  28279. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  28280. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  28281. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  28282. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  28283. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28284. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28285. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28286. ==18304==  Block was alloc'd by thread #27
  28287. ==18304==
  28288. ==18304== Possible data race during write of size 8 at 0x963A090 by thread #50
  28289. ==18304== Locks held: 3, at addresses 0x12B7C550 0x12BB7D60 0x1303F698
  28290. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  28291. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  28292. ==18304==    by 0x9589636: sofia_handle_sip_i_invite (sofia.c:11470)
  28293. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  28294. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  28295. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  28296. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  28297. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  28298. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  28299. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  28300. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  28301. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  28302. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28303. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28304. ==18304==
  28305. ==18304== This conflicts with a previous read of size 8 by thread #27
  28306. ==18304== Locks held: 1, at address 0x92F9638
  28307. ==18304==    at 0x951A6FD: su_block_find (su_alloc.c:312)
  28308. ==18304==    by 0x951A6FD: su_realloc (su_alloc.c:1418)
  28309. ==18304==    by 0x9498D7D: msg_buf_commit (msg_parser.c:218)
  28310. ==18304==    by 0x953DC6A: tport_recv_dgram (tport_type_udp.c:372)
  28311. ==18304==    by 0x9533F87: tport_recv_data (tport.c:2879)
  28312. ==18304==    by 0x9533F87: tport_recv_event (tport.c:2893)
  28313. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  28314. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  28315. ==18304==    by 0x951B821: su_base_port_run (su_base_port.c:349)
  28316. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  28317. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  28318. ==18304==
  28319. ==18304== ----------------------------------------------------------------
  28320. ==18304==
  28321. ==18304==  Lock at 0x12B7C550 was first observed
  28322. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28323. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28324. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  28325. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28326. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28327. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28328. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28329. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28330. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28331. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28332. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28333. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28334. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  28335. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28336. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28337. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28338. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28339. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  28340. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28341. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28342. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28343. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28344. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28345. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28346. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28347. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28348. ==18304==  Block was alloc'd by thread #14
  28349. ==18304==
  28350. ==18304==  Lock at 0x12BB7D60 was first observed
  28351. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28352. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  28353. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  28354. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  28355. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  28356. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  28357. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  28358. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  28359. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  28360. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  28361. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  28362. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  28363. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  28364. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  28365. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  28366. ==18304==  Address 0x12bb7d60 is 0 bytes inside a block of size 80 alloc'd
  28367. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  28368. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  28369. ==18304==    by 0x94D240F: nh_create_handle (nua_common.c:127)
  28370. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  28371. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  28372. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  28373. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  28374. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  28375. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  28376. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  28377. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  28378. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  28379. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  28380. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  28381. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  28382. ==18304==  Block was alloc'd by thread #27
  28383. ==18304==
  28384. ==18304==  Lock at 0x1303F698 was first observed
  28385. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28386. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28387. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  28388. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  28389. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28390. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28391. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28392. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28393. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28394. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28395. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28396. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28397. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  28398. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28399. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  28400. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  28401. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  28402. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  28403. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28404. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28405. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28406. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28407. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28408. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28409. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28410. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28411. ==18304==  Block was alloc'd by thread #14
  28412. ==18304==
  28413. ==18304==  Lock at 0x92F9638 was first observed
  28414. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28415. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  28416. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  28417. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  28418. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  28419. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28420. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28421. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28422. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  28423. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  28424. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  28425. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  28426. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  28427. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28428. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28429. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28430. ==18304==  Block was alloc'd by thread #27
  28431. ==18304==
  28432. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #50
  28433. ==18304== Locks held: 3, at addresses 0x12B7C550 0x12BB7D60 0x1303F698
  28434. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  28435. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  28436. ==18304==    by 0x959326C: sofia_process_dispatch_event (sofia.c:2274)
  28437. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  28438. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  28439. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  28440. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  28441. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  28442. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  28443. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  28444. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28445. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28446. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28447. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28448. ==18304==
  28449. ==18304== This conflicts with a previous write of size 8 by thread #27
  28450. ==18304== Locks held: 2, at address 0x92F9638 (and 1 that can't be shown)
  28451. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  28452. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  28453. ==18304==    by 0x94D2E1C: nua_dialog_store_peer_info (nua_dialog.c:161)
  28454. ==18304==    by 0x94D2E62: nua_dialog_zap (nua_dialog.c:211)
  28455. ==18304==    by 0x94D36F4: nua_dialog_remove (nua_dialog.c:230)
  28456. ==18304==    by 0x94D36F4: nua_dialog_remove (nua_dialog.c:225)
  28457. ==18304==    by 0x94D36F4: nua_dialog_deinit (nua_dialog.c:491)
  28458. ==18304==    by 0x94E908C: nh_destroy (nua_stack.c:994)
  28459. ==18304==    by 0x94E908C: nh_destroy (nua_stack.c:975)
  28460. ==18304==    by 0x94EA47F: nua_stack_destroy_handle (nua_stack.c:938)
  28461. ==18304==    by 0x94EA47F: nua_stack_signal (nua_stack.c:661)
  28462. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28463. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  28464. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  28465. ==18304==
  28466. ==18304== ----------------------------------------------------------------
  28467. ==18304==
  28468. ==18304==  Lock at 0x12B7C550 was first observed
  28469. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28470. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28471. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  28472. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28473. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28474. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28475. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28476. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28477. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28478. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28479. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28480. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28481. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  28482. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28483. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28484. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28485. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28486. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  28487. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28488. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28489. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28490. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28491. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28492. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28493. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28494. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28495. ==18304==  Block was alloc'd by thread #14
  28496. ==18304==
  28497. ==18304==  Lock at 0x1303F698 was first observed
  28498. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28499. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28500. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  28501. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  28502. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28503. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28504. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28505. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28506. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28507. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28508. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28509. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28510. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  28511. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28512. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  28513. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  28514. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  28515. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  28516. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28517. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28518. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28519. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28520. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28521. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28522. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28523. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28524. ==18304==  Block was alloc'd by thread #14
  28525. ==18304==
  28526. ==18304== Possible data race during write of size 8 at 0x9338B60 by thread #50
  28527. ==18304== Locks held: 2, at addresses 0x12B7C550 0x1303F698
  28528. ==18304==    at 0x958ACA2: our_sofia_event_callback (sofia.c:1500)
  28529. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  28530. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  28531. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  28532. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  28533. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  28534. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:925)
  28535. ==18304==    by 0x4DA6B1D: switch_ivr_parse_all_events (switch_ivr.c:913)
  28536. ==18304==    by 0x4CF471A: switch_core_session_run (switch_core_state_machine.c:686)
  28537. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28538. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28539. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28540. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28541. ==18304==
  28542. ==18304== This conflicts with a previous write of size 8 by thread #15
  28543. ==18304== Locks held: none
  28544. ==18304==    at 0x958ACA2: our_sofia_event_callback (sofia.c:1500)
  28545. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  28546. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  28547. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  28548. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28549. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28550. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28551. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28552. ==18304==  Address 0x9338b60 is 7,088 bytes inside a block of size 8,192 alloc'd
  28553. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28554. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28555. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28556. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28557. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  28558. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  28559. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  28560. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  28561. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  28562. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  28563. ==18304==    by 0x10AEC7: main (switch.c:1200)
  28564. ==18304==  Block was alloc'd by thread #1
  28565. ==18304==
  28566. ==18304== ----------------------------------------------------------------
  28567. ==18304==
  28568. ==18304== Thread #50: lock order "0x1303F698 before 0x12B7C550" violated
  28569. ==18304==
  28570. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C550
  28571. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  28572. ==18304==    by 0x4CF4411: switch_core_session_run (switch_core_state_machine.c:565)
  28573. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28574. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28575. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28576. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28577. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28578. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28579. ==18304==
  28580. ==18304==  followed by a later acquisition of lock at 0x1303F698
  28581. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  28582. ==18304==    by 0x95517C8: sofia_on_init (mod_sofia.c:88)
  28583. ==18304==    by 0x4CF57AC: switch_core_session_run (switch_core_state_machine.c:628)
  28584. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28585. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28586. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28587. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28588. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28589. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28590. ==18304==
  28591. ==18304==  Lock at 0x1303F698 was first observed
  28592. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28593. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28594. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  28595. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  28596. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28597. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28598. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28599. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28600. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28601. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28602. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28603. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28604. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  28605. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28606. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  28607. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  28608. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  28609. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  28610. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28611. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28612. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28613. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28614. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28615. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28616. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28617. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28618. ==18304==  Block was alloc'd by thread #14
  28619. ==18304==
  28620. ==18304==  Lock at 0x12B7C550 was first observed
  28621. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28622. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28623. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  28624. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28625. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28626. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28627. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28628. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28629. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28630. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28631. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28632. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28633. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  28634. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28635. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28636. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28637. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28638. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  28639. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28640. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28641. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28642. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28643. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28644. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28645. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28646. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28647. ==18304==  Block was alloc'd by thread #14
  28648. ==18304==
  28649. ==18304==
  28650. ==18304== ----------------------------------------------------------------
  28651. ==18304==
  28652. ==18304==  Lock at 0x12B7C550 was first observed
  28653. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28654. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28655. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  28656. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28657. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28658. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28659. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28660. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28661. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28662. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28663. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28664. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28665. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  28666. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28667. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28668. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28669. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28670. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  28671. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28672. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28673. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28674. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28675. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28676. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28677. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28678. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28679. ==18304==  Block was alloc'd by thread #14
  28680. ==18304==
  28681. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  28682. ==18304== Locks held: 1, at address 0x12B7C550
  28683. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  28684. ==18304==    by 0x4DBB37F: switch_xml_std_datetime_check (switch_xml.c:3107)
  28685. ==18304==    by 0x132F0960: parse_exten (mod_dialplan_xml.c:179)
  28686. ==18304==    by 0x132F2811: dialplan_hunt (mod_dialplan_xml.c:699)
  28687. ==18304==    by 0x4CF5C9D: switch_core_standard_on_routing (switch_core_state_machine.c:282)
  28688. ==18304==    by 0x4CF5C9D: switch_core_session_run (switch_core_state_machine.c:644)
  28689. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28690. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28691. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28692. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28693. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28694. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28695. ==18304==
  28696. ==18304== This conflicts with a previous write of size 8 by thread #44
  28697. ==18304== Locks held: none
  28698. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  28699. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  28700. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28701. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28702. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28703. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28704. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  28705. ==18304==
  28706. ==18304== ----------------------------------------------------------------
  28707. ==18304==
  28708. ==18304== Thread #50: lock order "0x1301BA60 before 0x1301B968" violated
  28709. ==18304==
  28710. ==18304== Observed (incorrect) order is: acquisition of lock at 0x1301B968
  28711. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  28712. ==18304==    by 0x4D47CCF: switch_loadable_module_get_dialplan_interface (switch_loadable_module.c:2625)
  28713. ==18304==    by 0x4CF5D2B: switch_core_standard_on_routing (switch_core_state_machine.c:275)
  28714. ==18304==    by 0x4CF5D2B: switch_core_session_run (switch_core_state_machine.c:644)
  28715. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28716. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28717. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28718. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28719. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28720. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28721. ==18304==
  28722. ==18304==  followed by a later acquisition of lock at 0x1301BA60
  28723. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  28724. ==18304==    by 0x4CF5CA9: switch_core_standard_on_routing (switch_core_state_machine.c:283)
  28725. ==18304==    by 0x4CF5CA9: switch_core_session_run (switch_core_state_machine.c:644)
  28726. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28727. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28728. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28729. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28730. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28731. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28732. ==18304==
  28733. ==18304== Required order was established by acquisition of lock at 0x1301BA60
  28734. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  28735. ==18304==    by 0x4D47CBF: switch_loadable_module_get_dialplan_interface (switch_loadable_module.c:2625)
  28736. ==18304==    by 0x4CF5D2B: switch_core_standard_on_routing (switch_core_state_machine.c:275)
  28737. ==18304==    by 0x4CF5D2B: switch_core_session_run (switch_core_state_machine.c:644)
  28738. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28739. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28740. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28741. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28742. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28743. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28744. ==18304==
  28745. ==18304==  followed by a later acquisition of lock at 0x1301B968
  28746. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  28747. ==18304==    by 0x4D47CCF: switch_loadable_module_get_dialplan_interface (switch_loadable_module.c:2625)
  28748. ==18304==    by 0x4CF5D2B: switch_core_standard_on_routing (switch_core_state_machine.c:275)
  28749. ==18304==    by 0x4CF5D2B: switch_core_session_run (switch_core_state_machine.c:644)
  28750. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28751. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28752. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28753. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28754. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28755. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28756. ==18304==
  28757. ==18304==  Lock at 0x1301BA60 was first observed
  28758. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28759. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28760. ==18304==    by 0x4D4A140: switch_loadable_module_create_interface (switch_loadable_module.c:3152)
  28761. ==18304==    by 0x132F0412: mod_dialplan_xml_load (mod_dialplan_xml.c:722)
  28762. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  28763. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  28764. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  28765. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  28766. ==18304==    by 0x10AEC7: main (switch.c:1200)
  28767. ==18304==  Address 0x1301ba60 is 768 bytes inside a block of size 8,192 alloc'd
  28768. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28769. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28770. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28771. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28772. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  28773. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  28774. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  28775. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  28776. ==18304==    by 0x10AEC7: main (switch.c:1200)
  28777. ==18304==  Block was alloc'd by thread #1
  28778. ==18304==
  28779. ==18304==  Lock at 0x1301B968 was first observed
  28780. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  28781. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  28782. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  28783. ==18304==    by 0x132F0402: mod_dialplan_xml_load (mod_dialplan_xml.c:721)
  28784. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  28785. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  28786. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  28787. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  28788. ==18304==    by 0x10AEC7: main (switch.c:1200)
  28789. ==18304==  Address 0x1301b968 is 520 bytes inside a block of size 8,192 alloc'd
  28790. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28791. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28792. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28793. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28794. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  28795. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  28796. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  28797. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  28798. ==18304==    by 0x10AEC7: main (switch.c:1200)
  28799. ==18304==  Block was alloc'd by thread #1
  28800. ==18304==
  28801. ==18304==
  28802. ==18304== ----------------------------------------------------------------
  28803. ==18304==
  28804. ==18304== Thread #50: lock order "0x12B7C888 before 0x12B7C550" violated
  28805. ==18304==
  28806. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C550
  28807. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  28808. ==18304==    by 0x4CF4411: switch_core_session_run (switch_core_state_machine.c:565)
  28809. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28810. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28811. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28812. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28813. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28814. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28815. ==18304==
  28816. ==18304==  followed by a later acquisition of lock at 0x12B7C888
  28817. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  28818. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  28819. ==18304==    by 0x4CED23C: switch_core_session_perform_receive_message (switch_core_session.c:851)
  28820. ==18304==    by 0x4CF1613: switch_core_session_exec (switch_core_session.c:2889)
  28821. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  28822. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  28823. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  28824. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28825. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28826. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28827. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28828. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28829. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28830. ==18304==
  28831. ==18304== Required order was established by acquisition of lock at 0x12B7C888
  28832. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  28833. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  28834. ==18304==    by 0x4CEAEA1: switch_core_session_perform_locate (switch_core_session.c:135)
  28835. ==18304==    by 0x9593946: sofia_event_callback (sofia.c:2648)
  28836. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28837. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28838. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28839. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28840. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28841. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28842. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28843. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28844. ==18304==
  28845. ==18304==  followed by a later acquisition of lock at 0x12B7C550
  28846. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  28847. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  28848. ==18304==    by 0x4CEC3F0: switch_core_session_wake_session_thread (switch_core_session.c:1435)
  28849. ==18304==    by 0x4CEC674: switch_core_session_queue_signal_data (switch_core_session.c:1132)
  28850. ==18304==    by 0x959395D: sofia_event_callback (sofia.c:2649)
  28851. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28852. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28853. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28854. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28855. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28856. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28857. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28858. ==18304==
  28859. ==18304==  Lock at 0x12B7C888 was first observed
  28860. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  28861. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  28862. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  28863. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28864. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28865. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28866. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28867. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28868. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28869. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28870. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28871. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28872. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  28873. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28874. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28875. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28876. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28877. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  28878. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28879. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28880. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28881. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28882. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28883. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28884. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28885. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28886. ==18304==  Block was alloc'd by thread #14
  28887. ==18304==
  28888. ==18304==  Lock at 0x12B7C550 was first observed
  28889. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28890. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28891. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  28892. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28893. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28894. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28895. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28896. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28897. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28898. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28899. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28900. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28901. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  28902. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28903. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28904. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28905. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28906. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  28907. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28908. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28909. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28910. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28911. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28912. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28913. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28914. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28915. ==18304==  Block was alloc'd by thread #14
  28916. ==18304==
  28917. ==18304==
  28918. ==18304== ----------------------------------------------------------------
  28919. ==18304==
  28920. ==18304== Thread #50: lock order "0x1303F698 before 0x12B7C888" violated
  28921. ==18304==
  28922. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C888
  28923. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  28924. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  28925. ==18304==    by 0x4CED23C: switch_core_session_perform_receive_message (switch_core_session.c:851)
  28926. ==18304==    by 0x4CF1613: switch_core_session_exec (switch_core_session.c:2889)
  28927. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  28928. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  28929. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  28930. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28931. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28932. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28933. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28934. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28935. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28936. ==18304==
  28937. ==18304==  followed by a later acquisition of lock at 0x1303F698
  28938. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  28939. ==18304==    by 0x9559E2B: sofia_receive_message (mod_sofia.c:1509)
  28940. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  28941. ==18304==    by 0x4CF1613: switch_core_session_exec (switch_core_session.c:2889)
  28942. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  28943. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  28944. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  28945. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  28946. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  28947. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28948. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28949. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28950. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28951. ==18304==
  28952. ==18304==  Lock at 0x1303F698 was first observed
  28953. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  28954. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  28955. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  28956. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  28957. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28958. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28959. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28960. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28961. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28962. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28963. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28964. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28965. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  28966. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28967. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  28968. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  28969. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  28970. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  28971. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28972. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28973. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28974. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28975. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28976. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28977. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28978. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28979. ==18304==  Block was alloc'd by thread #14
  28980. ==18304==
  28981. ==18304==  Lock at 0x12B7C888 was first observed
  28982. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  28983. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  28984. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  28985. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  28986. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  28987. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  28988. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  28989. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  28990. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  28991. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  28992. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  28993. ==18304==    by 0x560E4CE: clone (clone.S:95)
  28994. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  28995. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  28996. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  28997. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  28998. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  28999. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  29000. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29001. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29002. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29003. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29004. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29005. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29006. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29007. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29008. ==18304==  Block was alloc'd by thread #14
  29009. ==18304==
  29010. ==18304==
  29011. ==18304== ----------------------------------------------------------------
  29012. ==18304==
  29013. ==18304==  Lock at 0x72FFE68 was first observed
  29014. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29015. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29016. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  29017. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  29018. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29019. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  29020. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29021. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  29022. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  29023. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  29024. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  29025. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  29026. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  29027. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29028. ==18304==  Block was alloc'd by thread #1
  29029. ==18304==
  29030. ==18304==  Lock at 0x12B7C460 was first observed
  29031. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29032. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29033. ==18304==    by 0x4CC7533: switch_channel_alloc (switch_channel.c:460)
  29034. ==18304==    by 0x4CECAE9: switch_core_session_request_uuid (switch_core_session.c:2382)
  29035. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29036. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29037. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29038. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29039. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29040. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29041. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29042. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29043. ==18304==  Address 0x12b7c460 is 2,240 bytes inside a block of size 8,192 alloc'd
  29044. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29045. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29046. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29047. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29048. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  29049. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29050. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29051. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29052. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29053. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29054. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29055. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29056. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29057. ==18304==  Block was alloc'd by thread #14
  29058. ==18304==
  29059. ==18304==  Lock at 0x12B7C4B0 was first observed
  29060. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29061. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29062. ==18304==    by 0x4CC7547: switch_channel_alloc (switch_channel.c:461)
  29063. ==18304==    by 0x4CECAE9: switch_core_session_request_uuid (switch_core_session.c:2382)
  29064. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29065. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29066. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29067. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29068. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29069. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29070. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29071. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29072. ==18304==  Address 0x12b7c4b0 is 2,320 bytes inside a block of size 8,192 alloc'd
  29073. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29074. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29075. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29076. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29077. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  29078. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29079. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29080. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29081. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29082. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29083. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29084. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29085. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29086. ==18304==  Block was alloc'd by thread #14
  29087. ==18304==
  29088. ==18304==  Lock at 0x12B7C550 was first observed
  29089. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29090. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29091. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  29092. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29093. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29094. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29095. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29096. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29097. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29098. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29099. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29100. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29101. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  29102. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29103. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29104. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29105. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29106. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  29107. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29108. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29109. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29110. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29111. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29112. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29113. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29114. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29115. ==18304==  Block was alloc'd by thread #14
  29116. ==18304==
  29117. ==18304== Possible data race during read of size 4 at 0x12B7BD00 by thread #3
  29118. ==18304== Locks held: 1, at address 0x72FFE68
  29119. ==18304==    at 0x4CC23F5: switch_channel_get_state (switch_channel.c:2175)
  29120. ==18304==    by 0x4CFA18E: switch_core_session_read_lock (switch_core_rwlock.c:88)
  29121. ==18304==    by 0x4CEAEA1: switch_core_session_perform_locate (switch_core_session.c:135)
  29122. ==18304==    by 0x4DAE28B: switch_ivr_uuid_exists (switch_ivr.c:3973)
  29123. ==18304==    by 0x4CE5E65: core_event_handler (switch_core_sqldb.c:2458)
  29124. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  29125. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  29126. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29127. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29128. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29129. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29130. ==18304==
  29131. ==18304== This conflicts with a previous write of size 4 by thread #50
  29132. ==18304== Locks held: 3, at addresses 0x12B7C460 0x12B7C4B0 0x12B7C550
  29133. ==18304==    at 0x4CC407B: careful_set (switch_channel.c:2276)
  29134. ==18304==    by 0x4CC407B: switch_channel_perform_set_state (switch_channel.c:2551)
  29135. ==18304==    by 0x4CF6CB3: switch_core_standard_on_routing (switch_core_state_machine.c:287)
  29136. ==18304==    by 0x4CF6CB3: switch_core_session_run (switch_core_state_machine.c:644)
  29137. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29138. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29139. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29140. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29141. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29142. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29143. ==18304==  Address 0x12b7bd00 is 352 bytes inside a block of size 8,192 alloc'd
  29144. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29145. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29146. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29147. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29148. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  29149. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29150. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29151. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29152. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29153. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29154. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29155. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29156. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29157. ==18304==  Block was alloc'd by thread #14
  29158. ==18304==
  29159. ==18304== ----------------------------------------------------------------
  29160. ==18304==
  29161. ==18304== Thread #50: lock order "0x12F904F0 before 0x12F902C8" violated
  29162. ==18304==
  29163. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12F902C8
  29164. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  29165. ==18304==    by 0x4D47DAF: switch_loadable_module_get_application_interface (switch_loadable_module.c:2627)
  29166. ==18304==    by 0x4CF1D08: switch_core_session_execute_application_get_flags (switch_core_session.c:2696)
  29167. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29168. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29169. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29170. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29171. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29172. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29173. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29174. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29175. ==18304==
  29176. ==18304==  followed by a later acquisition of lock at 0x12F904F0
  29177. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29178. ==18304==    by 0x4CF1CB7: switch_core_session_execute_application_get_flags (switch_core_session.c:2760)
  29179. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29180. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29181. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29182. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29183. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29184. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29185. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29186. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29187. ==18304==
  29188. ==18304== Required order was established by acquisition of lock at 0x12F904F0
  29189. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29190. ==18304==    by 0x4D47D9F: switch_loadable_module_get_application_interface (switch_loadable_module.c:2627)
  29191. ==18304==    by 0x4CF1D08: switch_core_session_execute_application_get_flags (switch_core_session.c:2696)
  29192. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29193. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29194. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29195. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29196. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29197. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29198. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29199. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29200. ==18304==
  29201. ==18304==  followed by a later acquisition of lock at 0x12F902C8
  29202. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  29203. ==18304==    by 0x4D47DAF: switch_loadable_module_get_application_interface (switch_loadable_module.c:2627)
  29204. ==18304==    by 0x4CF1D08: switch_core_session_execute_application_get_flags (switch_core_session.c:2696)
  29205. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29206. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29207. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29208. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29209. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29210. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29211. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29212. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29213. ==18304==
  29214. ==18304==  Lock at 0x12F904F0 was first observed
  29215. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29216. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29217. ==18304==    by 0x4D4A0B0: switch_loadable_module_create_interface (switch_loadable_module.c:3140)
  29218. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:984)
  29219. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:952)
  29220. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29221. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29222. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29223. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29224. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29225. ==18304==  Address 0x12f904f0 is 1,344 bytes inside a block of size 8,192 alloc'd
  29226. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29227. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29228. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29229. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29230. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  29231. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29232. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29233. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29234. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29235. ==18304==  Block was alloc'd by thread #1
  29236. ==18304==
  29237. ==18304==  Lock at 0x12F902C8 was first observed
  29238. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  29239. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  29240. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  29241. ==18304==    by 0xB96F6A9: mod_hash_load (mod_hash.c:976)
  29242. ==18304==    by 0xB96F6A9: mod_hash_load (mod_hash.c:952)
  29243. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29244. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29245. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29246. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29247. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29248. ==18304==  Address 0x12f902c8 is 792 bytes inside a block of size 8,192 alloc'd
  29249. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29250. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29251. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29252. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29253. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  29254. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29255. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29256. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29257. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29258. ==18304==  Block was alloc'd by thread #1
  29259. ==18304==
  29260. ==18304==
  29261. ==18304== ----------------------------------------------------------------
  29262. ==18304==
  29263. ==18304== Thread #50: lock order "0x12F904F0 before 0x12B7C550" violated
  29264. ==18304==
  29265. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C550
  29266. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29267. ==18304==    by 0x4CF4411: switch_core_session_run (switch_core_state_machine.c:565)
  29268. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29269. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29270. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29271. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29272. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29273. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29274. ==18304==
  29275. ==18304==  followed by a later acquisition of lock at 0x12F904F0
  29276. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29277. ==18304==    by 0x4D47D9F: switch_loadable_module_get_application_interface (switch_loadable_module.c:2627)
  29278. ==18304==    by 0x4CF1D08: switch_core_session_execute_application_get_flags (switch_core_session.c:2696)
  29279. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29280. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29281. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29282. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29283. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29284. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29285. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29286. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29287. ==18304==
  29288. ==18304==  Lock at 0x12F904F0 was first observed
  29289. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29290. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29291. ==18304==    by 0x4D4A0B0: switch_loadable_module_create_interface (switch_loadable_module.c:3140)
  29292. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:984)
  29293. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:952)
  29294. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29295. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29296. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29297. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29298. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29299. ==18304==  Address 0x12f904f0 is 1,344 bytes inside a block of size 8,192 alloc'd
  29300. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29301. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29302. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29303. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29304. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  29305. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29306. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29307. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29308. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29309. ==18304==  Block was alloc'd by thread #1
  29310. ==18304==
  29311. ==18304==  Lock at 0x12B7C550 was first observed
  29312. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29313. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29314. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  29315. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29316. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29317. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29318. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29319. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29320. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29321. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29322. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29323. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29324. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  29325. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29326. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29327. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29328. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29329. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  29330. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29331. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29332. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29333. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29334. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29335. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29336. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29337. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29338. ==18304==  Block was alloc'd by thread #14
  29339. ==18304==
  29340. ==18304==
  29341. ==18304== ----------------------------------------------------------------
  29342. ==18304==
  29343. ==18304== Thread #50: lock order "0x12F902C8 before 0x12F904F0" violated
  29344. ==18304==
  29345. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12F904F0
  29346. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29347. ==18304==    by 0x4D47D9F: switch_loadable_module_get_application_interface (switch_loadable_module.c:2627)
  29348. ==18304==    by 0x4CF1D08: switch_core_session_execute_application_get_flags (switch_core_session.c:2696)
  29349. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29350. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29351. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29352. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29353. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29354. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29355. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29356. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29357. ==18304==
  29358. ==18304==  followed by a later acquisition of lock at 0x12F902C8
  29359. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  29360. ==18304==    by 0x4D47DAF: switch_loadable_module_get_application_interface (switch_loadable_module.c:2627)
  29361. ==18304==    by 0x4CF1D08: switch_core_session_execute_application_get_flags (switch_core_session.c:2696)
  29362. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29363. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29364. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29365. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29366. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29367. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29368. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29369. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29370. ==18304==
  29371. ==18304== Required order was established by acquisition of lock at 0x12F902C8
  29372. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  29373. ==18304==    by 0x4D47DAF: switch_loadable_module_get_application_interface (switch_loadable_module.c:2627)
  29374. ==18304==    by 0x4CF1D08: switch_core_session_execute_application_get_flags (switch_core_session.c:2696)
  29375. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29376. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29377. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29378. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29379. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29380. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29381. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29382. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29383. ==18304==
  29384. ==18304==  followed by a later acquisition of lock at 0x12F904F0
  29385. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29386. ==18304==    by 0x4CF1CB7: switch_core_session_execute_application_get_flags (switch_core_session.c:2760)
  29387. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29388. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29389. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29390. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29391. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29392. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29393. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29394. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29395. ==18304==
  29396. ==18304==  Lock at 0x12F902C8 was first observed
  29397. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  29398. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  29399. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  29400. ==18304==    by 0xB96F6A9: mod_hash_load (mod_hash.c:976)
  29401. ==18304==    by 0xB96F6A9: mod_hash_load (mod_hash.c:952)
  29402. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29403. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29404. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29405. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29406. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29407. ==18304==  Address 0x12f902c8 is 792 bytes inside a block of size 8,192 alloc'd
  29408. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29409. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29410. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29411. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29412. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  29413. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29414. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29415. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29416. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29417. ==18304==  Block was alloc'd by thread #1
  29418. ==18304==
  29419. ==18304==  Lock at 0x12F904F0 was first observed
  29420. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29421. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29422. ==18304==    by 0x4D4A0B0: switch_loadable_module_create_interface (switch_loadable_module.c:3140)
  29423. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:984)
  29424. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:952)
  29425. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29426. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29427. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29428. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29429. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29430. ==18304==  Address 0x12f904f0 is 1,344 bytes inside a block of size 8,192 alloc'd
  29431. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29432. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29433. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29434. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29435. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  29436. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29437. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29438. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29439. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29440. ==18304==  Block was alloc'd by thread #1
  29441. ==18304==
  29442. ==18304==
  29443. ==18304== ----------------------------------------------------------------
  29444. ==18304==
  29445. ==18304== Thread #50: lock order "0x12F90490 before 0x12F904F0" violated
  29446. ==18304==
  29447. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12F904F0
  29448. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29449. ==18304==    by 0x4D47D9F: switch_loadable_module_get_application_interface (switch_loadable_module.c:2627)
  29450. ==18304==    by 0x4CF1D08: switch_core_session_execute_application_get_flags (switch_core_session.c:2696)
  29451. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29452. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29453. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29454. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29455. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29456. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29457. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29458. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29459. ==18304==
  29460. ==18304==  followed by a later acquisition of lock at 0x12F90490
  29461. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  29462. ==18304==    by 0x4D47DB8: switch_loadable_module_get_application_interface (switch_loadable_module.c:2627)
  29463. ==18304==    by 0x4CF1D08: switch_core_session_execute_application_get_flags (switch_core_session.c:2696)
  29464. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29465. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29466. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29467. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29468. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29469. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29470. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29471. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29472. ==18304==
  29473. ==18304== Required order was established by acquisition of lock at 0x12F90490
  29474. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  29475. ==18304==    by 0x4D47DB8: switch_loadable_module_get_application_interface (switch_loadable_module.c:2627)
  29476. ==18304==    by 0x4CF1D08: switch_core_session_execute_application_get_flags (switch_core_session.c:2696)
  29477. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29478. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29479. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29480. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29481. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29482. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29483. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29484. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29485. ==18304==
  29486. ==18304==  followed by a later acquisition of lock at 0x12F904F0
  29487. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29488. ==18304==    by 0x4CF1CB7: switch_core_session_execute_application_get_flags (switch_core_session.c:2760)
  29489. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29490. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29491. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29492. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29493. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29494. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29495. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29496. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29497. ==18304==
  29498. ==18304==  Lock at 0x12F90490 was first observed
  29499. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  29500. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  29501. ==18304==    by 0x4D4A09B: switch_loadable_module_create_interface (switch_loadable_module.c:3140)
  29502. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:984)
  29503. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:952)
  29504. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29505. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29506. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29507. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29508. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29509. ==18304==  Address 0x12f90490 is 1,248 bytes inside a block of size 8,192 alloc'd
  29510. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29511. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29512. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29513. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29514. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  29515. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29516. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29517. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29518. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29519. ==18304==  Block was alloc'd by thread #1
  29520. ==18304==
  29521. ==18304==  Lock at 0x12F904F0 was first observed
  29522. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29523. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29524. ==18304==    by 0x4D4A0B0: switch_loadable_module_create_interface (switch_loadable_module.c:3140)
  29525. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:984)
  29526. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:952)
  29527. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29528. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29529. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29530. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29531. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29532. ==18304==  Address 0x12f904f0 is 1,344 bytes inside a block of size 8,192 alloc'd
  29533. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29534. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29535. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29536. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29537. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  29538. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29539. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29540. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29541. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29542. ==18304==  Block was alloc'd by thread #1
  29543. ==18304==
  29544. ==18304==
  29545. ==18304== ----------------------------------------------------------------
  29546. ==18304==
  29547. ==18304== Thread #15: lock order "0x7B89680 before 0x933FF58" violated
  29548. ==18304==
  29549. ==18304== Observed (incorrect) order is: acquisition of lock at 0x933FF58
  29550. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29551. ==18304==    by 0x9599F3C: sofia_glue_execute_sql_callback (sofia_glue.c:2822)
  29552. ==18304==    by 0x95B2220: sofia_reg_parse_auth (sofia_reg.c:2828)
  29553. ==18304==    by 0x95B43F5: sofia_reg_handle_register_token (sofia_reg.c:1547)
  29554. ==18304==    by 0x95B8212: sofia_reg_handle_sip_i_register (sofia_reg.c:2373)
  29555. ==18304==    by 0x958B5C8: our_sofia_event_callback (sofia.c:1827)
  29556. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  29557. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  29558. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  29559. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29560. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29561. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29562. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29563. ==18304==
  29564. ==18304==  followed by a later acquisition of lock at 0x7B89680
  29565. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29566. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  29567. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  29568. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  29569. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  29570. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  29571. ==18304==    by 0x95B2220: sofia_reg_parse_auth (sofia_reg.c:2828)
  29572. ==18304==    by 0x95B43F5: sofia_reg_handle_register_token (sofia_reg.c:1547)
  29573. ==18304==    by 0x95B8212: sofia_reg_handle_sip_i_register (sofia_reg.c:2373)
  29574. ==18304==    by 0x958B5C8: our_sofia_event_callback (sofia.c:1827)
  29575. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  29576. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  29577. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  29578. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29579. ==18304==
  29580. ==18304==  Lock at 0x7B89680 was first observed
  29581. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29582. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29583. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  29584. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  29585. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  29586. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29587. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29588. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  29589. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29590. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  29591. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  29592. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  29593. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  29594. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  29595. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  29596. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29597. ==18304==  Block was alloc'd by thread #1
  29598. ==18304==
  29599. ==18304==  Lock at 0x933FF58 was first observed
  29600. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29601. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29602. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  29603. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29604. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29605. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29606. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29607. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  29608. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29609. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  29610. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  29611. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  29612. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  29613. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  29614. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  29615. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29616. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29617. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29618. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29619. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29620. ==18304==  Block was alloc'd by thread #1
  29621. ==18304==
  29622. ==18304==
  29623. ==18304== ----------------------------------------------------------------
  29624. ==18304==
  29625. ==18304==  Lock at 0x12B7C550 was first observed
  29626. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29627. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29628. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  29629. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29630. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29631. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29632. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29633. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29634. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29635. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29636. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29637. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29638. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  29639. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29640. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29641. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29642. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29643. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  29644. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29645. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29646. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29647. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29648. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29649. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29650. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29651. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29652. ==18304==  Block was alloc'd by thread #14
  29653. ==18304==
  29654. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  29655. ==18304== Locks held: 1, at address 0x12B7C550
  29656. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  29657. ==18304==    by 0x12DB6AE4: strftime_api_function (mod_dptools.c:2050)
  29658. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  29659. ==18304==    by 0x4CC506F: switch_channel_expand_variables_check (switch_channel.c:4179)
  29660. ==18304==    by 0x4CC506F: switch_channel_expand_variables_check (switch_channel.c:3939)
  29661. ==18304==    by 0x4CF12E2: switch_core_session_exec (switch_core_session.c:2796)
  29662. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  29663. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29664. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29665. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29666. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29667. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29668. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29669. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29670. ==18304==
  29671. ==18304== This conflicts with a previous write of size 8 by thread #44
  29672. ==18304== Locks held: none
  29673. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  29674. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  29675. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29676. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29677. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29678. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29679. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  29680. ==18304==
  29681. ==18304== ----------------------------------------------------------------
  29682. ==18304==
  29683. ==18304== Thread #50: lock order "0x12ACFC30 before 0x12ACFBD0" violated
  29684. ==18304==
  29685. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12ACFBD0
  29686. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  29687. ==18304==    by 0x4D48008: switch_loadable_module_get_api_interface (switch_loadable_module.c:2629)
  29688. ==18304==    by 0x4D4991C: switch_api_execute (switch_loadable_module.c:3009)
  29689. ==18304==    by 0x4CC506F: switch_channel_expand_variables_check (switch_channel.c:4179)
  29690. ==18304==    by 0x4CC506F: switch_channel_expand_variables_check (switch_channel.c:3939)
  29691. ==18304==    by 0x4CF12E2: switch_core_session_exec (switch_core_session.c:2796)
  29692. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  29693. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29694. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29695. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29696. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29697. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29698. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29699. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29700. ==18304==
  29701. ==18304==  followed by a later acquisition of lock at 0x12ACFC30
  29702. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29703. ==18304==    by 0x4D49948: switch_api_execute (switch_loadable_module.c:3013)
  29704. ==18304==    by 0x4CC506F: switch_channel_expand_variables_check (switch_channel.c:4179)
  29705. ==18304==    by 0x4CC506F: switch_channel_expand_variables_check (switch_channel.c:3939)
  29706. ==18304==    by 0x4CF12E2: switch_core_session_exec (switch_core_session.c:2796)
  29707. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  29708. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29709. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29710. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29711. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29712. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29713. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29714. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29715. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29716. ==18304==
  29717. ==18304== Required order was established by acquisition of lock at 0x12ACFC30
  29718. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29719. ==18304==    by 0x4D47FEF: switch_loadable_module_get_api_interface (switch_loadable_module.c:2629)
  29720. ==18304==    by 0x4D4991C: switch_api_execute (switch_loadable_module.c:3009)
  29721. ==18304==    by 0x4CC506F: switch_channel_expand_variables_check (switch_channel.c:4179)
  29722. ==18304==    by 0x4CC506F: switch_channel_expand_variables_check (switch_channel.c:3939)
  29723. ==18304==    by 0x4CF12E2: switch_core_session_exec (switch_core_session.c:2796)
  29724. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  29725. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29726. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29727. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29728. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29729. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29730. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29731. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29732. ==18304==
  29733. ==18304==  followed by a later acquisition of lock at 0x12ACFBD0
  29734. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  29735. ==18304==    by 0x4D48008: switch_loadable_module_get_api_interface (switch_loadable_module.c:2629)
  29736. ==18304==    by 0x4D4991C: switch_api_execute (switch_loadable_module.c:3009)
  29737. ==18304==    by 0x4CC506F: switch_channel_expand_variables_check (switch_channel.c:4179)
  29738. ==18304==    by 0x4CC506F: switch_channel_expand_variables_check (switch_channel.c:3939)
  29739. ==18304==    by 0x4CF12E2: switch_core_session_exec (switch_core_session.c:2796)
  29740. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  29741. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  29742. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  29743. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  29744. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  29745. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29746. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29747. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29748. ==18304==
  29749. ==18304==  Lock at 0x12ACFC30 was first observed
  29750. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29751. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29752. ==18304==    by 0x4D49EE0: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  29753. ==18304==    by 0x12DB8957: mod_dptools_load (mod_dptools.c:6440)
  29754. ==18304==    by 0x12DB8957: mod_dptools_load (mod_dptools.c:6355)
  29755. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29756. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29757. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29758. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29759. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29760. ==18304==  Address 0x12acfc30 is 4,064 bytes inside a block of size 8,192 alloc'd
  29761. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29762. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29763. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29764. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29765. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  29766. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29767. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29768. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29769. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29770. ==18304==  Block was alloc'd by thread #1
  29771. ==18304==
  29772. ==18304==  Lock at 0x12ACFBD0 was first observed
  29773. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  29774. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  29775. ==18304==    by 0x4D49ECB: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  29776. ==18304==    by 0x12DB8957: mod_dptools_load (mod_dptools.c:6440)
  29777. ==18304==    by 0x12DB8957: mod_dptools_load (mod_dptools.c:6355)
  29778. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29779. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29780. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29781. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29782. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29783. ==18304==  Address 0x12acfbd0 is 3,968 bytes inside a block of size 8,192 alloc'd
  29784. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29785. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29786. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29787. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29788. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  29789. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29790. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29791. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29792. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29793. ==18304==  Block was alloc'd by thread #1
  29794. ==18304==
  29795. ==18304==
  29796. ==18304== ----------------------------------------------------------------
  29797. ==18304==
  29798. ==18304== Thread #47: lock order "0x128F2030 before 0x128F1FD0" violated
  29799. ==18304==
  29800. ==18304== Observed (incorrect) order is: acquisition of lock at 0x128F1FD0
  29801. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  29802. ==18304==    by 0x4D48008: switch_loadable_module_get_api_interface (switch_loadable_module.c:2629)
  29803. ==18304==    by 0x4D4991C: switch_api_execute (switch_loadable_module.c:3009)
  29804. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  29805. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  29806. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  29807. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29808. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29809. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29810. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29811. ==18304==
  29812. ==18304==  followed by a later acquisition of lock at 0x128F2030
  29813. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29814. ==18304==    by 0x4D49948: switch_api_execute (switch_loadable_module.c:3013)
  29815. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  29816. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  29817. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  29818. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29819. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29820. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29821. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29822. ==18304==
  29823. ==18304== Required order was established by acquisition of lock at 0x128F2030
  29824. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29825. ==18304==    by 0x4D47FEF: switch_loadable_module_get_api_interface (switch_loadable_module.c:2629)
  29826. ==18304==    by 0x4D4991C: switch_api_execute (switch_loadable_module.c:3009)
  29827. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  29828. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  29829. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  29830. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29831. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29832. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29833. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29834. ==18304==
  29835. ==18304==  followed by a later acquisition of lock at 0x128F1FD0
  29836. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  29837. ==18304==    by 0x4D48008: switch_loadable_module_get_api_interface (switch_loadable_module.c:2629)
  29838. ==18304==    by 0x4D4991C: switch_api_execute (switch_loadable_module.c:3009)
  29839. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  29840. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  29841. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  29842. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29843. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29844. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29845. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29846. ==18304==
  29847. ==18304==  Lock at 0x128F2030 was first observed
  29848. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29849. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29850. ==18304==    by 0x4D49EE0: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  29851. ==18304==    by 0x12D3E56A: mod_commands_load (mod_commands.c:7532)
  29852. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29853. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29854. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29855. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29856. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29857. ==18304==  Address 0x128f2030 is 3,024 bytes inside a block of size 8,192 alloc'd
  29858. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29859. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  29860. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  29861. ==18304==    by 0x5022BDF: apr_thread_mutex_create (thread_mutex.c:50)
  29862. ==18304==    by 0x4D49EE0: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  29863. ==18304==    by 0x12D3E2DF: mod_commands_load (mod_commands.c:7520)
  29864. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29865. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29866. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29867. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29868. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29869. ==18304==  Block was alloc'd by thread #1
  29870. ==18304==
  29871. ==18304==  Lock at 0x128F1FD0 was first observed
  29872. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  29873. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  29874. ==18304==    by 0x4D49ECB: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  29875. ==18304==    by 0x12D3E56A: mod_commands_load (mod_commands.c:7532)
  29876. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29877. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29878. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29879. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29880. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29881. ==18304==  Address 0x128f1fd0 is 2,928 bytes inside a block of size 8,192 alloc'd
  29882. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29883. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  29884. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  29885. ==18304==    by 0x5022BDF: apr_thread_mutex_create (thread_mutex.c:50)
  29886. ==18304==    by 0x4D49EE0: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  29887. ==18304==    by 0x12D3E2DF: mod_commands_load (mod_commands.c:7520)
  29888. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  29889. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  29890. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  29891. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  29892. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29893. ==18304==  Block was alloc'd by thread #1
  29894. ==18304==
  29895. ==18304==
  29896. ==18304== ----------------------------------------------------------------
  29897. ==18304==
  29898. ==18304== Possible data race during write of size 4 at 0x50F9A2C by thread #47
  29899. ==18304== Locks held: none
  29900. ==18304==    at 0x4CCF5CF: console_thread (switch_console.c:1077)
  29901. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29902. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29903. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29904. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29905. ==18304==  Address 0x50f9a2c is 0 bytes inside data symbol "running"
  29906. ==18304==
  29907. ==18304== ----------------------------------------------------------------
  29908. ==18304==
  29909. ==18304== Thread #33: lock order "0x12B7C888 before 0x72FFE68" violated
  29910. ==18304==
  29911. ==18304== Observed (incorrect) order is: acquisition of lock at 0x72FFE68
  29912. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  29913. ==18304==    by 0x4CEAE82: switch_core_session_perform_locate (switch_core_session.c:126)
  29914. ==18304==    by 0x4DAE28B: switch_ivr_uuid_exists (switch_ivr.c:3973)
  29915. ==18304==    by 0x95A2E69: actual_sofia_presence_event_handler (sofia_presence.c:1138)
  29916. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  29917. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  29918. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29919. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29920. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29921. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29922. ==18304==
  29923. ==18304==  followed by a later acquisition of lock at 0x12B7C888
  29924. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  29925. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  29926. ==18304==    by 0x4CEAEA1: switch_core_session_perform_locate (switch_core_session.c:135)
  29927. ==18304==    by 0x4DAE28B: switch_ivr_uuid_exists (switch_ivr.c:3973)
  29928. ==18304==    by 0x95A2E69: actual_sofia_presence_event_handler (sofia_presence.c:1138)
  29929. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  29930. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  29931. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29932. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29933. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29934. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29935. ==18304==
  29936. ==18304==  Lock at 0x12B7C888 was first observed
  29937. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  29938. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  29939. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  29940. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29941. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29942. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29943. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29944. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29945. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29946. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29947. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29948. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29949. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  29950. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29951. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  29952. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  29953. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  29954. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  29955. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  29956. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  29957. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  29958. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  29959. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  29960. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29961. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29962. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29963. ==18304==  Block was alloc'd by thread #14
  29964. ==18304==
  29965. ==18304==  Lock at 0x72FFE68 was first observed
  29966. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  29967. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  29968. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  29969. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  29970. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29971. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  29972. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  29973. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  29974. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  29975. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  29976. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  29977. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  29978. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  29979. ==18304==    by 0x10AEC7: main (switch.c:1200)
  29980. ==18304==  Block was alloc'd by thread #1
  29981. ==18304==
  29982. ==18304==
  29983. ==18304== ----------------------------------------------------------------
  29984. ==18304==
  29985. ==18304== Possible data race during read of size 4 at 0x50F9A2C by thread #1
  29986. ==18304== Locks held: none
  29987. ==18304==    at 0x4CD0E6A: switch_console_loop (switch_console.c:1179)
  29988. ==18304==    by 0x10AEFC: main (switch.c:1227)
  29989. ==18304==
  29990. ==18304== This conflicts with a previous write of size 4 by thread #47
  29991. ==18304== Locks held: none
  29992. ==18304==    at 0x4CCF5CF: console_thread (switch_console.c:1077)
  29993. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  29994. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  29995. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  29996. ==18304==    by 0x560E4CE: clone (clone.S:95)
  29997. ==18304==  Address 0x50f9a2c is 0 bytes inside data symbol "running"
  29998. ==18304==
  29999. ==18304== ----------------------------------------------------------------
  30000. ==18304==
  30001. ==18304== Possible data race during read of size 4 at 0x50FC544 by thread #6
  30002. ==18304== Locks held: none
  30003. ==18304==    at 0x4CFF17D: send_heartbeat (switch_core.c:104)
  30004. ==18304==    by 0x4CFF17D: heartbeat_callback (switch_core.c:212)
  30005. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  30006. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  30007. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  30008. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30009. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30010. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30011. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30012. ==18304==  Address 0x50fc544 is 644 bytes inside data symbol "runtime"
  30013. ==18304==
  30014. ==18304== ----------------------------------------------------------------
  30015. ==18304==
  30016. ==18304== Possible data race during read of size 4 at 0x50FC548 by thread #6
  30017. ==18304== Locks held: none
  30018. ==18304==    at 0x4CFF1A3: send_heartbeat (switch_core.c:105)
  30019. ==18304==    by 0x4CFF1A3: heartbeat_callback (switch_core.c:212)
  30020. ==18304==    by 0x4D3F5DA: switch_scheduler_execute (switch_scheduler.c:64)
  30021. ==18304==    by 0x4D3FAA2: task_thread_loop (switch_scheduler.c:132)
  30022. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  30023. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30024. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30025. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30026. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30027. ==18304==  Address 0x50fc548 is 648 bytes inside data symbol "runtime"
  30028. ==18304==
  30029. ==18304== ----------------------------------------------------------------
  30030. ==18304==
  30031. ==18304== Thread #50: lock order "0x79E2370 before 0x7DAC108" violated
  30032. ==18304==
  30033. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC108
  30034. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30035. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  30036. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  30037. ==18304==    by 0x4D0F50F: switch_core_media_set_codec (switch_core_media.c:3762)
  30038. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  30039. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  30040. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  30041. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30042. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30043. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30044. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30045. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30046. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  30047. ==18304==
  30048. ==18304==  followed by a later acquisition of lock at 0x79E2370
  30049. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30050. ==18304==    by 0x4D47BD7: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2594)
  30051. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  30052. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  30053. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  30054. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  30055. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  30056. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30057. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30058. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30059. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30060. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30061. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  30062. ==18304==
  30063. ==18304== Required order was established by acquisition of lock at 0x79E2370
  30064. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30065. ==18304==    by 0x4D491D8: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2844)
  30066. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  30067. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  30068. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  30069. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  30070. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  30071. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  30072. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  30073. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  30074. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  30075. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  30076. ==18304==
  30077. ==18304==  followed by a later acquisition of lock at 0x7DAC108
  30078. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30079. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  30080. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  30081. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  30082. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  30083. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  30084. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  30085. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  30086. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  30087. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  30088. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  30089. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  30090. ==18304==
  30091. ==18304==  Lock at 0x79E2370 was first observed
  30092. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30093. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30094. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  30095. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30096. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30097. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  30098. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30099. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30100. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30101. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30102. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  30103. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30104. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30105. ==18304==  Block was alloc'd by thread #1
  30106. ==18304==
  30107. ==18304==  Lock at 0x7DAC108 was first observed
  30108. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  30109. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  30110. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  30111. ==18304==    by 0x4DC3627: core_pcm_load (switch_pcm.c:364)
  30112. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30113. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30114. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  30115. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30116. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30117. ==18304==  Address 0x7dac108 is 520 bytes inside a block of size 8,192 alloc'd
  30118. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30119. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30120. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30121. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30122. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  30123. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30124. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  30125. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30126. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30127. ==18304==  Block was alloc'd by thread #1
  30128. ==18304==
  30129. ==18304==
  30130. ==18304== ----------------------------------------------------------------
  30131. ==18304==
  30132. ==18304== Thread #50: lock order "0x7DAEDC8 before 0x7DAED68" violated
  30133. ==18304==
  30134. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAED68
  30135. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30136. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  30137. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  30138. ==18304==    by 0x4D0F50F: switch_core_media_set_codec (switch_core_media.c:3762)
  30139. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  30140. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  30141. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  30142. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30143. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30144. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30145. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30146. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30147. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  30148. ==18304==
  30149. ==18304==  followed by a later acquisition of lock at 0x7DAEDC8
  30150. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30151. ==18304==    by 0x4D47C4C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  30152. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  30153. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  30154. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  30155. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  30156. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  30157. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30158. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30159. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30160. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30161. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30162. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  30163. ==18304==
  30164. ==18304== Required order was established by acquisition of lock at 0x7DAEDC8
  30165. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30166. ==18304==    by 0x4D47C4C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  30167. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  30168. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  30169. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  30170. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  30171. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  30172. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  30173. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  30174. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  30175. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  30176. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  30177. ==18304==
  30178. ==18304==  followed by a later acquisition of lock at 0x7DAED68
  30179. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30180. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  30181. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  30182. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  30183. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  30184. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  30185. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  30186. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  30187. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  30188. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  30189. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  30190. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  30191. ==18304==
  30192. ==18304==  Lock at 0x7DAEDC8 was first observed
  30193. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30194. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30195. ==18304==    by 0x4D4A460: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  30196. ==18304==    by 0x4DC4943: mod_g711_load (switch_pcm.c:276)
  30197. ==18304==    by 0x4DC4943: core_pcm_load (switch_pcm.c:942)
  30198. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30199. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30200. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  30201. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30202. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30203. ==18304==  Address 0x7daedc8 is 3,720 bytes inside a block of size 8,192 alloc'd
  30204. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30205. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  30206. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  30207. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  30208. ==18304==    by 0x4DC5618: switch_core_codec_add_implementation (switch_loadable_module.h:528)
  30209. ==18304==    by 0x4DC5618: core_pcm_load (switch_pcm.c:712)
  30210. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30211. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30212. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  30213. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30214. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30215. ==18304==  Block was alloc'd by thread #1
  30216. ==18304==
  30217. ==18304==  Lock at 0x7DAED68 was first observed
  30218. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  30219. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  30220. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  30221. ==18304==    by 0x4DC4943: mod_g711_load (switch_pcm.c:276)
  30222. ==18304==    by 0x4DC4943: core_pcm_load (switch_pcm.c:942)
  30223. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30224. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30225. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  30226. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30227. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30228. ==18304==  Address 0x7daed68 is 3,624 bytes inside a block of size 8,192 alloc'd
  30229. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30230. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  30231. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  30232. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  30233. ==18304==    by 0x4DC5618: switch_core_codec_add_implementation (switch_loadable_module.h:528)
  30234. ==18304==    by 0x4DC5618: core_pcm_load (switch_pcm.c:712)
  30235. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30236. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30237. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  30238. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30239. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30240. ==18304==  Block was alloc'd by thread #1
  30241. ==18304==
  30242. ==18304==
  30243. ==18304== ----------------------------------------------------------------
  30244. ==18304==
  30245. ==18304==  Lock at 0x7B89630 was first observed
  30246. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30247. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30248. ==18304==    by 0x4D5C31D: switch_rtp_init (switch_rtp.c:1532)
  30249. ==18304==    by 0x4D02C3F: switch_core_init (switch_core.c:2008)
  30250. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  30251. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30252. ==18304==  Address 0x7b89630 is 800,240 bytes inside a block of size 802,816 alloc'd
  30253. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30254. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  30255. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  30256. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  30257. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  30258. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  30259. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  30260. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30261. ==18304==  Block was alloc'd by thread #1
  30262. ==18304==
  30263. ==18304==  Lock at 0x7DCC518 was first observed
  30264. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30265. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30266. ==18304==    by 0x4CFA4BE: switch_core_port_allocator_new (switch_core_port_allocator.c:111)
  30267. ==18304==    by 0x4D5CC4F: switch_rtp_request_port (switch_rtp.c:2577)
  30268. ==18304==    by 0x4D14112: switch_core_media_choose_port (switch_core_media.c:8175)
  30269. ==18304==    by 0x95B95FC: sofia_media_tech_media (sofia_media.c:84)
  30270. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30271. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30272. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30273. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30274. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30275. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  30276. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  30277. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  30278. ==18304==  Address 0x7dcc518 is 8,248 bytes inside a block of size 12,288 alloc'd
  30279. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30280. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  30281. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  30282. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  30283. ==18304==    by 0x4CFA493: switch_core_port_allocator_new (switch_core_port_allocator.c:104)
  30284. ==18304==    by 0x4D5CC4F: switch_rtp_request_port (switch_rtp.c:2577)
  30285. ==18304==    by 0x4D14112: switch_core_media_choose_port (switch_core_media.c:8175)
  30286. ==18304==    by 0x95B95FC: sofia_media_tech_media (sofia_media.c:84)
  30287. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30288. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30289. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30290. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30291. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30292. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  30293. ==18304==  Block was alloc'd by thread #50
  30294. ==18304==
  30295. ==18304==  Lock at 0x12B7C550 was first observed
  30296. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30297. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30298. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  30299. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  30300. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30301. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30302. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30303. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30304. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30305. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30306. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30307. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30308. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  30309. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30310. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30311. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30312. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30313. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  30314. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  30315. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30316. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30317. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30318. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30319. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30320. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30321. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30322. ==18304==  Block was alloc'd by thread #14
  30323. ==18304==
  30324. ==18304==  Lock at 0x1303F698 was first observed
  30325. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30326. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30327. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  30328. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  30329. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30330. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30331. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30332. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30333. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30334. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30335. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30336. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30337. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  30338. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30339. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  30340. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  30341. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  30342. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  30343. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  30344. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30345. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30346. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30347. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30348. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30349. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30350. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30351. ==18304==  Block was alloc'd by thread #14
  30352. ==18304==
  30353. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  30354. ==18304== Locks held: 4, at addresses 0x7B89630 0x7DCC518 0x12B7C550 0x1303F698
  30355. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  30356. ==18304==    by 0x4CFA6A7: switch_core_port_allocator_request_port (switch_core_port_allocator.c:151)
  30357. ==18304==    by 0x4D5CC09: switch_rtp_request_port (switch_rtp.c:2584)
  30358. ==18304==    by 0x4D14112: switch_core_media_choose_port (switch_core_media.c:8175)
  30359. ==18304==    by 0x95B95FC: sofia_media_tech_media (sofia_media.c:84)
  30360. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30361. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30362. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30363. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30364. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30365. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  30366. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  30367. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  30368. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  30369. ==18304==
  30370. ==18304== This conflicts with a previous write of size 8 by thread #44
  30371. ==18304== Locks held: none
  30372. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  30373. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  30374. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30375. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30376. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30377. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30378. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  30379. ==18304==
  30380. ==18304== ----------------------------------------------------------------
  30381. ==18304==
  30382. ==18304== Thread #33: lock order "0x7B89680 before 0x933FF58" violated
  30383. ==18304==
  30384. ==18304== Observed (incorrect) order is: acquisition of lock at 0x933FF58
  30385. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30386. ==18304==    by 0x9599F3C: sofia_glue_execute_sql_callback (sofia_glue.c:2822)
  30387. ==18304==    by 0x95A330F: actual_sofia_presence_event_handler (sofia_presence.c:1374)
  30388. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  30389. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  30390. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30391. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30392. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30393. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30394. ==18304==
  30395. ==18304==  followed by a later acquisition of lock at 0x7B89680
  30396. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30397. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  30398. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  30399. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  30400. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  30401. ==18304==    by 0x9599F57: sofia_glue_execute_sql_callback (sofia_glue.c:2825)
  30402. ==18304==    by 0x95A330F: actual_sofia_presence_event_handler (sofia_presence.c:1374)
  30403. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  30404. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  30405. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30406. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30407. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30408. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30409. ==18304==
  30410. ==18304==  Lock at 0x7B89680 was first observed
  30411. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30412. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30413. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  30414. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  30415. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  30416. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30417. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30418. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  30419. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30420. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  30421. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  30422. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  30423. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  30424. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  30425. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  30426. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30427. ==18304==  Block was alloc'd by thread #1
  30428. ==18304==
  30429. ==18304==  Lock at 0x933FF58 was first observed
  30430. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30431. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30432. ==18304==    by 0x957DEB8: sofia_profile_thread_run (sofia.c:3376)
  30433. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30434. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30435. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30436. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30437. ==18304==  Address 0x933ff58 is 1,192 bytes inside a block of size 8,192 alloc'd
  30438. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30439. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  30440. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  30441. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  30442. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  30443. ==18304==    by 0x95796B9: config_sofia (sofia.c:5192)
  30444. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  30445. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30446. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30447. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  30448. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30449. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30450. ==18304==  Block was alloc'd by thread #1
  30451. ==18304==
  30452. ==18304==
  30453. ==18304== ----------------------------------------------------------------
  30454. ==18304==
  30455. ==18304== Thread #50: lock order "0x79E2370 before 0x7DAC108" violated
  30456. ==18304==
  30457. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC108
  30458. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30459. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  30460. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  30461. ==18304==    by 0x4D0F50F: switch_core_media_set_codec (switch_core_media.c:3762)
  30462. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  30463. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  30464. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  30465. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30466. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30467. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30468. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30469. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30470. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  30471. ==18304==
  30472. ==18304==  followed by a later acquisition of lock at 0x79E2370
  30473. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30474. ==18304==    by 0x4CE0C09: switch_core_hash_find_locked (switch_core_hash.c:203)
  30475. ==18304==    by 0x4D47D1E: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30476. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30477. ==18304==    by 0x4D6275A: switch_rtp_create (switch_rtp.c:4412)
  30478. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  30479. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  30480. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  30481. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  30482. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30483. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30484. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30485. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30486. ==18304==
  30487. ==18304== Required order was established by acquisition of lock at 0x79E2370
  30488. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30489. ==18304==    by 0x4D491D8: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2844)
  30490. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  30491. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  30492. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  30493. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  30494. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  30495. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  30496. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  30497. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  30498. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  30499. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  30500. ==18304==
  30501. ==18304==  followed by a later acquisition of lock at 0x7DAC108
  30502. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30503. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  30504. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  30505. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  30506. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  30507. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  30508. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  30509. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  30510. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  30511. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  30512. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  30513. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  30514. ==18304==
  30515. ==18304==  Lock at 0x79E2370 was first observed
  30516. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30517. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30518. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  30519. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30520. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30521. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  30522. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30523. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30524. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30525. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30526. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  30527. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30528. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30529. ==18304==  Block was alloc'd by thread #1
  30530. ==18304==
  30531. ==18304==  Lock at 0x7DAC108 was first observed
  30532. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  30533. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  30534. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  30535. ==18304==    by 0x4DC3627: core_pcm_load (switch_pcm.c:364)
  30536. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30537. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30538. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  30539. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30540. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30541. ==18304==  Address 0x7dac108 is 520 bytes inside a block of size 8,192 alloc'd
  30542. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30543. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30544. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30545. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30546. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  30547. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30548. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  30549. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30550. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30551. ==18304==  Block was alloc'd by thread #1
  30552. ==18304==
  30553. ==18304==
  30554. ==18304== ----------------------------------------------------------------
  30555. ==18304==
  30556. ==18304== Thread #50: lock order "0x7D7DC08 before 0x7D7DD28" violated
  30557. ==18304==
  30558. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  30559. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30560. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30561. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30562. ==18304==    by 0x4D6275A: switch_rtp_create (switch_rtp.c:4412)
  30563. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  30564. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  30565. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  30566. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  30567. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30568. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30569. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30570. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30571. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30572. ==18304==
  30573. ==18304==  followed by a later acquisition of lock at 0x7D7DC08
  30574. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30575. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30576. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30577. ==18304==    by 0x4D6275A: switch_rtp_create (switch_rtp.c:4412)
  30578. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  30579. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  30580. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  30581. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  30582. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30583. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30584. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30585. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30586. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30587. ==18304==
  30588. ==18304== Required order was established by acquisition of lock at 0x7D7DC08
  30589. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30590. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30591. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30592. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  30593. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30594. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30595. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30596. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30597. ==18304==
  30598. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  30599. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30600. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  30601. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  30602. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30603. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30604. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30605. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30606. ==18304==
  30607. ==18304==  Lock at 0x7D7DC08 was first observed
  30608. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  30609. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  30610. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  30611. ==18304==    by 0x4DC0A81: softtimer_load (switch_time.c:1530)
  30612. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30613. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30614. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  30615. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30616. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30617. ==18304==  Address 0x7d7dc08 is 600 bytes inside a block of size 8,192 alloc'd
  30618. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30619. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30620. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30621. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30622. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  30623. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30624. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  30625. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30626. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30627. ==18304==  Block was alloc'd by thread #1
  30628. ==18304==
  30629. ==18304==  Lock at 0x7D7DD28 was first observed
  30630. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30631. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30632. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  30633. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  30634. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30635. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30636. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  30637. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30638. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30639. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  30640. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30641. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30642. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30643. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30644. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  30645. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30646. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  30647. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30648. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30649. ==18304==  Block was alloc'd by thread #1
  30650. ==18304==
  30651. ==18304==
  30652. ==18304== ----------------------------------------------------------------
  30653. ==18304==
  30654. ==18304== Thread #50: lock order "0x7D7DCC8 before 0x7D7DD28" violated
  30655. ==18304==
  30656. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  30657. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30658. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30659. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30660. ==18304==    by 0x4D6275A: switch_rtp_create (switch_rtp.c:4412)
  30661. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  30662. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  30663. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  30664. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  30665. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30666. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30667. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30668. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30669. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30670. ==18304==
  30671. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  30672. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30673. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30674. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30675. ==18304==    by 0x4D6275A: switch_rtp_create (switch_rtp.c:4412)
  30676. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  30677. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  30678. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  30679. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  30680. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30681. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30682. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30683. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30684. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30685. ==18304==
  30686. ==18304== Required order was established by acquisition of lock at 0x7D7DCC8
  30687. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30688. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30689. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30690. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  30691. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30692. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30693. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30694. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30695. ==18304==
  30696. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  30697. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30698. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  30699. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  30700. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30701. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30702. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30703. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30704. ==18304==
  30705. ==18304==  Lock at 0x7D7DCC8 was first observed
  30706. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  30707. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  30708. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  30709. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  30710. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30711. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30712. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  30713. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30714. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30715. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  30716. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30717. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30718. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30719. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30720. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  30721. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30722. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  30723. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30724. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30725. ==18304==  Block was alloc'd by thread #1
  30726. ==18304==
  30727. ==18304==  Lock at 0x7D7DD28 was first observed
  30728. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30729. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30730. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  30731. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  30732. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30733. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30734. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  30735. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30736. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30737. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  30738. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30739. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30740. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30741. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30742. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  30743. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30744. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  30745. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30746. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30747. ==18304==  Block was alloc'd by thread #1
  30748. ==18304==
  30749. ==18304==
  30750. ==18304== ----------------------------------------------------------------
  30751. ==18304==
  30752. ==18304==  Lock at 0x12B7C550 was first observed
  30753. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30754. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30755. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  30756. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  30757. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30758. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30759. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30760. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30761. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30762. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30763. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30764. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30765. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  30766. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30767. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30768. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30769. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30770. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  30771. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  30772. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30773. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30774. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30775. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30776. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30777. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30778. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30779. ==18304==  Block was alloc'd by thread #14
  30780. ==18304==
  30781. ==18304==  Lock at 0x1303F698 was first observed
  30782. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30783. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30784. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  30785. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  30786. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30787. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30788. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30789. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30790. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30791. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30792. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30793. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30794. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  30795. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30796. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  30797. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  30798. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  30799. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  30800. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  30801. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30802. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30803. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30804. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30805. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30806. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30807. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30808. ==18304==  Block was alloc'd by thread #14
  30809. ==18304==
  30810. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  30811. ==18304== Locks held: 2, at addresses 0x12B7C550 0x1303F698
  30812. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  30813. ==18304==    by 0x4DC0293: timer_init (switch_time.c:703)
  30814. ==18304==    by 0x4D6275A: switch_rtp_create (switch_rtp.c:4412)
  30815. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  30816. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  30817. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  30818. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  30819. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30820. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30821. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30822. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30823. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30824. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  30825. ==18304==
  30826. ==18304== This conflicts with a previous write of size 8 by thread #44
  30827. ==18304== Locks held: none
  30828. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  30829. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  30830. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30831. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30832. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30833. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30834. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  30835. ==18304==
  30836. ==18304== ----------------------------------------------------------------
  30837. ==18304==
  30838. ==18304==  Lock at 0x12B7C550 was first observed
  30839. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30840. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30841. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  30842. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  30843. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30844. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30845. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30846. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30847. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30848. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30849. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30850. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30851. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  30852. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30853. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30854. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30855. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30856. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  30857. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  30858. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30859. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30860. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30861. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30862. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30863. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30864. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30865. ==18304==  Block was alloc'd by thread #14
  30866. ==18304==
  30867. ==18304==  Lock at 0x1303F698 was first observed
  30868. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30869. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30870. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  30871. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  30872. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30873. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30874. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30875. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30876. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30877. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30878. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30879. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30880. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  30881. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30882. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  30883. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  30884. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  30885. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  30886. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  30887. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  30888. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  30889. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  30890. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  30891. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30892. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30893. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30894. ==18304==  Block was alloc'd by thread #14
  30895. ==18304==
  30896. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  30897. ==18304== Locks held: 2, at addresses 0x12B7C550 0x1303F698
  30898. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  30899. ==18304==    by 0x4DC061F: _timerfd_init (switch_time.c:462)
  30900. ==18304==    by 0x4DC061F: timer_init (switch_time.c:714)
  30901. ==18304==    by 0x4D6275A: switch_rtp_create (switch_rtp.c:4412)
  30902. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  30903. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  30904. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  30905. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  30906. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30907. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30908. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30909. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30910. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30911. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  30912. ==18304==
  30913. ==18304== This conflicts with a previous write of size 8 by thread #44
  30914. ==18304== Locks held: none
  30915. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  30916. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  30917. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30918. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30919. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30920. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30921. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  30922. ==18304==
  30923. ==18304== ----------------------------------------------------------------
  30924. ==18304==
  30925. ==18304== Thread #50: lock order "0x7D7DD28 before 0x7D7DCC8" violated
  30926. ==18304==
  30927. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  30928. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30929. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30930. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30931. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  30932. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30933. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30934. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30935. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30936. ==18304==
  30937. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  30938. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30939. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30940. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30941. ==18304==    by 0x4D628BD: switch_rtp_create (switch_rtp.c:4415)
  30942. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  30943. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  30944. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  30945. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  30946. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  30947. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  30948. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  30949. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  30950. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  30951. ==18304==
  30952. ==18304== Required order was established by acquisition of lock at 0x7D7DD28
  30953. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  30954. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30955. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30956. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  30957. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30958. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30959. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30960. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30961. ==18304==
  30962. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  30963. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  30964. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  30965. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  30966. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  30967. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  30968. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  30969. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  30970. ==18304==    by 0x560E4CE: clone (clone.S:95)
  30971. ==18304==
  30972. ==18304==  Lock at 0x7D7DD28 was first observed
  30973. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  30974. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  30975. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  30976. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  30977. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  30978. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30979. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  30980. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30981. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30982. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  30983. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  30984. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  30985. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  30986. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  30987. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  30988. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  30989. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  30990. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  30991. ==18304==    by 0x10AEC7: main (switch.c:1200)
  30992. ==18304==  Block was alloc'd by thread #1
  30993. ==18304==
  30994. ==18304==  Lock at 0x7D7DCC8 was first observed
  30995. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  30996. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  30997. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  30998. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  30999. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31000. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31001. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31002. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31003. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31004. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  31005. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31006. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31007. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31008. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31009. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31010. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31011. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31012. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31013. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31014. ==18304==  Block was alloc'd by thread #1
  31015. ==18304==
  31016. ==18304==
  31017. ==18304== ----------------------------------------------------------------
  31018. ==18304==
  31019. ==18304==  Lock at 0x12B7C550 was first observed
  31020. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31021. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31022. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  31023. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31024. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31025. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31026. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31027. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31028. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31029. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31030. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31031. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31032. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  31033. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31034. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31035. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31036. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31037. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  31038. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31039. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31040. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31041. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31042. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31043. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31044. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31045. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31046. ==18304==  Block was alloc'd by thread #14
  31047. ==18304==
  31048. ==18304==  Lock at 0x1303F698 was first observed
  31049. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31050. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31051. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  31052. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  31053. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31054. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31055. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31056. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31057. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31058. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31059. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31060. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31061. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  31062. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31063. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  31064. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  31065. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  31066. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  31067. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31068. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31069. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31070. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31071. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31072. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31073. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31074. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31075. ==18304==  Block was alloc'd by thread #14
  31076. ==18304==
  31077. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  31078. ==18304== Locks held: 2, at addresses 0x12B7C550 0x1303F698
  31079. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  31080. ==18304==    by 0x4D625E6: switch_rtp_create (switch_rtp.c:4516)
  31081. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  31082. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  31083. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  31084. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  31085. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  31086. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  31087. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  31088. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  31089. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31090. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31091. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31092. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31093. ==18304==
  31094. ==18304== This conflicts with a previous write of size 8 by thread #44
  31095. ==18304== Locks held: none
  31096. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  31097. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  31098. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31099. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31100. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31101. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31102. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  31103. ==18304==
  31104. ==18304== ----------------------------------------------------------------
  31105. ==18304==
  31106. ==18304==  Lock at 0x12B7C500 was first observed
  31107. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31108. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31109. ==18304==    by 0x4CC755B: switch_channel_alloc (switch_channel.c:462)
  31110. ==18304==    by 0x4CECAE9: switch_core_session_request_uuid (switch_core_session.c:2382)
  31111. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31112. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31113. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31114. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31115. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31116. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31117. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31118. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31119. ==18304==  Address 0x12b7c500 is 2,400 bytes inside a block of size 8,192 alloc'd
  31120. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31121. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31122. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31123. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31124. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  31125. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31126. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31127. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31128. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31129. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31130. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31131. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31132. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31133. ==18304==  Block was alloc'd by thread #14
  31134. ==18304==
  31135. ==18304==  Lock at 0x12B7C550 was first observed
  31136. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31137. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31138. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  31139. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31140. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31141. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31142. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31143. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31144. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31145. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31146. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31147. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31148. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  31149. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31150. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31151. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31152. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31153. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  31154. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31155. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31156. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31157. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31158. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31159. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31160. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31161. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31162. ==18304==  Block was alloc'd by thread #14
  31163. ==18304==
  31164. ==18304==  Lock at 0x1303F698 was first observed
  31165. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31166. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31167. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  31168. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  31169. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31170. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31171. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31172. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31173. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31174. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31175. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31176. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31177. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  31178. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31179. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  31180. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  31181. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  31182. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  31183. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31184. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31185. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31186. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31187. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31188. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31189. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31190. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31191. ==18304==  Block was alloc'd by thread #14
  31192. ==18304==
  31193. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  31194. ==18304== Locks held: 3, at addresses 0x12B7C500 0x12B7C550 0x1303F698
  31195. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  31196. ==18304==    by 0x4CCA39B: switch_channel_perform_mark_pre_answered (switch_channel.c:3524)
  31197. ==18304==    by 0x4CCA39B: switch_channel_perform_mark_pre_answered (switch_channel.c:3502)
  31198. ==18304==    by 0x95B9667: sofia_media_tech_media (sofia_media.c:92)
  31199. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  31200. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  31201. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  31202. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  31203. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31204. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31205. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31206. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31207. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  31208. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  31209. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31210. ==18304==
  31211. ==18304== This conflicts with a previous write of size 8 by thread #44
  31212. ==18304== Locks held: none
  31213. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  31214. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  31215. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31216. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31217. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31218. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31219. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  31220. ==18304==
  31221. ==18304== ----------------------------------------------------------------
  31222. ==18304==
  31223. ==18304==  Lock at 0x12B7C550 was first observed
  31224. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31225. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31226. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  31227. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31228. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31229. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31230. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31231. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31232. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31233. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31234. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31235. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31236. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  31237. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31238. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31239. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31240. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31241. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  31242. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31243. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31244. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31245. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31246. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31247. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31248. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31249. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31250. ==18304==  Block was alloc'd by thread #14
  31251. ==18304==
  31252. ==18304==  Lock at 0x1303F698 was first observed
  31253. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31254. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31255. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  31256. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  31257. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31258. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31259. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31260. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31261. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31262. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31263. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31264. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31265. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  31266. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31267. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  31268. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  31269. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  31270. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  31271. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31272. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31273. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31274. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31275. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31276. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31277. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31278. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31279. ==18304==  Block was alloc'd by thread #14
  31280. ==18304==
  31281. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  31282. ==18304== Locks held: 2, at addresses 0x12B7C550 0x1303F698
  31283. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  31284. ==18304==    by 0x4D5CD42: switch_rtp_reset_media_timer (switch_rtp.c:2971)
  31285. ==18304==    by 0x4D15C5F: switch_core_media_activate_rtp (switch_core_media.c:8555)
  31286. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  31287. ==18304==    by 0x955A7E6: sofia_answer_channel (mod_sofia.c:892)
  31288. ==18304==    by 0x955A7E6: sofia_receive_message (mod_sofia.c:2503)
  31289. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  31290. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  31291. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31292. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31293. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31294. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31295. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  31296. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  31297. ==18304==
  31298. ==18304== This conflicts with a previous write of size 8 by thread #44
  31299. ==18304== Locks held: none
  31300. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  31301. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  31302. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31303. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31304. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31305. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31306. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  31307. ==18304==
  31308. ==18304== ----------------------------------------------------------------
  31309. ==18304==
  31310. ==18304==  Lock at 0x12B7C500 was first observed
  31311. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31312. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31313. ==18304==    by 0x4CC755B: switch_channel_alloc (switch_channel.c:462)
  31314. ==18304==    by 0x4CECAE9: switch_core_session_request_uuid (switch_core_session.c:2382)
  31315. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31316. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31317. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31318. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31319. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31320. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31321. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31322. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31323. ==18304==  Address 0x12b7c500 is 2,400 bytes inside a block of size 8,192 alloc'd
  31324. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31325. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31326. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31327. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31328. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  31329. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31330. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31331. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31332. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31333. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31334. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31335. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31336. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31337. ==18304==  Block was alloc'd by thread #14
  31338. ==18304==
  31339. ==18304==  Lock at 0x12B7C550 was first observed
  31340. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31341. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31342. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  31343. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31344. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31345. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31346. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31347. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31348. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31349. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31350. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31351. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31352. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  31353. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31354. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31355. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31356. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31357. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  31358. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  31359. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  31360. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  31361. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  31362. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  31363. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31364. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31365. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31366. ==18304==  Block was alloc'd by thread #14
  31367. ==18304==
  31368. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  31369. ==18304== Locks held: 2, at addresses 0x12B7C500 0x12B7C550
  31370. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  31371. ==18304==    by 0x4CCC1CB: switch_channel_perform_mark_answered (switch_channel.c:3788)
  31372. ==18304==    by 0x4CCC1CB: switch_channel_perform_mark_answered (switch_channel.c:3767)
  31373. ==18304==    by 0x4CCC92F: switch_channel_perform_answer (switch_channel.c:3903)
  31374. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31375. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31376. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31377. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31378. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  31379. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  31380. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31381. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31382. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31383. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31384. ==18304==
  31385. ==18304== This conflicts with a previous write of size 8 by thread #44
  31386. ==18304== Locks held: none
  31387. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  31388. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  31389. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31390. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31391. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31392. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31393. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  31394. ==18304==
  31395. ==18304== ---Thread-Announcement------------------------------------------
  31396. ==18304==
  31397. ==18304== Thread #52 was created
  31398. ==18304==    at 0x560E4BE: clone (clone.S:71)
  31399. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  31400. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  31401. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  31402. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  31403. ==18304==    by 0x12D7F54E: conference_video_launch_muxing_thread (conference_video.c:2186)
  31404. ==18304==    by 0x12D6016D: conference_new (mod_conference.c:3737)
  31405. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  31406. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31407. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31408. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31409. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31410. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  31411. ==18304==
  31412. ==18304== ----------------------------------------------------------------
  31413. ==18304==
  31414. ==18304== Thread #52: lock order "0x7D7DC08 before 0x7D7DD28" violated
  31415. ==18304==
  31416. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  31417. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31418. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31419. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31420. ==18304==    by 0x12D833E3: conference_video_muxing_thread_run (conference_video.c:3179)
  31421. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31422. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31423. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31424. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31425. ==18304==
  31426. ==18304==  followed by a later acquisition of lock at 0x7D7DC08
  31427. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31428. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31429. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31430. ==18304==    by 0x12D833E3: conference_video_muxing_thread_run (conference_video.c:3179)
  31431. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31432. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31433. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31434. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31435. ==18304==
  31436. ==18304== Required order was established by acquisition of lock at 0x7D7DC08
  31437. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31438. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31439. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31440. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  31441. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31442. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31443. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31444. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31445. ==18304==
  31446. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  31447. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31448. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  31449. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  31450. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31451. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31452. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31453. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31454. ==18304==
  31455. ==18304==  Lock at 0x7D7DC08 was first observed
  31456. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  31457. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  31458. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  31459. ==18304==    by 0x4DC0A81: softtimer_load (switch_time.c:1530)
  31460. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31461. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31462. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31463. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31464. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31465. ==18304==  Address 0x7d7dc08 is 600 bytes inside a block of size 8,192 alloc'd
  31466. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31467. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31468. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31469. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31470. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31471. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31472. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31473. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31474. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31475. ==18304==  Block was alloc'd by thread #1
  31476. ==18304==
  31477. ==18304==  Lock at 0x7D7DD28 was first observed
  31478. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31479. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31480. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  31481. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  31482. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31483. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31484. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31485. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31486. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31487. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  31488. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31489. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31490. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31491. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31492. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31493. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31494. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31495. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31496. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31497. ==18304==  Block was alloc'd by thread #1
  31498. ==18304==
  31499. ==18304==
  31500. ==18304== ----------------------------------------------------------------
  31501. ==18304==
  31502. ==18304== Thread #52: lock order "0x7D7DCC8 before 0x7D7DD28" violated
  31503. ==18304==
  31504. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  31505. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31506. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31507. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31508. ==18304==    by 0x12D833E3: conference_video_muxing_thread_run (conference_video.c:3179)
  31509. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31510. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31511. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31512. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31513. ==18304==
  31514. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  31515. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31516. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31517. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31518. ==18304==    by 0x12D833E3: conference_video_muxing_thread_run (conference_video.c:3179)
  31519. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31520. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31521. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31522. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31523. ==18304==
  31524. ==18304== Required order was established by acquisition of lock at 0x7D7DCC8
  31525. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31526. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31527. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31528. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  31529. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31530. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31531. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31532. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31533. ==18304==
  31534. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  31535. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31536. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  31537. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  31538. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31539. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31540. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31541. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31542. ==18304==
  31543. ==18304==  Lock at 0x7D7DCC8 was first observed
  31544. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  31545. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  31546. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  31547. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  31548. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31549. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31550. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31551. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31552. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31553. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  31554. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31555. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31556. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31557. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31558. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31559. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31560. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31561. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31562. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31563. ==18304==  Block was alloc'd by thread #1
  31564. ==18304==
  31565. ==18304==  Lock at 0x7D7DD28 was first observed
  31566. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31567. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31568. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  31569. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  31570. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31571. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31572. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31573. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31574. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31575. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  31576. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31577. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31578. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31579. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31580. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31581. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31582. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31583. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31584. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31585. ==18304==  Block was alloc'd by thread #1
  31586. ==18304==
  31587. ==18304==
  31588. ==18304== ---Thread-Announcement------------------------------------------
  31589. ==18304==
  31590. ==18304== Thread #53 was created
  31591. ==18304==    at 0x560E4BE: clone (clone.S:71)
  31592. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  31593. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  31594. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  31595. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  31596. ==18304==    by 0x12D5D6CB: conference_launch_thread (mod_conference.c:2626)
  31597. ==18304==    by 0x12D650C5: conference_function (mod_conference.c:2212)
  31598. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31599. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31600. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31601. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31602. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  31603. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  31604. ==18304==
  31605. ==18304== ----------------------------------------------------------------
  31606. ==18304==
  31607. ==18304== Thread #53: lock order "0x7D7DC08 before 0x7D7DD28" violated
  31608. ==18304==
  31609. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  31610. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31611. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31612. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31613. ==18304==    by 0x12D66683: conference_thread_run (mod_conference.c:227)
  31614. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31615. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31616. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31617. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31618. ==18304==
  31619. ==18304==  followed by a later acquisition of lock at 0x7D7DC08
  31620. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31621. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31622. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31623. ==18304==    by 0x12D66683: conference_thread_run (mod_conference.c:227)
  31624. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31625. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31626. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31627. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31628. ==18304==
  31629. ==18304== Required order was established by acquisition of lock at 0x7D7DC08
  31630. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31631. ==18304==    by 0x4D47D3F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31632. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31633. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  31634. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31635. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31636. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31637. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31638. ==18304==
  31639. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  31640. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31641. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  31642. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  31643. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31644. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31645. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31646. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31647. ==18304==
  31648. ==18304==  Lock at 0x7D7DC08 was first observed
  31649. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  31650. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  31651. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  31652. ==18304==    by 0x4DC0A81: softtimer_load (switch_time.c:1530)
  31653. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31654. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31655. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31656. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31657. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31658. ==18304==  Address 0x7d7dc08 is 600 bytes inside a block of size 8,192 alloc'd
  31659. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31660. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31661. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31662. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31663. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31664. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31665. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31666. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31667. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31668. ==18304==  Block was alloc'd by thread #1
  31669. ==18304==
  31670. ==18304==  Lock at 0x7D7DD28 was first observed
  31671. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31672. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31673. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  31674. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  31675. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31676. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31677. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31678. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31679. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31680. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  31681. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31682. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31683. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31684. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31685. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31686. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31687. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31688. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31689. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31690. ==18304==  Block was alloc'd by thread #1
  31691. ==18304==
  31692. ==18304==
  31693. ==18304== ----------------------------------------------------------------
  31694. ==18304==
  31695. ==18304== Thread #53: lock order "0x7D7DCC8 before 0x7D7DD28" violated
  31696. ==18304==
  31697. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DD28
  31698. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31699. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31700. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31701. ==18304==    by 0x12D66683: conference_thread_run (mod_conference.c:227)
  31702. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31703. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31704. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31705. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31706. ==18304==
  31707. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  31708. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31709. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31710. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31711. ==18304==    by 0x12D66683: conference_thread_run (mod_conference.c:227)
  31712. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31713. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31714. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31715. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31716. ==18304==
  31717. ==18304== Required order was established by acquisition of lock at 0x7D7DCC8
  31718. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31719. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  31720. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  31721. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  31722. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31723. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31724. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31725. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31726. ==18304==
  31727. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  31728. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31729. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  31730. ==18304==    by 0x1402270A: read_stream_thread (mod_local_stream.c:794)
  31731. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31732. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31733. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31734. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31735. ==18304==
  31736. ==18304==  Lock at 0x7D7DCC8 was first observed
  31737. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  31738. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  31739. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  31740. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  31741. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31742. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31743. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31744. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31745. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31746. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  31747. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31748. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31749. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31750. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31751. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31752. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31753. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31754. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31755. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31756. ==18304==  Block was alloc'd by thread #1
  31757. ==18304==
  31758. ==18304==  Lock at 0x7D7DD28 was first observed
  31759. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31760. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31761. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  31762. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  31763. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31764. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31765. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31766. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31767. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31768. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  31769. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31770. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31771. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31772. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31773. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31774. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31775. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  31776. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31777. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31778. ==18304==  Block was alloc'd by thread #1
  31779. ==18304==
  31780. ==18304==
  31781. ==18304== ----------------------------------------------------------------
  31782. ==18304==
  31783. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #52
  31784. ==18304== Locks held: none
  31785. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  31786. ==18304==    by 0x12D836AA: conference_video_muxing_thread_run (conference_video.c:3253)
  31787. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31788. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31789. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31790. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31791. ==18304==
  31792. ==18304== This conflicts with a previous write of size 8 by thread #44
  31793. ==18304== Locks held: none
  31794. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  31795. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  31796. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31797. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31798. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  31799. ==18304==    by 0x560E4CE: clone (clone.S:95)
  31800. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  31801. ==18304==
  31802. ==18304== ----------------------------------------------------------------
  31803. ==18304==
  31804. ==18304== Thread #50: lock order "0x79E2370 before 0x7DAC108" violated
  31805. ==18304==
  31806. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC108
  31807. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31808. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  31809. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  31810. ==18304==    by 0x4D0F50F: switch_core_media_set_codec (switch_core_media.c:3762)
  31811. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  31812. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  31813. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  31814. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  31815. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  31816. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  31817. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  31818. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31819. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31820. ==18304==
  31821. ==18304==  followed by a later acquisition of lock at 0x79E2370
  31822. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31823. ==18304==    by 0x4D47A27: switch_loadable_module_get_file_interface (switch_loadable_module.c:2539)
  31824. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  31825. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  31826. ==18304==    by 0x12D8F1A8: conference_member_add (conference_member.c:915)
  31827. ==18304==    by 0x12D64C68: conference_function (mod_conference.c:2450)
  31828. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31829. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31830. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31831. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31832. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  31833. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  31834. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31835. ==18304==
  31836. ==18304== Required order was established by acquisition of lock at 0x79E2370
  31837. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31838. ==18304==    by 0x4D491D8: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2844)
  31839. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  31840. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  31841. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  31842. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  31843. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  31844. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  31845. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  31846. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  31847. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  31848. ==18304==    by 0x4CF44CE: switch_core_session_run (switch_core_state_machine.c:588)
  31849. ==18304==
  31850. ==18304==  followed by a later acquisition of lock at 0x7DAC108
  31851. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31852. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  31853. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  31854. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  31855. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  31856. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  31857. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  31858. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  31859. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  31860. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  31861. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  31862. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  31863. ==18304==
  31864. ==18304==  Lock at 0x79E2370 was first observed
  31865. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31866. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31867. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  31868. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31869. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31870. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  31871. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31872. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31873. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31874. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31875. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  31876. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31877. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31878. ==18304==  Block was alloc'd by thread #1
  31879. ==18304==
  31880. ==18304==  Lock at 0x7DAC108 was first observed
  31881. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  31882. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  31883. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  31884. ==18304==    by 0x4DC3627: core_pcm_load (switch_pcm.c:364)
  31885. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31886. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31887. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  31888. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31889. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31890. ==18304==  Address 0x7dac108 is 520 bytes inside a block of size 8,192 alloc'd
  31891. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31892. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31893. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31894. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31895. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31896. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31897. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  31898. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31899. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31900. ==18304==  Block was alloc'd by thread #1
  31901. ==18304==
  31902. ==18304==
  31903. ==18304== ----------------------------------------------------------------
  31904. ==18304==
  31905. ==18304== Thread #50: lock order "0x7A4F390 before 0x7A4F330" violated
  31906. ==18304==
  31907. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7A4F330
  31908. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31909. ==18304==    by 0x4D47ABB: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  31910. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  31911. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  31912. ==18304==    by 0x12D8F1A8: conference_member_add (conference_member.c:915)
  31913. ==18304==    by 0x12D64C68: conference_function (mod_conference.c:2450)
  31914. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31915. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31916. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31917. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31918. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  31919. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  31920. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31921. ==18304==
  31922. ==18304==  followed by a later acquisition of lock at 0x7A4F390
  31923. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31924. ==18304==    by 0x4CDDC8E: switch_core_perform_file_open (switch_core_file.c:389)
  31925. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  31926. ==18304==    by 0x12D8F1A8: conference_member_add (conference_member.c:915)
  31927. ==18304==    by 0x12D64C68: conference_function (mod_conference.c:2450)
  31928. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31929. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31930. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31931. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31932. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  31933. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  31934. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31935. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  31936. ==18304==
  31937. ==18304== Required order was established by acquisition of lock at 0x7A4F390
  31938. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  31939. ==18304==    by 0x4D47A9F: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  31940. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  31941. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  31942. ==18304==    by 0x12D8F1A8: conference_member_add (conference_member.c:915)
  31943. ==18304==    by 0x12D64C68: conference_function (mod_conference.c:2450)
  31944. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31945. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31946. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31947. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31948. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  31949. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  31950. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31951. ==18304==
  31952. ==18304==  followed by a later acquisition of lock at 0x7A4F330
  31953. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  31954. ==18304==    by 0x4D47ABB: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  31955. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  31956. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  31957. ==18304==    by 0x12D8F1A8: conference_member_add (conference_member.c:915)
  31958. ==18304==    by 0x12D64C68: conference_function (mod_conference.c:2450)
  31959. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  31960. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  31961. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  31962. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  31963. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  31964. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  31965. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  31966. ==18304==
  31967. ==18304==  Lock at 0x7A4F390 was first observed
  31968. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  31969. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  31970. ==18304==    by 0x4D4A5BE: switch_loadable_module_create_interface (switch_loadable_module.c:3134)
  31971. ==18304==    by 0x1400BF33: mod_sndfile_load (mod_sndfile.c:631)
  31972. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31973. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31974. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  31975. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31976. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31977. ==18304==  Address 0x7a4f390 is 2,096 bytes inside a block of size 8,192 alloc'd
  31978. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  31979. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  31980. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  31981. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  31982. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  31983. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31984. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  31985. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31986. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31987. ==18304==  Block was alloc'd by thread #1
  31988. ==18304==
  31989. ==18304==  Lock at 0x7A4F330 was first observed
  31990. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  31991. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  31992. ==18304==    by 0x4D4A5A6: switch_loadable_module_create_interface (switch_loadable_module.c:3134)
  31993. ==18304==    by 0x1400BF33: mod_sndfile_load (mod_sndfile.c:631)
  31994. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  31995. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  31996. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  31997. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  31998. ==18304==    by 0x10AEC7: main (switch.c:1200)
  31999. ==18304==  Address 0x7a4f330 is 2,000 bytes inside a block of size 8,192 alloc'd
  32000. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32001. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  32002. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  32003. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  32004. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  32005. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32006. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  32007. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32008. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32009. ==18304==  Block was alloc'd by thread #1
  32010. ==18304==
  32011. ==18304==
  32012. ==18304== ---Thread-Announcement------------------------------------------
  32013. ==18304==
  32014. ==18304== Thread #51 was created
  32015. ==18304==    at 0x560E4BE: clone (clone.S:71)
  32016. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  32017. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  32018. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  32019. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  32020. ==18304==    by 0x4CF0814: check_queue (switch_core_session.c:1855)
  32021. ==18304==    by 0x4CF0902: switch_thread_pool_launch_thread (switch_core_session.c:1884)
  32022. ==18304==    by 0x4D571B6: switch_event_channel_broadcast (switch_event.c:3078)
  32023. ==18304==    by 0xB07CC7D: presence_event_handler (mod_verto.c:6085)
  32024. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  32025. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  32026. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32027. ==18304==
  32028. ==18304== ----------------------------------------------------------------
  32029. ==18304==
  32030. ==18304== Thread #51: lock order "0x12B7C888 before 0x72FFE68" violated
  32031. ==18304==
  32032. ==18304== Observed (incorrect) order is: acquisition of lock at 0x72FFE68
  32033. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32034. ==18304==    by 0x4CEAE82: switch_core_session_perform_locate (switch_core_session.c:126)
  32035. ==18304==    by 0xB07792F: jsock_send_event (mod_verto.c:700)
  32036. ==18304==    by 0x4D51719: _switch_event_channel_broadcast (switch_event.c:2909)
  32037. ==18304==    by 0x4D51860: ecd_deliver (switch_event.c:2977)
  32038. ==18304==    by 0x4D51B42: switch_event_channel_deliver_thread (switch_event.c:3017)
  32039. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32040. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32041. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32042. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32043. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32044. ==18304==
  32045. ==18304==  followed by a later acquisition of lock at 0x12B7C888
  32046. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  32047. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  32048. ==18304==    by 0x4CEAEA1: switch_core_session_perform_locate (switch_core_session.c:135)
  32049. ==18304==    by 0xB07792F: jsock_send_event (mod_verto.c:700)
  32050. ==18304==    by 0x4D51719: _switch_event_channel_broadcast (switch_event.c:2909)
  32051. ==18304==    by 0x4D51860: ecd_deliver (switch_event.c:2977)
  32052. ==18304==    by 0x4D51B42: switch_event_channel_deliver_thread (switch_event.c:3017)
  32053. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32054. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32055. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32056. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32057. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32058. ==18304==
  32059. ==18304==  Lock at 0x12B7C888 was first observed
  32060. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  32061. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  32062. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  32063. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  32064. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  32065. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  32066. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  32067. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  32068. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32069. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32070. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32071. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32072. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  32073. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32074. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  32075. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  32076. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  32077. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  32078. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  32079. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  32080. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  32081. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  32082. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  32083. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32084. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32085. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32086. ==18304==  Block was alloc'd by thread #14
  32087. ==18304==
  32088. ==18304==  Lock at 0x72FFE68 was first observed
  32089. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32090. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32091. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  32092. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  32093. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32094. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  32095. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32096. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32097. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32098. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  32099. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  32100. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  32101. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  32102. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32103. ==18304==  Block was alloc'd by thread #1
  32104. ==18304==
  32105. ==18304==
  32106. ==18304== ----------------------------------------------------------------
  32107. ==18304==
  32108. ==18304== Thread #53: lock order "0x13113790 before 0x7D7DCC8" violated
  32109. ==18304==
  32110. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  32111. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  32112. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  32113. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  32114. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  32115. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32116. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32117. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32118. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32119. ==18304==
  32120. ==18304==  followed by a later acquisition of lock at 0x13113790
  32121. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32122. ==18304==    by 0x12D66773: conference_thread_run (mod_conference.c:255)
  32123. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32124. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32125. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32126. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32127. ==18304==
  32128. ==18304==  Lock at 0x13113790 was first observed
  32129. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32130. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32131. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  32132. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32133. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32134. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32135. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32136. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32137. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32138. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32139. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32140. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32141. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32142. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  32143. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32144. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32145. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32146. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  32147. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  32148. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  32149. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32150. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32151. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32152. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32153. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32154. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32155. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32156. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32157. ==18304==  Block was alloc'd by thread #50
  32158. ==18304==
  32159. ==18304==  Lock at 0x7D7DCC8 was first observed
  32160. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  32161. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  32162. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  32163. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  32164. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  32165. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32166. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  32167. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32168. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32169. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  32170. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32171. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  32172. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  32173. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  32174. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  32175. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32176. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  32177. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32178. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32179. ==18304==  Block was alloc'd by thread #1
  32180. ==18304==
  32181. ==18304==
  32182. ==18304== ----------------------------------------------------------------
  32183. ==18304==
  32184. ==18304== Thread #53: lock order "0x79E2370 before 0x13113790" violated
  32185. ==18304==
  32186. ==18304== Observed (incorrect) order is: acquisition of lock at 0x13113790
  32187. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32188. ==18304==    by 0x12D66773: conference_thread_run (mod_conference.c:255)
  32189. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32190. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32191. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32192. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32193. ==18304==
  32194. ==18304==  followed by a later acquisition of lock at 0x79E2370
  32195. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32196. ==18304==    by 0x4D47A27: switch_loadable_module_get_file_interface (switch_loadable_module.c:2539)
  32197. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  32198. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  32199. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  32200. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32201. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32202. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32203. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32204. ==18304==
  32205. ==18304==  Lock at 0x79E2370 was first observed
  32206. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32207. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32208. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  32209. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32210. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32211. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  32212. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32213. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  32214. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  32215. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  32216. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  32217. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32218. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32219. ==18304==  Block was alloc'd by thread #1
  32220. ==18304==
  32221. ==18304==  Lock at 0x13113790 was first observed
  32222. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32223. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32224. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  32225. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32226. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32227. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32228. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32229. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32230. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32231. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32232. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32233. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32234. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32235. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  32236. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32237. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32238. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32239. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  32240. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  32241. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  32242. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32243. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32244. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32245. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32246. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32247. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32248. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32249. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32250. ==18304==  Block was alloc'd by thread #50
  32251. ==18304==
  32252. ==18304==
  32253. ==18304== ----------------------------------------------------------------
  32254. ==18304==
  32255. ==18304== Thread #53: lock order "0x7A4C0C0 before 0x7A4C060" violated
  32256. ==18304==
  32257. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7A4C060
  32258. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  32259. ==18304==    by 0x4D47ABB: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  32260. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  32261. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  32262. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  32263. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32264. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32265. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32266. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32267. ==18304==
  32268. ==18304==  followed by a later acquisition of lock at 0x7A4C0C0
  32269. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32270. ==18304==    by 0x4CDDC8E: switch_core_perform_file_open (switch_core_file.c:389)
  32271. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  32272. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  32273. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32274. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32275. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32276. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32277. ==18304==
  32278. ==18304== Required order was established by acquisition of lock at 0x7A4C0C0
  32279. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32280. ==18304==    by 0x4D47A9F: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  32281. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  32282. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  32283. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  32284. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32285. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32286. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32287. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32288. ==18304==
  32289. ==18304==  followed by a later acquisition of lock at 0x7A4C060
  32290. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  32291. ==18304==    by 0x4D47ABB: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  32292. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  32293. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  32294. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  32295. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32296. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32297. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32298. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32299. ==18304==
  32300. ==18304==  Lock at 0x7A4C0C0 was first observed
  32301. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32302. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32303. ==18304==    by 0x4D4A5BE: switch_loadable_module_create_interface (switch_loadable_module.c:3134)
  32304. ==18304==    by 0x14020DCB: mod_local_stream_load (mod_local_stream.c:1547)
  32305. ==18304==    by 0x14020DCB: mod_local_stream_load (mod_local_stream.c:1531)
  32306. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  32307. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32308. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  32309. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32310. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32311. ==18304==  Address 0x7a4c0c0 is 944 bytes inside a block of size 8,192 alloc'd
  32312. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32313. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  32314. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  32315. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  32316. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  32317. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32318. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  32319. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32320. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32321. ==18304==  Block was alloc'd by thread #1
  32322. ==18304==
  32323. ==18304==  Lock at 0x7A4C060 was first observed
  32324. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  32325. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  32326. ==18304==    by 0x4D4A5A6: switch_loadable_module_create_interface (switch_loadable_module.c:3134)
  32327. ==18304==    by 0x14020DCB: mod_local_stream_load (mod_local_stream.c:1547)
  32328. ==18304==    by 0x14020DCB: mod_local_stream_load (mod_local_stream.c:1531)
  32329. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  32330. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32331. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  32332. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32333. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32334. ==18304==  Address 0x7a4c060 is 848 bytes inside a block of size 8,192 alloc'd
  32335. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32336. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  32337. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  32338. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  32339. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  32340. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32341. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  32342. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32343. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32344. ==18304==  Block was alloc'd by thread #1
  32345. ==18304==
  32346. ==18304==
  32347. ==18304== ----------------------------------------------------------------
  32348. ==18304==
  32349. ==18304== Thread #53: lock order "0x7A67D80 before 0x13113790" violated
  32350. ==18304==
  32351. ==18304== Observed (incorrect) order is: acquisition of lock at 0x13113790
  32352. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32353. ==18304==    by 0x12D66773: conference_thread_run (mod_conference.c:255)
  32354. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32355. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32356. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32357. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32358. ==18304==
  32359. ==18304==  followed by a later acquisition of lock at 0x7A67D80
  32360. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32361. ==18304==    by 0x12D66CDE: conference_thread_run (mod_conference.c:697)
  32362. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32363. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32364. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32365. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32366. ==18304==
  32367. ==18304==  Lock at 0x7A67D80 was first observed
  32368. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32369. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32370. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  32371. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32372. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32373. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32374. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32375. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32376. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32377. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32378. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32379. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32380. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32381. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  32382. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32383. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32384. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32385. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  32386. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  32387. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  32388. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  32389. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  32390. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  32391. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  32392. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  32393. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  32394. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  32395. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32396. ==18304==  Block was alloc'd by thread #50
  32397. ==18304==
  32398. ==18304==  Lock at 0x13113790 was first observed
  32399. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32400. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32401. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  32402. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32403. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32404. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32405. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32406. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32407. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32408. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32409. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32410. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32411. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32412. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  32413. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32414. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32415. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32416. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  32417. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  32418. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  32419. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32420. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32421. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32422. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32423. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32424. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32425. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32426. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32427. ==18304==  Block was alloc'd by thread #50
  32428. ==18304==
  32429. ==18304==
  32430. ==18304== ----------------------------------------------------------------
  32431. ==18304==
  32432. ==18304== Thread #50: lock order "0x13113790 before 0x7DAC5F0" violated
  32433. ==18304==
  32434. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  32435. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  32436. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  32437. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  32438. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  32439. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  32440. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32441. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32442. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32443. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32444. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32445. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32446. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32447. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32448. ==18304==
  32449. ==18304==  followed by a later acquisition of lock at 0x13113790
  32450. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32451. ==18304==    by 0x12D78043: conference_cdr_rfc4579_render (conference_cdr.c:82)
  32452. ==18304==    by 0x12D89A34: conference_event_send_rfc (conference_event.c:730)
  32453. ==18304==    by 0x12D8DEA4: conference_member_add (conference_member.c:1054)
  32454. ==18304==    by 0x12D64C68: conference_function (mod_conference.c:2450)
  32455. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32456. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32457. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32458. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32459. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32460. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32461. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32462. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32463. ==18304==
  32464. ==18304==  Lock at 0x13113790 was first observed
  32465. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32466. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32467. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  32468. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32469. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32470. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32471. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32472. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32473. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32474. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32475. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32476. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32477. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32478. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  32479. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32480. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32481. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32482. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  32483. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  32484. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  32485. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32486. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32487. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32488. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32489. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32490. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32491. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32492. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32493. ==18304==  Block was alloc'd by thread #50
  32494. ==18304==
  32495. ==18304==  Lock at 0x7DAC5F0 was first observed
  32496. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  32497. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  32498. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  32499. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  32500. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  32501. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32502. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  32503. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32504. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32505. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  32506. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32507. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  32508. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  32509. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  32510. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  32511. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32512. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  32513. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32514. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32515. ==18304==  Block was alloc'd by thread #1
  32516. ==18304==
  32517. ==18304==
  32518. ==18304== ----------------------------------------------------------------
  32519. ==18304==
  32520. ==18304== Thread #50: lock order "0x13113790 before 0x7DAC5F0" violated
  32521. ==18304==
  32522. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  32523. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  32524. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  32525. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  32526. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  32527. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  32528. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32529. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32530. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32531. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32532. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32533. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32534. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32535. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32536. ==18304==
  32537. ==18304==  followed by a later acquisition of lock at 0x13113790
  32538. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32539. ==18304==    by 0x12D789D2: conference_cdr_json_render (conference_cdr.c:340)
  32540. ==18304==    by 0x12D89359: conference_event_send_json (conference_event.c:545)
  32541. ==18304==    by 0x12D8DEAC: conference_member_add (conference_member.c:1055)
  32542. ==18304==    by 0x12D64C68: conference_function (mod_conference.c:2450)
  32543. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32544. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32545. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32546. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32547. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32548. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32549. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32550. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32551. ==18304==
  32552. ==18304==  Lock at 0x13113790 was first observed
  32553. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32554. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32555. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  32556. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32557. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32558. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32559. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32560. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32561. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32562. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32563. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32564. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32565. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32566. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  32567. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32568. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32569. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32570. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  32571. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  32572. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  32573. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32574. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32575. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32576. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32577. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32578. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32579. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32580. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32581. ==18304==  Block was alloc'd by thread #50
  32582. ==18304==
  32583. ==18304==  Lock at 0x7DAC5F0 was first observed
  32584. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  32585. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  32586. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  32587. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  32588. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  32589. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32590. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  32591. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32592. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32593. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  32594. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32595. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  32596. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  32597. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  32598. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  32599. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32600. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  32601. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32602. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32603. ==18304==  Block was alloc'd by thread #1
  32604. ==18304==
  32605. ==18304==
  32606. ==18304== ----------------------------------------------------------------
  32607. ==18304==
  32608. ==18304==  Lock at 0x7A67C40 was first observed
  32609. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32610. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32611. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  32612. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32613. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32614. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32615. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32616. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32617. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32618. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32619. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32620. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32621. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32622. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  32623. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32624. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32625. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32626. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  32627. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  32628. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  32629. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  32630. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  32631. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  32632. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  32633. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  32634. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  32635. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  32636. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32637. ==18304==  Block was alloc'd by thread #50
  32638. ==18304==
  32639. ==18304==  Lock at 0x12B7C550 was first observed
  32640. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32641. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32642. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  32643. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  32644. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  32645. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  32646. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  32647. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  32648. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32649. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32650. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32651. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32652. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  32653. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32654. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  32655. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  32656. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  32657. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  32658. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  32659. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  32660. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  32661. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  32662. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  32663. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32664. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32665. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32666. ==18304==  Block was alloc'd by thread #14
  32667. ==18304==
  32668. ==18304==  Lock at 0x7A67D80 was first observed
  32669. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32670. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32671. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  32672. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32673. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32674. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32675. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32676. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32677. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32678. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32679. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32680. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32681. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32682. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  32683. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32684. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32685. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32686. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  32687. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  32688. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  32689. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  32690. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  32691. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  32692. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  32693. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  32694. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  32695. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  32696. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32697. ==18304==  Block was alloc'd by thread #50
  32698. ==18304==
  32699. ==18304==  Lock at 0x13113790 was first observed
  32700. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32701. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32702. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  32703. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32704. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32705. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32706. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32707. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32708. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32709. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32710. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32711. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32712. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32713. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  32714. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32715. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32716. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32717. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  32718. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  32719. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  32720. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  32721. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32722. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32723. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32724. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32725. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32726. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32727. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32728. ==18304==  Block was alloc'd by thread #50
  32729. ==18304==
  32730. ==18304== Possible data race during read of size 8 at 0x1295AEC0 by thread #50
  32731. ==18304== Locks held: 2, at addresses 0x7A67C40 0x12B7C550
  32732. ==18304==    at 0x4CBE260: switch_buffer_inuse (switch_buffer.c:197)
  32733. ==18304==    by 0x12D777A3: conference_loop_output (conference_loop.c:1507)
  32734. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  32735. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32736. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32737. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32738. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32739. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32740. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32741. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32742. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32743. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32744. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32745. ==18304==
  32746. ==18304== This conflicts with a previous write of size 8 by thread #53
  32747. ==18304== Locks held: 2, at addresses 0x7A67D80 0x13113790
  32748. ==18304==    at 0x4CBE40A: switch_buffer_write (switch_buffer.c:348)
  32749. ==18304==    by 0x4CBE40A: switch_buffer_write (switch_buffer.c:296)
  32750. ==18304==    by 0x12D66CEE: conference_thread_run (mod_conference.c:698)
  32751. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32752. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32753. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32754. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32755. ==18304==  Address 0x1295aec0 is 16 bytes inside a block of size 80 alloc'd
  32756. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32757. ==18304==    by 0x4CBE0ED: switch_buffer_create_dynamic (switch_buffer.c:118)
  32758. ==18304==    by 0x12D8FEA4: conference_member_setup_media (conference_member.c:1827)
  32759. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  32760. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32761. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32762. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32763. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32764. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32765. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32766. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32767. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32768. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32769. ==18304==  Block was alloc'd by thread #50
  32770. ==18304==
  32771. ==18304== ----------------------------------------------------------------
  32772. ==18304==
  32773. ==18304== Thread #50: lock order "0x7A67D80 before 0x7DAC5F0" violated
  32774. ==18304==
  32775. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  32776. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  32777. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  32778. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  32779. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  32780. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  32781. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32782. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32783. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32784. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32785. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32786. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32787. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32788. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32789. ==18304==
  32790. ==18304==  followed by a later acquisition of lock at 0x7A67D80
  32791. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32792. ==18304==    by 0x12D777DE: conference_loop_output (conference_loop.c:1525)
  32793. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  32794. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32795. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32796. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32797. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32798. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32799. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32800. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32801. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32802. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32803. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32804. ==18304==
  32805. ==18304== Required order was established by acquisition of lock at 0x7A67D80
  32806. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32807. ==18304==    by 0x12D8FAC9: conference_member_setup_media (conference_member.c:1737)
  32808. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  32809. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32810. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32811. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32812. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32813. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32814. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32815. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32816. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32817. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32818. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32819. ==18304==
  32820. ==18304==  followed by a later acquisition of lock at 0x7DAC5F0
  32821. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  32822. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  32823. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  32824. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  32825. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  32826. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32827. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32828. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32829. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32830. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32831. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32832. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32833. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32834. ==18304==
  32835. ==18304==  Lock at 0x7A67D80 was first observed
  32836. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32837. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32838. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  32839. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32840. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32841. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32842. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32843. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32844. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  32845. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  32846. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  32847. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  32848. ==18304==    by 0x560E4CE: clone (clone.S:95)
  32849. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  32850. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32851. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32852. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32853. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  32854. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  32855. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  32856. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  32857. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  32858. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  32859. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  32860. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  32861. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  32862. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  32863. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32864. ==18304==  Block was alloc'd by thread #50
  32865. ==18304==
  32866. ==18304==  Lock at 0x7DAC5F0 was first observed
  32867. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  32868. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  32869. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  32870. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  32871. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  32872. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32873. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  32874. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32875. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32876. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  32877. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32878. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  32879. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  32880. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  32881. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  32882. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  32883. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  32884. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  32885. ==18304==    by 0x10AEC7: main (switch.c:1200)
  32886. ==18304==  Block was alloc'd by thread #1
  32887. ==18304==
  32888. ==18304==
  32889. ==18304== ----------------------------------------------------------------
  32890. ==18304==
  32891. ==18304== Thread #50: lock order "0x13010D98 before 0x13010E38" violated
  32892. ==18304==
  32893. ==18304== Observed (incorrect) order is: acquisition of lock at 0x13010E38
  32894. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32895. ==18304==    by 0x4D605BB: rtp_common_write (switch_rtp.c:8242)
  32896. ==18304==    by 0x4D6CC97: switch_rtp_write_frame (switch_rtp.c:9055)
  32897. ==18304==    by 0x4D0E554: switch_core_media_write_frame (switch_core_media.c:3471)
  32898. ==18304==    by 0x9551282: sofia_write_frame (mod_sofia.c:1226)
  32899. ==18304==    by 0x4D0396A: perform_write (switch_core_media.c:7159)
  32900. ==18304==    by 0x4D320FD: switch_core_session_write_frame (switch_core_media.c:16277)
  32901. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  32902. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  32903. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32904. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32905. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32906. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32907. ==18304==
  32908. ==18304==  followed by a later acquisition of lock at 0x13010D98
  32909. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32910. ==18304==    by 0x4D5EDAA: switch_rtp_ready (switch_rtp.c:5063)
  32911. ==18304==    by 0x4D608A4: rtp_common_write (switch_rtp.c:8526)
  32912. ==18304==    by 0x4D6CC97: switch_rtp_write_frame (switch_rtp.c:9055)
  32913. ==18304==    by 0x4D0E554: switch_core_media_write_frame (switch_core_media.c:3471)
  32914. ==18304==    by 0x9551282: sofia_write_frame (mod_sofia.c:1226)
  32915. ==18304==    by 0x4D0396A: perform_write (switch_core_media.c:7159)
  32916. ==18304==    by 0x4D320FD: switch_core_session_write_frame (switch_core_media.c:16277)
  32917. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  32918. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  32919. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32920. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32921. ==18304==
  32922. ==18304== Required order was established by acquisition of lock at 0x13010D98
  32923. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32924. ==18304==    by 0x4D62A7C: switch_rtp_new (switch_rtp.c:4573)
  32925. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  32926. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  32927. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  32928. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  32929. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  32930. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  32931. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  32932. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32933. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32934. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32935. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32936. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  32937. ==18304==
  32938. ==18304==  followed by a later acquisition of lock at 0x13010E38
  32939. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  32940. ==18304==    by 0x4D5CDF8: switch_rtp_set_remote_address (switch_rtp.c:3078)
  32941. ==18304==    by 0x4D62AAF: switch_rtp_new (switch_rtp.c:4581)
  32942. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  32943. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  32944. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  32945. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  32946. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  32947. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  32948. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  32949. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32950. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32951. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  32952. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  32953. ==18304==
  32954. ==18304==  Lock at 0x13010D98 was first observed
  32955. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32956. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32957. ==18304==    by 0x4D623DB: switch_rtp_create (switch_rtp.c:4350)
  32958. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  32959. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  32960. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  32961. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  32962. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  32963. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  32964. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  32965. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  32966. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32967. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32968. ==18304==  Address 0x13010d98 is 93,352 bytes inside a block of size 94,208 alloc'd
  32969. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  32970. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  32971. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  32972. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  32973. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  32974. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  32975. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  32976. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  32977. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  32978. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  32979. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  32980. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  32981. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  32982. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32983. ==18304==  Block was alloc'd by thread #50
  32984. ==18304==
  32985. ==18304==  Lock at 0x13010E38 was first observed
  32986. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32987. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  32988. ==18304==    by 0x4D62403: switch_rtp_create (switch_rtp.c:4352)
  32989. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  32990. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  32991. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  32992. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  32993. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  32994. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  32995. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  32996. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  32997. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  32998. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  32999. ==18304==  Address 0x13010e38 is 93,512 bytes inside a block of size 94,208 alloc'd
  33000. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33001. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33002. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33003. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  33004. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  33005. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33006. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33007. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33008. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33009. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33010. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33011. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33012. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33013. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33014. ==18304==  Block was alloc'd by thread #50
  33015. ==18304==
  33016. ==18304==
  33017. ==18304== ----------------------------------------------------------------
  33018. ==18304==
  33019. ==18304==  Lock at 0x7A67C40 was first observed
  33020. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33021. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33022. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  33023. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33024. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33025. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33026. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33027. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33028. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33029. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33030. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33031. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33032. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33033. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  33034. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33035. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33036. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33037. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33038. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  33039. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33040. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33041. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33042. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33043. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33044. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33045. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33046. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33047. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33048. ==18304==  Block was alloc'd by thread #50
  33049. ==18304==
  33050. ==18304==  Lock at 0x7A67D80 was first observed
  33051. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33052. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33053. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  33054. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33055. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33056. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33057. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33058. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33059. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33060. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33061. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33062. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33063. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33064. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  33065. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33066. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33067. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33068. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33069. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  33070. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33071. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33072. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33073. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33074. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33075. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33076. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33077. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33078. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33079. ==18304==  Block was alloc'd by thread #50
  33080. ==18304==
  33081. ==18304==  Lock at 0xBC83800 was first observed
  33082. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33083. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33084. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  33085. ==18304==    by 0x12D8FD21: conference_member_setup_media (conference_member.c:1803)
  33086. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  33087. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33088. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33089. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33090. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33091. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33092. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33093. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33094. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33095. ==18304==  Address 0xbc83800 is 8,240 bytes inside a block of size 12,288 alloc'd
  33096. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33097. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33098. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33099. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  33100. ==18304==    by 0x12D8FCB4: conference_member_setup_media (conference_member.c:1790)
  33101. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  33102. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33103. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33104. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33105. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33106. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33107. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33108. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33109. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33110. ==18304==  Block was alloc'd by thread #50
  33111. ==18304==
  33112. ==18304==  Lock at 0x12B7C550 was first observed
  33113. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33114. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33115. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  33116. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33117. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33118. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33119. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33120. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33121. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33122. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33123. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33124. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33125. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  33126. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33127. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  33128. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  33129. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  33130. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  33131. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33132. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33133. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33134. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33135. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33136. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33137. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33138. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33139. ==18304==  Block was alloc'd by thread #14
  33140. ==18304==
  33141. ==18304==  Lock at 0x12B7C690 was first observed
  33142. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33143. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33144. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  33145. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33146. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33147. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33148. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33149. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33150. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33151. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33152. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33153. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33154. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  33155. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33156. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  33157. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  33158. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  33159. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  33160. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33161. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33162. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33163. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33164. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33165. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33166. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33167. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33168. ==18304==  Block was alloc'd by thread #14
  33169. ==18304==
  33170. ==18304==  Lock at 0x13010E38 was first observed
  33171. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33172. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33173. ==18304==    by 0x4D62403: switch_rtp_create (switch_rtp.c:4352)
  33174. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33175. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33176. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33177. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33178. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33179. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33180. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33181. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33182. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33183. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33184. ==18304==  Address 0x13010e38 is 93,512 bytes inside a block of size 94,208 alloc'd
  33185. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33186. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33187. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33188. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  33189. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  33190. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33191. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33192. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33193. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33194. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33195. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33196. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33197. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33198. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33199. ==18304==  Block was alloc'd by thread #50
  33200. ==18304==
  33201. ==18304==  Lock at 0x130402C8 was first observed
  33202. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33203. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33204. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  33205. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  33206. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  33207. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  33208. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  33209. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33210. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33211. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33212. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33213. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33214. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33215. ==18304==  Address 0x130402c8 is 6,184 bytes inside a block of size 8,192 alloc'd
  33216. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33217. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33218. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33219. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33220. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  33221. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33222. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33223. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33224. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33225. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33226. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33227. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33228. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33229. ==18304==  Block was alloc'd by thread #14
  33230. ==18304==
  33231. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  33232. ==18304== Locks held: 7, at addresses 0x7A67C40 0x7A67D80 0xBC83800 0x12B7C550 0x12B7C690 0x13010E38 0x130402C8
  33233. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  33234. ==18304==    by 0x4D60A9A: rtp_common_write (switch_rtp.c:8637)
  33235. ==18304==    by 0x4D6CC97: switch_rtp_write_frame (switch_rtp.c:9055)
  33236. ==18304==    by 0x4D0E554: switch_core_media_write_frame (switch_core_media.c:3471)
  33237. ==18304==    by 0x9551282: sofia_write_frame (mod_sofia.c:1226)
  33238. ==18304==    by 0x4D0396A: perform_write (switch_core_media.c:7159)
  33239. ==18304==    by 0x4D320FD: switch_core_session_write_frame (switch_core_media.c:16277)
  33240. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  33241. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  33242. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33243. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33244. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33245. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33246. ==18304==
  33247. ==18304== This conflicts with a previous write of size 8 by thread #44
  33248. ==18304== Locks held: none
  33249. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  33250. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  33251. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33252. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33253. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33254. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33255. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  33256. ==18304==
  33257. ==18304== ----------------------------------------------------------------
  33258. ==18304==
  33259. ==18304==  Lock at 0x7A67C40 was first observed
  33260. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33261. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33262. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  33263. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33264. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33265. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33266. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33267. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33268. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33269. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33270. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33271. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33272. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33273. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  33274. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33275. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33276. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33277. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33278. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  33279. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33280. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33281. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33282. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33283. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33284. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33285. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33286. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33287. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33288. ==18304==  Block was alloc'd by thread #50
  33289. ==18304==
  33290. ==18304==  Lock at 0x7A67D80 was first observed
  33291. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33292. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33293. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  33294. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33295. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33296. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33297. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33298. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33299. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33300. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33301. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33302. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33303. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33304. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  33305. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33306. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33307. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33308. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33309. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  33310. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33311. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33312. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33313. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33314. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33315. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33316. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33317. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33318. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33319. ==18304==  Block was alloc'd by thread #50
  33320. ==18304==
  33321. ==18304==  Lock at 0xBC83800 was first observed
  33322. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33323. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33324. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  33325. ==18304==    by 0x12D8FD21: conference_member_setup_media (conference_member.c:1803)
  33326. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  33327. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33328. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33329. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33330. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33331. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33332. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33333. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33334. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33335. ==18304==  Address 0xbc83800 is 8,240 bytes inside a block of size 12,288 alloc'd
  33336. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33337. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33338. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33339. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  33340. ==18304==    by 0x12D8FCB4: conference_member_setup_media (conference_member.c:1790)
  33341. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  33342. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33343. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33344. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33345. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33346. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33347. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33348. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33349. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33350. ==18304==  Block was alloc'd by thread #50
  33351. ==18304==
  33352. ==18304==  Lock at 0x12B7C550 was first observed
  33353. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33354. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33355. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  33356. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33357. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33358. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33359. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33360. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33361. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33362. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33363. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33364. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33365. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  33366. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33367. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  33368. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  33369. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  33370. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  33371. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33372. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33373. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33374. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33375. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33376. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33377. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33378. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33379. ==18304==  Block was alloc'd by thread #14
  33380. ==18304==
  33381. ==18304==  Lock at 0x12B7C690 was first observed
  33382. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33383. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33384. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  33385. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33386. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33387. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33388. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33389. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33390. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33391. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33392. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33393. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33394. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  33395. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33396. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  33397. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  33398. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  33399. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  33400. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33401. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33402. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33403. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33404. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33405. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33406. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33407. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33408. ==18304==  Block was alloc'd by thread #14
  33409. ==18304==
  33410. ==18304==  Lock at 0x13010E38 was first observed
  33411. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33412. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33413. ==18304==    by 0x4D62403: switch_rtp_create (switch_rtp.c:4352)
  33414. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33415. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33416. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33417. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33418. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33419. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33420. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33421. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33422. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33423. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33424. ==18304==  Address 0x13010e38 is 93,512 bytes inside a block of size 94,208 alloc'd
  33425. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33426. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33427. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33428. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  33429. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  33430. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33431. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33432. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33433. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33434. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33435. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33436. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33437. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33438. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33439. ==18304==  Block was alloc'd by thread #50
  33440. ==18304==
  33441. ==18304==  Lock at 0x130402C8 was first observed
  33442. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33443. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33444. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  33445. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  33446. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  33447. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  33448. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  33449. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33450. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33451. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33452. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33453. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33454. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33455. ==18304==  Address 0x130402c8 is 6,184 bytes inside a block of size 8,192 alloc'd
  33456. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33457. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33458. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33459. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33460. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  33461. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33462. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33463. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33464. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33465. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33466. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33467. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33468. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33469. ==18304==  Block was alloc'd by thread #14
  33470. ==18304==
  33471. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  33472. ==18304== Locks held: 7, at addresses 0x7A67C40 0x7A67D80 0xBC83800 0x12B7C550 0x12B7C690 0x13010E38 0x130402C8
  33473. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  33474. ==18304==    by 0x4D60B7C: rtp_common_write (switch_rtp.c:8750)
  33475. ==18304==    by 0x4D6CC97: switch_rtp_write_frame (switch_rtp.c:9055)
  33476. ==18304==    by 0x4D0E554: switch_core_media_write_frame (switch_core_media.c:3471)
  33477. ==18304==    by 0x9551282: sofia_write_frame (mod_sofia.c:1226)
  33478. ==18304==    by 0x4D0396A: perform_write (switch_core_media.c:7159)
  33479. ==18304==    by 0x4D320FD: switch_core_session_write_frame (switch_core_media.c:16277)
  33480. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  33481. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  33482. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33483. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33484. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33485. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33486. ==18304==
  33487. ==18304== This conflicts with a previous write of size 8 by thread #44
  33488. ==18304== Locks held: none
  33489. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  33490. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  33491. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33492. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33493. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33494. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33495. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  33496. ==18304==
  33497. ==18304== ----------------------------------------------------------------
  33498. ==18304==
  33499. ==18304== Thread #50: lock order "0x7A67D80 before 0x12B7C550" violated
  33500. ==18304==
  33501. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C550
  33502. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  33503. ==18304==    by 0x4CF4411: switch_core_session_run (switch_core_state_machine.c:565)
  33504. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33505. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33506. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33507. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33508. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33509. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33510. ==18304==
  33511. ==18304==  followed by a later acquisition of lock at 0x7A67D80
  33512. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  33513. ==18304==    by 0x12D77BB6: conference_loop_output (conference_loop.c:1559)
  33514. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  33515. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33516. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33517. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33518. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33519. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33520. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33521. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33522. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33523. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33524. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33525. ==18304==
  33526. ==18304==  Lock at 0x7A67D80 was first observed
  33527. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33528. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33529. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  33530. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33531. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33532. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33533. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33534. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33535. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  33536. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33537. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33538. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33539. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33540. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  33541. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33542. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33543. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33544. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33545. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  33546. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33547. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33548. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33549. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33550. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33551. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33552. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33553. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33554. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33555. ==18304==  Block was alloc'd by thread #50
  33556. ==18304==
  33557. ==18304==  Lock at 0x12B7C550 was first observed
  33558. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33559. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33560. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  33561. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33562. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33563. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33564. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33565. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33566. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33567. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33568. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33569. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33570. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  33571. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33572. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  33573. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  33574. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  33575. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  33576. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33577. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33578. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33579. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33580. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33581. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33582. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33583. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33584. ==18304==  Block was alloc'd by thread #14
  33585. ==18304==
  33586. ==18304==
  33587. ==18304== ---Thread-Announcement------------------------------------------
  33588. ==18304==
  33589. ==18304== Thread #56 was created
  33590. ==18304==    at 0x560E4BE: clone (clone.S:71)
  33591. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  33592. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  33593. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  33594. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  33595. ==18304==    by 0x12D76C21: conference_loop_launch_input (conference_loop.c:1289)
  33596. ==18304==    by 0x12D76E13: conference_loop_output (conference_loop.c:1349)
  33597. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  33598. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33599. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33600. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33601. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33602. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33603. ==18304==
  33604. ==18304== ----------------------------------------------------------------
  33605. ==18304==
  33606. ==18304==  Lock at 0x7A67840 was first observed
  33607. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33608. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33609. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  33610. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33611. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33612. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33613. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33614. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33615. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33616. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33617. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33618. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33619. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33620. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33621. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  33622. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33623. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33624. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33625. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33626. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  33627. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33628. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33629. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33630. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33631. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33632. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33633. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33634. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33635. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33636. ==18304==  Block was alloc'd by thread #50
  33637. ==18304==
  33638. ==18304==  Lock at 0x13010DE8 was first observed
  33639. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33640. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33641. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  33642. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33643. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33644. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33645. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33646. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33647. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33648. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33649. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33650. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33651. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33652. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  33653. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33654. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33655. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33656. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  33657. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  33658. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33659. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33660. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33661. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33662. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33663. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33664. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33665. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33666. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33667. ==18304==  Block was alloc'd by thread #50
  33668. ==18304==
  33669. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #56
  33670. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  33671. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  33672. ==18304==    by 0x4D5C405: check_jitter (switch_rtp.c:1654)
  33673. ==18304==    by 0x4D68C89: read_rtp_packet.part.22 (switch_rtp.c:5961)
  33674. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  33675. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  33676. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  33677. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  33678. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  33679. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  33680. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  33681. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33682. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33683. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33684. ==18304==
  33685. ==18304== This conflicts with a previous write of size 8 by thread #44
  33686. ==18304== Locks held: none
  33687. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  33688. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  33689. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33690. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33691. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33692. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33693. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  33694. ==18304==
  33695. ==18304== ----------------------------------------------------------------
  33696. ==18304==
  33697. ==18304==  Lock at 0x7A67840 was first observed
  33698. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33699. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33700. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  33701. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33702. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33703. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33704. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33705. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33706. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33707. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33708. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33709. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33710. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33711. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33712. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  33713. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33714. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33715. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33716. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33717. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  33718. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33719. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33720. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33721. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33722. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33723. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33724. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33725. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33726. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33727. ==18304==  Block was alloc'd by thread #50
  33728. ==18304==
  33729. ==18304==  Lock at 0x13010DE8 was first observed
  33730. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33731. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33732. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  33733. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33734. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33735. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33736. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33737. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33738. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33739. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33740. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33741. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33742. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33743. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  33744. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33745. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33746. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33747. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  33748. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  33749. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33750. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33751. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33752. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33753. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33754. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33755. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33756. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33757. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33758. ==18304==  Block was alloc'd by thread #50
  33759. ==18304==
  33760. ==18304==  Lock at 0x12B7C550 was first observed
  33761. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33762. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33763. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  33764. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33765. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33766. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33767. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33768. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33769. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33770. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33771. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33772. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33773. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  33774. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33775. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  33776. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  33777. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  33778. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  33779. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33780. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33781. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33782. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33783. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33784. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33785. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33786. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33787. ==18304==  Block was alloc'd by thread #14
  33788. ==18304==
  33789. ==18304== Possible data race during read of size 4 at 0x1300A808 by thread #56
  33790. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  33791. ==18304==    at 0x4D5C444: check_jitter (switch_rtp.c:1661)
  33792. ==18304==    by 0x4D68C89: read_rtp_packet.part.22 (switch_rtp.c:5961)
  33793. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  33794. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  33795. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  33796. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  33797. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  33798. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  33799. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  33800. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33801. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33802. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33803. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33804. ==18304==
  33805. ==18304== This conflicts with a previous write of size 4 by thread #50
  33806. ==18304== Locks held: 1, at address 0x12B7C550
  33807. ==18304==    at 0x4D618C5: reset_jitter_seq (switch_rtp.c:1644)
  33808. ==18304==    by 0x4D618C5: rtp_flush_read_buffer (switch_rtp.c:5571)
  33809. ==18304==    by 0x4D618C5: rtp_flush_read_buffer (switch_rtp.c:5559)
  33810. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  33811. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  33812. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  33813. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  33814. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  33815. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33816. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33817. ==18304==  Address 0x1300a808 is 67,352 bytes inside a block of size 94,208 alloc'd
  33818. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33819. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33820. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33821. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  33822. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  33823. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33824. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33825. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33826. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33827. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33828. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33829. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33830. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33831. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33832. ==18304==  Block was alloc'd by thread #50
  33833. ==18304==
  33834. ==18304== ----------------------------------------------------------------
  33835. ==18304==
  33836. ==18304==  Lock at 0x7A67840 was first observed
  33837. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33838. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33839. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  33840. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33841. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33842. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33843. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33844. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33845. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33846. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33847. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33848. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33849. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33850. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33851. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  33852. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33853. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33854. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33855. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33856. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  33857. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33858. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33859. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33860. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33861. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33862. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33863. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33864. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33865. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33866. ==18304==  Block was alloc'd by thread #50
  33867. ==18304==
  33868. ==18304==  Lock at 0x13010DE8 was first observed
  33869. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33870. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33871. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  33872. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33873. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33874. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33875. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33876. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33877. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33878. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33879. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33880. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33881. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33882. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  33883. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33884. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33885. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33886. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  33887. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  33888. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33889. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33890. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33891. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33892. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33893. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33894. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33895. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33896. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33897. ==18304==  Block was alloc'd by thread #50
  33898. ==18304==
  33899. ==18304==  Lock at 0x12B7C550 was first observed
  33900. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33901. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33902. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  33903. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33904. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33905. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33906. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33907. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33908. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33909. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33910. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33911. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33912. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  33913. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33914. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  33915. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  33916. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  33917. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  33918. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  33919. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  33920. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  33921. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  33922. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  33923. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33924. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33925. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33926. ==18304==  Block was alloc'd by thread #14
  33927. ==18304==
  33928. ==18304== Possible data race during write of size 4 at 0x1300A808 by thread #56
  33929. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  33930. ==18304==    at 0x4D5C455: check_jitter (switch_rtp.c:1661)
  33931. ==18304==    by 0x4D68C89: read_rtp_packet.part.22 (switch_rtp.c:5961)
  33932. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  33933. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  33934. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  33935. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  33936. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  33937. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  33938. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  33939. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  33940. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  33941. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  33942. ==18304==    by 0x560E4CE: clone (clone.S:95)
  33943. ==18304==
  33944. ==18304== This conflicts with a previous write of size 4 by thread #50
  33945. ==18304== Locks held: 1, at address 0x12B7C550
  33946. ==18304==    at 0x4D618C5: reset_jitter_seq (switch_rtp.c:1644)
  33947. ==18304==    by 0x4D618C5: rtp_flush_read_buffer (switch_rtp.c:5571)
  33948. ==18304==    by 0x4D618C5: rtp_flush_read_buffer (switch_rtp.c:5559)
  33949. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  33950. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  33951. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  33952. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  33953. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  33954. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33955. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33956. ==18304==  Address 0x1300a808 is 67,352 bytes inside a block of size 94,208 alloc'd
  33957. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33958. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33959. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33960. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  33961. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  33962. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33963. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33964. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33965. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33966. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33967. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33968. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33969. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33970. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33971. ==18304==  Block was alloc'd by thread #50
  33972. ==18304==
  33973. ==18304== ----------------------------------------------------------------
  33974. ==18304==
  33975. ==18304==  Lock at 0x7A67840 was first observed
  33976. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  33977. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  33978. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  33979. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33980. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  33981. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  33982. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  33983. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  33984. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  33985. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  33986. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  33987. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  33988. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  33989. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  33990. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  33991. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  33992. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  33993. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  33994. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  33995. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  33996. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  33997. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  33998. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  33999. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34000. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34001. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34002. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34003. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34004. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34005. ==18304==  Block was alloc'd by thread #50
  34006. ==18304==
  34007. ==18304==  Lock at 0x13010DE8 was first observed
  34008. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34009. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34010. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  34011. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34012. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34013. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34014. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34015. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34016. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34017. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34018. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34019. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34020. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34021. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  34022. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34023. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34024. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34025. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34026. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34027. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34028. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34029. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34030. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34031. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34032. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34033. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34034. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34035. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34036. ==18304==  Block was alloc'd by thread #50
  34037. ==18304==
  34038. ==18304==  Lock at 0x12B7C550 was first observed
  34039. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34040. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34041. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  34042. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34043. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34044. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34045. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34046. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34047. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34048. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34049. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34050. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34051. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  34052. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34053. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  34054. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  34055. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  34056. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  34057. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34058. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34059. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34060. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34061. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34062. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34063. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34064. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34065. ==18304==  Block was alloc'd by thread #14
  34066. ==18304==
  34067. ==18304== Possible data race during write of size 8 at 0x1300EAF0 by thread #56
  34068. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  34069. ==18304==    at 0x4D5C600: check_jitter (switch_rtp.c:1662)
  34070. ==18304==    by 0x4D68C89: read_rtp_packet.part.22 (switch_rtp.c:5961)
  34071. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  34072. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  34073. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  34074. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  34075. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  34076. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  34077. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  34078. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34079. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34080. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34081. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34082. ==18304==
  34083. ==18304== This conflicts with a previous write of size 8 by thread #50
  34084. ==18304== Locks held: 1, at address 0x12B7C550
  34085. ==18304==    at 0x4D618B0: reset_jitter_seq (switch_rtp.c:1641)
  34086. ==18304==    by 0x4D618B0: rtp_flush_read_buffer (switch_rtp.c:5571)
  34087. ==18304==    by 0x4D618B0: rtp_flush_read_buffer (switch_rtp.c:5559)
  34088. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  34089. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  34090. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  34091. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  34092. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  34093. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34094. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34095. ==18304==  Address 0x1300eaf0 is 84,480 bytes inside a block of size 94,208 alloc'd
  34096. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34097. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34098. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34099. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34100. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34101. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34102. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34103. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34104. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34105. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34106. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34107. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34108. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34109. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34110. ==18304==  Block was alloc'd by thread #50
  34111. ==18304==
  34112. ==18304== ----------------------------------------------------------------
  34113. ==18304==
  34114. ==18304==  Lock at 0x7A67840 was first observed
  34115. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34116. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34117. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  34118. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34119. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34120. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34121. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34122. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34123. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34124. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34125. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34126. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  34127. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  34128. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  34129. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  34130. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34131. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34132. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34133. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  34134. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  34135. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34136. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34137. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34138. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34139. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34140. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34141. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34142. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34143. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34144. ==18304==  Block was alloc'd by thread #50
  34145. ==18304==
  34146. ==18304==  Lock at 0x13010DE8 was first observed
  34147. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34148. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34149. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  34150. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34151. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34152. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34153. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34154. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34155. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34156. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34157. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34158. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34159. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34160. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  34161. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34162. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34163. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34164. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34165. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34166. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34167. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34168. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34169. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34170. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34171. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34172. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34173. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34174. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34175. ==18304==  Block was alloc'd by thread #50
  34176. ==18304==
  34177. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #56
  34178. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  34179. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  34180. ==18304==    by 0x4D67CB4: read_rtp_packet.part.22 (switch_rtp.c:6097)
  34181. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  34182. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  34183. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  34184. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  34185. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  34186. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  34187. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  34188. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34189. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34190. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34191. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34192. ==18304==
  34193. ==18304== This conflicts with a previous write of size 8 by thread #44
  34194. ==18304== Locks held: none
  34195. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  34196. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  34197. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34198. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34199. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34200. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34201. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  34202. ==18304==
  34203. ==18304== ----------------------------------------------------------------
  34204. ==18304==
  34205. ==18304==  Lock at 0x7A67840 was first observed
  34206. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34207. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34208. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  34209. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34210. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34211. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34212. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34213. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34214. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34215. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34216. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34217. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  34218. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  34219. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  34220. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  34221. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34222. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34223. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34224. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  34225. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  34226. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34227. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34228. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34229. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34230. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34231. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34232. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34233. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34234. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34235. ==18304==  Block was alloc'd by thread #50
  34236. ==18304==
  34237. ==18304==  Lock at 0x13010DE8 was first observed
  34238. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34239. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34240. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  34241. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34242. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34243. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34244. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34245. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34246. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34247. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34248. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34249. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34250. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34251. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  34252. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34253. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34254. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34255. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34256. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34257. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34258. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34259. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34260. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34261. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34262. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34263. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34264. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34265. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34266. ==18304==  Block was alloc'd by thread #50
  34267. ==18304==
  34268. ==18304==  Lock at 0x12B7C550 was first observed
  34269. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34270. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34271. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  34272. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34273. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34274. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34275. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34276. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34277. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34278. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34279. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34280. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34281. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  34282. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34283. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  34284. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  34285. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  34286. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  34287. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34288. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34289. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34290. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34291. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34292. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34293. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34294. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34295. ==18304==  Block was alloc'd by thread #14
  34296. ==18304==
  34297. ==18304== Possible data race during read of size 4 at 0x1300A608 by thread #56
  34298. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  34299. ==18304==    at 0x4D6194D: switch_rtp_set_flag (switch_rtp.c:5298)
  34300. ==18304==    by 0x4D69214: read_rtp_packet.part.22 (switch_rtp.c:6421)
  34301. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  34302. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  34303. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  34304. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  34305. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  34306. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  34307. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  34308. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34309. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34310. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34311. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34312. ==18304==
  34313. ==18304== This conflicts with a previous write of size 4 by thread #50
  34314. ==18304== Locks held: 1, at address 0x12B7C550
  34315. ==18304==    at 0x4D618A6: rtp_flush_read_buffer (switch_rtp.c:5570)
  34316. ==18304==    by 0x4D618A6: rtp_flush_read_buffer (switch_rtp.c:5559)
  34317. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  34318. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  34319. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  34320. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  34321. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  34322. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34323. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34324. ==18304==  Address 0x1300a608 is 66,840 bytes inside a block of size 94,208 alloc'd
  34325. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34326. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34327. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34328. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34329. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34330. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34331. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34332. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34333. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34334. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34335. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34336. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34337. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34338. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34339. ==18304==  Block was alloc'd by thread #50
  34340. ==18304==
  34341. ==18304== ----------------------------------------------------------------
  34342. ==18304==
  34343. ==18304==  Lock at 0x7A67840 was first observed
  34344. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34345. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34346. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  34347. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34348. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34349. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34350. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34351. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34352. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34353. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34354. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34355. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  34356. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  34357. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  34358. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  34359. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34360. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34361. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34362. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  34363. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  34364. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34365. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34366. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34367. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34368. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34369. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34370. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34371. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34372. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34373. ==18304==  Block was alloc'd by thread #50
  34374. ==18304==
  34375. ==18304==  Lock at 0x13010D98 was first observed
  34376. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34377. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34378. ==18304==    by 0x4D623DB: switch_rtp_create (switch_rtp.c:4350)
  34379. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34380. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34381. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34382. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34383. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34384. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34385. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34386. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34387. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34388. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34389. ==18304==  Address 0x13010d98 is 93,352 bytes inside a block of size 94,208 alloc'd
  34390. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34391. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34392. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34393. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34394. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34395. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34396. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34397. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34398. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34399. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34400. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34401. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34402. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34403. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34404. ==18304==  Block was alloc'd by thread #50
  34405. ==18304==
  34406. ==18304==  Lock at 0x13010DE8 was first observed
  34407. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34408. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34409. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  34410. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34411. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34412. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34413. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34414. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34415. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34416. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34417. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34418. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34419. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34420. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  34421. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34422. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34423. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34424. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34425. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34426. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34427. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34428. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34429. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34430. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34431. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34432. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34433. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34434. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34435. ==18304==  Block was alloc'd by thread #50
  34436. ==18304==
  34437. ==18304==  Lock at 0x12B7C550 was first observed
  34438. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34439. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34440. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  34441. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34442. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34443. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34444. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34445. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34446. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34447. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34448. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34449. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34450. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  34451. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34452. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  34453. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  34454. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  34455. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  34456. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34457. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34458. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34459. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34460. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34461. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34462. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34463. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34464. ==18304==  Block was alloc'd by thread #14
  34465. ==18304==
  34466. ==18304== Possible data race during write of size 4 at 0x1300A608 by thread #56
  34467. ==18304== Locks held: 3, at addresses 0x7A67840 0x13010D98 0x13010DE8
  34468. ==18304==    at 0x4D6195A: switch_rtp_set_flag (switch_rtp.c:5301)
  34469. ==18304==    by 0x4D69214: read_rtp_packet.part.22 (switch_rtp.c:6421)
  34470. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  34471. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  34472. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  34473. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  34474. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  34475. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  34476. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  34477. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34478. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34479. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34480. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34481. ==18304==
  34482. ==18304== This conflicts with a previous write of size 4 by thread #50
  34483. ==18304== Locks held: 1, at address 0x12B7C550
  34484. ==18304==    at 0x4D618A6: rtp_flush_read_buffer (switch_rtp.c:5570)
  34485. ==18304==    by 0x4D618A6: rtp_flush_read_buffer (switch_rtp.c:5559)
  34486. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  34487. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  34488. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  34489. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  34490. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  34491. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34492. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34493. ==18304==  Address 0x1300a608 is 66,840 bytes inside a block of size 94,208 alloc'd
  34494. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34495. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34496. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34497. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34498. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34499. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34500. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34501. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34502. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34503. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34504. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34505. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34506. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34507. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34508. ==18304==  Block was alloc'd by thread #50
  34509. ==18304==
  34510. ==18304== ----------------------------------------------------------------
  34511. ==18304==
  34512. ==18304==  Lock at 0x7A67840 was first observed
  34513. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34514. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34515. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  34516. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34517. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34518. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34519. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34520. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34521. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34522. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34523. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34524. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  34525. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  34526. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  34527. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  34528. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34529. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34530. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34531. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  34532. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  34533. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34534. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34535. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34536. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34537. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34538. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34539. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34540. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34541. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34542. ==18304==  Block was alloc'd by thread #50
  34543. ==18304==
  34544. ==18304==  Lock at 0x13010DE8 was first observed
  34545. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34546. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34547. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  34548. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34549. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34550. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34551. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34552. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34553. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34554. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34555. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34556. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34557. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34558. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  34559. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34560. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34561. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34562. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34563. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34564. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34565. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34566. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34567. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34568. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34569. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34570. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34571. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34572. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34573. ==18304==  Block was alloc'd by thread #50
  34574. ==18304==
  34575. ==18304==  Lock at 0x12B7C550 was first observed
  34576. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34577. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34578. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  34579. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34580. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34581. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34582. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34583. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34584. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34585. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34586. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34587. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34588. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  34589. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34590. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  34591. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  34592. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  34593. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  34594. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34595. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34596. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34597. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34598. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34599. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34600. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34601. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34602. ==18304==  Block was alloc'd by thread #14
  34603. ==18304==
  34604. ==18304== Possible data race during write of size 8 at 0x1300EAF0 by thread #56
  34605. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  34606. ==18304==    at 0x4D619E8: reset_jitter_seq (switch_rtp.c:1641)
  34607. ==18304==    by 0x4D619E8: switch_rtp_set_flag (switch_rtp.c:5311)
  34608. ==18304==    by 0x4D69214: read_rtp_packet.part.22 (switch_rtp.c:6421)
  34609. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  34610. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  34611. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  34612. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  34613. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  34614. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  34615. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  34616. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34617. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34618. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34619. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34620. ==18304==
  34621. ==18304== This conflicts with a previous write of size 8 by thread #50
  34622. ==18304== Locks held: 1, at address 0x12B7C550
  34623. ==18304==    at 0x4D618B0: reset_jitter_seq (switch_rtp.c:1641)
  34624. ==18304==    by 0x4D618B0: rtp_flush_read_buffer (switch_rtp.c:5571)
  34625. ==18304==    by 0x4D618B0: rtp_flush_read_buffer (switch_rtp.c:5559)
  34626. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  34627. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  34628. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  34629. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  34630. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  34631. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34632. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34633. ==18304==  Address 0x1300eaf0 is 84,480 bytes inside a block of size 94,208 alloc'd
  34634. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34635. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34636. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34637. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34638. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34639. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34640. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34641. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34642. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34643. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34644. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34645. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34646. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34647. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34648. ==18304==  Block was alloc'd by thread #50
  34649. ==18304==
  34650. ==18304== ----------------------------------------------------------------
  34651. ==18304==
  34652. ==18304==  Lock at 0x7A67840 was first observed
  34653. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34654. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34655. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  34656. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34657. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34658. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34659. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34660. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34661. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34662. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34663. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34664. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  34665. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  34666. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  34667. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  34668. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34669. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34670. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34671. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  34672. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  34673. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34674. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34675. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34676. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34677. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34678. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34679. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34680. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34681. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34682. ==18304==  Block was alloc'd by thread #50
  34683. ==18304==
  34684. ==18304==  Lock at 0x13010DE8 was first observed
  34685. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34686. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34687. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  34688. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34689. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34690. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34691. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34692. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34693. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34694. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34695. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34696. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34697. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34698. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  34699. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34700. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34701. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34702. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34703. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34704. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34705. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34706. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34707. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34708. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34709. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34710. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34711. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34712. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34713. ==18304==  Block was alloc'd by thread #50
  34714. ==18304==
  34715. ==18304==  Lock at 0x12B7C550 was first observed
  34716. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34717. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34718. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  34719. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34720. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34721. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34722. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34723. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34724. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34725. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34726. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34727. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34728. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  34729. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34730. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  34731. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  34732. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  34733. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  34734. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34735. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34736. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34737. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34738. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34739. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34740. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34741. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34742. ==18304==  Block was alloc'd by thread #14
  34743. ==18304==
  34744. ==18304== Possible data race during write of size 4 at 0x1300FB50 by thread #56
  34745. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  34746. ==18304==    at 0x4D619F3: reset_jitter_seq (switch_rtp.c:1642)
  34747. ==18304==    by 0x4D619F3: switch_rtp_set_flag (switch_rtp.c:5311)
  34748. ==18304==    by 0x4D69214: read_rtp_packet.part.22 (switch_rtp.c:6421)
  34749. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  34750. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  34751. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  34752. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  34753. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  34754. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  34755. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  34756. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34757. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34758. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34759. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34760. ==18304==
  34761. ==18304== This conflicts with a previous write of size 4 by thread #50
  34762. ==18304== Locks held: 1, at address 0x12B7C550
  34763. ==18304==    at 0x4D618BB: reset_jitter_seq (switch_rtp.c:1642)
  34764. ==18304==    by 0x4D618BB: rtp_flush_read_buffer (switch_rtp.c:5571)
  34765. ==18304==    by 0x4D618BB: rtp_flush_read_buffer (switch_rtp.c:5559)
  34766. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  34767. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  34768. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  34769. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  34770. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  34771. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34772. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34773. ==18304==  Address 0x1300fb50 is 88,672 bytes inside a block of size 94,208 alloc'd
  34774. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34775. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34776. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34777. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34778. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34779. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34780. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34781. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34782. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34783. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34784. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34785. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34786. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34787. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34788. ==18304==  Block was alloc'd by thread #50
  34789. ==18304==
  34790. ==18304== ----------------------------------------------------------------
  34791. ==18304==
  34792. ==18304==  Lock at 0x7A67840 was first observed
  34793. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34794. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34795. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  34796. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34797. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34798. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34799. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34800. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34801. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34802. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34803. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34804. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  34805. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  34806. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  34807. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  34808. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34809. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34810. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34811. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  34812. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  34813. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34814. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34815. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34816. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34817. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34818. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34819. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34820. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34821. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34822. ==18304==  Block was alloc'd by thread #50
  34823. ==18304==
  34824. ==18304==  Lock at 0x13010DE8 was first observed
  34825. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34826. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34827. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  34828. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34829. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34830. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34831. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34832. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34833. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34834. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34835. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34836. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34837. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34838. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  34839. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34840. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34841. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34842. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34843. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34844. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34845. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34846. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34847. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34848. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34849. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34850. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34851. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34852. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34853. ==18304==  Block was alloc'd by thread #50
  34854. ==18304==
  34855. ==18304==  Lock at 0x12B7C550 was first observed
  34856. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34857. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34858. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  34859. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34860. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34861. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34862. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34863. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34864. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34865. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34866. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34867. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34868. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  34869. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34870. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  34871. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  34872. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  34873. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  34874. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  34875. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  34876. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  34877. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  34878. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  34879. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34880. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34881. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34882. ==18304==  Block was alloc'd by thread #14
  34883. ==18304==
  34884. ==18304== Possible data race during write of size 4 at 0x1300A804 by thread #56
  34885. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  34886. ==18304==    at 0x4D619FD: reset_jitter_seq (switch_rtp.c:1644)
  34887. ==18304==    by 0x4D619FD: switch_rtp_set_flag (switch_rtp.c:5311)
  34888. ==18304==    by 0x4D69214: read_rtp_packet.part.22 (switch_rtp.c:6421)
  34889. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  34890. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  34891. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  34892. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  34893. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  34894. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  34895. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  34896. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  34897. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  34898. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  34899. ==18304==    by 0x560E4CE: clone (clone.S:95)
  34900. ==18304==
  34901. ==18304== This conflicts with a previous write of size 4 by thread #50
  34902. ==18304== Locks held: 1, at address 0x12B7C550
  34903. ==18304==    at 0x4D618C5: reset_jitter_seq (switch_rtp.c:1644)
  34904. ==18304==    by 0x4D618C5: rtp_flush_read_buffer (switch_rtp.c:5571)
  34905. ==18304==    by 0x4D618C5: rtp_flush_read_buffer (switch_rtp.c:5559)
  34906. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  34907. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  34908. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  34909. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  34910. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  34911. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34912. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34913. ==18304==  Address 0x1300a804 is 67,348 bytes inside a block of size 94,208 alloc'd
  34914. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34915. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34916. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34917. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34918. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34919. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34920. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34921. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34922. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34923. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34924. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34925. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34926. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34927. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34928. ==18304==  Block was alloc'd by thread #50
  34929. ==18304==
  34930. ==18304== ----------------------------------------------------------------
  34931. ==18304==
  34932. ==18304==  Lock at 0x7A67840 was first observed
  34933. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34934. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34935. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  34936. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34937. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34938. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34939. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34940. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34941. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34942. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34943. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34944. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  34945. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  34946. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  34947. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  34948. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34949. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34950. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34951. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  34952. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  34953. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34954. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34955. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34956. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34957. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34958. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34959. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34960. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34961. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34962. ==18304==  Block was alloc'd by thread #50
  34963. ==18304==
  34964. ==18304==  Lock at 0x13010DE8 was first observed
  34965. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34966. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34967. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  34968. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34969. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34970. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34971. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34972. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34973. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34974. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34975. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34976. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34977. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  34978. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  34979. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  34980. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  34981. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  34982. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  34983. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  34984. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  34985. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  34986. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  34987. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  34988. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  34989. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  34990. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  34991. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  34992. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  34993. ==18304==  Block was alloc'd by thread #50
  34994. ==18304==
  34995. ==18304==  Lock at 0x12B7C550 was first observed
  34996. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  34997. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  34998. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  34999. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35000. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35001. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35002. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35003. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35004. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35005. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35006. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35007. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35008. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  35009. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35010. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  35011. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  35012. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  35013. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  35014. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35015. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35016. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35017. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35018. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35019. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35020. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35021. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35022. ==18304==  Block was alloc'd by thread #14
  35023. ==18304==
  35024. ==18304== Possible data race during write of size 8 at 0x1300FB60 by thread #56
  35025. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  35026. ==18304==    at 0x4D61A08: reset_jitter_seq (switch_rtp.c:1645)
  35027. ==18304==    by 0x4D61A08: switch_rtp_set_flag (switch_rtp.c:5311)
  35028. ==18304==    by 0x4D69214: read_rtp_packet.part.22 (switch_rtp.c:6421)
  35029. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  35030. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  35031. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  35032. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  35033. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  35034. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  35035. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  35036. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35037. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35038. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35039. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35040. ==18304==
  35041. ==18304== This conflicts with a previous write of size 8 by thread #50
  35042. ==18304== Locks held: 1, at address 0x12B7C550
  35043. ==18304==    at 0x4D618D0: reset_jitter_seq (switch_rtp.c:1645)
  35044. ==18304==    by 0x4D618D0: rtp_flush_read_buffer (switch_rtp.c:5571)
  35045. ==18304==    by 0x4D618D0: rtp_flush_read_buffer (switch_rtp.c:5559)
  35046. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  35047. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  35048. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  35049. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  35050. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35051. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35052. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35053. ==18304==  Address 0x1300fb60 is 88,688 bytes inside a block of size 94,208 alloc'd
  35054. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35055. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35056. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35057. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  35058. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  35059. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35060. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35061. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35062. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35063. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35064. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35065. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35066. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35067. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35068. ==18304==  Block was alloc'd by thread #50
  35069. ==18304==
  35070. ==18304== ----------------------------------------------------------------
  35071. ==18304==
  35072. ==18304== Thread #50: lock order "0x7A67C40 before 0x12B7C550" violated
  35073. ==18304==
  35074. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C550
  35075. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  35076. ==18304==    by 0x4CF4411: switch_core_session_run (switch_core_state_machine.c:565)
  35077. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35078. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35079. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35080. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35081. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35082. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35083. ==18304==
  35084. ==18304==  followed by a later acquisition of lock at 0x7A67C40
  35085. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  35086. ==18304==    by 0x12D7770D: conference_loop_output (conference_loop.c:1460)
  35087. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35088. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35089. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35090. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35091. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35092. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35093. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35094. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35095. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35096. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35097. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35098. ==18304==
  35099. ==18304==  Lock at 0x7A67C40 was first observed
  35100. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35101. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35102. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  35103. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35104. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35105. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35106. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35107. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35108. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35109. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35110. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35111. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35112. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35113. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  35114. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35115. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35116. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35117. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  35118. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  35119. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35120. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35121. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35122. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35123. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35124. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35125. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35126. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35127. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35128. ==18304==  Block was alloc'd by thread #50
  35129. ==18304==
  35130. ==18304==  Lock at 0x12B7C550 was first observed
  35131. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35132. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35133. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  35134. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35135. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35136. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35137. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35138. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35139. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35140. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35141. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35142. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35143. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  35144. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35145. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  35146. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  35147. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  35148. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  35149. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35150. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35151. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35152. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35153. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35154. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35155. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35156. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35157. ==18304==  Block was alloc'd by thread #14
  35158. ==18304==
  35159. ==18304==
  35160. ==18304== ----------------------------------------------------------------
  35161. ==18304==
  35162. ==18304== Thread #50: lock order "0x12B7C690 before 0x12B7C550" violated
  35163. ==18304==
  35164. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C550
  35165. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  35166. ==18304==    by 0x4CF4411: switch_core_session_run (switch_core_state_machine.c:565)
  35167. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35168. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35169. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35170. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35171. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35172. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35173. ==18304==
  35174. ==18304==  followed by a later acquisition of lock at 0x12B7C690
  35175. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  35176. ==18304==    by 0x4D31E51: switch_core_session_write_frame (switch_core_media.c:15700)
  35177. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  35178. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35179. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35180. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35181. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35182. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35183. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35184. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35185. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35186. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35187. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35188. ==18304==
  35189. ==18304==  Lock at 0x12B7C690 was first observed
  35190. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35191. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35192. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  35193. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35194. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35195. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35196. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35197. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35198. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35199. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35200. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35201. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35202. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  35203. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35204. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  35205. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  35206. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  35207. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  35208. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35209. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35210. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35211. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35212. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35213. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35214. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35215. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35216. ==18304==  Block was alloc'd by thread #14
  35217. ==18304==
  35218. ==18304==  Lock at 0x12B7C550 was first observed
  35219. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35220. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35221. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  35222. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35223. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35224. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35225. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35226. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35227. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35228. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35229. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35230. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35231. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  35232. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35233. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  35234. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  35235. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  35236. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  35237. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35238. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35239. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35240. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35241. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35242. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35243. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35244. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35245. ==18304==  Block was alloc'd by thread #14
  35246. ==18304==
  35247. ==18304==
  35248. ==18304== ----------------------------------------------------------------
  35249. ==18304==
  35250. ==18304== Thread #50: lock order "0x130402C8 before 0x12B7C690" violated
  35251. ==18304==
  35252. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C690
  35253. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  35254. ==18304==    by 0x4D31E51: switch_core_session_write_frame (switch_core_media.c:15700)
  35255. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  35256. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35257. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35258. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35259. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35260. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35261. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35262. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35263. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35264. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35265. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35266. ==18304==
  35267. ==18304==  followed by a later acquisition of lock at 0x130402C8
  35268. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  35269. ==18304==    by 0x4D31EE5: switch_core_session_write_frame (switch_core_media.c:15719)
  35270. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  35271. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35272. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35273. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35274. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35275. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35276. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35277. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35278. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35279. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35280. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35281. ==18304==
  35282. ==18304==  Lock at 0x130402C8 was first observed
  35283. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35284. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35285. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  35286. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  35287. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  35288. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  35289. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  35290. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35291. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35292. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35293. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35294. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35295. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35296. ==18304==  Address 0x130402c8 is 6,184 bytes inside a block of size 8,192 alloc'd
  35297. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35298. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35299. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35300. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  35301. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  35302. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35303. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35304. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35305. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35306. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35307. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35308. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35309. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35310. ==18304==  Block was alloc'd by thread #14
  35311. ==18304==
  35312. ==18304==  Lock at 0x12B7C690 was first observed
  35313. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35314. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35315. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  35316. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35317. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35318. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35319. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35320. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35321. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35322. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35323. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35324. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35325. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  35326. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35327. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  35328. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  35329. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  35330. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  35331. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35332. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35333. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35334. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35335. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35336. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35337. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35338. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35339. ==18304==  Block was alloc'd by thread #14
  35340. ==18304==
  35341. ==18304==
  35342. ==18304== ----------------------------------------------------------------
  35343. ==18304==
  35344. ==18304== Thread #50: lock order "0xBC83800 before 0x12B7C690" violated
  35345. ==18304==
  35346. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C690
  35347. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  35348. ==18304==    by 0x4D31E51: switch_core_session_write_frame (switch_core_media.c:15700)
  35349. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  35350. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35351. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35352. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35353. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35354. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35355. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35356. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35357. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35358. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35359. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35360. ==18304==
  35361. ==18304==  followed by a later acquisition of lock at 0xBC83800
  35362. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  35363. ==18304==    by 0x4D31EF1: switch_core_session_write_frame (switch_core_media.c:15720)
  35364. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  35365. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35366. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35367. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35368. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35369. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35370. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35371. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35372. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35373. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35374. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35375. ==18304==
  35376. ==18304==  Lock at 0xBC83800 was first observed
  35377. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35378. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35379. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  35380. ==18304==    by 0x12D8FD21: conference_member_setup_media (conference_member.c:1803)
  35381. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  35382. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35383. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35384. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35385. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35386. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35387. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35388. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35389. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35390. ==18304==  Address 0xbc83800 is 8,240 bytes inside a block of size 12,288 alloc'd
  35391. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35392. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35393. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35394. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  35395. ==18304==    by 0x12D8FCB4: conference_member_setup_media (conference_member.c:1790)
  35396. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  35397. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35398. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35399. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35400. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35401. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35402. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  35403. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35404. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35405. ==18304==  Block was alloc'd by thread #50
  35406. ==18304==
  35407. ==18304==  Lock at 0x12B7C690 was first observed
  35408. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35409. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35410. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  35411. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35412. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35413. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35414. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35415. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35416. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35417. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35418. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35419. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35420. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  35421. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35422. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  35423. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  35424. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  35425. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  35426. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35427. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35428. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35429. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35430. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35431. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35432. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35433. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35434. ==18304==  Block was alloc'd by thread #14
  35435. ==18304==
  35436. ==18304==
  35437. ==18304== ----------------------------------------------------------------
  35438. ==18304==
  35439. ==18304==  Lock at 0x7A67840 was first observed
  35440. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35441. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35442. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  35443. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35444. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35445. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35446. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35447. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35448. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35449. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35450. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35451. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35452. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35453. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35454. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  35455. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35456. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35457. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35458. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  35459. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  35460. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35461. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35462. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35463. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35464. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35465. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35466. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35467. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35468. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35469. ==18304==  Block was alloc'd by thread #50
  35470. ==18304==
  35471. ==18304==  Lock at 0x13010DE8 was first observed
  35472. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35473. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35474. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  35475. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35476. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35477. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35478. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35479. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35480. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35481. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35482. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35483. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35484. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35485. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  35486. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35487. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35488. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35489. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  35490. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  35491. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35492. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35493. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35494. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35495. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35496. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35497. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35498. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35499. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35500. ==18304==  Block was alloc'd by thread #50
  35501. ==18304==
  35502. ==18304==  Lock at 0x12B7C550 was first observed
  35503. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35504. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35505. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  35506. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35507. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35508. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35509. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35510. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35511. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35512. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35513. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35514. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35515. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  35516. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35517. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  35518. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  35519. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  35520. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  35521. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35522. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35523. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35524. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35525. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35526. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35527. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35528. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35529. ==18304==  Block was alloc'd by thread #14
  35530. ==18304==
  35531. ==18304== Possible data race during read of size 4 at 0x1300A608 by thread #56
  35532. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  35533. ==18304==    at 0x4D69F1C: rtp_common_read (switch_rtp.c:7619)
  35534. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  35535. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  35536. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  35537. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  35538. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  35539. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35540. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35541. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35542. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35543. ==18304==
  35544. ==18304== This conflicts with a previous write of size 4 by thread #50
  35545. ==18304== Locks held: 1, at address 0x12B7C550
  35546. ==18304==    at 0x4D618A6: rtp_flush_read_buffer (switch_rtp.c:5570)
  35547. ==18304==    by 0x4D618A6: rtp_flush_read_buffer (switch_rtp.c:5559)
  35548. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  35549. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  35550. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  35551. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  35552. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35553. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35554. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35555. ==18304==  Address 0x1300a608 is 66,840 bytes inside a block of size 94,208 alloc'd
  35556. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35557. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35558. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35559. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  35560. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  35561. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35562. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35563. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35564. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35565. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35566. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35567. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35568. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35569. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35570. ==18304==  Block was alloc'd by thread #50
  35571. ==18304==
  35572. ==18304== ----------------------------------------------------------------
  35573. ==18304==
  35574. ==18304==  Lock at 0x7A67840 was first observed
  35575. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35576. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35577. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  35578. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35579. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35580. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35581. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35582. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35583. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35584. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35585. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35586. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35587. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35588. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35589. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  35590. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35591. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35592. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35593. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  35594. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  35595. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35596. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35597. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35598. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35599. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35600. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35601. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35602. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35603. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35604. ==18304==  Block was alloc'd by thread #50
  35605. ==18304==
  35606. ==18304==  Lock at 0x13010DE8 was first observed
  35607. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35608. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35609. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  35610. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35611. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35612. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35613. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35614. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35615. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35616. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35617. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35618. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35619. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35620. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  35621. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35622. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35623. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35624. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  35625. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  35626. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35627. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35628. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35629. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35630. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35631. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35632. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35633. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35634. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35635. ==18304==  Block was alloc'd by thread #50
  35636. ==18304==
  35637. ==18304==  Lock at 0x12B7C550 was first observed
  35638. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35639. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35640. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  35641. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35642. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35643. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35644. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35645. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35646. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35647. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35648. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35649. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35650. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  35651. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35652. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  35653. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  35654. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  35655. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  35656. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35657. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35658. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35659. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35660. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35661. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35662. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35663. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35664. ==18304==  Block was alloc'd by thread #14
  35665. ==18304==
  35666. ==18304== Possible data race during write of size 8 at 0x1300EAF0 by thread #56
  35667. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  35668. ==18304==    at 0x4D6B153: reset_jitter_seq (switch_rtp.c:1641)
  35669. ==18304==    by 0x4D6B153: do_flush (switch_rtp.c:5613)
  35670. ==18304==    by 0x4D6B153: rtp_common_read (switch_rtp.c:7620)
  35671. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  35672. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  35673. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  35674. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  35675. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  35676. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35677. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35678. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35679. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35680. ==18304==
  35681. ==18304== This conflicts with a previous write of size 8 by thread #50
  35682. ==18304== Locks held: 1, at address 0x12B7C550
  35683. ==18304==    at 0x4D618B0: reset_jitter_seq (switch_rtp.c:1641)
  35684. ==18304==    by 0x4D618B0: rtp_flush_read_buffer (switch_rtp.c:5571)
  35685. ==18304==    by 0x4D618B0: rtp_flush_read_buffer (switch_rtp.c:5559)
  35686. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  35687. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  35688. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  35689. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  35690. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35691. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35692. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35693. ==18304==  Address 0x1300eaf0 is 84,480 bytes inside a block of size 94,208 alloc'd
  35694. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35695. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35696. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35697. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  35698. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  35699. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35700. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35701. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35702. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35703. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35704. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35705. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35706. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35707. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35708. ==18304==  Block was alloc'd by thread #50
  35709. ==18304==
  35710. ==18304== ----------------------------------------------------------------
  35711. ==18304==
  35712. ==18304==  Lock at 0x7A67840 was first observed
  35713. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35714. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35715. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  35716. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35717. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35718. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35719. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35720. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35721. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35722. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35723. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35724. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35725. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35726. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35727. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  35728. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35729. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35730. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35731. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  35732. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  35733. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35734. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35735. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35736. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35737. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35738. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35739. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35740. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35741. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35742. ==18304==  Block was alloc'd by thread #50
  35743. ==18304==
  35744. ==18304==  Lock at 0x13010DE8 was first observed
  35745. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35746. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35747. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  35748. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35749. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35750. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35751. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35752. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35753. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35754. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35755. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35756. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35757. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35758. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  35759. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35760. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35761. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35762. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  35763. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  35764. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35765. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35766. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35767. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35768. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35769. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35770. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35771. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35772. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35773. ==18304==  Block was alloc'd by thread #50
  35774. ==18304==
  35775. ==18304==  Lock at 0x12B7C550 was first observed
  35776. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35777. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35778. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  35779. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35780. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35781. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35782. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35783. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35784. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35785. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35786. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35787. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35788. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  35789. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35790. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  35791. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  35792. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  35793. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  35794. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35795. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35796. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35797. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35798. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35799. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35800. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35801. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35802. ==18304==  Block was alloc'd by thread #14
  35803. ==18304==
  35804. ==18304== Possible data race during write of size 4 at 0x1300FB50 by thread #56
  35805. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  35806. ==18304==    at 0x4D6B15E: reset_jitter_seq (switch_rtp.c:1642)
  35807. ==18304==    by 0x4D6B15E: do_flush (switch_rtp.c:5613)
  35808. ==18304==    by 0x4D6B15E: rtp_common_read (switch_rtp.c:7620)
  35809. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  35810. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  35811. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  35812. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  35813. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  35814. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35815. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35816. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35817. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35818. ==18304==
  35819. ==18304== This conflicts with a previous write of size 4 by thread #50
  35820. ==18304== Locks held: 1, at address 0x12B7C550
  35821. ==18304==    at 0x4D618BB: reset_jitter_seq (switch_rtp.c:1642)
  35822. ==18304==    by 0x4D618BB: rtp_flush_read_buffer (switch_rtp.c:5571)
  35823. ==18304==    by 0x4D618BB: rtp_flush_read_buffer (switch_rtp.c:5559)
  35824. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  35825. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  35826. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  35827. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  35828. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35829. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35830. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35831. ==18304==  Address 0x1300fb50 is 88,672 bytes inside a block of size 94,208 alloc'd
  35832. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35833. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35834. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35835. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  35836. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  35837. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35838. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35839. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35840. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35841. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35842. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35843. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35844. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35845. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35846. ==18304==  Block was alloc'd by thread #50
  35847. ==18304==
  35848. ==18304== ----------------------------------------------------------------
  35849. ==18304==
  35850. ==18304==  Lock at 0x7A67840 was first observed
  35851. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35852. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35853. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  35854. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35855. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35856. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35857. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35858. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35859. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35860. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35861. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35862. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  35863. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  35864. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  35865. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  35866. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35867. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35868. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35869. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  35870. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  35871. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35872. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35873. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35874. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35875. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35876. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35877. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35878. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35879. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35880. ==18304==  Block was alloc'd by thread #50
  35881. ==18304==
  35882. ==18304==  Lock at 0x13010DE8 was first observed
  35883. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35884. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35885. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  35886. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35887. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35888. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35889. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35890. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35891. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35892. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35893. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35894. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35895. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35896. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  35897. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35898. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35899. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35900. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  35901. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  35902. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35903. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35904. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35905. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35906. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35907. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35908. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35909. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35910. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35911. ==18304==  Block was alloc'd by thread #50
  35912. ==18304==
  35913. ==18304==  Lock at 0x12B7C550 was first observed
  35914. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35915. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35916. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  35917. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35918. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35919. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35920. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35921. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35922. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35923. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35924. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35925. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35926. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  35927. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35928. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  35929. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  35930. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  35931. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  35932. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  35933. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  35934. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  35935. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  35936. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  35937. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35938. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35939. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35940. ==18304==  Block was alloc'd by thread #14
  35941. ==18304==
  35942. ==18304== Possible data race during write of size 4 at 0x1300A804 by thread #56
  35943. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  35944. ==18304==    at 0x4D6B16E: reset_jitter_seq (switch_rtp.c:1644)
  35945. ==18304==    by 0x4D6B16E: do_flush (switch_rtp.c:5613)
  35946. ==18304==    by 0x4D6B16E: rtp_common_read (switch_rtp.c:7620)
  35947. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  35948. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  35949. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  35950. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  35951. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  35952. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  35953. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  35954. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  35955. ==18304==    by 0x560E4CE: clone (clone.S:95)
  35956. ==18304==
  35957. ==18304== This conflicts with a previous write of size 4 by thread #50
  35958. ==18304== Locks held: 1, at address 0x12B7C550
  35959. ==18304==    at 0x4D618C5: reset_jitter_seq (switch_rtp.c:1644)
  35960. ==18304==    by 0x4D618C5: rtp_flush_read_buffer (switch_rtp.c:5571)
  35961. ==18304==    by 0x4D618C5: rtp_flush_read_buffer (switch_rtp.c:5559)
  35962. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  35963. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  35964. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  35965. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  35966. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  35967. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35968. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  35969. ==18304==  Address 0x1300a804 is 67,348 bytes inside a block of size 94,208 alloc'd
  35970. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  35971. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  35972. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  35973. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  35974. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  35975. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  35976. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  35977. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35978. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35979. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35980. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35981. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35982. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35983. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35984. ==18304==  Block was alloc'd by thread #50
  35985. ==18304==
  35986. ==18304== ----------------------------------------------------------------
  35987. ==18304==
  35988. ==18304==  Lock at 0x7A67840 was first observed
  35989. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  35990. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  35991. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  35992. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  35993. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  35994. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  35995. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  35996. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  35997. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  35998. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  35999. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36000. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36001. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36002. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36003. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  36004. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36005. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36006. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36007. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36008. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  36009. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36010. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36011. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36012. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36013. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36014. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36015. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36016. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36017. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36018. ==18304==  Block was alloc'd by thread #50
  36019. ==18304==
  36020. ==18304==  Lock at 0x13010DE8 was first observed
  36021. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36022. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36023. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  36024. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36025. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36026. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36027. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36028. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36029. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36030. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36031. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36032. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36033. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36034. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  36035. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36036. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36037. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36038. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  36039. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  36040. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36041. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36042. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36043. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36044. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36045. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36046. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36047. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36048. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36049. ==18304==  Block was alloc'd by thread #50
  36050. ==18304==
  36051. ==18304==  Lock at 0x12B7C550 was first observed
  36052. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36053. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36054. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  36055. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36056. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36057. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36058. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36059. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36060. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36061. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36062. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36063. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36064. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  36065. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36066. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  36067. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  36068. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  36069. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  36070. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36071. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36072. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36073. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36074. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36075. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36076. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36077. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36078. ==18304==  Block was alloc'd by thread #14
  36079. ==18304==
  36080. ==18304== Possible data race during write of size 8 at 0x1300FB60 by thread #56
  36081. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  36082. ==18304==    at 0x4D6B179: reset_jitter_seq (switch_rtp.c:1645)
  36083. ==18304==    by 0x4D6B179: do_flush (switch_rtp.c:5613)
  36084. ==18304==    by 0x4D6B179: rtp_common_read (switch_rtp.c:7620)
  36085. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  36086. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  36087. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  36088. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  36089. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  36090. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36091. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36092. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36093. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36094. ==18304==
  36095. ==18304== This conflicts with a previous write of size 8 by thread #50
  36096. ==18304== Locks held: 1, at address 0x12B7C550
  36097. ==18304==    at 0x4D618D0: reset_jitter_seq (switch_rtp.c:1645)
  36098. ==18304==    by 0x4D618D0: rtp_flush_read_buffer (switch_rtp.c:5571)
  36099. ==18304==    by 0x4D618D0: rtp_flush_read_buffer (switch_rtp.c:5559)
  36100. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  36101. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  36102. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  36103. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  36104. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  36105. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36106. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36107. ==18304==  Address 0x1300fb60 is 88,688 bytes inside a block of size 94,208 alloc'd
  36108. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36109. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36110. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36111. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  36112. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  36113. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36114. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36115. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36116. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36117. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36118. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36119. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36120. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36121. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36122. ==18304==  Block was alloc'd by thread #50
  36123. ==18304==
  36124. ==18304== ----------------------------------------------------------------
  36125. ==18304==
  36126. ==18304==  Lock at 0x7A67D80 was first observed
  36127. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36128. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36129. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  36130. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36131. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36132. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36133. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36134. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36135. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36136. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36137. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36138. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36139. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36140. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  36141. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36142. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36143. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36144. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36145. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  36146. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36147. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36148. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36149. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36150. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36151. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36152. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36153. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36154. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36155. ==18304==  Block was alloc'd by thread #50
  36156. ==18304==
  36157. ==18304==  Lock at 0x13113790 was first observed
  36158. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36159. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36160. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  36161. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  36162. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36163. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36164. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36165. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36166. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36167. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36168. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36169. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36170. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36171. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  36172. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36173. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36174. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36175. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  36176. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  36177. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  36178. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  36179. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36180. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36181. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36182. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36183. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36184. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36185. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36186. ==18304==  Block was alloc'd by thread #50
  36187. ==18304==
  36188. ==18304==  Lock at 0x7A67C40 was first observed
  36189. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36190. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36191. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  36192. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36193. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36194. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36195. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36196. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36197. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36198. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36199. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36200. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36201. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36202. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  36203. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36204. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36205. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36206. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36207. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  36208. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36209. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36210. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36211. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36212. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36213. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36214. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36215. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36216. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36217. ==18304==  Block was alloc'd by thread #50
  36218. ==18304==
  36219. ==18304==  Lock at 0x12B7C550 was first observed
  36220. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36221. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36222. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  36223. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36224. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36225. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36226. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36227. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36228. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36229. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36230. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36231. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36232. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  36233. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36234. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  36235. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  36236. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  36237. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  36238. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36239. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36240. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36241. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36242. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36243. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36244. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36245. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36246. ==18304==  Block was alloc'd by thread #14
  36247. ==18304==
  36248. ==18304== Possible data race during write of size 8 at 0x1295AEC0 by thread #53
  36249. ==18304== Locks held: 2, at addresses 0x7A67D80 0x13113790
  36250. ==18304==    at 0x4CBE40A: switch_buffer_write (switch_buffer.c:348)
  36251. ==18304==    by 0x4CBE40A: switch_buffer_write (switch_buffer.c:296)
  36252. ==18304==    by 0x12D66CEE: conference_thread_run (mod_conference.c:698)
  36253. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36254. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36255. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36256. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36257. ==18304==
  36258. ==18304== This conflicts with a previous read of size 8 by thread #50
  36259. ==18304== Locks held: 2, at addresses 0x7A67C40 0x12B7C550
  36260. ==18304==    at 0x4CBE260: switch_buffer_inuse (switch_buffer.c:197)
  36261. ==18304==    by 0x12D777A3: conference_loop_output (conference_loop.c:1507)
  36262. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  36263. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36264. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36265. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36266. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36267. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36268. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36269. ==18304==  Address 0x1295aec0 is 16 bytes inside a block of size 80 alloc'd
  36270. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36271. ==18304==    by 0x4CBE0ED: switch_buffer_create_dynamic (switch_buffer.c:118)
  36272. ==18304==    by 0x12D8FEA4: conference_member_setup_media (conference_member.c:1827)
  36273. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  36274. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36275. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36276. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36277. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36278. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36279. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36280. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36281. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36282. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36283. ==18304==  Block was alloc'd by thread #50
  36284. ==18304==
  36285. ==18304== ----------------------------------------------------------------
  36286. ==18304==
  36287. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #15
  36288. ==18304== Locks held: none
  36289. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  36290. ==18304==    by 0x95B5946: sofia_reg_handle_register_token (sofia_reg.c:2183)
  36291. ==18304==    by 0x95B8212: sofia_reg_handle_sip_i_register (sofia_reg.c:2373)
  36292. ==18304==    by 0x958B5C8: our_sofia_event_callback (sofia.c:1827)
  36293. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  36294. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  36295. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  36296. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36297. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36298. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36299. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36300. ==18304==
  36301. ==18304== This conflicts with a previous write of size 8 by thread #44
  36302. ==18304== Locks held: none
  36303. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  36304. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  36305. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36306. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36307. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36308. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36309. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  36310. ==18304==
  36311. ==18304== ----------------------------------------------------------------
  36312. ==18304==
  36313. ==18304==  Lock at 0x12B7C550 was first observed
  36314. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36315. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36316. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  36317. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36318. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36319. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36320. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36321. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36322. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36323. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36324. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36325. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36326. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  36327. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36328. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  36329. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  36330. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  36331. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  36332. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36333. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36334. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36335. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36336. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36337. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36338. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36339. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36340. ==18304==  Block was alloc'd by thread #14
  36341. ==18304==
  36342. ==18304==  Lock at 0x7A67840 was first observed
  36343. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36344. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36345. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  36346. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36347. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36348. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36349. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36350. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36351. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36352. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36353. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36354. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36355. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36356. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36357. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  36358. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36359. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36360. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36361. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36362. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  36363. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36364. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36365. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36366. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36367. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36368. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36369. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36370. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36371. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36372. ==18304==  Block was alloc'd by thread #50
  36373. ==18304==
  36374. ==18304==  Lock at 0x13010DE8 was first observed
  36375. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36376. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36377. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  36378. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36379. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36380. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36381. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36382. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36383. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36384. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36385. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36386. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36387. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36388. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  36389. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36390. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36391. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36392. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  36393. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  36394. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36395. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36396. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36397. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36398. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36399. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36400. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36401. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36402. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36403. ==18304==  Block was alloc'd by thread #50
  36404. ==18304==
  36405. ==18304== Possible data race during write of size 8 at 0x1300EAF0 by thread #50
  36406. ==18304== Locks held: 1, at address 0x12B7C550
  36407. ==18304==    at 0x4D618B0: reset_jitter_seq (switch_rtp.c:1641)
  36408. ==18304==    by 0x4D618B0: rtp_flush_read_buffer (switch_rtp.c:5571)
  36409. ==18304==    by 0x4D618B0: rtp_flush_read_buffer (switch_rtp.c:5559)
  36410. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  36411. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  36412. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  36413. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  36414. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  36415. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36416. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36417. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36418. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36419. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36420. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36421. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36422. ==18304==
  36423. ==18304== This conflicts with a previous write of size 8 by thread #56
  36424. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  36425. ==18304==    at 0x4D5C600: check_jitter (switch_rtp.c:1662)
  36426. ==18304==    by 0x4D68C89: read_rtp_packet.part.22 (switch_rtp.c:5961)
  36427. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  36428. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  36429. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  36430. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  36431. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  36432. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  36433. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  36434. ==18304==  Address 0x1300eaf0 is 84,480 bytes inside a block of size 94,208 alloc'd
  36435. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36436. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36437. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36438. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  36439. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  36440. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36441. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36442. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36443. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36444. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36445. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36446. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36447. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36448. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36449. ==18304==  Block was alloc'd by thread #50
  36450. ==18304==
  36451. ==18304== ----------------------------------------------------------------
  36452. ==18304==
  36453. ==18304==  Lock at 0x12B7C550 was first observed
  36454. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36455. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36456. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  36457. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36458. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36459. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36460. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36461. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36462. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36463. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36464. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36465. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36466. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  36467. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36468. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  36469. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  36470. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  36471. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  36472. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36473. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36474. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36475. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36476. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36477. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36478. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36479. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36480. ==18304==  Block was alloc'd by thread #14
  36481. ==18304==
  36482. ==18304==  Lock at 0x7A67840 was first observed
  36483. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36484. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36485. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  36486. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36487. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36488. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36489. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36490. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36491. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36492. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36493. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36494. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36495. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36496. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36497. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  36498. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36499. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36500. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36501. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36502. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  36503. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36504. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36505. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36506. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36507. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36508. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36509. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36510. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36511. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36512. ==18304==  Block was alloc'd by thread #50
  36513. ==18304==
  36514. ==18304==  Lock at 0x13010DE8 was first observed
  36515. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36516. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36517. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  36518. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36519. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36520. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36521. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36522. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36523. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36524. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36525. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36526. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36527. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36528. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  36529. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36530. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36531. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36532. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  36533. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  36534. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36535. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36536. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36537. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36538. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36539. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36540. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36541. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36542. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36543. ==18304==  Block was alloc'd by thread #50
  36544. ==18304==
  36545. ==18304== Possible data race during write of size 4 at 0x1300A808 by thread #50
  36546. ==18304== Locks held: 1, at address 0x12B7C550
  36547. ==18304==    at 0x4D618C5: reset_jitter_seq (switch_rtp.c:1644)
  36548. ==18304==    by 0x4D618C5: rtp_flush_read_buffer (switch_rtp.c:5571)
  36549. ==18304==    by 0x4D618C5: rtp_flush_read_buffer (switch_rtp.c:5559)
  36550. ==18304==    by 0x4D2BDA4: switch_core_media_receive_message (switch_core_media.c:12898)
  36551. ==18304==    by 0x4CED464: switch_core_session_perform_receive_message (switch_core_session.c:917)
  36552. ==18304==    by 0x4DA3FAC: switch_ivr_parse_all_messages (switch_ivr.c:860)
  36553. ==18304==    by 0x12D778B0: conference_loop_output (conference_loop.c:1640)
  36554. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  36555. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36556. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36557. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36558. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36559. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36560. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36561. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36562. ==18304==
  36563. ==18304== This conflicts with a previous write of size 4 by thread #56
  36564. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  36565. ==18304==    at 0x4D5C455: check_jitter (switch_rtp.c:1661)
  36566. ==18304==    by 0x4D68C89: read_rtp_packet.part.22 (switch_rtp.c:5961)
  36567. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  36568. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  36569. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  36570. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  36571. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  36572. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  36573. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  36574. ==18304==  Address 0x1300a808 is 67,352 bytes inside a block of size 94,208 alloc'd
  36575. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36576. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36577. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36578. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  36579. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  36580. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36581. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36582. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36583. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36584. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36585. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36586. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36587. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36588. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36589. ==18304==  Block was alloc'd by thread #50
  36590. ==18304==
  36591. ==18304== ----------------------------------------------------------------
  36592. ==18304==
  36593. ==18304==  Lock at 0x7A67840 was first observed
  36594. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36595. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36596. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  36597. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36598. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36599. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36600. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36601. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36602. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36603. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36604. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36605. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36606. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36607. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36608. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  36609. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36610. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36611. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36612. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36613. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  36614. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36615. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36616. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36617. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36618. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36619. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36620. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36621. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36622. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36623. ==18304==  Block was alloc'd by thread #50
  36624. ==18304==
  36625. ==18304==  Lock at 0x13010DE8 was first observed
  36626. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36627. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36628. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  36629. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36630. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36631. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36632. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36633. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36634. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36635. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36636. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36637. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36638. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36639. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  36640. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36641. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36642. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36643. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  36644. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  36645. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36646. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36647. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36648. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36649. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36650. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36651. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36652. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36653. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36654. ==18304==  Block was alloc'd by thread #50
  36655. ==18304==
  36656. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #56
  36657. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  36658. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  36659. ==18304==    by 0x4D66D88: check_rtcp_and_ice (switch_rtp.c:2051)
  36660. ==18304==    by 0x4D67BC3: read_rtp_packet.part.22 (switch_rtp.c:5965)
  36661. ==18304==    by 0x4D6A63C: read_rtp_packet (switch_rtp.c:5786)
  36662. ==18304==    by 0x4D6A63C: rtp_common_read (switch_rtp.c:7399)
  36663. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  36664. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  36665. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  36666. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  36667. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  36668. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36669. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36670. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36671. ==18304==
  36672. ==18304== This conflicts with a previous write of size 8 by thread #44
  36673. ==18304== Locks held: none
  36674. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  36675. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  36676. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36677. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36678. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36679. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36680. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  36681. ==18304==
  36682. ==18304== ----------------------------------------------------------------
  36683. ==18304==
  36684. ==18304==  Lock at 0x7A67C40 was first observed
  36685. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36686. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36687. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  36688. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36689. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36690. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36691. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36692. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36693. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36694. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36695. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36696. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36697. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36698. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  36699. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36700. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36701. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36702. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36703. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  36704. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36705. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36706. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36707. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36708. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36709. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36710. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36711. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36712. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36713. ==18304==  Block was alloc'd by thread #50
  36714. ==18304==
  36715. ==18304==  Lock at 0x7A67D80 was first observed
  36716. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36717. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36718. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  36719. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36720. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36721. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36722. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36723. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36724. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36725. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36726. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36727. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36728. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36729. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  36730. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36731. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36732. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36733. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36734. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  36735. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  36736. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  36737. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  36738. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  36739. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36740. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36741. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36742. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36743. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36744. ==18304==  Block was alloc'd by thread #50
  36745. ==18304==
  36746. ==18304==  Lock at 0xBC83800 was first observed
  36747. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36748. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36749. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  36750. ==18304==    by 0x12D8FD21: conference_member_setup_media (conference_member.c:1803)
  36751. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  36752. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36753. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36754. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36755. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36756. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36757. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36758. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36759. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36760. ==18304==  Address 0xbc83800 is 8,240 bytes inside a block of size 12,288 alloc'd
  36761. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36762. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36763. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36764. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  36765. ==18304==    by 0x12D8FCB4: conference_member_setup_media (conference_member.c:1790)
  36766. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  36767. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36768. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36769. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36770. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36771. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36772. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36773. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36774. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36775. ==18304==  Block was alloc'd by thread #50
  36776. ==18304==
  36777. ==18304==  Lock at 0x12B7C550 was first observed
  36778. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36779. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36780. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  36781. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36782. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36783. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36784. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36785. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36786. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36787. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36788. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36789. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36790. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  36791. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36792. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  36793. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  36794. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  36795. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  36796. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36797. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36798. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36799. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36800. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36801. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36802. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36803. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36804. ==18304==  Block was alloc'd by thread #14
  36805. ==18304==
  36806. ==18304==  Lock at 0x12B7C690 was first observed
  36807. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36808. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36809. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  36810. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36811. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36812. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36813. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36814. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36815. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36816. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36817. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36818. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36819. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  36820. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36821. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  36822. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  36823. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  36824. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  36825. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36826. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36827. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36828. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36829. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36830. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36831. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36832. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36833. ==18304==  Block was alloc'd by thread #14
  36834. ==18304==
  36835. ==18304==  Lock at 0x1303F648 was first observed
  36836. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36837. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36838. ==18304==    by 0x9594AF5: sofia_glue_new_pvt (sofia_glue.c:55)
  36839. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  36840. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36841. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36842. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36843. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36844. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36845. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36846. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36847. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36848. ==18304==  Address 0x1303f648 is 2,984 bytes inside a block of size 8,192 alloc'd
  36849. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36850. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36851. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36852. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36853. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  36854. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36855. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36856. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36857. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36858. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36859. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36860. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36861. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36862. ==18304==  Block was alloc'd by thread #14
  36863. ==18304==
  36864. ==18304==  Lock at 0x130402C8 was first observed
  36865. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36866. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36867. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  36868. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  36869. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  36870. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  36871. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  36872. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  36873. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  36874. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  36875. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  36876. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36877. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36878. ==18304==  Address 0x130402c8 is 6,184 bytes inside a block of size 8,192 alloc'd
  36879. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36880. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36881. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36882. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36883. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  36884. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36885. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36886. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36887. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36888. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36889. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36890. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36891. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36892. ==18304==  Block was alloc'd by thread #14
  36893. ==18304==
  36894. ==18304== Possible data race during write of size 1 at 0x1303F2F4 by thread #50
  36895. ==18304== Locks held: 7, at addresses 0x7A67C40 0x7A67D80 0xBC83800 0x12B7C550 0x12B7C690 0x1303F648 0x130402C8
  36896. ==18304==    at 0x955128F: sofia_write_frame (mod_sofia.c:1230)
  36897. ==18304==    by 0x4D0396A: perform_write (switch_core_media.c:7159)
  36898. ==18304==    by 0x4D320FD: switch_core_session_write_frame (switch_core_media.c:16277)
  36899. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  36900. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  36901. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36902. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36903. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36904. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36905. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36906. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36907. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36908. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36909. ==18304==
  36910. ==18304== This conflicts with a previous read of size 1 by thread #56
  36911. ==18304== Locks held: none
  36912. ==18304==    at 0x9551390: sofia_read_frame (mod_sofia.c:1166)
  36913. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  36914. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  36915. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36916. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36917. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36918. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36919. ==18304==  Address 0x1303f2f4 is 2,132 bytes inside a block of size 8,192 alloc'd
  36920. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36921. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36922. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36923. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  36924. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  36925. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  36926. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  36927. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  36928. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  36929. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  36930. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36931. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36932. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36933. ==18304==  Block was alloc'd by thread #14
  36934. ==18304==
  36935. ==18304== ----------------------------------------------------------------
  36936. ==18304==
  36937. ==18304== Thread #56: lock order "0x7A67D80 before 0x12B7C888" violated
  36938. ==18304==
  36939. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C888
  36940. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  36941. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  36942. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  36943. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36944. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36945. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36946. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36947. ==18304==
  36948. ==18304==  followed by a later acquisition of lock at 0x7A67D80
  36949. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  36950. ==18304==    by 0x12D8FAC9: conference_member_setup_media (conference_member.c:1737)
  36951. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  36952. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36953. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36954. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36955. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36956. ==18304==
  36957. ==18304== Required order was established by acquisition of lock at 0x7A67D80
  36958. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  36959. ==18304==    by 0x12D777DE: conference_loop_output (conference_loop.c:1525)
  36960. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  36961. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36962. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36963. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36964. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36965. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36966. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36967. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36968. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36969. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36970. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36971. ==18304==
  36972. ==18304==  followed by a later acquisition of lock at 0x12B7C888
  36973. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  36974. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  36975. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  36976. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36977. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36978. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36979. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36980. ==18304==
  36981. ==18304==  Lock at 0x7A67D80 was first observed
  36982. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  36983. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  36984. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  36985. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  36986. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  36987. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  36988. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  36989. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  36990. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  36991. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  36992. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  36993. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  36994. ==18304==    by 0x560E4CE: clone (clone.S:95)
  36995. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  36996. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  36997. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  36998. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  36999. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  37000. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  37001. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  37002. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  37003. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  37004. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  37005. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  37006. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  37007. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  37008. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  37009. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37010. ==18304==  Block was alloc'd by thread #50
  37011. ==18304==
  37012. ==18304==  Lock at 0x12B7C888 was first observed
  37013. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37014. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37015. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  37016. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37017. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37018. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37019. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37020. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37021. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37022. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37023. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37024. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37025. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  37026. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37027. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37028. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37029. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37030. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37031. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37032. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37033. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37034. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37035. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37036. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37037. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37038. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37039. ==18304==  Block was alloc'd by thread #14
  37040. ==18304==
  37041. ==18304==
  37042. ==18304== ----------------------------------------------------------------
  37043. ==18304==
  37044. ==18304== Thread #56: lock order "0x7DAC650 before 0x12B7C888" violated
  37045. ==18304==
  37046. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C888
  37047. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  37048. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  37049. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  37050. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37051. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37052. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37053. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37054. ==18304==
  37055. ==18304==  followed by a later acquisition of lock at 0x7DAC650
  37056. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  37057. ==18304==    by 0x4CDCB1C: switch_core_codec_destroy (switch_core_codec.c:937)
  37058. ==18304==    by 0x12D8FB05: conference_member_setup_media (conference_member.c:1742)
  37059. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  37060. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37061. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37062. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37063. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37064. ==18304==
  37065. ==18304==  Lock at 0x7DAC650 was first observed
  37066. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  37067. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  37068. ==18304==    by 0x4D4A460: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  37069. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  37070. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  37071. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37072. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37073. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37074. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37075. ==18304==  Address 0x7dac650 is 1,872 bytes inside a block of size 8,192 alloc'd
  37076. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37077. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37078. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37079. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37080. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  37081. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37082. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37083. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37084. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37085. ==18304==  Block was alloc'd by thread #1
  37086. ==18304==
  37087. ==18304==  Lock at 0x12B7C888 was first observed
  37088. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37089. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37090. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  37091. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37092. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37093. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37094. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37095. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37096. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37097. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37098. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37099. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37100. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  37101. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37102. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37103. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37104. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37105. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37106. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37107. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37108. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37109. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37110. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37111. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37112. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37113. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37114. ==18304==  Block was alloc'd by thread #14
  37115. ==18304==
  37116. ==18304==
  37117. ==18304== ----------------------------------------------------------------
  37118. ==18304==
  37119. ==18304== Thread #56 unlocked lock at 0x7DAC5F0 currently held by thread #50
  37120. ==18304==    at 0x483BC44: pthread_rwlock_unlock_WRK (hg_intercepts.c:2540)
  37121. ==18304==    by 0x4CDCB28: switch_core_codec_destroy (switch_core_codec.c:937)
  37122. ==18304==    by 0x12D8FB05: conference_member_setup_media (conference_member.c:1742)
  37123. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  37124. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37125. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37126. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37127. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37128. ==18304==  Lock at 0x7DAC5F0 was first observed
  37129. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37130. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37131. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  37132. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  37133. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  37134. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37135. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37136. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37137. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37138. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  37139. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37140. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37141. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37142. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37143. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  37144. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37145. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37146. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37147. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37148. ==18304==  Block was alloc'd by thread #1
  37149. ==18304==
  37150. ==18304==
  37151. ==18304== ----------------------------------------------------------------
  37152. ==18304==
  37153. ==18304== Thread #56 unlocked lock at 0x7DAC108 currently held by thread #50
  37154. ==18304==    at 0x483BC44: pthread_rwlock_unlock_WRK (hg_intercepts.c:2540)
  37155. ==18304==    by 0x4CDCB3B: switch_core_codec_destroy (switch_core_codec.c:937)
  37156. ==18304==    by 0x12D8FB05: conference_member_setup_media (conference_member.c:1742)
  37157. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  37158. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37159. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37160. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37161. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37162. ==18304==  Lock at 0x7DAC108 was first observed
  37163. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37164. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37165. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  37166. ==18304==    by 0x4DC3627: core_pcm_load (switch_pcm.c:364)
  37167. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  37168. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37169. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37170. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37171. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37172. ==18304==  Address 0x7dac108 is 520 bytes inside a block of size 8,192 alloc'd
  37173. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37174. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37175. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37176. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37177. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  37178. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37179. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37180. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37181. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37182. ==18304==  Block was alloc'd by thread #1
  37183. ==18304==
  37184. ==18304==
  37185. ==18304== ----------------------------------------------------------------
  37186. ==18304==
  37187. ==18304== Thread #56: lock order "0xBC83800 before 0x12B7C888" violated
  37188. ==18304==
  37189. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C888
  37190. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  37191. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  37192. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  37193. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37194. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37195. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37196. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37197. ==18304==
  37198. ==18304==  followed by a later acquisition of lock at 0xBC83800
  37199. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  37200. ==18304==    by 0x4CDCACA: switch_core_codec_destroy (switch_core_codec.c:921)
  37201. ==18304==    by 0x12D8FDE9: conference_member_setup_media (conference_member.c:1747)
  37202. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  37203. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37204. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37205. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37206. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37207. ==18304==
  37208. ==18304== Required order was established by acquisition of lock at 0xBC83800
  37209. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  37210. ==18304==    by 0x4D31EF1: switch_core_session_write_frame (switch_core_media.c:15720)
  37211. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  37212. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  37213. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37214. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37215. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37216. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37217. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37218. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37219. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37220. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37221. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37222. ==18304==
  37223. ==18304==  followed by a later acquisition of lock at 0x12B7C888
  37224. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  37225. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  37226. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  37227. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37228. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37229. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37230. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37231. ==18304==
  37232. ==18304==  Lock at 0xBC83800 was first observed
  37233. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  37234. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  37235. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  37236. ==18304==    by 0x12D8FD21: conference_member_setup_media (conference_member.c:1803)
  37237. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  37238. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37239. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37240. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37241. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37242. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37243. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37244. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37245. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37246. ==18304==  Address 0xbc83800 is 8,240 bytes inside a block of size 12,288 alloc'd
  37247. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37248. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  37249. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  37250. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  37251. ==18304==    by 0x12D8FCB4: conference_member_setup_media (conference_member.c:1790)
  37252. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  37253. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37254. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37255. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37256. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37257. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37258. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37259. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37260. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37261. ==18304==  Block was alloc'd by thread #50
  37262. ==18304==
  37263. ==18304==  Lock at 0x12B7C888 was first observed
  37264. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37265. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37266. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  37267. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37268. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37269. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37270. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37271. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37272. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37273. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37274. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37275. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37276. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  37277. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37278. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37279. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37280. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37281. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37282. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37283. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37284. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37285. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37286. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37287. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37288. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37289. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37290. ==18304==  Block was alloc'd by thread #14
  37291. ==18304==
  37292. ==18304==
  37293. ==18304== ----------------------------------------------------------------
  37294. ==18304==
  37295. ==18304== Thread #56: lock order "0x79E2370 before 0x12B7C888" violated
  37296. ==18304==
  37297. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C888
  37298. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  37299. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  37300. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  37301. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37302. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37303. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37304. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37305. ==18304==
  37306. ==18304==  followed by a later acquisition of lock at 0x79E2370
  37307. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  37308. ==18304==    by 0x4D47BD7: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2594)
  37309. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  37310. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  37311. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  37312. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37313. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37314. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37315. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37316. ==18304==
  37317. ==18304==  Lock at 0x79E2370 was first observed
  37318. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  37319. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  37320. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  37321. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37322. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37323. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  37324. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37325. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37326. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37327. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37328. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  37329. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37330. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37331. ==18304==  Block was alloc'd by thread #1
  37332. ==18304==
  37333. ==18304==  Lock at 0x12B7C888 was first observed
  37334. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37335. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37336. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  37337. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37338. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37339. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37340. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37341. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37342. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37343. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37344. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37345. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37346. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  37347. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37348. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37349. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37350. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37351. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37352. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37353. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37354. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37355. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37356. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37357. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37358. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37359. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37360. ==18304==  Block was alloc'd by thread #14
  37361. ==18304==
  37362. ==18304==
  37363. ==18304== ----------------------------------------------------------------
  37364. ==18304==
  37365. ==18304== Thread #56: lock order "0x7DAC650 before 0x12B7C888" violated
  37366. ==18304==
  37367. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C888
  37368. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  37369. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  37370. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  37371. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37372. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37373. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37374. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37375. ==18304==
  37376. ==18304==  followed by a later acquisition of lock at 0x7DAC650
  37377. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  37378. ==18304==    by 0x4D47C4C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  37379. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  37380. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  37381. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  37382. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37383. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37384. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37385. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37386. ==18304==
  37387. ==18304==  Lock at 0x7DAC650 was first observed
  37388. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  37389. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  37390. ==18304==    by 0x4D4A460: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  37391. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  37392. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  37393. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37394. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37395. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37396. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37397. ==18304==  Address 0x7dac650 is 1,872 bytes inside a block of size 8,192 alloc'd
  37398. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37399. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37400. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37401. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37402. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  37403. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37404. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37405. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37406. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37407. ==18304==  Block was alloc'd by thread #1
  37408. ==18304==
  37409. ==18304==  Lock at 0x12B7C888 was first observed
  37410. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37411. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37412. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  37413. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37414. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37415. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37416. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37417. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37418. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37419. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37420. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37421. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37422. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  37423. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37424. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37425. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37426. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37427. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37428. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37429. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37430. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37431. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37432. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37433. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37434. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37435. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37436. ==18304==  Block was alloc'd by thread #14
  37437. ==18304==
  37438. ==18304==
  37439. ==18304== ----------------------------------------------------------------
  37440. ==18304==
  37441. ==18304== Thread #56: lock order "0x7DAC108 before 0x12B7C888" violated
  37442. ==18304==
  37443. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C888
  37444. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  37445. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  37446. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  37447. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37448. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37449. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37450. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37451. ==18304==
  37452. ==18304==  followed by a later acquisition of lock at 0x7DAC108
  37453. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  37454. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  37455. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  37456. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  37457. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  37458. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37459. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37460. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37461. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37462. ==18304==
  37463. ==18304== Required order was established by acquisition of lock at 0x7DAC108
  37464. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  37465. ==18304==    by 0x4D47C5C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  37466. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  37467. ==18304==    by 0x4D0F50F: switch_core_media_set_codec (switch_core_media.c:3762)
  37468. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  37469. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  37470. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  37471. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  37472. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  37473. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  37474. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  37475. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37476. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37477. ==18304==
  37478. ==18304==  followed by a later acquisition of lock at 0x12B7C888
  37479. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  37480. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  37481. ==18304==    by 0x4CED23C: switch_core_session_perform_receive_message (switch_core_session.c:851)
  37482. ==18304==    by 0x4CCC76C: send_ind (switch_channel.c:3388)
  37483. ==18304==    by 0x4CCC76C: switch_channel_perform_mark_answered (switch_channel.c:3867)
  37484. ==18304==    by 0x4CCC76C: switch_channel_perform_mark_answered (switch_channel.c:3767)
  37485. ==18304==    by 0x4CCC92F: switch_channel_perform_answer (switch_channel.c:3903)
  37486. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37487. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37488. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37489. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37490. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37491. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37492. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37493. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37494. ==18304==
  37495. ==18304==  Lock at 0x7DAC108 was first observed
  37496. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37497. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37498. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  37499. ==18304==    by 0x4DC3627: core_pcm_load (switch_pcm.c:364)
  37500. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  37501. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37502. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37503. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37504. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37505. ==18304==  Address 0x7dac108 is 520 bytes inside a block of size 8,192 alloc'd
  37506. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37507. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37508. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37509. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37510. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  37511. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37512. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37513. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37514. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37515. ==18304==  Block was alloc'd by thread #1
  37516. ==18304==
  37517. ==18304==  Lock at 0x12B7C888 was first observed
  37518. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37519. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37520. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  37521. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37522. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37523. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37524. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37525. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37526. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37527. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37528. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37529. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37530. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  37531. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37532. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37533. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37534. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37535. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37536. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37537. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37538. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37539. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37540. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37541. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37542. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37543. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37544. ==18304==  Block was alloc'd by thread #14
  37545. ==18304==
  37546. ==18304==
  37547. ==18304== ----------------------------------------------------------------
  37548. ==18304==
  37549. ==18304== Thread #56: lock order "0x7DAC5F0 before 0x12B7C888" violated
  37550. ==18304==
  37551. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C888
  37552. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  37553. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  37554. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  37555. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37556. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37557. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37558. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37559. ==18304==
  37560. ==18304==  followed by a later acquisition of lock at 0x7DAC5F0
  37561. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  37562. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  37563. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  37564. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  37565. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  37566. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37567. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37568. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37569. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37570. ==18304==
  37571. ==18304== Required order was established by acquisition of lock at 0x7DAC5F0
  37572. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  37573. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  37574. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  37575. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  37576. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  37577. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37578. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37579. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37580. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37581. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37582. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37583. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37584. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37585. ==18304==
  37586. ==18304==  followed by a later acquisition of lock at 0x12B7C888
  37587. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  37588. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  37589. ==18304==    by 0x4CED23C: switch_core_session_perform_receive_message (switch_core_session.c:851)
  37590. ==18304==    by 0x12D64CB5: conference_function (mod_conference.c:2464)
  37591. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37592. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37593. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37594. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37595. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37596. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37597. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37598. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37599. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37600. ==18304==
  37601. ==18304==  Lock at 0x7DAC5F0 was first observed
  37602. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37603. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37604. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  37605. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  37606. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  37607. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37608. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37609. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37610. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37611. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  37612. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37613. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37614. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37615. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37616. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  37617. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37618. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37619. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37620. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37621. ==18304==  Block was alloc'd by thread #1
  37622. ==18304==
  37623. ==18304==  Lock at 0x12B7C888 was first observed
  37624. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37625. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37626. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  37627. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37628. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37629. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37630. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37631. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37632. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37633. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37634. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37635. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37636. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  37637. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37638. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37639. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37640. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37641. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37642. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37643. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37644. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37645. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37646. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37647. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37648. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37649. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37650. ==18304==  Block was alloc'd by thread #14
  37651. ==18304==
  37652. ==18304==
  37653. ==18304== ----------------------------------------------------------------
  37654. ==18304==
  37655. ==18304==  Lock at 0x7A67C90 was first observed
  37656. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  37657. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  37658. ==18304==    by 0x12D64A28: conference_function (mod_conference.c:2390)
  37659. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37660. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37661. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37662. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37663. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37664. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37665. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37666. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37667. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37668. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37669. ==18304==  Address 0x7a67c90 is 3,632 bytes inside a block of size 8,192 alloc'd
  37670. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37671. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  37672. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  37673. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  37674. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  37675. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  37676. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  37677. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  37678. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  37679. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  37680. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  37681. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  37682. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  37683. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37684. ==18304==  Block was alloc'd by thread #50
  37685. ==18304==
  37686. ==18304==  Lock at 0x12B7C550 was first observed
  37687. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  37688. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  37689. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  37690. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37691. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37692. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37693. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37694. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37695. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37696. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37697. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37698. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37699. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  37700. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37701. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37702. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37703. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37704. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37705. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37706. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37707. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37708. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37709. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37710. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37711. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37712. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37713. ==18304==  Block was alloc'd by thread #14
  37714. ==18304==
  37715. ==18304== Possible data race during write of size 1 at 0x1DCAA5B0 by thread #56
  37716. ==18304== Locks held: 1, at address 0x7A67C90
  37717. ==18304==    at 0x12D75A34: conference_loop_input (conference_loop.c:914)
  37718. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37719. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37720. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37721. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37722. ==18304==
  37723. ==18304== This conflicts with a previous read of size 1 by thread #50
  37724. ==18304== Locks held: 1, at address 0x12B7C550
  37725. ==18304==    at 0x12D776B6: conference_loop_output (conference_loop.c:1448)
  37726. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  37727. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37728. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37729. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37730. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37731. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37732. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37733. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37734. ==18304==  Address 0x1dcaa5b0 is on thread #50's stack
  37735. ==18304==  in frame #4, created by conference_function (mod_conference.c:1881)
  37736. ==18304==
  37737. ==18304== ----------------------------------------------------------------
  37738. ==18304==
  37739. ==18304== Thread #56: lock order "0x12B7C640 before 0x7DAC5F0" violated
  37740. ==18304==
  37741. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  37742. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  37743. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  37744. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  37745. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  37746. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  37747. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37748. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37749. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37750. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37751. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37752. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37753. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37754. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37755. ==18304==
  37756. ==18304==  followed by a later acquisition of lock at 0x12B7C640
  37757. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  37758. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  37759. ==18304==    by 0x4CF6FA2: switch_core_session_read_frame (switch_core_io.c:83)
  37760. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  37761. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37762. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37763. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37764. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37765. ==18304==
  37766. ==18304==  Lock at 0x12B7C640 was first observed
  37767. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  37768. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  37769. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  37770. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37771. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37772. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37773. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37774. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37775. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37776. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37777. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37778. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37779. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  37780. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37781. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37782. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37783. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37784. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37785. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37786. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37787. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37788. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37789. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37790. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37791. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37792. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37793. ==18304==  Block was alloc'd by thread #14
  37794. ==18304==
  37795. ==18304==  Lock at 0x7DAC5F0 was first observed
  37796. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37797. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37798. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  37799. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  37800. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  37801. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37802. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37803. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37804. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37805. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  37806. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37807. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37808. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37809. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37810. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  37811. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37812. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37813. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37814. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37815. ==18304==  Block was alloc'd by thread #1
  37816. ==18304==
  37817. ==18304==
  37818. ==18304== ----------------------------------------------------------------
  37819. ==18304==
  37820. ==18304== Thread #56: lock order "0x12B7C640 before 0x7DAC5F0" violated
  37821. ==18304==
  37822. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  37823. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  37824. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  37825. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  37826. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  37827. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  37828. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37829. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37830. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37831. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37832. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37833. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37834. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37835. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37836. ==18304==
  37837. ==18304==  followed by a later acquisition of lock at 0x12B7C640
  37838. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  37839. ==18304==    by 0x4CF6FFE: switch_core_session_read_frame (switch_core_io.c:112)
  37840. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  37841. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37842. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37843. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37844. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37845. ==18304==
  37846. ==18304==  Lock at 0x12B7C640 was first observed
  37847. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  37848. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  37849. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  37850. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37851. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37852. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37853. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37854. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37855. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37856. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37857. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37858. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37859. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  37860. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37861. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37862. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37863. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37864. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37865. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37866. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37867. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37868. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37869. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37870. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37871. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37872. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37873. ==18304==  Block was alloc'd by thread #14
  37874. ==18304==
  37875. ==18304==  Lock at 0x7DAC5F0 was first observed
  37876. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37877. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37878. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  37879. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  37880. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  37881. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37882. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37883. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37884. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37885. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  37886. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37887. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37888. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37889. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37890. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  37891. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37892. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37893. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37894. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37895. ==18304==  Block was alloc'd by thread #1
  37896. ==18304==
  37897. ==18304==
  37898. ==18304== ----------------------------------------------------------------
  37899. ==18304==
  37900. ==18304== Thread #56: lock order "0x12B7C640 before 0x7DAC5F0" violated
  37901. ==18304==
  37902. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  37903. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  37904. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  37905. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  37906. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  37907. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  37908. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  37909. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  37910. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  37911. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  37912. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  37913. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  37914. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37915. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37916. ==18304==
  37917. ==18304==  followed by a later acquisition of lock at 0x12B7C640
  37918. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  37919. ==18304==    by 0x4CF742E: switch_core_session_read_frame (switch_core_io.c:194)
  37920. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  37921. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37922. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37923. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37924. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37925. ==18304==
  37926. ==18304==  Lock at 0x12B7C640 was first observed
  37927. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  37928. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  37929. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  37930. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37931. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37932. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37933. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37934. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37935. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37936. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37937. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37938. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37939. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  37940. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37941. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37942. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37943. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37944. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  37945. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  37946. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  37947. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  37948. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  37949. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  37950. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37951. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37952. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37953. ==18304==  Block was alloc'd by thread #14
  37954. ==18304==
  37955. ==18304==  Lock at 0x7DAC5F0 was first observed
  37956. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  37957. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  37958. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  37959. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  37960. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  37961. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37962. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37963. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37964. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37965. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  37966. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  37967. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  37968. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  37969. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  37970. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  37971. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  37972. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  37973. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  37974. ==18304==    by 0x10AEC7: main (switch.c:1200)
  37975. ==18304==  Block was alloc'd by thread #1
  37976. ==18304==
  37977. ==18304==
  37978. ==18304== ----------------------------------------------------------------
  37979. ==18304==
  37980. ==18304== Thread #56: lock order "0x7A67C90 before 0x12B7C888" violated
  37981. ==18304==
  37982. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12B7C888
  37983. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  37984. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  37985. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  37986. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37987. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37988. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37989. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37990. ==18304==
  37991. ==18304==  followed by a later acquisition of lock at 0x7A67C90
  37992. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  37993. ==18304==    by 0x12D753A7: conference_loop_input (conference_loop.c:845)
  37994. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  37995. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  37996. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  37997. ==18304==    by 0x560E4CE: clone (clone.S:95)
  37998. ==18304==
  37999. ==18304==  Lock at 0x7A67C90 was first observed
  38000. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38001. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38002. ==18304==    by 0x12D64A28: conference_function (mod_conference.c:2390)
  38003. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38004. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38005. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38006. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38007. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38008. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38009. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38010. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38011. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38012. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38013. ==18304==  Address 0x7a67c90 is 3,632 bytes inside a block of size 8,192 alloc'd
  38014. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38015. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38016. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38017. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38018. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  38019. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  38020. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  38021. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38022. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38023. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38024. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38025. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38026. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38027. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38028. ==18304==  Block was alloc'd by thread #50
  38029. ==18304==
  38030. ==18304==  Lock at 0x12B7C888 was first observed
  38031. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  38032. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  38033. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  38034. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38035. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38036. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38037. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38038. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38039. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38040. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38041. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38042. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38043. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  38044. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38045. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38046. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38047. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38048. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  38049. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38050. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38051. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38052. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38053. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38054. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38055. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38056. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38057. ==18304==  Block was alloc'd by thread #14
  38058. ==18304==
  38059. ==18304==
  38060. ==18304== ----------------------------------------------------------------
  38061. ==18304==
  38062. ==18304== Thread #50: lock order "0x7D7DD28 before 0x7D7DCC8" violated
  38063. ==18304==
  38064. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  38065. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  38066. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  38067. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  38068. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  38069. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38070. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38071. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38072. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38073. ==18304==
  38074. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  38075. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  38076. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  38077. ==18304==    by 0x12D77B2B: conference_loop_output (conference_loop.c:1659)
  38078. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  38079. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38080. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38081. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38082. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38083. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38084. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38085. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38086. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38087. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38088. ==18304==
  38089. ==18304== Required order was established by acquisition of lock at 0x7D7DD28
  38090. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  38091. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  38092. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  38093. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  38094. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38095. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38096. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38097. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38098. ==18304==
  38099. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  38100. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  38101. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  38102. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  38103. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  38104. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38105. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38106. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38107. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38108. ==18304==
  38109. ==18304==  Lock at 0x7D7DD28 was first observed
  38110. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38111. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38112. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  38113. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  38114. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  38115. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  38116. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  38117. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  38118. ==18304==    by 0x10AEC7: main (switch.c:1200)
  38119. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  38120. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38121. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38122. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38123. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38124. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  38125. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  38126. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  38127. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  38128. ==18304==    by 0x10AEC7: main (switch.c:1200)
  38129. ==18304==  Block was alloc'd by thread #1
  38130. ==18304==
  38131. ==18304==  Lock at 0x7D7DCC8 was first observed
  38132. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  38133. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  38134. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  38135. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  38136. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  38137. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  38138. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  38139. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  38140. ==18304==    by 0x10AEC7: main (switch.c:1200)
  38141. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  38142. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38143. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38144. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38145. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38146. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  38147. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  38148. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  38149. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  38150. ==18304==    by 0x10AEC7: main (switch.c:1200)
  38151. ==18304==  Block was alloc'd by thread #1
  38152. ==18304==
  38153. ==18304==
  38154. ==18304== ----------------------------------------------------------------
  38155. ==18304==
  38156. ==18304==  Lock at 0x7A67840 was first observed
  38157. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38158. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38159. ==18304==    by 0x4D1500E: switch_core_media_activate_rtp (switch_core_media.c:8774)
  38160. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38161. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38162. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38163. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38164. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38165. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38166. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38167. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38168. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38169. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38170. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38171. ==18304==  Address 0x7a67840 is 2,528 bytes inside a block of size 8,192 alloc'd
  38172. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38173. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38174. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38175. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38176. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  38177. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  38178. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  38179. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38180. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38181. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38182. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38183. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38184. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38185. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38186. ==18304==  Block was alloc'd by thread #50
  38187. ==18304==
  38188. ==18304==  Lock at 0x13010DE8 was first observed
  38189. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38190. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38191. ==18304==    by 0x4D623EF: switch_rtp_create (switch_rtp.c:4351)
  38192. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  38193. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  38194. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38195. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38196. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38197. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38198. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38199. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38200. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38201. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38202. ==18304==  Address 0x13010de8 is 93,432 bytes inside a block of size 94,208 alloc'd
  38203. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38204. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38205. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38206. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  38207. ==18304==    by 0x4D62395: switch_rtp_create (switch_rtp.c:4339)
  38208. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  38209. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  38210. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38211. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38212. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38213. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38214. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38215. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38216. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38217. ==18304==  Block was alloc'd by thread #50
  38218. ==18304==
  38219. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #56
  38220. ==18304== Locks held: 2, at addresses 0x7A67840 0x13010DE8
  38221. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  38222. ==18304==    by 0x4D5C6D4: check_jitter (switch_rtp.c:1717)
  38223. ==18304==    by 0x4D68C89: read_rtp_packet.part.22 (switch_rtp.c:5961)
  38224. ==18304==    by 0x4D6AD07: read_rtp_packet (switch_rtp.c:5786)
  38225. ==18304==    by 0x4D6AD07: rtp_common_read (switch_rtp.c:7237)
  38226. ==18304==    by 0x4D6C53E: switch_rtp_zerocopy_read_frame (switch_rtp.c:8086)
  38227. ==18304==    by 0x4D0FEB9: switch_core_media_read_frame (switch_core_media.c:2917)
  38228. ==18304==    by 0x95513AC: sofia_read_frame (mod_sofia.c:1170)
  38229. ==18304==    by 0x4CF73C4: switch_core_session_read_frame (switch_core_io.c:175)
  38230. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  38231. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38232. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38233. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38234. ==18304==
  38235. ==18304== This conflicts with a previous write of size 8 by thread #44
  38236. ==18304== Locks held: none
  38237. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  38238. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  38239. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38240. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38241. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38242. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38243. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  38244. ==18304==
  38245. ==18304== ----------------------------------------------------------------
  38246. ==18304==
  38247. ==18304==  Lock at 0xC0DAC08 was first observed
  38248. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38249. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38250. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  38251. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  38252. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  38253. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38254. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38255. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38256. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38257. ==18304==  Address 0xc0dac08 is 9,016 bytes inside a block of size 12,288 alloc'd
  38258. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38259. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38260. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38261. ==18304==    by 0x4CD9A15: switch_core_perform_session_alloc (switch_core_memory.c:94)
  38262. ==18304==    by 0x12D76DD8: conference_loop_output (conference_loop.c:1342)
  38263. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  38264. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38265. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38266. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38267. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38268. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38269. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38270. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38271. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38272. ==18304==  Block was alloc'd by thread #50
  38273. ==18304==
  38274. ==18304==  Lock at 0x12B7C640 was first observed
  38275. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38276. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38277. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  38278. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38279. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38280. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38281. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38282. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38283. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38284. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38285. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38286. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38287. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  38288. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38289. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38290. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38291. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38292. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  38293. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38294. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38295. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38296. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38297. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38298. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38299. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38300. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38301. ==18304==  Block was alloc'd by thread #14
  38302. ==18304==
  38303. ==18304==  Lock at 0x7A67C40 was first observed
  38304. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38305. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38306. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  38307. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38308. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38309. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38310. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38311. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38312. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38313. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38314. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38315. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38316. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38317. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  38318. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38319. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38320. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38321. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38322. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  38323. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  38324. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  38325. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38326. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38327. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38328. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38329. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38330. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38331. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38332. ==18304==  Block was alloc'd by thread #50
  38333. ==18304==
  38334. ==18304==  Lock at 0x7A67D80 was first observed
  38335. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38336. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38337. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  38338. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38339. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38340. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38341. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38342. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38343. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38344. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38345. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38346. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38347. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38348. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  38349. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38350. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38351. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38352. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38353. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  38354. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  38355. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  38356. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38357. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38358. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38359. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38360. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38361. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38362. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38363. ==18304==  Block was alloc'd by thread #50
  38364. ==18304==
  38365. ==18304==  Lock at 0xC0C9CF0 was first observed
  38366. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38367. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38368. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  38369. ==18304==    by 0x12D8FD21: conference_member_setup_media (conference_member.c:1803)
  38370. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  38371. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38372. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38373. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38374. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38375. ==18304==  Address 0xc0c9cf0 is 8,240 bytes inside a block of size 12,288 alloc'd
  38376. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38377. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38378. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38379. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  38380. ==18304==    by 0x12D8FCB4: conference_member_setup_media (conference_member.c:1790)
  38381. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  38382. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38383. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38384. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38385. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38386. ==18304==  Block was alloc'd by thread #56
  38387. ==18304==
  38388. ==18304==  Lock at 0x12B7C550 was first observed
  38389. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38390. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38391. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  38392. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38393. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38394. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38395. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38396. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38397. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38398. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38399. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38400. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38401. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  38402. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38403. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38404. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38405. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38406. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  38407. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38408. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38409. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38410. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38411. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38412. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38413. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38414. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38415. ==18304==  Block was alloc'd by thread #14
  38416. ==18304==
  38417. ==18304==  Lock at 0x12B7C690 was first observed
  38418. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38419. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38420. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  38421. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38422. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38423. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38424. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38425. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38426. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38427. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38428. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38429. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38430. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  38431. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38432. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38433. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38434. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38435. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  38436. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38437. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38438. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38439. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38440. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38441. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38442. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38443. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38444. ==18304==  Block was alloc'd by thread #14
  38445. ==18304==
  38446. ==18304==  Lock at 0x130402C8 was first observed
  38447. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38448. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38449. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  38450. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  38451. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  38452. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  38453. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  38454. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38455. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38456. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38457. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38458. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38459. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38460. ==18304==  Address 0x130402c8 is 6,184 bytes inside a block of size 8,192 alloc'd
  38461. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38462. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38463. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38464. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38465. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  38466. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38467. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38468. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38469. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38470. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38471. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38472. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38473. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38474. ==18304==  Block was alloc'd by thread #14
  38475. ==18304==
  38476. ==18304== Possible data race during write of size 1 at 0x7A389E0 by thread #56
  38477. ==18304== Locks held: 2, at addresses 0xC0DAC08 0x12B7C640
  38478. ==18304==    at 0x4CF7571: switch_core_session_read_frame (switch_core_io.c:410)
  38479. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  38480. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38481. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38482. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38483. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38484. ==18304==
  38485. ==18304== This conflicts with a previous read of size 1 by thread #50
  38486. ==18304== Locks held: 6, at addresses 0x7A67C40 0x7A67D80 0xC0C9CF0 0x12B7C550 0x12B7C690 0x130402C8
  38487. ==18304==    at 0x4D32C28: switch_core_session_write_frame (switch_core_media.c:15654)
  38488. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  38489. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  38490. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38491. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38492. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38493. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38494. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38495. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38496. ==18304==  Address 0x7a389e0 is 80 bytes inside a block of size 36,864 alloc'd
  38497. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38498. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38499. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38500. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  38501. ==18304==    by 0x4CECAC0: switch_core_session_request_uuid (switch_core_session.c:2377)
  38502. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38503. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38504. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38505. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38506. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38507. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38508. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38509. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38510. ==18304==  Block was alloc'd by thread #14
  38511. ==18304==
  38512. ==18304== ----------------------------------------------------------------
  38513. ==18304==
  38514. ==18304==  Lock at 0xC0DAC08 was first observed
  38515. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38516. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38517. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  38518. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  38519. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  38520. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38521. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38522. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38523. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38524. ==18304==  Address 0xc0dac08 is 9,016 bytes inside a block of size 12,288 alloc'd
  38525. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38526. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38527. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38528. ==18304==    by 0x4CD9A15: switch_core_perform_session_alloc (switch_core_memory.c:94)
  38529. ==18304==    by 0x12D76DD8: conference_loop_output (conference_loop.c:1342)
  38530. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  38531. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38532. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38533. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38534. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38535. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38536. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38537. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38538. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38539. ==18304==  Block was alloc'd by thread #50
  38540. ==18304==
  38541. ==18304==  Lock at 0x12B7C640 was first observed
  38542. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38543. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38544. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  38545. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38546. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38547. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38548. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38549. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38550. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38551. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38552. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38553. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38554. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  38555. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38556. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38557. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38558. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38559. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  38560. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38561. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38562. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38563. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38564. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38565. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38566. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38567. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38568. ==18304==  Block was alloc'd by thread #14
  38569. ==18304==
  38570. ==18304==  Lock at 0x7A67C40 was first observed
  38571. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38572. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38573. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  38574. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38575. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38576. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38577. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38578. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38579. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38580. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38581. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38582. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38583. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38584. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  38585. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38586. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38587. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38588. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38589. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  38590. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  38591. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  38592. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38593. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38594. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38595. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38596. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38597. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38598. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38599. ==18304==  Block was alloc'd by thread #50
  38600. ==18304==
  38601. ==18304==  Lock at 0x7A67D80 was first observed
  38602. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38603. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38604. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  38605. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38606. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38607. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38608. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38609. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38610. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38611. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38612. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38613. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38614. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38615. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  38616. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38617. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38618. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38619. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38620. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  38621. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  38622. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  38623. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38624. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38625. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38626. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38627. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38628. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38629. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38630. ==18304==  Block was alloc'd by thread #50
  38631. ==18304==
  38632. ==18304==  Lock at 0xC0C9CF0 was first observed
  38633. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38634. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38635. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  38636. ==18304==    by 0x12D8FD21: conference_member_setup_media (conference_member.c:1803)
  38637. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  38638. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38639. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38640. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38641. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38642. ==18304==  Address 0xc0c9cf0 is 8,240 bytes inside a block of size 12,288 alloc'd
  38643. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38644. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38645. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38646. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  38647. ==18304==    by 0x12D8FCB4: conference_member_setup_media (conference_member.c:1790)
  38648. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  38649. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38650. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38651. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38652. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38653. ==18304==  Block was alloc'd by thread #56
  38654. ==18304==
  38655. ==18304==  Lock at 0x12B7C550 was first observed
  38656. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38657. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38658. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  38659. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38660. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38661. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38662. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38663. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38664. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38665. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38666. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38667. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38668. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  38669. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38670. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38671. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38672. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38673. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  38674. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38675. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38676. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38677. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38678. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38679. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38680. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38681. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38682. ==18304==  Block was alloc'd by thread #14
  38683. ==18304==
  38684. ==18304==  Lock at 0x12B7C690 was first observed
  38685. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38686. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38687. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  38688. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38689. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38690. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38691. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38692. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38693. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38694. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38695. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38696. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38697. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  38698. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38699. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38700. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38701. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38702. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  38703. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38704. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38705. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38706. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38707. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38708. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38709. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38710. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38711. ==18304==  Block was alloc'd by thread #14
  38712. ==18304==
  38713. ==18304==  Lock at 0x130402C8 was first observed
  38714. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38715. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38716. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  38717. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  38718. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  38719. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  38720. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  38721. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38722. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38723. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38724. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38725. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38726. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38727. ==18304==  Address 0x130402c8 is 6,184 bytes inside a block of size 8,192 alloc'd
  38728. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38729. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38730. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38731. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38732. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  38733. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38734. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38735. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38736. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38737. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38738. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38739. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38740. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38741. ==18304==  Block was alloc'd by thread #14
  38742. ==18304==
  38743. ==18304== Possible data race during write of size 2 at 0x7A389E2 by thread #56
  38744. ==18304== Locks held: 2, at addresses 0xC0DAC08 0x12B7C640
  38745. ==18304==    at 0x4CF7571: switch_core_session_read_frame (switch_core_io.c:410)
  38746. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  38747. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38748. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38749. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38750. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38751. ==18304==
  38752. ==18304== This conflicts with a previous read of size 2 by thread #50
  38753. ==18304== Locks held: 6, at addresses 0x7A67C40 0x7A67D80 0xC0C9CF0 0x12B7C550 0x12B7C690 0x130402C8
  38754. ==18304==    at 0x4D32C28: switch_core_session_write_frame (switch_core_media.c:15654)
  38755. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  38756. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  38757. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38758. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38759. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38760. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38761. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38762. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38763. ==18304==  Address 0x7a389e2 is 82 bytes inside a block of size 36,864 alloc'd
  38764. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38765. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38766. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38767. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  38768. ==18304==    by 0x4CECAC0: switch_core_session_request_uuid (switch_core_session.c:2377)
  38769. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38770. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38771. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38772. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38773. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38774. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38775. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38776. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38777. ==18304==  Block was alloc'd by thread #14
  38778. ==18304==
  38779. ==18304== ----------------------------------------------------------------
  38780. ==18304==
  38781. ==18304==  Lock at 0x7A67C40 was first observed
  38782. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38783. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38784. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  38785. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38786. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38787. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38788. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38789. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38790. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38791. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38792. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38793. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38794. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38795. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  38796. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38797. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38798. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38799. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38800. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  38801. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  38802. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  38803. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38804. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38805. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38806. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38807. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38808. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38809. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38810. ==18304==  Block was alloc'd by thread #50
  38811. ==18304==
  38812. ==18304==  Lock at 0x7A67D80 was first observed
  38813. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38814. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38815. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  38816. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38817. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38818. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38819. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38820. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38821. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38822. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38823. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38824. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38825. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38826. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  38827. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38828. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38829. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38830. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38831. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  38832. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  38833. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  38834. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  38835. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  38836. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38837. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38838. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38839. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38840. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38841. ==18304==  Block was alloc'd by thread #50
  38842. ==18304==
  38843. ==18304==  Lock at 0xC0C9CF0 was first observed
  38844. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38845. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38846. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  38847. ==18304==    by 0x12D8FD21: conference_member_setup_media (conference_member.c:1803)
  38848. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  38849. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38850. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38851. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38852. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38853. ==18304==  Address 0xc0c9cf0 is 8,240 bytes inside a block of size 12,288 alloc'd
  38854. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38855. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38856. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38857. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  38858. ==18304==    by 0x12D8FCB4: conference_member_setup_media (conference_member.c:1790)
  38859. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  38860. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38861. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38862. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38863. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38864. ==18304==  Block was alloc'd by thread #56
  38865. ==18304==
  38866. ==18304==  Lock at 0x12B7C550 was first observed
  38867. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38868. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38869. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  38870. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38871. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38872. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38873. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38874. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38875. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38876. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38877. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38878. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38879. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  38880. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38881. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38882. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38883. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38884. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  38885. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38886. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38887. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38888. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38889. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38890. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38891. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38892. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38893. ==18304==  Block was alloc'd by thread #14
  38894. ==18304==
  38895. ==18304==  Lock at 0x12B7C690 was first observed
  38896. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38897. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38898. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  38899. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38900. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38901. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38902. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38903. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38904. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38905. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38906. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38907. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38908. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  38909. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38910. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38911. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38912. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38913. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  38914. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38915. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38916. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38917. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38918. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38919. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38920. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38921. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38922. ==18304==  Block was alloc'd by thread #14
  38923. ==18304==
  38924. ==18304==  Lock at 0x130402C8 was first observed
  38925. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38926. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38927. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  38928. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  38929. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  38930. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  38931. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  38932. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  38933. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  38934. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  38935. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  38936. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38937. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38938. ==18304==  Address 0x130402c8 is 6,184 bytes inside a block of size 8,192 alloc'd
  38939. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38940. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38941. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38942. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  38943. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  38944. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38945. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38946. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38947. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38948. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38949. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38950. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38951. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38952. ==18304==  Block was alloc'd by thread #14
  38953. ==18304==
  38954. ==18304==  Lock at 0xC0DAC08 was first observed
  38955. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38956. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38957. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  38958. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  38959. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  38960. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38961. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38962. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38963. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38964. ==18304==  Address 0xc0dac08 is 9,016 bytes inside a block of size 12,288 alloc'd
  38965. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38966. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  38967. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  38968. ==18304==    by 0x4CD9A15: switch_core_perform_session_alloc (switch_core_memory.c:94)
  38969. ==18304==    by 0x12D76DD8: conference_loop_output (conference_loop.c:1342)
  38970. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  38971. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  38972. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  38973. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  38974. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  38975. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  38976. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  38977. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38978. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38979. ==18304==  Block was alloc'd by thread #50
  38980. ==18304==
  38981. ==18304==  Lock at 0x12B7C640 was first observed
  38982. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  38983. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  38984. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  38985. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  38986. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  38987. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  38988. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  38989. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  38990. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  38991. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  38992. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  38993. ==18304==    by 0x560E4CE: clone (clone.S:95)
  38994. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  38995. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  38996. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  38997. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  38998. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  38999. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  39000. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39001. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39002. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39003. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39004. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39005. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39006. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39007. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39008. ==18304==  Block was alloc'd by thread #14
  39009. ==18304==
  39010. ==18304== Possible data race during read of size 4 at 0x7A3D530 by thread #50
  39011. ==18304== Locks held: 6, at addresses 0x7A67C40 0x7A67D80 0xC0C9CF0 0x12B7C550 0x12B7C690 0x130402C8
  39012. ==18304==    at 0x4D331F9: switch_core_session_write_frame (switch_core_media.c:16026)
  39013. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  39014. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  39015. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39016. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39017. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39018. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39019. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39020. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39021. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39022. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39023. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39024. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39025. ==18304==
  39026. ==18304== This conflicts with a previous write of size 4 by thread #56
  39027. ==18304== Locks held: 2, at addresses 0xC0DAC08 0x12B7C640
  39028. ==18304==    at 0x4CF7A40: switch_core_session_read_frame (switch_core_io.c:803)
  39029. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  39030. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39031. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39032. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39033. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39034. ==18304==  Address 0x7a3d530 is 19,360 bytes inside a block of size 36,864 alloc'd
  39035. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39036. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39037. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39038. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  39039. ==18304==    by 0x4CECAC0: switch_core_session_request_uuid (switch_core_session.c:2377)
  39040. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39041. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39042. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39043. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39044. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39045. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39046. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39047. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39048. ==18304==  Block was alloc'd by thread #14
  39049. ==18304==
  39050. ==18304== ----------------------------------------------------------------
  39051. ==18304==
  39052. ==18304==  Lock at 0x7A67C40 was first observed
  39053. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39054. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39055. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  39056. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39057. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39058. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39059. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39060. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39061. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39062. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39063. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39064. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39065. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39066. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  39067. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39068. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39069. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39070. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  39071. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  39072. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  39073. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  39074. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  39075. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  39076. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  39077. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  39078. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  39079. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  39080. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39081. ==18304==  Block was alloc'd by thread #50
  39082. ==18304==
  39083. ==18304==  Lock at 0x7A67D80 was first observed
  39084. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39085. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39086. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  39087. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39088. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39089. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39090. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39091. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39092. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39093. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39094. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39095. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39096. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39097. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  39098. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39099. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39100. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39101. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  39102. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  39103. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  39104. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  39105. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  39106. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  39107. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  39108. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  39109. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  39110. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  39111. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39112. ==18304==  Block was alloc'd by thread #50
  39113. ==18304==
  39114. ==18304==  Lock at 0xC0C9CF0 was first observed
  39115. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39116. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39117. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  39118. ==18304==    by 0x12D8FD21: conference_member_setup_media (conference_member.c:1803)
  39119. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  39120. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39121. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39122. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39123. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39124. ==18304==  Address 0xc0c9cf0 is 8,240 bytes inside a block of size 12,288 alloc'd
  39125. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39126. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39127. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39128. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  39129. ==18304==    by 0x12D8FCB4: conference_member_setup_media (conference_member.c:1790)
  39130. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  39131. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39132. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39133. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39134. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39135. ==18304==  Block was alloc'd by thread #56
  39136. ==18304==
  39137. ==18304==  Lock at 0x12B7C550 was first observed
  39138. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39139. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39140. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  39141. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39142. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39143. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39144. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39145. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39146. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39147. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39148. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39149. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39150. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  39151. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39152. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39153. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39154. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39155. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  39156. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39157. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39158. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39159. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39160. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39161. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39162. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39163. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39164. ==18304==  Block was alloc'd by thread #14
  39165. ==18304==
  39166. ==18304==  Lock at 0x12B7C690 was first observed
  39167. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39168. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39169. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  39170. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39171. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39172. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39173. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39174. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39175. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39176. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39177. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39178. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39179. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  39180. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39181. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39182. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39183. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39184. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  39185. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39186. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39187. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39188. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39189. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39190. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39191. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39192. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39193. ==18304==  Block was alloc'd by thread #14
  39194. ==18304==
  39195. ==18304==  Lock at 0x130402C8 was first observed
  39196. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39197. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39198. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  39199. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  39200. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  39201. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  39202. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  39203. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  39204. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  39205. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  39206. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  39207. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39208. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39209. ==18304==  Address 0x130402c8 is 6,184 bytes inside a block of size 8,192 alloc'd
  39210. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39211. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39212. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39213. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  39214. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  39215. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39216. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39217. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39218. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39219. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39220. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39221. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39222. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39223. ==18304==  Block was alloc'd by thread #14
  39224. ==18304==
  39225. ==18304==  Lock at 0xC0DAC08 was first observed
  39226. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39227. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39228. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  39229. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  39230. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  39231. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39232. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39233. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39234. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39235. ==18304==  Address 0xc0dac08 is 9,016 bytes inside a block of size 12,288 alloc'd
  39236. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39237. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39238. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39239. ==18304==    by 0x4CD9A15: switch_core_perform_session_alloc (switch_core_memory.c:94)
  39240. ==18304==    by 0x12D76DD8: conference_loop_output (conference_loop.c:1342)
  39241. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  39242. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39243. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39244. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39245. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39246. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39247. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39248. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39249. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39250. ==18304==  Block was alloc'd by thread #50
  39251. ==18304==
  39252. ==18304==  Lock at 0x12B7C640 was first observed
  39253. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39254. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39255. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  39256. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39257. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39258. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39259. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39260. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39261. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39262. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39263. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39264. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39265. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  39266. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39267. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39268. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39269. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39270. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  39271. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39272. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39273. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39274. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39275. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39276. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39277. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39278. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39279. ==18304==  Block was alloc'd by thread #14
  39280. ==18304==
  39281. ==18304== Possible data race during read of size 4 at 0x7A3D530 by thread #50
  39282. ==18304== Locks held: 6, at addresses 0x7A67C40 0x7A67D80 0xC0C9CF0 0x12B7C550 0x12B7C690 0x130402C8
  39283. ==18304==    at 0x4D3323D: switch_core_session_write_frame (switch_core_media.c:16034)
  39284. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  39285. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  39286. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39287. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39288. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39289. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39290. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39291. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39292. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39293. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39294. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39295. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39296. ==18304==
  39297. ==18304== This conflicts with a previous write of size 4 by thread #56
  39298. ==18304== Locks held: 2, at addresses 0xC0DAC08 0x12B7C640
  39299. ==18304==    at 0x4CF7A40: switch_core_session_read_frame (switch_core_io.c:803)
  39300. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  39301. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39302. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39303. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39304. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39305. ==18304==  Address 0x7a3d530 is 19,360 bytes inside a block of size 36,864 alloc'd
  39306. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39307. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39308. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39309. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  39310. ==18304==    by 0x4CECAC0: switch_core_session_request_uuid (switch_core_session.c:2377)
  39311. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39312. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39313. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39314. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39315. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39316. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39317. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39318. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39319. ==18304==  Block was alloc'd by thread #14
  39320. ==18304==
  39321. ==18304== ----------------------------------------------------------------
  39322. ==18304==
  39323. ==18304== Thread #53: lock order "0x7A4BF68 before 0x7A4C0C0" violated
  39324. ==18304==
  39325. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7A4C0C0
  39326. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  39327. ==18304==    by 0x4D47A9F: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  39328. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  39329. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  39330. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  39331. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39332. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39333. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39334. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39335. ==18304==
  39336. ==18304==  followed by a later acquisition of lock at 0x7A4BF68
  39337. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  39338. ==18304==    by 0x4D47AB2: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  39339. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  39340. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  39341. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  39342. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39343. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39344. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39345. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39346. ==18304==
  39347. ==18304== Required order was established by acquisition of lock at 0x7A4BF68
  39348. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  39349. ==18304==    by 0x4D47AB2: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  39350. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  39351. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  39352. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  39353. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39354. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39355. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39356. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39357. ==18304==
  39358. ==18304==  followed by a later acquisition of lock at 0x7A4C0C0
  39359. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  39360. ==18304==    by 0x4CDDC8E: switch_core_perform_file_open (switch_core_file.c:389)
  39361. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  39362. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  39363. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39364. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39365. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39366. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39367. ==18304==
  39368. ==18304==  Lock at 0x7A4BF68 was first observed
  39369. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  39370. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  39371. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  39372. ==18304==    by 0x14020DBA: mod_local_stream_load (mod_local_stream.c:1546)
  39373. ==18304==    by 0x14020DBA: mod_local_stream_load (mod_local_stream.c:1531)
  39374. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  39375. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  39376. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  39377. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  39378. ==18304==    by 0x10AEC7: main (switch.c:1200)
  39379. ==18304==  Address 0x7a4bf68 is 600 bytes inside a block of size 8,192 alloc'd
  39380. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39381. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39382. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39383. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39384. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  39385. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  39386. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  39387. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  39388. ==18304==    by 0x10AEC7: main (switch.c:1200)
  39389. ==18304==  Block was alloc'd by thread #1
  39390. ==18304==
  39391. ==18304==  Lock at 0x7A4C0C0 was first observed
  39392. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39393. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39394. ==18304==    by 0x4D4A5BE: switch_loadable_module_create_interface (switch_loadable_module.c:3134)
  39395. ==18304==    by 0x14020DCB: mod_local_stream_load (mod_local_stream.c:1547)
  39396. ==18304==    by 0x14020DCB: mod_local_stream_load (mod_local_stream.c:1531)
  39397. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  39398. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  39399. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  39400. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  39401. ==18304==    by 0x10AEC7: main (switch.c:1200)
  39402. ==18304==  Address 0x7a4c0c0 is 944 bytes inside a block of size 8,192 alloc'd
  39403. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39404. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39405. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39406. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39407. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  39408. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  39409. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  39410. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  39411. ==18304==    by 0x10AEC7: main (switch.c:1200)
  39412. ==18304==  Block was alloc'd by thread #1
  39413. ==18304==
  39414. ==18304==
  39415. ==18304== ----------------------------------------------------------------
  39416. ==18304==
  39417. ==18304== Thread #53: lock order "0x7A4C060 before 0x7A4C0C0" violated
  39418. ==18304==
  39419. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7A4C0C0
  39420. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  39421. ==18304==    by 0x4D47A9F: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  39422. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  39423. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  39424. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  39425. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39426. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39427. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39428. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39429. ==18304==
  39430. ==18304==  followed by a later acquisition of lock at 0x7A4C060
  39431. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  39432. ==18304==    by 0x4D47ABB: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  39433. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  39434. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  39435. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  39436. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39437. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39438. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39439. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39440. ==18304==
  39441. ==18304== Required order was established by acquisition of lock at 0x7A4C060
  39442. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  39443. ==18304==    by 0x4D47ABB: switch_loadable_module_get_file_interface (switch_loadable_module.c:2556)
  39444. ==18304==    by 0x4CDD703: switch_core_perform_file_open (switch_core_file.c:306)
  39445. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  39446. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  39447. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39448. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39449. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39450. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39451. ==18304==
  39452. ==18304==  followed by a later acquisition of lock at 0x7A4C0C0
  39453. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  39454. ==18304==    by 0x4CDDC8E: switch_core_perform_file_open (switch_core_file.c:389)
  39455. ==18304==    by 0x12D91687: conference_file_play (conference_file.c:259)
  39456. ==18304==    by 0x12D66FD6: conference_thread_run (mod_conference.c:399)
  39457. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39458. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39459. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39460. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39461. ==18304==
  39462. ==18304==  Lock at 0x7A4C060 was first observed
  39463. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  39464. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  39465. ==18304==    by 0x4D4A5A6: switch_loadable_module_create_interface (switch_loadable_module.c:3134)
  39466. ==18304==    by 0x14020DCB: mod_local_stream_load (mod_local_stream.c:1547)
  39467. ==18304==    by 0x14020DCB: mod_local_stream_load (mod_local_stream.c:1531)
  39468. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  39469. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  39470. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  39471. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  39472. ==18304==    by 0x10AEC7: main (switch.c:1200)
  39473. ==18304==  Address 0x7a4c060 is 848 bytes inside a block of size 8,192 alloc'd
  39474. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39475. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39476. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39477. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39478. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  39479. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  39480. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  39481. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  39482. ==18304==    by 0x10AEC7: main (switch.c:1200)
  39483. ==18304==  Block was alloc'd by thread #1
  39484. ==18304==
  39485. ==18304==  Lock at 0x7A4C0C0 was first observed
  39486. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39487. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39488. ==18304==    by 0x4D4A5BE: switch_loadable_module_create_interface (switch_loadable_module.c:3134)
  39489. ==18304==    by 0x14020DCB: mod_local_stream_load (mod_local_stream.c:1547)
  39490. ==18304==    by 0x14020DCB: mod_local_stream_load (mod_local_stream.c:1531)
  39491. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  39492. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  39493. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  39494. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  39495. ==18304==    by 0x10AEC7: main (switch.c:1200)
  39496. ==18304==  Address 0x7a4c0c0 is 944 bytes inside a block of size 8,192 alloc'd
  39497. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39498. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39499. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39500. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39501. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  39502. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  39503. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  39504. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  39505. ==18304==    by 0x10AEC7: main (switch.c:1200)
  39506. ==18304==  Block was alloc'd by thread #1
  39507. ==18304==
  39508. ==18304==
  39509. ==18304== ----------------------------------------------------------------
  39510. ==18304==
  39511. ==18304==  Lock at 0xC0DAC08 was first observed
  39512. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39513. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39514. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  39515. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  39516. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  39517. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39518. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39519. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39520. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39521. ==18304==  Address 0xc0dac08 is 9,016 bytes inside a block of size 12,288 alloc'd
  39522. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39523. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39524. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39525. ==18304==    by 0x4CD9A15: switch_core_perform_session_alloc (switch_core_memory.c:94)
  39526. ==18304==    by 0x12D76DD8: conference_loop_output (conference_loop.c:1342)
  39527. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  39528. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39529. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39530. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39531. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39532. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39533. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39534. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39535. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39536. ==18304==  Block was alloc'd by thread #50
  39537. ==18304==
  39538. ==18304==  Lock at 0x12B7C640 was first observed
  39539. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39540. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39541. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  39542. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39543. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39544. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39545. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39546. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39547. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39548. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39549. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39550. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39551. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  39552. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39553. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39554. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39555. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39556. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  39557. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39558. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39559. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39560. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39561. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39562. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39563. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39564. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39565. ==18304==  Block was alloc'd by thread #14
  39566. ==18304==
  39567. ==18304==  Lock at 0x7A67C40 was first observed
  39568. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39569. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39570. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  39571. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39572. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39573. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39574. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39575. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39576. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39577. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39578. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39579. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39580. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39581. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  39582. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39583. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39584. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39585. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  39586. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  39587. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  39588. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  39589. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  39590. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  39591. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  39592. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  39593. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  39594. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  39595. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39596. ==18304==  Block was alloc'd by thread #50
  39597. ==18304==
  39598. ==18304==  Lock at 0x7A67D80 was first observed
  39599. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39600. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39601. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  39602. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39603. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39604. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39605. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39606. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39607. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39608. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39609. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39610. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39611. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39612. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  39613. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39614. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39615. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39616. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  39617. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  39618. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  39619. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  39620. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  39621. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  39622. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  39623. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  39624. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  39625. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  39626. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39627. ==18304==  Block was alloc'd by thread #50
  39628. ==18304==
  39629. ==18304==  Lock at 0xC0C9CF0 was first observed
  39630. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39631. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39632. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  39633. ==18304==    by 0x12D8FD21: conference_member_setup_media (conference_member.c:1803)
  39634. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  39635. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39636. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39637. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39638. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39639. ==18304==  Address 0xc0c9cf0 is 8,240 bytes inside a block of size 12,288 alloc'd
  39640. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39641. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39642. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39643. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  39644. ==18304==    by 0x12D8FCB4: conference_member_setup_media (conference_member.c:1790)
  39645. ==18304==    by 0x12D75A2B: conference_loop_input (conference_loop.c:909)
  39646. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39647. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39648. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39649. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39650. ==18304==  Block was alloc'd by thread #56
  39651. ==18304==
  39652. ==18304==  Lock at 0x12B7C550 was first observed
  39653. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39654. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39655. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  39656. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39657. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39658. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39659. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39660. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39661. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39662. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39663. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39664. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39665. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  39666. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39667. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39668. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39669. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39670. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  39671. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39672. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39673. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39674. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39675. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39676. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39677. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39678. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39679. ==18304==  Block was alloc'd by thread #14
  39680. ==18304==
  39681. ==18304==  Lock at 0x12B7C690 was first observed
  39682. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39683. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39684. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  39685. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39686. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39687. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39688. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39689. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39690. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39691. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39692. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39693. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39694. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  39695. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39696. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39697. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39698. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39699. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  39700. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39701. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39702. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39703. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39704. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39705. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39706. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39707. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39708. ==18304==  Block was alloc'd by thread #14
  39709. ==18304==
  39710. ==18304==  Lock at 0x130402C8 was first observed
  39711. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39712. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39713. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  39714. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  39715. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  39716. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  39717. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  39718. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  39719. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  39720. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  39721. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  39722. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39723. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39724. ==18304==  Address 0x130402c8 is 6,184 bytes inside a block of size 8,192 alloc'd
  39725. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39726. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39727. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39728. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  39729. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  39730. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39731. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39732. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39733. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39734. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39735. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39736. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39737. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39738. ==18304==  Block was alloc'd by thread #14
  39739. ==18304==
  39740. ==18304== Possible data race during write of size 4 at 0x7A389E0 by thread #56
  39741. ==18304== Locks held: 2, at addresses 0xC0DAC08 0x12B7C640
  39742. ==18304==    at 0x4CF7571: switch_core_session_read_frame (switch_core_io.c:410)
  39743. ==18304==    by 0x12D75398: conference_loop_input (conference_loop.c:843)
  39744. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39745. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39746. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39747. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39748. ==18304==
  39749. ==18304== This conflicts with a previous read of size 4 by thread #50
  39750. ==18304== Locks held: 6, at addresses 0x7A67C40 0x7A67D80 0xC0C9CF0 0x12B7C550 0x12B7C690 0x130402C8
  39751. ==18304==    at 0x4D32C28: switch_core_session_write_frame (switch_core_media.c:15654)
  39752. ==18304==    by 0x12D77884: conference_loop_output (conference_loop.c:1547)
  39753. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  39754. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39755. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39756. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39757. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39758. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39759. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39760. ==18304==  Address 0x7a389e0 is 80 bytes inside a block of size 36,864 alloc'd
  39761. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39762. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39763. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39764. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  39765. ==18304==    by 0x4CECAC0: switch_core_session_request_uuid (switch_core_session.c:2377)
  39766. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  39767. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  39768. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  39769. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  39770. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  39771. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39772. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39773. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39774. ==18304==  Block was alloc'd by thread #14
  39775. ==18304==
  39776. ==18304== ----------------------------------------------------------------
  39777. ==18304==
  39778. ==18304==  Lock at 0x7A67C90 was first observed
  39779. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39780. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39781. ==18304==    by 0x12D64A28: conference_function (mod_conference.c:2390)
  39782. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39783. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39784. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39785. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39786. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39787. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39788. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39789. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39790. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39791. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39792. ==18304==  Address 0x7a67c90 is 3,632 bytes inside a block of size 8,192 alloc'd
  39793. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39794. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39795. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39796. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  39797. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  39798. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  39799. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  39800. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  39801. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  39802. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  39803. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  39804. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  39805. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  39806. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39807. ==18304==  Block was alloc'd by thread #50
  39808. ==18304==
  39809. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #56
  39810. ==18304== Locks held: 1, at address 0x7A67C90
  39811. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  39812. ==18304==    by 0x12D76254: conference_loop_input (conference_loop.c:1137)
  39813. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39814. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39815. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39816. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39817. ==18304==
  39818. ==18304== This conflicts with a previous write of size 8 by thread #44
  39819. ==18304== Locks held: none
  39820. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  39821. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  39822. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39823. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39824. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39825. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39826. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  39827. ==18304==
  39828. ==18304== ----------------------------------------------------------------
  39829. ==18304==
  39830. ==18304== Thread #47: lock order "0x13113880 before 0x12A92028" violated
  39831. ==18304==
  39832. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12A92028
  39833. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  39834. ==18304==    by 0x12D5D6F7: conference_find (mod_conference.c:2633)
  39835. ==18304==    by 0x12D736CE: conference_api_main_real (conference_api.c:221)
  39836. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  39837. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  39838. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  39839. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  39840. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39841. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39842. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39843. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39844. ==18304==
  39845. ==18304==  followed by a later acquisition of lock at 0x13113880
  39846. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  39847. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  39848. ==18304==    by 0x12D5D756: conference_find (mod_conference.c:2644)
  39849. ==18304==    by 0x12D736CE: conference_api_main_real (conference_api.c:221)
  39850. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  39851. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  39852. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  39853. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  39854. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39855. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39856. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39857. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39858. ==18304==
  39859. ==18304== Required order was established by acquisition of lock at 0x13113880
  39860. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  39861. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  39862. ==18304==    by 0x12D650B5: conference_function (mod_conference.c:2204)
  39863. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39864. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39865. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39866. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39867. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39868. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39869. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39870. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39871. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39872. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39873. ==18304==
  39874. ==18304==  followed by a later acquisition of lock at 0x12A92028
  39875. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  39876. ==18304==    by 0x12D5D6A1: conference_launch_thread (mod_conference.c:2624)
  39877. ==18304==    by 0x12D650C5: conference_function (mod_conference.c:2212)
  39878. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39879. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39880. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39881. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39882. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39883. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39884. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39885. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39886. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39887. ==18304==    by 0x560E4CE: clone (clone.S:95)
  39888. ==18304==
  39889. ==18304==  Lock at 0x13113880 was first observed
  39890. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  39891. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  39892. ==18304==    by 0x12D5F2A5: conference_new (mod_conference.c:3674)
  39893. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  39894. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39895. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39896. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39897. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39898. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39899. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39900. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39901. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39902. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39903. ==18304==  Address 0x13113880 is 5,696 bytes inside a block of size 8,192 alloc'd
  39904. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39905. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39906. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39907. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  39908. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  39909. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  39910. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  39911. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39912. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39913. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39914. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39915. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39916. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39917. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39918. ==18304==  Block was alloc'd by thread #50
  39919. ==18304==
  39920. ==18304==  Lock at 0x12A92028 was first observed
  39921. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39922. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39923. ==18304==    by 0x12D685F4: mod_conference_load (mod_conference.c:3962)
  39924. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  39925. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  39926. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  39927. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  39928. ==18304==    by 0x10AEC7: main (switch.c:1200)
  39929. ==18304==  Address 0x12a92028 is 760 bytes inside a block of size 8,192 alloc'd
  39930. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39931. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  39932. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  39933. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  39934. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  39935. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  39936. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  39937. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  39938. ==18304==    by 0x10AEC7: main (switch.c:1200)
  39939. ==18304==  Block was alloc'd by thread #1
  39940. ==18304==
  39941. ==18304==
  39942. ==18304== ----------------------------------------------------------------
  39943. ==18304==
  39944. ==18304==  Lock at 0x131138E0 was first observed
  39945. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39946. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39947. ==18304==    by 0x12D5F2BD: conference_new (mod_conference.c:3675)
  39948. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  39949. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39950. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39951. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39952. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39953. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39954. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39955. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39956. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39957. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39958. ==18304==  Address 0x131138e0 is 5,792 bytes inside a block of size 8,192 alloc'd
  39959. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39960. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39961. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39962. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  39963. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  39964. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  39965. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  39966. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39967. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39968. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39969. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39970. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39971. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39972. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39973. ==18304==  Block was alloc'd by thread #50
  39974. ==18304==
  39975. ==18304==  Lock at 0x13113790 was first observed
  39976. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  39977. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  39978. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  39979. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  39980. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39981. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39982. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  39983. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  39984. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  39985. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  39986. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  39987. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  39988. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  39989. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  39990. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  39991. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  39992. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  39993. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  39994. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  39995. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  39996. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  39997. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  39998. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  39999. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40000. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40001. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40002. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40003. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40004. ==18304==  Block was alloc'd by thread #50
  40005. ==18304==
  40006. ==18304== Possible data race during write of size 4 at 0x1DCAA090 by thread #47
  40007. ==18304== Locks held: 1, at address 0x131138E0
  40008. ==18304==    at 0x12D91052: conference_utils_member_clear_flag (conference_utils.c:380)
  40009. ==18304==    by 0x12D7092D: conference_api_sub_hup (conference_api.c:863)
  40010. ==18304==    by 0x12D8F87B: conference_member_itterator (conference_member.c:1660)
  40011. ==18304==    by 0x12D733B1: conference_api_dispatch (conference_api.c:4195)
  40012. ==18304==    by 0x12D733B1: conference_api_dispatch (conference_api.c:4153)
  40013. ==18304==    by 0x12D73725: conference_api_main_real (conference_api.c:223)
  40014. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  40015. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  40016. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  40017. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  40018. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40019. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40020. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40021. ==18304==
  40022. ==18304== This conflicts with a previous read of size 4 by thread #53
  40023. ==18304== Locks held: 1, at address 0x13113790
  40024. ==18304==    at 0x12D910D4: conference_utils_member_test_flag (conference_utils.c:392)
  40025. ==18304==    by 0x12D66CA9: conference_thread_run (mod_conference.c:692)
  40026. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40027. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40028. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40029. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40030. ==18304==  Address 0x1dcaa090 is on thread #50's stack
  40031. ==18304==  in frame #4, created by conference_function (mod_conference.c:1881)
  40032. ==18304==
  40033. ==18304== ----------------------------------------------------------------
  40034. ==18304==
  40035. ==18304==  Lock at 0x13113790 was first observed
  40036. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40037. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40038. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  40039. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40040. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40041. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40042. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40043. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40044. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40045. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40046. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40047. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40048. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40049. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  40050. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40051. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40052. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40053. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  40054. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  40055. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  40056. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40057. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40058. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40059. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40060. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40061. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40062. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40063. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40064. ==18304==  Block was alloc'd by thread #50
  40065. ==18304==
  40066. ==18304==  Lock at 0x131138E0 was first observed
  40067. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40068. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40069. ==18304==    by 0x12D5F2BD: conference_new (mod_conference.c:3675)
  40070. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40071. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40072. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40073. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40074. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40075. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40076. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40077. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40078. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40079. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40080. ==18304==  Address 0x131138e0 is 5,792 bytes inside a block of size 8,192 alloc'd
  40081. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40082. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40083. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40084. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  40085. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  40086. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  40087. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40088. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40089. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40090. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40091. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40092. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40093. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40094. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40095. ==18304==  Block was alloc'd by thread #50
  40096. ==18304==
  40097. ==18304== Possible data race during read of size 4 at 0x1DCAA090 by thread #53
  40098. ==18304== Locks held: 1, at address 0x13113790
  40099. ==18304==    at 0x12D910D4: conference_utils_member_test_flag (conference_utils.c:392)
  40100. ==18304==    by 0x12D66954: conference_thread_run (mod_conference.c:302)
  40101. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40102. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40103. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40104. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40105. ==18304==
  40106. ==18304== This conflicts with a previous write of size 4 by thread #47
  40107. ==18304== Locks held: 1, at address 0x131138E0
  40108. ==18304==    at 0x12D91052: conference_utils_member_clear_flag (conference_utils.c:380)
  40109. ==18304==    by 0x12D7092D: conference_api_sub_hup (conference_api.c:863)
  40110. ==18304==    by 0x12D8F87B: conference_member_itterator (conference_member.c:1660)
  40111. ==18304==    by 0x12D733B1: conference_api_dispatch (conference_api.c:4195)
  40112. ==18304==    by 0x12D733B1: conference_api_dispatch (conference_api.c:4153)
  40113. ==18304==    by 0x12D73725: conference_api_main_real (conference_api.c:223)
  40114. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  40115. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  40116. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  40117. ==18304==  Address 0x1dcaa090 is on thread #50's stack
  40118. ==18304==  in frame #4, created by conference_function (mod_conference.c:1881)
  40119. ==18304==
  40120. ==18304== ----------------------------------------------------------------
  40121. ==18304==
  40122. ==18304==  Lock at 0x13113790 was first observed
  40123. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40124. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40125. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  40126. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40127. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40128. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40129. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40130. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40131. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40132. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40133. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40134. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40135. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40136. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  40137. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40138. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40139. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40140. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  40141. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  40142. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  40143. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40144. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40145. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40146. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40147. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40148. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40149. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40150. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40151. ==18304==  Block was alloc'd by thread #50
  40152. ==18304==
  40153. ==18304== Possible data race during write of size 4 at 0xAE6A710 by thread #53
  40154. ==18304== Locks held: 1, at address 0x13113790
  40155. ==18304==    at 0x12D66AD7: conference_thread_run (mod_conference.c:373)
  40156. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40157. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40158. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40159. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40160. ==18304==
  40161. ==18304== This conflicts with a previous read of size 4 by thread #52
  40162. ==18304== Locks held: none
  40163. ==18304==    at 0x12D836ED: conference_video_muxing_thread_run (conference_video.c:3268)
  40164. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40165. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40166. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40167. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40168. ==18304==  Address 0xae6a710 is 656 bytes inside a block of size 8,192 alloc'd
  40169. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40170. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  40171. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  40172. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  40173. ==18304==    by 0x12D5FE27: conference_new (mod_conference.c:3168)
  40174. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40175. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40176. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40177. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40178. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40179. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40180. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40181. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40182. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40183. ==18304==  Block was alloc'd by thread #50
  40184. ==18304==
  40185. ==18304== ----------------------------------------------------------------
  40186. ==18304==
  40187. ==18304==  Lock at 0x13113790 was first observed
  40188. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40189. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40190. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  40191. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40192. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40193. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40194. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40195. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40196. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40197. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40198. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40199. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40200. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40201. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  40202. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40203. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40204. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40205. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  40206. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  40207. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  40208. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40209. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40210. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40211. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40212. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40213. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40214. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40215. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40216. ==18304==  Block was alloc'd by thread #50
  40217. ==18304==
  40218. ==18304== Possible data race during write of size 4 at 0xAE6A718 by thread #53
  40219. ==18304== Locks held: 1, at address 0x13113790
  40220. ==18304==    at 0x12D66AEC: conference_thread_run (mod_conference.c:375)
  40221. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40222. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40223. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40224. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40225. ==18304==
  40226. ==18304== This conflicts with a previous read of size 4 by thread #52
  40227. ==18304== Locks held: none
  40228. ==18304==    at 0x12D8370E: conference_video_muxing_thread_run (conference_video.c:3271)
  40229. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40230. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40231. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40232. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40233. ==18304==  Address 0xae6a718 is 664 bytes inside a block of size 8,192 alloc'd
  40234. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40235. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  40236. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  40237. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  40238. ==18304==    by 0x12D5FE27: conference_new (mod_conference.c:3168)
  40239. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40240. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40241. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40242. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40243. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40244. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40245. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40246. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40247. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40248. ==18304==  Block was alloc'd by thread #50
  40249. ==18304==
  40250. ==18304== ----------------------------------------------------------------
  40251. ==18304==
  40252. ==18304==  Lock at 0x13113790 was first observed
  40253. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40254. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40255. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  40256. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40257. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40258. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40259. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40260. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40261. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40262. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40263. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40264. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40265. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40266. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  40267. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40268. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40269. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40270. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  40271. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  40272. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  40273. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40274. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40275. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40276. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40277. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40278. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40279. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40280. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40281. ==18304==  Block was alloc'd by thread #50
  40282. ==18304==
  40283. ==18304==  Lock at 0x131138E0 was first observed
  40284. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40285. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40286. ==18304==    by 0x12D5F2BD: conference_new (mod_conference.c:3675)
  40287. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40288. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40289. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40290. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40291. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40292. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40293. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40294. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40295. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40296. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40297. ==18304==  Address 0x131138e0 is 5,792 bytes inside a block of size 8,192 alloc'd
  40298. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40299. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40300. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40301. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  40302. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  40303. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  40304. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40305. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40306. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40307. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40308. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40309. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40310. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40311. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40312. ==18304==  Block was alloc'd by thread #50
  40313. ==18304==
  40314. ==18304== Possible data race during read of size 4 at 0x1DCAA090 by thread #53
  40315. ==18304== Locks held: 1, at address 0x13113790
  40316. ==18304==    at 0x12D910D4: conference_utils_member_test_flag (conference_utils.c:392)
  40317. ==18304==    by 0x12D66CA9: conference_thread_run (mod_conference.c:692)
  40318. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40319. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40320. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40321. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40322. ==18304==
  40323. ==18304== This conflicts with a previous write of size 4 by thread #47
  40324. ==18304== Locks held: 1, at address 0x131138E0
  40325. ==18304==    at 0x12D91052: conference_utils_member_clear_flag (conference_utils.c:380)
  40326. ==18304==    by 0x12D7092D: conference_api_sub_hup (conference_api.c:863)
  40327. ==18304==    by 0x12D8F87B: conference_member_itterator (conference_member.c:1660)
  40328. ==18304==    by 0x12D733B1: conference_api_dispatch (conference_api.c:4195)
  40329. ==18304==    by 0x12D733B1: conference_api_dispatch (conference_api.c:4153)
  40330. ==18304==    by 0x12D73725: conference_api_main_real (conference_api.c:223)
  40331. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  40332. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  40333. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  40334. ==18304==  Address 0x1dcaa090 is on thread #50's stack
  40335. ==18304==  in frame #4, created by conference_function (mod_conference.c:1881)
  40336. ==18304==
  40337. ==18304== ----------------------------------------------------------------
  40338. ==18304==
  40339. ==18304==  Lock at 0x7A67BF0 was first observed
  40340. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40341. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40342. ==18304==    by 0x12D649F6: conference_function (mod_conference.c:2388)
  40343. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40344. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40345. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40346. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40347. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40348. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40349. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40350. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40351. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40352. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40353. ==18304==  Address 0x7a67bf0 is 3,472 bytes inside a block of size 8,192 alloc'd
  40354. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40355. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40356. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40357. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  40358. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  40359. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  40360. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  40361. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  40362. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  40363. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  40364. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  40365. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  40366. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  40367. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40368. ==18304==  Block was alloc'd by thread #50
  40369. ==18304==
  40370. ==18304==  Lock at 0x12B7C550 was first observed
  40371. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40372. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40373. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  40374. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  40375. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  40376. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  40377. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  40378. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  40379. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40380. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40381. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40382. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40383. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  40384. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40385. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  40386. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  40387. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  40388. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  40389. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  40390. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  40391. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  40392. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  40393. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  40394. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40395. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40396. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40397. ==18304==  Block was alloc'd by thread #14
  40398. ==18304==
  40399. ==18304==  Lock at 0x13113790 was first observed
  40400. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40401. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40402. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  40403. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40404. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40405. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40406. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40407. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40408. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40409. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40410. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40411. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40412. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40413. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  40414. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40415. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40416. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40417. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  40418. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  40419. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  40420. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40421. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40422. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40423. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40424. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40425. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40426. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40427. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40428. ==18304==  Block was alloc'd by thread #50
  40429. ==18304==
  40430. ==18304== Possible data race during write of size 4 at 0x1DCAA090 by thread #50
  40431. ==18304== Locks held: 2, at addresses 0x7A67BF0 0x12B7C550
  40432. ==18304==    at 0x12D910A0: conference_utils_member_clear_flag_locked (conference_utils.c:386)
  40433. ==18304==    by 0x12D77AFD: conference_loop_output (conference_loop.c:1650)
  40434. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  40435. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40436. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40437. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40438. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40439. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40440. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40441. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40442. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40443. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40444. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40445. ==18304==
  40446. ==18304== This conflicts with a previous read of size 4 by thread #53
  40447. ==18304== Locks held: 1, at address 0x13113790
  40448. ==18304==    at 0x12D910D4: conference_utils_member_test_flag (conference_utils.c:392)
  40449. ==18304==    by 0x12D66CA9: conference_thread_run (mod_conference.c:692)
  40450. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40451. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40452. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40453. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40454. ==18304==  Address 0x1dcaa090 is on thread #50's stack
  40455. ==18304==  in frame #2, created by conference_function (mod_conference.c:1881)
  40456. ==18304==
  40457. ==18304== ----------------------------------------------------------------
  40458. ==18304==
  40459. ==18304== Thread #56: Exiting thread still holds 2 locks
  40460. ==18304==    at 0x5181066: __exit_thread (exit-thread.h:36)
  40461. ==18304==    by 0x5181066: start_thread (pthread_create.c:607)
  40462. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40463. ==18304==
  40464. ==18304== ----------------------------------------------------------------
  40465. ==18304==
  40466. ==18304==  Lock at 0x12B7C550 was first observed
  40467. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40468. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40469. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  40470. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  40471. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  40472. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  40473. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  40474. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  40475. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40476. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40477. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40478. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40479. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  40480. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40481. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  40482. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  40483. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  40484. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  40485. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  40486. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  40487. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  40488. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  40489. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  40490. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40491. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40492. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40493. ==18304==  Block was alloc'd by thread #14
  40494. ==18304==
  40495. ==18304==  Lock at 0x7A67C90 was first observed
  40496. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40497. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40498. ==18304==    by 0x12D64A28: conference_function (mod_conference.c:2390)
  40499. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40500. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40501. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40502. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40503. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40504. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40505. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40506. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40507. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40508. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40509. ==18304==  Address 0x7a67c90 is 3,632 bytes inside a block of size 8,192 alloc'd
  40510. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40511. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40512. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40513. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  40514. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  40515. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  40516. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  40517. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  40518. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  40519. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  40520. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  40521. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  40522. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  40523. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40524. ==18304==  Block was alloc'd by thread #50
  40525. ==18304==
  40526. ==18304== Possible data race during write of size 4 at 0x1DCAA090 by thread #50
  40527. ==18304== Locks held: 1, at address 0x12B7C550
  40528. ==18304==    at 0x12D91052: conference_utils_member_clear_flag (conference_utils.c:380)
  40529. ==18304==    by 0x12D6597B: conference_function (mod_conference.c:2503)
  40530. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40531. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40532. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40533. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40534. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40535. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40536. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40537. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40538. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40539. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40540. ==18304==
  40541. ==18304== This conflicts with a previous read of size 4 by thread #56
  40542. ==18304== Locks held: 1, at address 0x7A67C90
  40543. ==18304==    at 0x12D910D4: conference_utils_member_test_flag (conference_utils.c:392)
  40544. ==18304==    by 0x12D753C3: conference_loop_input (conference_loop.c:848)
  40545. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40546. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40547. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40548. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40549. ==18304==  Address 0x1dcaa090 is on thread #50's stack
  40550. ==18304==  in frame #1, created by conference_function (mod_conference.c:1881)
  40551. ==18304==
  40552. ==18304== ---Thread-Announcement------------------------------------------
  40553. ==18304==
  40554. ==18304== Thread #55 was created
  40555. ==18304==    at 0x560E4BE: clone (clone.S:71)
  40556. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  40557. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  40558. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  40559. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  40560. ==18304==    by 0x12D7F75B: conference_video_launch_layer_thread (conference_video.c:2269)
  40561. ==18304==    by 0x12D66116: conference_function (mod_conference.c:2457)
  40562. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40563. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40564. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40565. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40566. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40567. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40568. ==18304==
  40569. ==18304== ----------------------------------------------------------------
  40570. ==18304==
  40571. ==18304==  Lock at 0x12B7C550 was first observed
  40572. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40573. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40574. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  40575. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  40576. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  40577. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  40578. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  40579. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  40580. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40581. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40582. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40583. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40584. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  40585. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40586. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  40587. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  40588. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  40589. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  40590. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  40591. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  40592. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  40593. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  40594. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  40595. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40596. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40597. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40598. ==18304==  Block was alloc'd by thread #14
  40599. ==18304==
  40600. ==18304== Possible data race during read of size 4 at 0x1DCAA580 by thread #50
  40601. ==18304== Locks held: 1, at address 0x12B7C550
  40602. ==18304==    at 0x12D659CF: conference_function (mod_conference.c:2515)
  40603. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40604. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40605. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40606. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40607. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40608. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40609. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40610. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40611. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40612. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40613. ==18304==
  40614. ==18304== This conflicts with a previous write of size 4 by thread #55
  40615. ==18304== Locks held: none
  40616. ==18304==    at 0x12D7CED8: conference_video_layer_thread_run (conference_video.c:2201)
  40617. ==18304==    by 0x12D7CED8: conference_video_layer_thread_run (conference_video.c:2192)
  40618. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40619. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40620. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40621. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40622. ==18304==  Address 0x1dcaa580 is on thread #50's stack
  40623. ==18304==  in frame #0, created by conference_function (mod_conference.c:1881)
  40624. ==18304==
  40625. ==18304== ----------------------------------------------------------------
  40626. ==18304==
  40627. ==18304==  Lock at 0x12B7C550 was first observed
  40628. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40629. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40630. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  40631. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  40632. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  40633. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  40634. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  40635. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  40636. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40637. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40638. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40639. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40640. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  40641. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40642. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  40643. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  40644. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  40645. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  40646. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  40647. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  40648. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  40649. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  40650. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  40651. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40652. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40653. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40654. ==18304==  Block was alloc'd by thread #14
  40655. ==18304==
  40656. ==18304== Possible data race during read of size 4 at 0x1DCAA580 by thread #50
  40657. ==18304== Locks held: 1, at address 0x12B7C550
  40658. ==18304==    at 0x12D659FA: conference_function (mod_conference.c:2515)
  40659. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40660. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40661. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40662. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40663. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40664. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40665. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40666. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40667. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40668. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40669. ==18304==
  40670. ==18304== This conflicts with a previous write of size 4 by thread #55
  40671. ==18304== Locks held: none
  40672. ==18304==    at 0x12D7CFAE: conference_video_layer_thread_run (conference_video.c:2232)
  40673. ==18304==    by 0x12D7CFAE: conference_video_layer_thread_run (conference_video.c:2192)
  40674. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40675. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40676. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40677. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40678. ==18304==  Address 0x1dcaa580 is on thread #50's stack
  40679. ==18304==  in frame #0, created by conference_function (mod_conference.c:1881)
  40680. ==18304==
  40681. ==18304== ----------------------------------------------------------------
  40682. ==18304==
  40683. ==18304== Thread #50: lock order "0x7A67C40 before 0x7DAC5F0" violated
  40684. ==18304==
  40685. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  40686. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  40687. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  40688. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  40689. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  40690. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  40691. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40692. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40693. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40694. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40695. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40696. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40697. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40698. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40699. ==18304==
  40700. ==18304==  followed by a later acquisition of lock at 0x7A67C40
  40701. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  40702. ==18304==    by 0x12D8CE75: conference_member_del (conference_member.c:1179)
  40703. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  40704. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40705. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40706. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40707. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40708. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40709. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40710. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40711. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40712. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40713. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40714. ==18304==
  40715. ==18304==  Lock at 0x7A67C40 was first observed
  40716. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40717. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40718. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  40719. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40720. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40721. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40722. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40723. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40724. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40725. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40726. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40727. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40728. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40729. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  40730. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40731. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40732. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40733. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  40734. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  40735. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  40736. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  40737. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  40738. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  40739. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  40740. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  40741. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  40742. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  40743. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40744. ==18304==  Block was alloc'd by thread #50
  40745. ==18304==
  40746. ==18304==  Lock at 0x7DAC5F0 was first observed
  40747. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  40748. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  40749. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  40750. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  40751. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  40752. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  40753. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  40754. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  40755. ==18304==    by 0x10AEC7: main (switch.c:1200)
  40756. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  40757. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40758. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  40759. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  40760. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  40761. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  40762. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  40763. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  40764. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  40765. ==18304==    by 0x10AEC7: main (switch.c:1200)
  40766. ==18304==  Block was alloc'd by thread #1
  40767. ==18304==
  40768. ==18304==
  40769. ==18304== ----------------------------------------------------------------
  40770. ==18304==
  40771. ==18304== Thread #50: lock order "0x7A67C90 before 0x7DAC5F0" violated
  40772. ==18304==
  40773. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  40774. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  40775. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  40776. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  40777. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  40778. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  40779. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40780. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40781. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40782. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40783. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40784. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40785. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40786. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40787. ==18304==
  40788. ==18304==  followed by a later acquisition of lock at 0x7A67C90
  40789. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  40790. ==18304==    by 0x12D8CE81: conference_member_del (conference_member.c:1179)
  40791. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  40792. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40793. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40794. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40795. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40796. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40797. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40798. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40799. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40800. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40801. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40802. ==18304==
  40803. ==18304== Required order was established by acquisition of lock at 0x7A67C90
  40804. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  40805. ==18304==    by 0x12D753A7: conference_loop_input (conference_loop.c:845)
  40806. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40807. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40808. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40809. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40810. ==18304==
  40811. ==18304==  followed by a later acquisition of lock at 0x7DAC5F0
  40812. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  40813. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  40814. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  40815. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  40816. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  40817. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40818. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40819. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40820. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40821. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40822. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40823. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40824. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40825. ==18304==
  40826. ==18304==  Lock at 0x7A67C90 was first observed
  40827. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40828. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40829. ==18304==    by 0x12D64A28: conference_function (mod_conference.c:2390)
  40830. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40831. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40832. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40833. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40834. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40835. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40836. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40837. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40838. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40839. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40840. ==18304==  Address 0x7a67c90 is 3,632 bytes inside a block of size 8,192 alloc'd
  40841. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40842. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40843. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40844. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  40845. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  40846. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  40847. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  40848. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  40849. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  40850. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  40851. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  40852. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  40853. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  40854. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40855. ==18304==  Block was alloc'd by thread #50
  40856. ==18304==
  40857. ==18304==  Lock at 0x7DAC5F0 was first observed
  40858. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  40859. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  40860. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  40861. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  40862. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  40863. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  40864. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  40865. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  40866. ==18304==    by 0x10AEC7: main (switch.c:1200)
  40867. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  40868. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40869. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  40870. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  40871. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  40872. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  40873. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  40874. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  40875. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  40876. ==18304==    by 0x10AEC7: main (switch.c:1200)
  40877. ==18304==  Block was alloc'd by thread #1
  40878. ==18304==
  40879. ==18304==
  40880. ==18304== ----------------------------------------------------------------
  40881. ==18304==
  40882. ==18304== Thread #50: lock order "0x13113790 before 0x7DAC5F0" violated
  40883. ==18304==
  40884. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  40885. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  40886. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  40887. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  40888. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  40889. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  40890. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40891. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40892. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40893. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40894. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40895. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40896. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40897. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40898. ==18304==
  40899. ==18304==  followed by a later acquisition of lock at 0x13113790
  40900. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  40901. ==18304==    by 0x12D8CF15: conference_member_del (conference_member.c:1206)
  40902. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  40903. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40904. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40905. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40906. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40907. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40908. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40909. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40910. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40911. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40912. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40913. ==18304==
  40914. ==18304==  Lock at 0x13113790 was first observed
  40915. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  40916. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  40917. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  40918. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40919. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40920. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40921. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40922. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40923. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40924. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40925. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40926. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40927. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40928. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  40929. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40930. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  40931. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  40932. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  40933. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  40934. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  40935. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  40936. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40937. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40938. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40939. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40940. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40941. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40942. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40943. ==18304==  Block was alloc'd by thread #50
  40944. ==18304==
  40945. ==18304==  Lock at 0x7DAC5F0 was first observed
  40946. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  40947. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  40948. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  40949. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  40950. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  40951. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  40952. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  40953. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  40954. ==18304==    by 0x10AEC7: main (switch.c:1200)
  40955. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  40956. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  40957. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  40958. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  40959. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  40960. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  40961. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  40962. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  40963. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  40964. ==18304==    by 0x10AEC7: main (switch.c:1200)
  40965. ==18304==  Block was alloc'd by thread #1
  40966. ==18304==
  40967. ==18304==
  40968. ==18304== ----------------------------------------------------------------
  40969. ==18304==
  40970. ==18304== Thread #50: lock order "0x7A67D80 before 0x131138E0" violated
  40971. ==18304==
  40972. ==18304== Observed (incorrect) order is: acquisition of lock at 0x131138E0
  40973. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  40974. ==18304==    by 0x12D8CF21: conference_member_del (conference_member.c:1207)
  40975. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  40976. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40977. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40978. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40979. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40980. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40981. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40982. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40983. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40984. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  40985. ==18304==    by 0x560E4CE: clone (clone.S:95)
  40986. ==18304==
  40987. ==18304==  followed by a later acquisition of lock at 0x7A67D80
  40988. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  40989. ==18304==    by 0x12D8CF39: conference_member_del (conference_member.c:1209)
  40990. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  40991. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  40992. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  40993. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  40994. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  40995. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  40996. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  40997. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  40998. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  40999. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41000. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41001. ==18304==
  41002. ==18304==  Lock at 0x7A67D80 was first observed
  41003. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41004. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41005. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  41006. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41007. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41008. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41009. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41010. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41011. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41012. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41013. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41014. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41015. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41016. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  41017. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41018. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41019. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41020. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  41021. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  41022. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  41023. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  41024. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  41025. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  41026. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  41027. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  41028. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  41029. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  41030. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41031. ==18304==  Block was alloc'd by thread #50
  41032. ==18304==
  41033. ==18304==  Lock at 0x131138E0 was first observed
  41034. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41035. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41036. ==18304==    by 0x12D5F2BD: conference_new (mod_conference.c:3675)
  41037. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41038. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41039. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41040. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41041. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41042. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41043. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41044. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41045. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41046. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41047. ==18304==  Address 0x131138e0 is 5,792 bytes inside a block of size 8,192 alloc'd
  41048. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41049. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41050. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41051. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  41052. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  41053. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  41054. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41055. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41056. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41057. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41058. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41059. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41060. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41061. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41062. ==18304==  Block was alloc'd by thread #50
  41063. ==18304==
  41064. ==18304==
  41065. ==18304== ----------------------------------------------------------------
  41066. ==18304==
  41067. ==18304== Thread #50: lock order "0x7A67C40 before 0x7A67D80" violated
  41068. ==18304==
  41069. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7A67D80
  41070. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41071. ==18304==    by 0x12D8CF39: conference_member_del (conference_member.c:1209)
  41072. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  41073. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41074. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41075. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41076. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41077. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41078. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41079. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41080. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41081. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41082. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41083. ==18304==
  41084. ==18304==  followed by a later acquisition of lock at 0x7A67C40
  41085. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41086. ==18304==    by 0x12D8CF45: conference_member_del (conference_member.c:1210)
  41087. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  41088. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41089. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41090. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41091. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41092. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41093. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41094. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41095. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41096. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41097. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41098. ==18304==
  41099. ==18304== Required order was established by acquisition of lock at 0x7A67C40
  41100. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41101. ==18304==    by 0x12D7770D: conference_loop_output (conference_loop.c:1460)
  41102. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  41103. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41104. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41105. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41106. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41107. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41108. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41109. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41110. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41111. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41112. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41113. ==18304==
  41114. ==18304==  followed by a later acquisition of lock at 0x7A67D80
  41115. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41116. ==18304==    by 0x12D777DE: conference_loop_output (conference_loop.c:1525)
  41117. ==18304==    by 0x12D658F7: conference_function (mod_conference.c:2487)
  41118. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41119. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41120. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41121. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41122. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41123. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41124. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41125. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41126. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41127. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41128. ==18304==
  41129. ==18304==  Lock at 0x7A67C40 was first observed
  41130. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41131. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41132. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  41133. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41134. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41135. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41136. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41137. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41138. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41139. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41140. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41141. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41142. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41143. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  41144. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41145. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41146. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41147. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  41148. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  41149. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  41150. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  41151. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  41152. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  41153. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  41154. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  41155. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  41156. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  41157. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41158. ==18304==  Block was alloc'd by thread #50
  41159. ==18304==
  41160. ==18304==  Lock at 0x7A67D80 was first observed
  41161. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41162. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41163. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  41164. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41165. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41166. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41167. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41168. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41169. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41170. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41171. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41172. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41173. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41174. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  41175. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41176. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41177. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41178. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  41179. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  41180. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  41181. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  41182. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  41183. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  41184. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  41185. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  41186. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  41187. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  41188. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41189. ==18304==  Block was alloc'd by thread #50
  41190. ==18304==
  41191. ==18304==
  41192. ==18304== ----------------------------------------------------------------
  41193. ==18304==
  41194. ==18304== Thread #50: lock order "0x7A67C90 before 0x131138E0" violated
  41195. ==18304==
  41196. ==18304== Observed (incorrect) order is: acquisition of lock at 0x131138E0
  41197. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41198. ==18304==    by 0x12D8CF21: conference_member_del (conference_member.c:1207)
  41199. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  41200. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41201. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41202. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41203. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41204. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41205. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41206. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41207. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41208. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41209. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41210. ==18304==
  41211. ==18304==  followed by a later acquisition of lock at 0x7A67C90
  41212. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41213. ==18304==    by 0x12D8CF51: conference_member_del (conference_member.c:1210)
  41214. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  41215. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41216. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41217. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41218. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41219. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41220. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41221. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41222. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41223. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41224. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41225. ==18304==
  41226. ==18304== Required order was established by acquisition of lock at 0x7A67C90
  41227. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41228. ==18304==    by 0x12D8CE81: conference_member_del (conference_member.c:1179)
  41229. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  41230. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41231. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41232. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41233. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41234. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41235. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41236. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41237. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41238. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41239. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41240. ==18304==
  41241. ==18304==  followed by a later acquisition of lock at 0x131138E0
  41242. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41243. ==18304==    by 0x12D79188: conference_cdr_del (conference_cdr.c:486)
  41244. ==18304==    by 0x12D8CE93: conference_member_del (conference_member.c:1183)
  41245. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  41246. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41247. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41248. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41249. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41250. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41251. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41252. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41253. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41254. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41255. ==18304==
  41256. ==18304==  Lock at 0x7A67C90 was first observed
  41257. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41258. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41259. ==18304==    by 0x12D64A28: conference_function (mod_conference.c:2390)
  41260. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41261. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41262. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41263. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41264. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41265. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41266. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41267. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41268. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41269. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41270. ==18304==  Address 0x7a67c90 is 3,632 bytes inside a block of size 8,192 alloc'd
  41271. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41272. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41273. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41274. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  41275. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  41276. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  41277. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  41278. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  41279. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  41280. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  41281. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  41282. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  41283. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  41284. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41285. ==18304==  Block was alloc'd by thread #50
  41286. ==18304==
  41287. ==18304==  Lock at 0x131138E0 was first observed
  41288. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41289. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41290. ==18304==    by 0x12D5F2BD: conference_new (mod_conference.c:3675)
  41291. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41292. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41293. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41294. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41295. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41296. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41297. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41298. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41299. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41300. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41301. ==18304==  Address 0x131138e0 is 5,792 bytes inside a block of size 8,192 alloc'd
  41302. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41303. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41304. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41305. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  41306. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  41307. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  41308. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41309. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41310. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41311. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41312. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41313. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41314. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41315. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41316. ==18304==  Block was alloc'd by thread #50
  41317. ==18304==
  41318. ==18304==
  41319. ==18304== ----------------------------------------------------------------
  41320. ==18304==
  41321. ==18304==  Lock at 0x7A67C40 was first observed
  41322. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41323. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41324. ==18304==    by 0x12D64A0F: conference_function (mod_conference.c:2389)
  41325. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41326. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41327. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41328. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41329. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41330. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41331. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41332. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41333. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41334. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41335. ==18304==  Address 0x7a67c40 is 3,552 bytes inside a block of size 8,192 alloc'd
  41336. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41337. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41338. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41339. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  41340. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  41341. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  41342. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  41343. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  41344. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  41345. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  41346. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  41347. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  41348. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  41349. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41350. ==18304==  Block was alloc'd by thread #50
  41351. ==18304==
  41352. ==18304==  Lock at 0x7A67C90 was first observed
  41353. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41354. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41355. ==18304==    by 0x12D64A28: conference_function (mod_conference.c:2390)
  41356. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41357. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41358. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41359. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41360. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41361. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41362. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41363. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41364. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41365. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41366. ==18304==  Address 0x7a67c90 is 3,632 bytes inside a block of size 8,192 alloc'd
  41367. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41368. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41369. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41370. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  41371. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  41372. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  41373. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  41374. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  41375. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  41376. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  41377. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  41378. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  41379. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  41380. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41381. ==18304==  Block was alloc'd by thread #50
  41382. ==18304==
  41383. ==18304==  Lock at 0x7A67D30 was first observed
  41384. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41385. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41386. ==18304==    by 0x12D64A5A: conference_function (mod_conference.c:2392)
  41387. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41388. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41389. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41390. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41391. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41392. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41393. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41394. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41395. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41396. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41397. ==18304==  Address 0x7a67d30 is 3,792 bytes inside a block of size 8,192 alloc'd
  41398. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41399. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41400. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41401. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  41402. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  41403. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  41404. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  41405. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  41406. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  41407. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  41408. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  41409. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  41410. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  41411. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41412. ==18304==  Block was alloc'd by thread #50
  41413. ==18304==
  41414. ==18304==  Lock at 0x7A67D80 was first observed
  41415. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41416. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41417. ==18304==    by 0x12D64A73: conference_function (mod_conference.c:2393)
  41418. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41419. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41420. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41421. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41422. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41423. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41424. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41425. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41426. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41427. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41428. ==18304==  Address 0x7a67d80 is 3,872 bytes inside a block of size 8,192 alloc'd
  41429. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41430. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41431. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41432. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  41433. ==18304==    by 0x4D6245B: switch_rtp_create (switch_rtp.c:4356)
  41434. ==18304==    by 0x4D629DC: switch_rtp_new (switch_rtp.c:4569)
  41435. ==18304==    by 0x4D14F96: switch_core_media_activate_rtp (switch_core_media.c:8753)
  41436. ==18304==    by 0x95B957D: sofia_media_activate_rtp (sofia_media.c:58)
  41437. ==18304==    by 0x95B9608: sofia_media_tech_media (sofia_media.c:87)
  41438. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  41439. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  41440. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  41441. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  41442. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41443. ==18304==  Block was alloc'd by thread #50
  41444. ==18304==
  41445. ==18304==  Lock at 0x12B7C550 was first observed
  41446. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41447. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41448. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  41449. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  41450. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  41451. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  41452. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  41453. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  41454. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41455. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41456. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41457. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41458. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  41459. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41460. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  41461. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  41462. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  41463. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  41464. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  41465. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  41466. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  41467. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  41468. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  41469. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41470. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41471. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41472. ==18304==  Block was alloc'd by thread #14
  41473. ==18304==
  41474. ==18304==  Lock at 0x13113790 was first observed
  41475. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41476. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41477. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  41478. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41479. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41480. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41481. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41482. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41483. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41484. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41485. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41486. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41487. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41488. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  41489. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41490. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41491. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41492. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  41493. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  41494. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  41495. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41496. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41497. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41498. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41499. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41500. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41501. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41502. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41503. ==18304==  Block was alloc'd by thread #50
  41504. ==18304==
  41505. ==18304==  Lock at 0x131138E0 was first observed
  41506. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41507. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41508. ==18304==    by 0x12D5F2BD: conference_new (mod_conference.c:3675)
  41509. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41510. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41511. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41512. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41513. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41514. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41515. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41516. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41517. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41518. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41519. ==18304==  Address 0x131138e0 is 5,792 bytes inside a block of size 8,192 alloc'd
  41520. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41521. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41522. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41523. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  41524. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  41525. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  41526. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41527. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41528. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41529. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41530. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41531. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41532. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41533. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41534. ==18304==  Block was alloc'd by thread #50
  41535. ==18304==
  41536. ==18304== Possible data race during write of size 4 at 0xAE6A7F4 by thread #50
  41537. ==18304== Locks held: 7, at addresses 0x7A67C40 0x7A67C90 0x7A67D30 0x7A67D80 0x12B7C550 0x13113790 0x131138E0
  41538. ==18304==    at 0x12D90F12: conference_utils_set_flag (conference_utils.c:313)
  41539. ==18304==    by 0x12D8D2C3: conference_member_del (conference_member.c:1303)
  41540. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  41541. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41542. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41543. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41544. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41545. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41546. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41547. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41548. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41549. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41550. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41551. ==18304==
  41552. ==18304== This conflicts with a previous read of size 4 by thread #52
  41553. ==18304== Locks held: none
  41554. ==18304==    at 0x12D90FB4: conference_utils_test_flag (conference_utils.c:333)
  41555. ==18304==    by 0x12D83308: conference_video_muxing_thread_run (conference_video.c:3154)
  41556. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41557. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41558. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41559. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41560. ==18304==  Address 0xae6a7f4 is 884 bytes inside a block of size 8,192 alloc'd
  41561. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41562. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  41563. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  41564. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  41565. ==18304==    by 0x12D5FE27: conference_new (mod_conference.c:3168)
  41566. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41567. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41568. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41569. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41570. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41571. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41572. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41573. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41574. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41575. ==18304==  Block was alloc'd by thread #50
  41576. ==18304==
  41577. ==18304== ----------------------------------------------------------------
  41578. ==18304==
  41579. ==18304== Thread #50: lock order "0x131138E0 before 0x7DAC5F0" violated
  41580. ==18304==
  41581. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  41582. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  41583. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  41584. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  41585. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  41586. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  41587. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41588. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41589. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41590. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41591. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41592. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41593. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41594. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41595. ==18304==
  41596. ==18304==  followed by a later acquisition of lock at 0x131138E0
  41597. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41598. ==18304==    by 0x12D782BF: conference_cdr_rfc4579_render (conference_cdr.c:162)
  41599. ==18304==    by 0x12D89A34: conference_event_send_rfc (conference_event.c:730)
  41600. ==18304==    by 0x12D8D189: conference_member_del (conference_member.c:1347)
  41601. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  41602. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41603. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41604. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41605. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41606. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41607. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41608. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41609. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41610. ==18304==
  41611. ==18304==  Lock at 0x131138E0 was first observed
  41612. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41613. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41614. ==18304==    by 0x12D5F2BD: conference_new (mod_conference.c:3675)
  41615. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41616. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41617. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41618. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41619. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41620. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41621. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41622. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41623. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41624. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41625. ==18304==  Address 0x131138e0 is 5,792 bytes inside a block of size 8,192 alloc'd
  41626. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41627. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41628. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41629. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  41630. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  41631. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  41632. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41633. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41634. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41635. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41636. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41637. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41638. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41639. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41640. ==18304==  Block was alloc'd by thread #50
  41641. ==18304==
  41642. ==18304==  Lock at 0x7DAC5F0 was first observed
  41643. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  41644. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  41645. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  41646. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  41647. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  41648. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  41649. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  41650. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  41651. ==18304==    by 0x10AEC7: main (switch.c:1200)
  41652. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  41653. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41654. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  41655. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  41656. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  41657. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  41658. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  41659. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  41660. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  41661. ==18304==    by 0x10AEC7: main (switch.c:1200)
  41662. ==18304==  Block was alloc'd by thread #1
  41663. ==18304==
  41664. ==18304==
  41665. ==18304== ----------------------------------------------------------------
  41666. ==18304==
  41667. ==18304== Thread #50: lock order "0x131138E0 before 0x7DAC5F0" violated
  41668. ==18304==
  41669. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  41670. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  41671. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  41672. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  41673. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  41674. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  41675. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41676. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41677. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41678. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41679. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41680. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41681. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41682. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41683. ==18304==
  41684. ==18304==  followed by a later acquisition of lock at 0x131138E0
  41685. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41686. ==18304==    by 0x12D78B77: conference_cdr_json_render (conference_cdr.c:367)
  41687. ==18304==    by 0x12D89359: conference_event_send_json (conference_event.c:545)
  41688. ==18304==    by 0x12D8D191: conference_member_del (conference_member.c:1348)
  41689. ==18304==    by 0x12D65A35: conference_function (mod_conference.c:2525)
  41690. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41691. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41692. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41693. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41694. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41695. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41696. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41697. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41698. ==18304==
  41699. ==18304==  Lock at 0x131138E0 was first observed
  41700. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41701. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41702. ==18304==    by 0x12D5F2BD: conference_new (mod_conference.c:3675)
  41703. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41704. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41705. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41706. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41707. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41708. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41709. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41710. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41711. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41712. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41713. ==18304==  Address 0x131138e0 is 5,792 bytes inside a block of size 8,192 alloc'd
  41714. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41715. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41716. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41717. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  41718. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  41719. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  41720. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41721. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41722. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41723. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41724. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41725. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41726. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41727. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41728. ==18304==  Block was alloc'd by thread #50
  41729. ==18304==
  41730. ==18304==  Lock at 0x7DAC5F0 was first observed
  41731. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  41732. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  41733. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  41734. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  41735. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  41736. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  41737. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  41738. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  41739. ==18304==    by 0x10AEC7: main (switch.c:1200)
  41740. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  41741. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41742. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  41743. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  41744. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  41745. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  41746. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  41747. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  41748. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  41749. ==18304==    by 0x10AEC7: main (switch.c:1200)
  41750. ==18304==  Block was alloc'd by thread #1
  41751. ==18304==
  41752. ==18304==
  41753. ==18304== ----------------------------------------------------------------
  41754. ==18304==
  41755. ==18304== Thread #50: lock order "0x12B7C640 before 0x7DAC5F0" violated
  41756. ==18304==
  41757. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  41758. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  41759. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  41760. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  41761. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  41762. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  41763. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41764. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41765. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41766. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41767. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41768. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41769. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41770. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41771. ==18304==
  41772. ==18304==  followed by a later acquisition of lock at 0x12B7C640
  41773. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41774. ==18304==    by 0x4CDA665: switch_core_session_set_read_codec (switch_core_codec.c:204)
  41775. ==18304==    by 0x12D65A44: conference_function (mod_conference.c:2528)
  41776. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41777. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41778. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41779. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41780. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41781. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41782. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41783. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41784. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41785. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41786. ==18304==
  41787. ==18304==  Lock at 0x12B7C640 was first observed
  41788. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41789. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41790. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  41791. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  41792. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  41793. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  41794. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  41795. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  41796. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41797. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41798. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41799. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41800. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  41801. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41802. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  41803. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  41804. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  41805. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  41806. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  41807. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  41808. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  41809. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  41810. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  41811. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41812. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41813. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41814. ==18304==  Block was alloc'd by thread #14
  41815. ==18304==
  41816. ==18304==  Lock at 0x7DAC5F0 was first observed
  41817. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  41818. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  41819. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  41820. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  41821. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  41822. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  41823. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  41824. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  41825. ==18304==    by 0x10AEC7: main (switch.c:1200)
  41826. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  41827. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41828. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  41829. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  41830. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  41831. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  41832. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  41833. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  41834. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  41835. ==18304==    by 0x10AEC7: main (switch.c:1200)
  41836. ==18304==  Block was alloc'd by thread #1
  41837. ==18304==
  41838. ==18304==
  41839. ==18304== ----------------------------------------------------------------
  41840. ==18304==
  41841. ==18304== Thread #53: lock order "0x13113790 before 0x7D7DCC8" violated
  41842. ==18304==
  41843. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  41844. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  41845. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  41846. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  41847. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  41848. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41849. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41850. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41851. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41852. ==18304==
  41853. ==18304==  followed by a later acquisition of lock at 0x13113790
  41854. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41855. ==18304==    by 0x12D67498: conference_thread_run (mod_conference.c:774)
  41856. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41857. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41858. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41859. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41860. ==18304==
  41861. ==18304==  Lock at 0x13113790 was first observed
  41862. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41863. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41864. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  41865. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41866. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41867. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41868. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41869. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41870. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41871. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41872. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41873. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41874. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41875. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  41876. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41877. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41878. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41879. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  41880. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  41881. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  41882. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41883. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41884. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41885. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41886. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41887. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41888. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41889. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41890. ==18304==  Block was alloc'd by thread #50
  41891. ==18304==
  41892. ==18304==  Lock at 0x7D7DCC8 was first observed
  41893. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  41894. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  41895. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  41896. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  41897. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  41898. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  41899. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  41900. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  41901. ==18304==    by 0x10AEC7: main (switch.c:1200)
  41902. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  41903. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41904. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  41905. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  41906. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  41907. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  41908. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  41909. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  41910. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  41911. ==18304==    by 0x10AEC7: main (switch.c:1200)
  41912. ==18304==  Block was alloc'd by thread #1
  41913. ==18304==
  41914. ==18304==
  41915. ==18304== ----------------------------------------------------------------
  41916. ==18304==
  41917. ==18304== Thread #53: lock order "0x131138E0 before 0x13113790" violated
  41918. ==18304==
  41919. ==18304== Observed (incorrect) order is: acquisition of lock at 0x13113790
  41920. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41921. ==18304==    by 0x12D67498: conference_thread_run (mod_conference.c:774)
  41922. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41923. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41924. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41925. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41926. ==18304==
  41927. ==18304==  followed by a later acquisition of lock at 0x131138E0
  41928. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  41929. ==18304==    by 0x12D674BE: conference_thread_run (mod_conference.c:778)
  41930. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41931. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41932. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41933. ==18304==    by 0x560E4CE: clone (clone.S:95)
  41934. ==18304==
  41935. ==18304==  Lock at 0x131138E0 was first observed
  41936. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41937. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41938. ==18304==    by 0x12D5F2BD: conference_new (mod_conference.c:3675)
  41939. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41940. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41941. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41942. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41943. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41944. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41945. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41946. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41947. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41948. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41949. ==18304==  Address 0x131138e0 is 5,792 bytes inside a block of size 8,192 alloc'd
  41950. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41951. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41952. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41953. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  41954. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  41955. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  41956. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41957. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41958. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41959. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41960. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41961. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41962. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41963. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41964. ==18304==  Block was alloc'd by thread #50
  41965. ==18304==
  41966. ==18304==  Lock at 0x13113790 was first observed
  41967. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  41968. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  41969. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  41970. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41971. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41972. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41973. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41974. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41975. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41976. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41977. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41978. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  41979. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  41980. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  41981. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  41982. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  41983. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  41984. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  41985. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  41986. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  41987. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  41988. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  41989. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  41990. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  41991. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  41992. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  41993. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  41994. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  41995. ==18304==  Block was alloc'd by thread #50
  41996. ==18304==
  41997. ==18304==
  41998. ==18304== ----------------------------------------------------------------
  41999. ==18304==
  42000. ==18304== Thread #53: lock order "0x7D7DD28 before 0x7D7DCC8" violated
  42001. ==18304==
  42002. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  42003. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42004. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  42005. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  42006. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  42007. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42008. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42009. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42010. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42011. ==18304==
  42012. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  42013. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  42014. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  42015. ==18304==    by 0x12D67694: conference_thread_run (mod_conference.c:814)
  42016. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42017. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42018. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42019. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42020. ==18304==
  42021. ==18304== Required order was established by acquisition of lock at 0x7D7DD28
  42022. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  42023. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  42024. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  42025. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  42026. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42027. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42028. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42029. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42030. ==18304==
  42031. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  42032. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42033. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  42034. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  42035. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  42036. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42037. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42038. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42039. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42040. ==18304==
  42041. ==18304==  Lock at 0x7D7DD28 was first observed
  42042. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42043. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42044. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  42045. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  42046. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42047. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42048. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  42049. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42050. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42051. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  42052. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42053. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42054. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42055. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42056. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42057. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42058. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  42059. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42060. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42061. ==18304==  Block was alloc'd by thread #1
  42062. ==18304==
  42063. ==18304==  Lock at 0x7D7DCC8 was first observed
  42064. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  42065. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  42066. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  42067. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  42068. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42069. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42070. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  42071. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42072. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42073. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  42074. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42075. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42076. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42077. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42078. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42079. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42080. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  42081. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42082. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42083. ==18304==  Block was alloc'd by thread #1
  42084. ==18304==
  42085. ==18304==
  42086. ==18304== ----------------------------------------------------------------
  42087. ==18304==
  42088. ==18304== Thread #52: lock order "0x131138E0 before 0x7D7DCC8" violated
  42089. ==18304==
  42090. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  42091. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42092. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  42093. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  42094. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  42095. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42096. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42097. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42098. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42099. ==18304==
  42100. ==18304==  followed by a later acquisition of lock at 0x131138E0
  42101. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  42102. ==18304==    by 0x12D84734: conference_video_muxing_thread_run (conference_video.c:4172)
  42103. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42104. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42105. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42106. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42107. ==18304==
  42108. ==18304==  Lock at 0x131138E0 was first observed
  42109. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42110. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42111. ==18304==    by 0x12D5F2BD: conference_new (mod_conference.c:3675)
  42112. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  42113. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42114. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42115. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42116. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42117. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42118. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42119. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42120. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42121. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42122. ==18304==  Address 0x131138e0 is 5,792 bytes inside a block of size 8,192 alloc'd
  42123. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42124. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  42125. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  42126. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  42127. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  42128. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  42129. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  42130. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42131. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42132. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42133. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42134. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42135. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42136. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42137. ==18304==  Block was alloc'd by thread #50
  42138. ==18304==
  42139. ==18304==  Lock at 0x7D7DCC8 was first observed
  42140. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  42141. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  42142. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  42143. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  42144. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42145. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42146. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  42147. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42148. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42149. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  42150. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42151. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42152. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42153. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42154. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42155. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42156. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  42157. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42158. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42159. ==18304==  Block was alloc'd by thread #1
  42160. ==18304==
  42161. ==18304==
  42162. ==18304== ----------------------------------------------------------------
  42163. ==18304==
  42164. ==18304== Thread #52: lock order "0x7D7DD28 before 0x7D7DCC8" violated
  42165. ==18304==
  42166. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  42167. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42168. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  42169. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  42170. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  42171. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42172. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42173. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42174. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42175. ==18304==
  42176. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  42177. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  42178. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  42179. ==18304==    by 0x12D842C7: conference_video_muxing_thread_run (conference_video.c:4267)
  42180. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42181. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42182. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42183. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42184. ==18304==
  42185. ==18304== Required order was established by acquisition of lock at 0x7D7DD28
  42186. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  42187. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  42188. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  42189. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  42190. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42191. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42192. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42193. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42194. ==18304==
  42195. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  42196. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42197. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  42198. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  42199. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  42200. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42201. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42202. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42203. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42204. ==18304==
  42205. ==18304==  Lock at 0x7D7DD28 was first observed
  42206. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42207. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42208. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  42209. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  42210. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42211. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42212. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  42213. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42214. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42215. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  42216. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42217. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42218. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42219. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42220. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42221. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42222. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  42223. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42224. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42225. ==18304==  Block was alloc'd by thread #1
  42226. ==18304==
  42227. ==18304==  Lock at 0x7D7DCC8 was first observed
  42228. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  42229. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  42230. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  42231. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  42232. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42233. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42234. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  42235. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42236. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42237. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  42238. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42239. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42240. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42241. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42242. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42243. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42244. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  42245. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42246. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42247. ==18304==  Block was alloc'd by thread #1
  42248. ==18304==
  42249. ==18304==
  42250. ==18304== ----------------------------------------------------------------
  42251. ==18304==
  42252. ==18304== Thread #50: lock order "0x13113790 before 0x7DAC5F0" violated
  42253. ==18304==
  42254. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  42255. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42256. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  42257. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  42258. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  42259. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  42260. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42261. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42262. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42263. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42264. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42265. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42266. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42267. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42268. ==18304==
  42269. ==18304==  followed by a later acquisition of lock at 0x13113790
  42270. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  42271. ==18304==    by 0x12D6445C: conference_function (mod_conference.c:2552)
  42272. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42273. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42274. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42275. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42276. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42277. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42278. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42279. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42280. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42281. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42282. ==18304==
  42283. ==18304==  Lock at 0x13113790 was first observed
  42284. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42285. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42286. ==18304==    by 0x12D5F262: conference_new (mod_conference.c:3671)
  42287. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  42288. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42289. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42290. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42291. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42292. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42293. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42294. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42295. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42296. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42297. ==18304==  Address 0x13113790 is 5,456 bytes inside a block of size 8,192 alloc'd
  42298. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42299. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  42300. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  42301. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  42302. ==18304==    by 0x12D7A69D: conference_video_parse_layouts (conference_video.c:122)
  42303. ==18304==    by 0x12D6040D: conference_new (mod_conference.c:3257)
  42304. ==18304==    by 0x12D64E80: conference_function (mod_conference.c:2135)
  42305. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42306. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42307. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42308. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42309. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42310. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42311. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42312. ==18304==  Block was alloc'd by thread #50
  42313. ==18304==
  42314. ==18304==  Lock at 0x7DAC5F0 was first observed
  42315. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  42316. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  42317. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  42318. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  42319. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42320. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42321. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42322. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42323. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42324. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  42325. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42326. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42327. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42328. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42329. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42330. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42331. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42332. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42333. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42334. ==18304==  Block was alloc'd by thread #1
  42335. ==18304==
  42336. ==18304==
  42337. ==18304== ----------------------------------------------------------------
  42338. ==18304==
  42339. ==18304== Thread #50: lock order "0x12B7C690 before 0x7DAC5F0" violated
  42340. ==18304==
  42341. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  42342. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42343. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  42344. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  42345. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  42346. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  42347. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42348. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42349. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42350. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42351. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42352. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42353. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42354. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42355. ==18304==
  42356. ==18304==  followed by a later acquisition of lock at 0x12B7C690
  42357. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  42358. ==18304==    by 0x4CEC267: switch_core_session_reset (switch_core_session.c:1384)
  42359. ==18304==    by 0x12D64519: conference_function (mod_conference.c:2595)
  42360. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42361. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42362. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42363. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42364. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42365. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42366. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42367. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42368. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42369. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42370. ==18304==
  42371. ==18304==  Lock at 0x12B7C690 was first observed
  42372. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42373. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42374. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  42375. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42376. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42377. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42378. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42379. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42380. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42381. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42382. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42383. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42384. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  42385. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42386. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42387. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42388. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42389. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  42390. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42391. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42392. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42393. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42394. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42395. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42396. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42397. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42398. ==18304==  Block was alloc'd by thread #14
  42399. ==18304==
  42400. ==18304==  Lock at 0x7DAC5F0 was first observed
  42401. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  42402. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  42403. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  42404. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  42405. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42406. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42407. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42408. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42409. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42410. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  42411. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42412. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42413. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42414. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42415. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42416. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42417. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42418. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42419. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42420. ==18304==  Block was alloc'd by thread #1
  42421. ==18304==
  42422. ==18304==
  42423. ==18304== ----------------------------------------------------------------
  42424. ==18304==
  42425. ==18304== Thread #50: lock order "0x12B7C640 before 0x7DAC5F0" violated
  42426. ==18304==
  42427. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  42428. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42429. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  42430. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  42431. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  42432. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  42433. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42434. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42435. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42436. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42437. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42438. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42439. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42440. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42441. ==18304==
  42442. ==18304==  followed by a later acquisition of lock at 0x12B7C640
  42443. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  42444. ==18304==    by 0x4CEC28B: switch_core_session_reset (switch_core_session.c:1388)
  42445. ==18304==    by 0x12D64519: conference_function (mod_conference.c:2595)
  42446. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42447. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42448. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42449. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42450. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42451. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42452. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42453. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42454. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42455. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42456. ==18304==
  42457. ==18304==  Lock at 0x12B7C640 was first observed
  42458. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42459. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42460. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  42461. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42462. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42463. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42464. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42465. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42466. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42467. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42468. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42469. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42470. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  42471. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42472. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42473. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42474. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42475. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  42476. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42477. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42478. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42479. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42480. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42481. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42482. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42483. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42484. ==18304==  Block was alloc'd by thread #14
  42485. ==18304==
  42486. ==18304==  Lock at 0x7DAC5F0 was first observed
  42487. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  42488. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  42489. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  42490. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  42491. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42492. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42493. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42494. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42495. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42496. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  42497. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42498. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42499. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42500. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42501. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42502. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42503. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42504. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42505. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42506. ==18304==  Block was alloc'd by thread #1
  42507. ==18304==
  42508. ==18304==
  42509. ==18304== ----------------------------------------------------------------
  42510. ==18304==
  42511. ==18304==  Lock at 0x12B7C500 was first observed
  42512. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42513. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42514. ==18304==    by 0x4CC755B: switch_channel_alloc (switch_channel.c:462)
  42515. ==18304==    by 0x4CECAE9: switch_core_session_request_uuid (switch_core_session.c:2382)
  42516. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42517. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42518. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42519. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42520. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42521. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42522. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42523. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42524. ==18304==  Address 0x12b7c500 is 2,400 bytes inside a block of size 8,192 alloc'd
  42525. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42526. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42527. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42528. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42529. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  42530. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42531. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42532. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42533. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42534. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42535. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42536. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42537. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42538. ==18304==  Block was alloc'd by thread #14
  42539. ==18304==
  42540. ==18304==  Lock at 0x12B7C550 was first observed
  42541. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42542. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42543. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  42544. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42545. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42546. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42547. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42548. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42549. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42550. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42551. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42552. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42553. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  42554. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42555. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42556. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42557. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42558. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  42559. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42560. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42561. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42562. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42563. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42564. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42565. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42566. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42567. ==18304==  Block was alloc'd by thread #14
  42568. ==18304==
  42569. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #50
  42570. ==18304== Locks held: 2, at addresses 0x12B7C500 0x12B7C550
  42571. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  42572. ==18304==    by 0x4CC47A4: switch_channel_set_hangup_time (switch_channel.c:3298)
  42573. ==18304==    by 0x4CF302F: switch_core_session_hangup_state (switch_core_state_machine.c:837)
  42574. ==18304==    by 0x4CF489C: switch_core_session_run (switch_core_state_machine.c:616)
  42575. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42576. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42577. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42578. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42579. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42580. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42581. ==18304==
  42582. ==18304== This conflicts with a previous write of size 8 by thread #44
  42583. ==18304== Locks held: none
  42584. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  42585. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  42586. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42587. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42588. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42589. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42590. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  42591. ==18304==
  42592. ==18304== ----------------------------------------------------------------
  42593. ==18304==
  42594. ==18304== Thread #50: lock order "0x1303F698 before 0x7DAC5F0" violated
  42595. ==18304==
  42596. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  42597. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42598. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  42599. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  42600. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  42601. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  42602. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42603. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42604. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42605. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42606. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42607. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42608. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42609. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42610. ==18304==
  42611. ==18304==  followed by a later acquisition of lock at 0x1303F698
  42612. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  42613. ==18304==    by 0x95586A3: sofia_on_hangup (mod_sofia.c:417)
  42614. ==18304==    by 0x4CF3218: switch_core_session_hangup_state (switch_core_state_machine.c:850)
  42615. ==18304==    by 0x4CF489C: switch_core_session_run (switch_core_state_machine.c:616)
  42616. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42617. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42618. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42619. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42620. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42621. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42622. ==18304==
  42623. ==18304==  Lock at 0x1303F698 was first observed
  42624. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42625. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42626. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  42627. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  42628. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42629. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42630. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42631. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42632. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42633. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42634. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42635. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42636. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  42637. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42638. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  42639. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  42640. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  42641. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  42642. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42643. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42644. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42645. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42646. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42647. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42648. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42649. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42650. ==18304==  Block was alloc'd by thread #14
  42651. ==18304==
  42652. ==18304==  Lock at 0x7DAC5F0 was first observed
  42653. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  42654. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  42655. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  42656. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  42657. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42658. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42659. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42660. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42661. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42662. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  42663. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42664. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42665. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42666. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42667. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42668. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42669. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42670. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42671. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42672. ==18304==  Block was alloc'd by thread #1
  42673. ==18304==
  42674. ==18304==
  42675. ==18304== ----------------------------------------------------------------
  42676. ==18304==
  42677. ==18304==  Lock at 0x9346648 was first observed
  42678. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42679. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  42680. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  42681. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  42682. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  42683. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  42684. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42685. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42686. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42687. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42688. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  42689. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  42690. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  42691. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  42692. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  42693. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  42694. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42695. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42696. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42697. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42698. ==18304==  Block was alloc'd by thread #14
  42699. ==18304==
  42700. ==18304==  Lock at 0x12B7C550 was first observed
  42701. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42702. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42703. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  42704. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42705. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42706. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42707. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42708. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42709. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42710. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42711. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42712. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42713. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  42714. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42715. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42716. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42717. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42718. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  42719. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42720. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42721. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42722. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42723. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42724. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42725. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42726. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42727. ==18304==  Block was alloc'd by thread #14
  42728. ==18304==
  42729. ==18304==  Lock at 0x1303F698 was first observed
  42730. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42731. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42732. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  42733. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  42734. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42735. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42736. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42737. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42738. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42739. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42740. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42741. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42742. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  42743. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42744. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  42745. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  42746. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  42747. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  42748. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42749. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42750. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42751. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42752. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42753. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42754. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42755. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42756. ==18304==  Block was alloc'd by thread #14
  42757. ==18304==
  42758. ==18304== Possible data race during read of size 8 at 0x1299D588 by thread #14
  42759. ==18304== Locks held: 1, at address 0x9346648
  42760. ==18304==    at 0x9593928: sofia_event_callback (sofia.c:2648)
  42761. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42762. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42763. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42764. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42765. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42766. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42767. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42768. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42769. ==18304==
  42770. ==18304== This conflicts with a previous write of size 8 by thread #50
  42771. ==18304== Locks held: 2, at addresses 0x12B7C550 0x1303F698
  42772. ==18304==    at 0x9558832: sofia_on_hangup (mod_sofia.c:646)
  42773. ==18304==    by 0x4CF3218: switch_core_session_hangup_state (switch_core_state_machine.c:850)
  42774. ==18304==    by 0x4CF489C: switch_core_session_run (switch_core_state_machine.c:616)
  42775. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42776. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42777. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42778. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42779. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42780. ==18304==  Address 0x1299d588 is 264 bytes inside a block of size 864 alloc'd
  42781. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42782. ==18304==    by 0x9518FEB: sub_alloc (su_alloc.c:500)
  42783. ==18304==    by 0x9519560: su_alloc (su_alloc.c:890)
  42784. ==18304==    by 0x9593774: sofia_event_callback (sofia.c:2519)
  42785. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42786. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42787. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42788. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42789. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42790. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42791. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42792. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42793. ==18304==  Block was alloc'd by thread #14
  42794. ==18304==
  42795. ==18304== ----------------------------------------------------------------
  42796. ==18304==
  42797. ==18304== Thread #50: lock order "0x12B7C888 before 0x7DAC5F0" violated
  42798. ==18304==
  42799. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  42800. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42801. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  42802. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  42803. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  42804. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  42805. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42806. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42807. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42808. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42809. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42810. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42811. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42812. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42813. ==18304==
  42814. ==18304==  followed by a later acquisition of lock at 0x12B7C888
  42815. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  42816. ==18304==    by 0x4CEF08E: switch_core_session_thread (switch_core_session.c:1728)
  42817. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42818. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42819. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42820. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42821. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42822. ==18304==
  42823. ==18304== Required order was established by acquisition of lock at 0x12B7C888
  42824. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  42825. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  42826. ==18304==    by 0x12D7523F: conference_loop_input (conference_loop.c:816)
  42827. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42828. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42829. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42830. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42831. ==18304==
  42832. ==18304==  followed by a later acquisition of lock at 0x7DAC5F0
  42833. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42834. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  42835. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  42836. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  42837. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  42838. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42839. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42840. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42841. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42842. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42843. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42844. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42845. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42846. ==18304==
  42847. ==18304==  Lock at 0x12B7C888 was first observed
  42848. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  42849. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  42850. ==18304==    by 0x4CECC8C: switch_core_session_request_uuid (switch_core_session.c:2427)
  42851. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42852. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42853. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42854. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42855. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42856. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42857. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42858. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42859. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42860. ==18304==  Address 0x12b7c888 is 3,304 bytes inside a block of size 8,192 alloc'd
  42861. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42862. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42863. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42864. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42865. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  42866. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  42867. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  42868. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  42869. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  42870. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  42871. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42872. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42873. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42874. ==18304==  Block was alloc'd by thread #14
  42875. ==18304==
  42876. ==18304==  Lock at 0x7DAC5F0 was first observed
  42877. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  42878. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  42879. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  42880. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  42881. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42882. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42883. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42884. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42885. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42886. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  42887. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42888. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42889. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42890. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42891. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42892. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42893. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42894. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42895. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42896. ==18304==  Block was alloc'd by thread #1
  42897. ==18304==
  42898. ==18304==
  42899. ==18304== ----------------------------------------------------------------
  42900. ==18304==
  42901. ==18304== Thread #50: lock order "0x72FFE68 before 0x7DAC5F0" violated
  42902. ==18304==
  42903. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  42904. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  42905. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  42906. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  42907. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  42908. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  42909. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  42910. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  42911. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  42912. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  42913. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  42914. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42915. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42916. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42917. ==18304==
  42918. ==18304==  followed by a later acquisition of lock at 0x72FFE68
  42919. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  42920. ==18304==    by 0x4CEED72: switch_core_session_perform_destroy (switch_core_session.c:1547)
  42921. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  42922. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  42923. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42924. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42925. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42926. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42927. ==18304==
  42928. ==18304==  Lock at 0x72FFE68 was first observed
  42929. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42930. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42931. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  42932. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  42933. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42934. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  42935. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42936. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  42937. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  42938. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  42939. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  42940. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  42941. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  42942. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42943. ==18304==  Block was alloc'd by thread #1
  42944. ==18304==
  42945. ==18304==  Lock at 0x7DAC5F0 was first observed
  42946. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  42947. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  42948. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  42949. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  42950. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  42951. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42952. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42953. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42954. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42955. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  42956. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42957. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  42958. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  42959. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  42960. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  42961. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  42962. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  42963. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  42964. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42965. ==18304==  Block was alloc'd by thread #1
  42966. ==18304==
  42967. ==18304==
  42968. ==18304== ----------------------------------------------------------------
  42969. ==18304==
  42970. ==18304==  Lock at 0x72FFE68 was first observed
  42971. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42972. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  42973. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  42974. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  42975. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42976. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  42977. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  42978. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  42979. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  42980. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  42981. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  42982. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  42983. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  42984. ==18304==    by 0x10AEC7: main (switch.c:1200)
  42985. ==18304==  Block was alloc'd by thread #1
  42986. ==18304==
  42987. ==18304==  Lock at 0x9346648 was first observed
  42988. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  42989. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  42990. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  42991. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  42992. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  42993. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  42994. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  42995. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  42996. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  42997. ==18304==    by 0x560E4CE: clone (clone.S:95)
  42998. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  42999. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  43000. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  43001. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  43002. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  43003. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  43004. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43005. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43006. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43007. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43008. ==18304==  Block was alloc'd by thread #14
  43009. ==18304==
  43010. ==18304== Possible data race during write of size 4 at 0x5124790 by thread #50
  43011. ==18304== Locks held: 1, at address 0x72FFE68
  43012. ==18304==    at 0x4CEED96: switch_core_session_perform_destroy (switch_core_session.c:1550)
  43013. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  43014. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43015. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43016. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43017. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43018. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43019. ==18304==
  43020. ==18304== This conflicts with a previous read of size 4 by thread #14
  43021. ==18304== Locks held: 1, at address 0x9346648
  43022. ==18304==    at 0x4CECFF0: switch_core_session_count (switch_core_session.c:2457)
  43023. ==18304==    by 0x95935A5: sofia_event_callback (sofia.c:2415)
  43024. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43025. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43026. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43027. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43028. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43029. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43030. ==18304==  Address 0x5124790 is 16 bytes inside data symbol "session_manager"
  43031. ==18304==
  43032. ==18304== ----------------------------------------------------------------
  43033. ==18304==
  43034. ==18304== Thread #50: lock order "0x7DAEDC8 before 0x7DAED68" violated
  43035. ==18304==
  43036. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAED68
  43037. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  43038. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  43039. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  43040. ==18304==    by 0x4D0F50F: switch_core_media_set_codec (switch_core_media.c:3762)
  43041. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  43042. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  43043. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  43044. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  43045. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  43046. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  43047. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  43048. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  43049. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  43050. ==18304==
  43051. ==18304==  followed by a later acquisition of lock at 0x7DAEDC8
  43052. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  43053. ==18304==    by 0x4CDCB1C: switch_core_codec_destroy (switch_core_codec.c:937)
  43054. ==18304==    by 0x4D1493A: switch_media_handle_destroy (switch_core_media.c:2078)
  43055. ==18304==    by 0x9550881: sofia_on_destroy (mod_sofia.c:386)
  43056. ==18304==    by 0x4CF2DF0: switch_core_session_destroy_state (switch_core_state_machine.c:749)
  43057. ==18304==    by 0x4CEEE08: switch_core_session_perform_destroy (switch_core_session.c:1570)
  43058. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  43059. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43060. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43061. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43062. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43063. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43064. ==18304==
  43065. ==18304== Required order was established by acquisition of lock at 0x7DAEDC8
  43066. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  43067. ==18304==    by 0x4D47C4C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  43068. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  43069. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  43070. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  43071. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  43072. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  43073. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  43074. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  43075. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  43076. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  43077. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  43078. ==18304==
  43079. ==18304==  followed by a later acquisition of lock at 0x7DAED68
  43080. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  43081. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  43082. ==18304==    by 0x4D495A7: switch_loadable_module_get_codecs_sorted (switch_loadable_module.c:2891)
  43083. ==18304==    by 0x4D09A65: switch_core_media_set_r_sdp_codec_string (switch_core_media.c:13432)
  43084. ==18304==    by 0x4D1C4CF: switch_core_media_merge_sdp_codec_string (switch_core_media.c:13323)
  43085. ==18304==    by 0x95855CE: sofia_handle_sip_i_invite (sofia.c:10289)
  43086. ==18304==    by 0x958DDE9: our_sofia_event_callback (sofia.c:1817)
  43087. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  43088. ==18304==    by 0x9559BEE: sofia_receive_message (mod_sofia.c:1331)
  43089. ==18304==    by 0x4CED515: switch_core_session_perform_receive_message (switch_core_session.c:844)
  43090. ==18304==    by 0x4DA3ED7: switch_ivr_parse_signal_data (switch_ivr.c:893)
  43091. ==18304==    by 0x4DA3F3A: switch_ivr_parse_all_messages (switch_ivr.c:852)
  43092. ==18304==
  43093. ==18304==  Lock at 0x7DAEDC8 was first observed
  43094. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43095. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  43096. ==18304==    by 0x4D4A460: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  43097. ==18304==    by 0x4DC4943: mod_g711_load (switch_pcm.c:276)
  43098. ==18304==    by 0x4DC4943: core_pcm_load (switch_pcm.c:942)
  43099. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43100. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43101. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43102. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43103. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43104. ==18304==  Address 0x7daedc8 is 3,720 bytes inside a block of size 8,192 alloc'd
  43105. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43106. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  43107. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  43108. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  43109. ==18304==    by 0x4DC5618: switch_core_codec_add_implementation (switch_loadable_module.h:528)
  43110. ==18304==    by 0x4DC5618: core_pcm_load (switch_pcm.c:712)
  43111. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43112. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43113. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43114. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43115. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43116. ==18304==  Block was alloc'd by thread #1
  43117. ==18304==
  43118. ==18304==  Lock at 0x7DAED68 was first observed
  43119. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  43120. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  43121. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  43122. ==18304==    by 0x4DC4943: mod_g711_load (switch_pcm.c:276)
  43123. ==18304==    by 0x4DC4943: core_pcm_load (switch_pcm.c:942)
  43124. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43125. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43126. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43127. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43128. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43129. ==18304==  Address 0x7daed68 is 3,624 bytes inside a block of size 8,192 alloc'd
  43130. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43131. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  43132. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  43133. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  43134. ==18304==    by 0x4DC5618: switch_core_codec_add_implementation (switch_loadable_module.h:528)
  43135. ==18304==    by 0x4DC5618: core_pcm_load (switch_pcm.c:712)
  43136. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43137. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43138. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43139. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43140. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43141. ==18304==  Block was alloc'd by thread #1
  43142. ==18304==
  43143. ==18304==
  43144. ==18304== ----------------------------------------------------------------
  43145. ==18304==
  43146. ==18304== Thread #50: lock order "0x130402C8 before 0x7DAED68" violated
  43147. ==18304==
  43148. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAED68
  43149. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  43150. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  43151. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  43152. ==18304==    by 0x4D0F50F: switch_core_media_set_codec (switch_core_media.c:3762)
  43153. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  43154. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  43155. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  43156. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  43157. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  43158. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  43159. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  43160. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  43161. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  43162. ==18304==
  43163. ==18304==  followed by a later acquisition of lock at 0x130402C8
  43164. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  43165. ==18304==    by 0x4CDCACA: switch_core_codec_destroy (switch_core_codec.c:921)
  43166. ==18304==    by 0x4D1496D: switch_media_handle_destroy (switch_core_media.c:2082)
  43167. ==18304==    by 0x9550881: sofia_on_destroy (mod_sofia.c:386)
  43168. ==18304==    by 0x4CF2DF0: switch_core_session_destroy_state (switch_core_state_machine.c:749)
  43169. ==18304==    by 0x4CEEE08: switch_core_session_perform_destroy (switch_core_session.c:1570)
  43170. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  43171. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43172. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43173. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43174. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43175. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43176. ==18304==
  43177. ==18304==  Lock at 0x130402C8 was first observed
  43178. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43179. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  43180. ==18304==    by 0x4CDC0B7: switch_core_codec_init_with_bitrate (switch_core_codec.c:723)
  43181. ==18304==    by 0x4D0F569: switch_core_media_set_codec (switch_core_media.c:3780)
  43182. ==18304==    by 0x4D22F79: switch_core_media_negotiate_sdp (switch_core_media.c:5825)
  43183. ==18304==    by 0x95B94F4: sofia_media_negotiate_sdp (sofia_media.c:42)
  43184. ==18304==    by 0x95B95D8: sofia_media_tech_media (sofia_media.c:83)
  43185. ==18304==    by 0x955E1FD: sofia_answer_channel (mod_sofia.c:876)
  43186. ==18304==    by 0x955E1FD: sofia_receive_message (mod_sofia.c:2503)
  43187. ==18304==    by 0x4CED555: switch_core_session_perform_receive_message (switch_core_session.c:921)
  43188. ==18304==    by 0x4CCC913: switch_channel_perform_answer (switch_channel.c:3899)
  43189. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  43190. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  43191. ==18304==  Address 0x130402c8 is 6,184 bytes inside a block of size 8,192 alloc'd
  43192. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43193. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  43194. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  43195. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  43196. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  43197. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  43198. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43199. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43200. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43201. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43202. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43203. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43204. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43205. ==18304==  Block was alloc'd by thread #14
  43206. ==18304==
  43207. ==18304==  Lock at 0x7DAED68 was first observed
  43208. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  43209. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  43210. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  43211. ==18304==    by 0x4DC4943: mod_g711_load (switch_pcm.c:276)
  43212. ==18304==    by 0x4DC4943: core_pcm_load (switch_pcm.c:942)
  43213. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43214. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43215. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43216. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43217. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43218. ==18304==  Address 0x7daed68 is 3,624 bytes inside a block of size 8,192 alloc'd
  43219. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43220. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  43221. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  43222. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  43223. ==18304==    by 0x4DC5618: switch_core_codec_add_implementation (switch_loadable_module.h:528)
  43224. ==18304==    by 0x4DC5618: core_pcm_load (switch_pcm.c:712)
  43225. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43226. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43227. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43228. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43229. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43230. ==18304==  Block was alloc'd by thread #1
  43231. ==18304==
  43232. ==18304==
  43233. ==18304== ----------------------------------------------------------------
  43234. ==18304==
  43235. ==18304== Thread #50: lock order "0x12B7C640 before 0x7DAC5F0" violated
  43236. ==18304==
  43237. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  43238. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  43239. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  43240. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  43241. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  43242. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  43243. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  43244. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  43245. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  43246. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  43247. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  43248. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43249. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43250. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43251. ==18304==
  43252. ==18304==  followed by a later acquisition of lock at 0x12B7C640
  43253. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  43254. ==18304==    by 0x4CDA4A4: switch_core_session_unset_read_codec (switch_core_codec.c:50)
  43255. ==18304==    by 0x4D149DB: switch_media_handle_destroy (switch_core_media.c:2093)
  43256. ==18304==    by 0x9550881: sofia_on_destroy (mod_sofia.c:386)
  43257. ==18304==    by 0x4CF2DF0: switch_core_session_destroy_state (switch_core_state_machine.c:749)
  43258. ==18304==    by 0x4CEEE08: switch_core_session_perform_destroy (switch_core_session.c:1570)
  43259. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  43260. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43261. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43262. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43263. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43264. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43265. ==18304==
  43266. ==18304==  Lock at 0x12B7C640 was first observed
  43267. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43268. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  43269. ==18304==    by 0x4CECC0F: switch_core_session_request_uuid (switch_core_session.c:2420)
  43270. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  43271. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43272. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43273. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43274. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43275. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43276. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43277. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43278. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43279. ==18304==  Address 0x12b7c640 is 2,720 bytes inside a block of size 8,192 alloc'd
  43280. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43281. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  43282. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  43283. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  43284. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  43285. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  43286. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43287. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43288. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43289. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43290. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43291. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43292. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43293. ==18304==  Block was alloc'd by thread #14
  43294. ==18304==
  43295. ==18304==  Lock at 0x7DAC5F0 was first observed
  43296. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  43297. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  43298. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  43299. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  43300. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43301. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43302. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43303. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43304. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43305. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  43306. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43307. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  43308. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  43309. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  43310. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  43311. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43312. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43313. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43314. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43315. ==18304==  Block was alloc'd by thread #1
  43316. ==18304==
  43317. ==18304==
  43318. ==18304== ----------------------------------------------------------------
  43319. ==18304==
  43320. ==18304== Thread #50: lock order "0x12B7C690 before 0x7DAC5F0" violated
  43321. ==18304==
  43322. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  43323. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  43324. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  43325. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  43326. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  43327. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  43328. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  43329. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  43330. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  43331. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  43332. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  43333. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43334. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43335. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43336. ==18304==
  43337. ==18304==  followed by a later acquisition of lock at 0x12B7C690
  43338. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  43339. ==18304==    by 0x4CDA5C4: switch_core_session_unset_write_codec (switch_core_codec.c:86)
  43340. ==18304==    by 0x4D149E3: switch_media_handle_destroy (switch_core_media.c:2094)
  43341. ==18304==    by 0x9550881: sofia_on_destroy (mod_sofia.c:386)
  43342. ==18304==    by 0x4CF2DF0: switch_core_session_destroy_state (switch_core_state_machine.c:749)
  43343. ==18304==    by 0x4CEEE08: switch_core_session_perform_destroy (switch_core_session.c:1570)
  43344. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  43345. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43346. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43347. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43348. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43349. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43350. ==18304==
  43351. ==18304==  Lock at 0x12B7C690 was first observed
  43352. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43353. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  43354. ==18304==    by 0x4CECC23: switch_core_session_request_uuid (switch_core_session.c:2421)
  43355. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  43356. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43357. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43358. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43359. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43360. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43361. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43362. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43363. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43364. ==18304==  Address 0x12b7c690 is 2,800 bytes inside a block of size 8,192 alloc'd
  43365. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43366. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  43367. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  43368. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  43369. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  43370. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  43371. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43372. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43373. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43374. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43375. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43376. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43377. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43378. ==18304==  Block was alloc'd by thread #14
  43379. ==18304==
  43380. ==18304==  Lock at 0x7DAC5F0 was first observed
  43381. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  43382. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  43383. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  43384. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  43385. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43386. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43387. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43388. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43389. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43390. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  43391. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43392. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  43393. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  43394. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  43395. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  43396. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43397. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43398. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43399. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43400. ==18304==  Block was alloc'd by thread #1
  43401. ==18304==
  43402. ==18304==
  43403. ==18304== ----------------------------------------------------------------
  43404. ==18304==
  43405. ==18304== Thread #50: lock order "0x12B7C460 before 0x7DAC5F0" violated
  43406. ==18304==
  43407. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  43408. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  43409. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  43410. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  43411. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  43412. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  43413. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  43414. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  43415. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  43416. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  43417. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  43418. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43419. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43420. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43421. ==18304==
  43422. ==18304==  followed by a later acquisition of lock at 0x12B7C460
  43423. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  43424. ==18304==    by 0x4CC43F7: switch_channel_get_state_handler (switch_channel.c:3011)
  43425. ==18304==    by 0x4CF2E01: switch_core_session_destroy_state (switch_core_state_machine.c:749)
  43426. ==18304==    by 0x4CEEE08: switch_core_session_perform_destroy (switch_core_session.c:1570)
  43427. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  43428. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43429. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43430. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43431. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43432. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43433. ==18304==
  43434. ==18304==  Lock at 0x12B7C460 was first observed
  43435. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43436. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  43437. ==18304==    by 0x4CC7533: switch_channel_alloc (switch_channel.c:460)
  43438. ==18304==    by 0x4CECAE9: switch_core_session_request_uuid (switch_core_session.c:2382)
  43439. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  43440. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43441. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43442. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43443. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43444. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43445. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43446. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43447. ==18304==  Address 0x12b7c460 is 2,240 bytes inside a block of size 8,192 alloc'd
  43448. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43449. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  43450. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  43451. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  43452. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  43453. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  43454. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43455. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43456. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43457. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43458. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43459. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43460. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43461. ==18304==  Block was alloc'd by thread #14
  43462. ==18304==
  43463. ==18304==  Lock at 0x7DAC5F0 was first observed
  43464. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  43465. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  43466. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  43467. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  43468. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43469. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43470. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43471. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43472. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43473. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  43474. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43475. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  43476. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  43477. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  43478. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  43479. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43480. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43481. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43482. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43483. ==18304==  Block was alloc'd by thread #1
  43484. ==18304==
  43485. ==18304==
  43486. ==18304== ----------------------------------------------------------------
  43487. ==18304==
  43488. ==18304== Thread #50: lock order "0x92BA3B0 before 0x7DAC5F0" violated
  43489. ==18304==
  43490. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7DAC5F0
  43491. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  43492. ==18304==    by 0x4D47C65: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2611)
  43493. ==18304==    by 0x4CDBF70: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  43494. ==18304==    by 0x12D8FBC5: conference_member_setup_media (conference_member.c:1759)
  43495. ==18304==    by 0x12D64AAB: conference_function (mod_conference.c:2397)
  43496. ==18304==    by 0x4CF161E: switch_core_session_exec (switch_core_session.c:2891)
  43497. ==18304==    by 0x4CF1CAE: switch_core_session_execute_application_get_flags (switch_core_session.c:2756)
  43498. ==18304==    by 0x4CF5FF1: switch_core_standard_on_execute (switch_core_state_machine.c:354)
  43499. ==18304==    by 0x4CF5FF1: switch_core_session_run (switch_core_state_machine.c:651)
  43500. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  43501. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43502. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43503. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43504. ==18304==
  43505. ==18304==  followed by a later acquisition of lock at 0x92BA3B0
  43506. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  43507. ==18304==    by 0x4CEEEEF: switch_core_session_perform_destroy (switch_core_session.c:1601)
  43508. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  43509. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43510. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43511. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43512. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43513. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43514. ==18304==
  43515. ==18304==  Lock at 0x92BA3B0 was first observed
  43516. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43517. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  43518. ==18304==    by 0x4D49EE0: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  43519. ==18304==    by 0x9565B67: mod_sofia_load (mod_sofia.c:6342)
  43520. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43521. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43522. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  43523. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43524. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43525. ==18304==  Address 0x92ba3b0 is 136,944 bytes inside a block of size 139,264 alloc'd
  43526. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43527. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  43528. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  43529. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  43530. ==18304==    by 0x95655EA: mod_sofia_load (mod_sofia.c:6244)
  43531. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43532. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43533. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  43534. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43535. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43536. ==18304==  Block was alloc'd by thread #1
  43537. ==18304==
  43538. ==18304==  Lock at 0x7DAC5F0 was first observed
  43539. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  43540. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  43541. ==18304==    by 0x4D4A44B: switch_loadable_module_create_interface (switch_loadable_module.c:3119)
  43542. ==18304==    by 0x4DC39EB: core_pcm_load (switch_pcm.c:424)
  43543. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43544. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43545. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43546. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43547. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43548. ==18304==  Address 0x7dac5f0 is 1,776 bytes inside a block of size 8,192 alloc'd
  43549. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43550. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  43551. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  43552. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  43553. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  43554. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43555. ==18304==    by 0x4D46748: switch_loadable_module_init (switch_loadable_module.c:2185)
  43556. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43557. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43558. ==18304==  Block was alloc'd by thread #1
  43559. ==18304==
  43560. ==18304==
  43561. ==18304== ----------------------------------------------------------------
  43562. ==18304==
  43563. ==18304== Thread #50 unlocked lock at 0x92BA350 currently held by thread #14
  43564. ==18304==    at 0x483BC44: pthread_rwlock_unlock_WRK (hg_intercepts.c:2540)
  43565. ==18304==    by 0x4CEEEF9: switch_core_session_perform_destroy (switch_core_session.c:1601)
  43566. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  43567. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43568. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43569. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43570. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43571. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43572. ==18304==  Lock at 0x92BA350 was first observed
  43573. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  43574. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  43575. ==18304==    by 0x4D49ECB: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  43576. ==18304==    by 0x9565B67: mod_sofia_load (mod_sofia.c:6342)
  43577. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43578. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43579. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  43580. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43581. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43582. ==18304==  Address 0x92ba350 is 136,848 bytes inside a block of size 139,264 alloc'd
  43583. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43584. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  43585. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  43586. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  43587. ==18304==    by 0x95655EA: mod_sofia_load (mod_sofia.c:6244)
  43588. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43589. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43590. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  43591. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43592. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43593. ==18304==  Block was alloc'd by thread #1
  43594. ==18304==
  43595. ==18304==
  43596. ==18304== ----------------------------------------------------------------
  43597. ==18304==
  43598. ==18304== Thread #50 unlocked lock at 0x92BA2A0 currently held by thread #14
  43599. ==18304==    at 0x483BC44: pthread_rwlock_unlock_WRK (hg_intercepts.c:2540)
  43600. ==18304==    by 0x4CEEF0A: switch_core_session_perform_destroy (switch_core_session.c:1601)
  43601. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  43602. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43603. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43604. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43605. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43606. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43607. ==18304==  Lock at 0x92BA2A0 was first observed
  43608. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  43609. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  43610. ==18304==    by 0x4D49E0B: switch_loadable_module_create_module_interface (switch_loadable_module.c:3085)
  43611. ==18304==    by 0x9565B59: mod_sofia_load (mod_sofia.c:6341)
  43612. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43613. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43614. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  43615. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43616. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43617. ==18304==  Address 0x92ba2a0 is 136,672 bytes inside a block of size 139,264 alloc'd
  43618. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43619. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  43620. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  43621. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  43622. ==18304==    by 0x95655EA: mod_sofia_load (mod_sofia.c:6244)
  43623. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  43624. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  43625. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  43626. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  43627. ==18304==    by 0x10AEC7: main (switch.c:1200)
  43628. ==18304==  Block was alloc'd by thread #1
  43629. ==18304==
  43630. ==18304==
  43631. ==18304== ----------------------------------------------------------------
  43632. ==18304==
  43633. ==18304==  Lock at 0x12B7C550 was first observed
  43634. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43635. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  43636. ==18304==    by 0x4CECBD3: switch_core_session_request_uuid (switch_core_session.c:2417)
  43637. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  43638. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43639. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43640. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43641. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43642. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43643. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43644. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43645. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43646. ==18304==  Address 0x12b7c550 is 2,480 bytes inside a block of size 8,192 alloc'd
  43647. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43648. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  43649. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  43650. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  43651. ==18304==    by 0x4CECECC: switch_core_session_request_uuid (switch_core_session.c:2374)
  43652. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  43653. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43654. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43655. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43656. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43657. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43658. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43659. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43660. ==18304==  Block was alloc'd by thread #14
  43661. ==18304==
  43662. ==18304==  Lock at 0x1303F698 was first observed
  43663. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43664. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  43665. ==18304==    by 0x9594B11: sofia_glue_new_pvt (sofia_glue.c:56)
  43666. ==18304==    by 0x9593AB6: sofia_event_callback (sofia.c:2586)
  43667. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43668. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43669. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43670. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43671. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43672. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43673. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43674. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43675. ==18304==  Address 0x1303f698 is 3,064 bytes inside a block of size 8,192 alloc'd
  43676. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43677. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  43678. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  43679. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  43680. ==18304==    by 0x4CECCFF: switch_core_session_request_uuid (switch_core_session.c:2433)
  43681. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  43682. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43683. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43684. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43685. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43686. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43687. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43688. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43689. ==18304==  Block was alloc'd by thread #14
  43690. ==18304==
  43691. ==18304== Possible data race during read of size 8 at 0x1299D588 by thread #15
  43692. ==18304== Locks held: none
  43693. ==18304==    at 0x958B320: our_sofia_event_callback (sofia.c:1518)
  43694. ==18304==    by 0x9593255: sofia_process_dispatch_event (sofia.c:2270)
  43695. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2318)
  43696. ==18304==    by 0x959341A: sofia_msg_thread_run (sofia.c:2289)
  43697. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43698. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43699. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43700. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43701. ==18304==
  43702. ==18304== This conflicts with a previous write of size 8 by thread #50
  43703. ==18304== Locks held: 2, at addresses 0x12B7C550 0x1303F698
  43704. ==18304==    at 0x9558832: sofia_on_hangup (mod_sofia.c:646)
  43705. ==18304==    by 0x4CF3218: switch_core_session_hangup_state (switch_core_state_machine.c:850)
  43706. ==18304==    by 0x4CF489C: switch_core_session_run (switch_core_state_machine.c:616)
  43707. ==18304==    by 0x4CEF01D: switch_core_session_thread (switch_core_session.c:1709)
  43708. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  43709. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43710. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43711. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43712. ==18304==  Address 0x1299d588 is 264 bytes inside a block of size 864 alloc'd
  43713. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43714. ==18304==    by 0x9518FEB: sub_alloc (su_alloc.c:500)
  43715. ==18304==    by 0x9519560: su_alloc (su_alloc.c:890)
  43716. ==18304==    by 0x9593774: sofia_event_callback (sofia.c:2519)
  43717. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  43718. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43719. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43720. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43721. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43722. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43723. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43724. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43725. ==18304==  Block was alloc'd by thread #14
  43726. ==18304==
  43727. ==18304== ----------------------------------------------------------------
  43728. ==18304==
  43729. ==18304==  Lock at 0x92F9638 was first observed
  43730. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43731. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  43732. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  43733. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  43734. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  43735. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43736. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43737. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43738. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  43739. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  43740. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  43741. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  43742. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  43743. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43744. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43745. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43746. ==18304==  Block was alloc'd by thread #27
  43747. ==18304==
  43748. ==18304==  Lock at 0x9346648 was first observed
  43749. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43750. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  43751. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  43752. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  43753. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  43754. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  43755. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43756. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43757. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43758. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43759. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  43760. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  43761. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  43762. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  43763. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  43764. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  43765. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43766. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43767. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43768. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43769. ==18304==  Block was alloc'd by thread #14
  43770. ==18304==
  43771. ==18304== Possible data race during write of size 1 at 0x12AEFB34 by thread #27
  43772. ==18304== Locks held: 1, at address 0x92F9638
  43773. ==18304==    at 0x94E04EA: signal_call_state_change (nua_session.c:4174)
  43774. ==18304==    by 0x94E6248: nua_bye_client_report (nua_session.c:3907)
  43775. ==18304==    by 0x94D05B5: nua_base_client_response (nua_client.c:1521)
  43776. ==18304==    by 0x94D0968: nua_client_response (nua_client.c:1105)
  43777. ==18304==    by 0x94D0ABB: nua_client_orq_response (nua_client.c:995)
  43778. ==18304==    by 0x94BA9A7: outgoing_recv (nta.c:9518)
  43779. ==18304==    by 0x94C32A8: agent_recv_response (nta.c:3388)
  43780. ==18304==    by 0x94C32A8: agent_recv_message (nta.c:2792)
  43781. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  43782. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  43783. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  43784. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  43785. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  43786. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  43787. ==18304==
  43788. ==18304== This conflicts with a previous read of size 1 by thread #14
  43789. ==18304== Locks held: 1, at address 0x9346648
  43790. ==18304==    at 0x94E832F: nua_application_event (nua_stack.c:368)
  43791. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  43792. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  43793. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43794. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43795. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43796. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43797. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43798. ==18304==  Address 0x12aefb34 is 100 bytes inside a block of size 280 alloc'd
  43799. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  43800. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  43801. ==18304==    by 0x94D22B7: nh_create_handle (nua_common.c:113)
  43802. ==18304==    by 0x94E8EAF: nh_create (nua_stack.c:904)
  43803. ==18304==    by 0x94EA5E2: nua_stack_incoming_handle (nua_stack.c:1032)
  43804. ==18304==    by 0x94DF1D1: nua_stack_process_request (nua_server.c:220)
  43805. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  43806. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  43807. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  43808. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  43809. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  43810. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  43811. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  43812. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  43813. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  43814. ==18304==  Block was alloc'd by thread #27
  43815. ==18304==
  43816. ==18304== ----------------------------------------------------------------
  43817. ==18304==
  43818. ==18304==  Lock at 0x9346648 was first observed
  43819. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43820. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  43821. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  43822. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  43823. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  43824. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  43825. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43826. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43827. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43828. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43829. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  43830. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  43831. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  43832. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  43833. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  43834. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  43835. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43836. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43837. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43838. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43839. ==18304==  Block was alloc'd by thread #14
  43840. ==18304==
  43841. ==18304==  Lock at 0x92F9638 was first observed
  43842. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43843. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  43844. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  43845. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  43846. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  43847. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43848. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43849. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43850. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  43851. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  43852. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  43853. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  43854. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  43855. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43856. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43857. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43858. ==18304==  Block was alloc'd by thread #27
  43859. ==18304==
  43860. ==18304==  Lock at 0x9342088 was first observed
  43861. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43862. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  43863. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  43864. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  43865. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  43866. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  43867. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  43868. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43869. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43870. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43871. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43872. ==18304==  Address 0x9342088 is 40 bytes inside a block of size 80 alloc'd
  43873. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  43874. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  43875. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  43876. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  43877. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  43878. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  43879. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  43880. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43881. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43882. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43883. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43884. ==18304==  Block was alloc'd by thread #14
  43885. ==18304==
  43886. ==18304== Possible data race during read of size 8 at 0x9346608 by thread #14
  43887. ==18304== Locks held: 1, at address 0x9346648
  43888. ==18304==    at 0x951B95E: su_base_port_step (su_base_port.c:464)
  43889. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  43890. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43891. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43892. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43893. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43894. ==18304==
  43895. ==18304== This conflicts with a previous write of size 8 by thread #27
  43896. ==18304== Locks held: 2, at addresses 0x92F9638 0x9342088
  43897. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  43898. ==18304==    by 0x94E939D: nua_stack_event (nua_stack.c:328)
  43899. ==18304==    by 0x94E098A: signal_call_state_change (nua_session.c:4225)
  43900. ==18304==    by 0x94E6248: nua_bye_client_report (nua_session.c:3907)
  43901. ==18304==    by 0x94D05B5: nua_base_client_response (nua_client.c:1521)
  43902. ==18304==    by 0x94D0968: nua_client_response (nua_client.c:1105)
  43903. ==18304==    by 0x94D0ABB: nua_client_orq_response (nua_client.c:995)
  43904. ==18304==    by 0x94BA9A7: outgoing_recv (nta.c:9518)
  43905. ==18304==  Address 0x9346608 is 56 bytes inside a block of size 216 alloc'd
  43906. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  43907. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  43908. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  43909. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  43910. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  43911. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43912. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43913. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43914. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43915. ==18304==  Block was alloc'd by thread #14
  43916. ==18304==
  43917. ==18304== ----------------------------------------------------------------
  43918. ==18304==
  43919. ==18304== Thread #50: Exiting thread still holds 2 locks
  43920. ==18304==    at 0x5181066: __exit_thread (exit-thread.h:36)
  43921. ==18304==    by 0x5181066: start_thread (pthread_create.c:607)
  43922. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43923. ==18304==
  43924. ==18304== ----------------------------------------------------------------
  43925. ==18304==
  43926. ==18304== Thread #47: lock order "0x79E0688 before 0x7B89680" violated
  43927. ==18304==
  43928. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7B89680
  43929. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  43930. ==18304==    by 0x4CE22B1: get_handle (switch_core_sqldb.c:191)
  43931. ==18304==    by 0x4CE22B1: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  43932. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  43933. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  43934. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  43935. ==18304==    by 0x4CCEFAD: switch_console_expand_alias (switch_console.c:253)
  43936. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  43937. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  43938. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  43939. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43940. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43941. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43942. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43943. ==18304==
  43944. ==18304==  followed by a later acquisition of lock at 0x79E0688
  43945. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  43946. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  43947. ==18304==    by 0x4CE22FF: get_handle (switch_core_sqldb.c:199)
  43948. ==18304==    by 0x4CE22FF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  43949. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  43950. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  43951. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  43952. ==18304==    by 0x4CCEFAD: switch_console_expand_alias (switch_console.c:253)
  43953. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  43954. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  43955. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  43956. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43957. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43958. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43959. ==18304==
  43960. ==18304== Required order was established by acquisition of lock at 0x79E0688
  43961. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  43962. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  43963. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  43964. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  43965. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  43966. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  43967. ==18304==    by 0x4CCEFAD: switch_console_expand_alias (switch_console.c:253)
  43968. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  43969. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  43970. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  43971. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43972. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43973. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43974. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43975. ==18304==
  43976. ==18304==  followed by a later acquisition of lock at 0x7B89680
  43977. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  43978. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  43979. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  43980. ==18304==    by 0x4CCF1DC: switch_console_expand_alias (switch_console.c:305)
  43981. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  43982. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  43983. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  43984. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  43985. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  43986. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  43987. ==18304==    by 0x560E4CE: clone (clone.S:95)
  43988. ==18304==
  43989. ==18304==  Lock at 0x79E0688 was first observed
  43990. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  43991. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  43992. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  43993. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  43994. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  43995. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  43996. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  43997. ==18304==    by 0x4CCEFAD: switch_console_expand_alias (switch_console.c:253)
  43998. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  43999. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  44000. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  44001. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44002. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44003. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44004. ==18304==  Address 0x79e0688 is 1,144 bytes inside a block of size 8,192 alloc'd
  44005. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44006. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  44007. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  44008. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  44009. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  44010. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  44011. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  44012. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:252)
  44013. ==18304==    by 0x4CE2FA2: _switch_core_db_handle (switch_core_sqldb.c:235)
  44014. ==18304==    by 0x4CCEFAD: switch_console_expand_alias (switch_console.c:253)
  44015. ==18304==    by 0x4CCF300: switch_console_execute.part.1 (switch_console.c:385)
  44016. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  44017. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  44018. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44019. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44020. ==18304==  Block was alloc'd by thread #47
  44021. ==18304==
  44022. ==18304==  Lock at 0x7B89680 was first observed
  44023. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  44024. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  44025. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  44026. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  44027. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  44028. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  44029. ==18304==    by 0x10AEC7: main (switch.c:1200)
  44030. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  44031. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44032. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  44033. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  44034. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  44035. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  44036. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  44037. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  44038. ==18304==    by 0x10AEC7: main (switch.c:1200)
  44039. ==18304==  Block was alloc'd by thread #1
  44040. ==18304==
  44041. ==18304==
  44042. ==18304== ----------------------------------------------------------------
  44043. ==18304==
  44044. ==18304== Possible data race during write of size 1 at 0x50FC400 by thread #47
  44045. ==18304== Locks held: none
  44046. ==18304==    at 0x4CFFF5A: switch_core_session_ctl (switch_core.c:2895)
  44047. ==18304==    by 0x12D2D549: shutdown_function (mod_commands.c:656)
  44048. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  44049. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  44050. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  44051. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  44052. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44053. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44054. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44055. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44056. ==18304==  Address 0x50fc400 is 320 bytes inside data symbol "runtime"
  44057. ==18304==
  44058. ==18304== ----------------------------------------------------------------
  44059. ==18304==
  44060. ==18304== Possible data race during read of size 1 at 0x50FC400 by thread #1
  44061. ==18304== Locks held: none
  44062. ==18304==    at 0x4CFFF88: switch_core_session_ctl (switch_core.c:2898)
  44063. ==18304==    by 0x4CD0E88: switch_console_loop (switch_console.c:1181)
  44064. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44065. ==18304==
  44066. ==18304== This conflicts with a previous write of size 1 by thread #47
  44067. ==18304== Locks held: none
  44068. ==18304==    at 0x4CFFF5A: switch_core_session_ctl (switch_core.c:2895)
  44069. ==18304==    by 0x12D2D549: shutdown_function (mod_commands.c:656)
  44070. ==18304==    by 0x4D49934: switch_api_execute (switch_loadable_module.c:3010)
  44071. ==18304==    by 0x4CCF367: switch_console_execute.part.1 (switch_console.c:393)
  44072. ==18304==    by 0x4CCF4AF: switch_console_process (switch_console.c:321)
  44073. ==18304==    by 0x4CCF5CB: console_thread (switch_console.c:1077)
  44074. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44075. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44076. ==18304==  Address 0x50fc400 is 320 bytes inside data symbol "runtime"
  44077. ==18304==
  44078. ==18304== ----------------------------------------------------------------
  44079. ==18304==
  44080. ==18304== Possible data race during write of size 4 at 0x50FC1D0 by thread #1
  44081. ==18304== Locks held: none
  44082. ==18304==    at 0x5E0E9A5: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44083. ==18304==    by 0x4CD0EB1: switch_console_loop (switch_console.c:1188)
  44084. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44085. ==18304==
  44086. ==18304== This conflicts with a previous write of size 4 by thread #47
  44087. ==18304== Locks held: none
  44088. ==18304==    at 0x5E0E9A5: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44089. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44090. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44091. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44092. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44093. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44094. ==18304==  Address 0x50fc1d0 is 0 bytes inside data symbol "ev"
  44095. ==18304==
  44096. ==18304== ----------------------------------------------------------------
  44097. ==18304==
  44098. ==18304== Possible data race during write of size 8 at 0x50FC1D8 by thread #1
  44099. ==18304== Locks held: none
  44100. ==18304==    at 0x5E0E9AB: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44101. ==18304==    by 0x4CD0EB1: switch_console_loop (switch_console.c:1188)
  44102. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44103. ==18304==
  44104. ==18304== This conflicts with a previous write of size 8 by thread #47
  44105. ==18304== Locks held: none
  44106. ==18304==    at 0x5E0E9AB: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44107. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44108. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44109. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44110. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44111. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44112. ==18304==  Address 0x50fc1d8 is 8 bytes inside data symbol "ev"
  44113. ==18304==
  44114. ==18304== ----------------------------------------------------------------
  44115. ==18304==
  44116. ==18304== Possible data race during write of size 8 at 0x13048B38 by thread #1
  44117. ==18304== Locks held: none
  44118. ==18304==    at 0x5E0E104: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44119. ==18304==    by 0x5E0E3C6: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44120. ==18304==    by 0x5E0ED13: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44121. ==18304==    by 0x4CD0EB1: switch_console_loop (switch_console.c:1188)
  44122. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44123. ==18304==
  44124. ==18304== This conflicts with a previous write of size 8 by thread #47
  44125. ==18304== Locks held: none
  44126. ==18304==    at 0x5E0E63E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44127. ==18304==    by 0x5E0F077: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44128. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44129. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44130. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44131. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44132. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44133. ==18304==  Address 0x13048b38 is 40 bytes inside a block of size 64 alloc'd
  44134. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44135. ==18304==    by 0x5E0E7CD: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44136. ==18304==    by 0x5E0E82E: history_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44137. ==18304==    by 0x4CD0D4E: switch_console_loop (switch_console.c:1159)
  44138. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44139. ==18304==  Block was alloc'd by thread #1
  44140. ==18304==
  44141. ==18304== ----------------------------------------------------------------
  44142. ==18304==
  44143. ==18304== Possible data race during read of size 8 at 0x129A0CB0 by thread #1
  44144. ==18304== Locks held: none
  44145. ==18304==    at 0x5E0E3F9: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44146. ==18304==    by 0x5E0E321: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44147. ==18304==    by 0x5E0ED13: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44148. ==18304==    by 0x4CD0EB1: switch_console_loop (switch_console.c:1188)
  44149. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44150. ==18304==  Address 0x129a0cb0 is 32 bytes inside a block of size 40 alloc'd
  44151. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44152. ==18304==    by 0x5E0E5DF: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44153. ==18304==    by 0x5E0F687: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44154. ==18304==    by 0x4CD0DF4: switch_console_loop (switch_console.c:1170)
  44155. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44156. ==18304==  Block was alloc'd by thread #1
  44157. ==18304==
  44158. ==18304== ----------------------------------------------------------------
  44159. ==18304==
  44160. ==18304== Possible data race during read of size 8 at 0x7A45F70 by thread #1
  44161. ==18304== Locks held: none
  44162. ==18304==    at 0x5E0E402: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44163. ==18304==    by 0x5E0E321: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44164. ==18304==    by 0x5E0ED13: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44165. ==18304==    by 0x4CD0EB1: switch_console_loop (switch_console.c:1188)
  44166. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44167. ==18304==  Address 0x7a45f70 is 0 bytes inside a block of size 40 alloc'd
  44168. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44169. ==18304==    by 0x5E0E5DF: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44170. ==18304==    by 0x5E0F077: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44171. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44172. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44173. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44174. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44175. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44176. ==18304==  Block was alloc'd by thread #47
  44177. ==18304==
  44178. ==18304== ----------------------------------------------------------------
  44179. ==18304==
  44180. ==18304== Possible data race during read of size 1 at 0x1297C5B0 by thread #1
  44181. ==18304== Locks held: none
  44182. ==18304==    at 0x483EA02: __strlen_sse2 (vg_replace_strmem.c:462)
  44183. ==18304==    by 0x5E0E2B4: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44184. ==18304==    by 0x5E0ED13: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44185. ==18304==    by 0x4CD0EB1: switch_console_loop (switch_console.c:1188)
  44186. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44187. ==18304==  Address 0x1297c5b0 is 0 bytes inside a block of size 23 alloc'd
  44188. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44189. ==18304==    by 0x559CDB9: strdup (strdup.c:42)
  44190. ==18304==    by 0x5E0E5F3: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44191. ==18304==    by 0x5E0F077: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44192. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44193. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44194. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44195. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44196. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44197. ==18304==  Block was alloc'd by thread #47
  44198. ==18304==
  44199. ==18304== ----------------------------------------------------------------
  44200. ==18304==
  44201. ==18304== Possible data race during read of size 1 at 0x1297C5B1 by thread #1
  44202. ==18304== Locks held: none
  44203. ==18304==    at 0x483EA14: __strlen_sse2 (vg_replace_strmem.c:462)
  44204. ==18304==    by 0x5E0E2B4: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44205. ==18304==    by 0x5E0ED13: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44206. ==18304==    by 0x4CD0EB1: switch_console_loop (switch_console.c:1188)
  44207. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44208. ==18304==  Address 0x1297c5b1 is 1 bytes inside a block of size 23 alloc'd
  44209. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44210. ==18304==    by 0x559CDB9: strdup (strdup.c:42)
  44211. ==18304==    by 0x5E0E5F3: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44212. ==18304==    by 0x5E0F077: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44213. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44214. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44215. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44216. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44217. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44218. ==18304==  Block was alloc'd by thread #47
  44219. ==18304==
  44220. ==18304== ----------------------------------------------------------------
  44221. ==18304==
  44222. ==18304== Possible data race during read of size 4 at 0x932F5A0 by thread #1
  44223. ==18304== Locks held: none
  44224. ==18304==    at 0x5E0E402: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44225. ==18304==    by 0x5E0E321: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44226. ==18304==    by 0x5E0ED13: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44227. ==18304==    by 0x4CD0EB1: switch_console_loop (switch_console.c:1188)
  44228. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44229. ==18304==
  44230. ==18304== This conflicts with a previous write of size 8 by thread #50
  44231. ==18304== Locks held: 1, at addresses  (and 1 that can't be shown)
  44232. ==18304==    at 0x4D5367D: switch_event_destroy (switch_event.c:1283)
  44233. ==18304==    by 0x4CC1666: switch_channel_uninit (switch_channel.c:751)
  44234. ==18304==    by 0x4CEEE3A: switch_core_session_perform_destroy (switch_core_session.c:1575)
  44235. ==18304==    by 0x4CEF181: switch_core_session_thread (switch_core_session.c:1748)
  44236. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  44237. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44238. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44239. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44240. ==18304==  Address 0x932f5a0 is 0 bytes inside a block of size 40 alloc'd
  44241. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44242. ==18304==    by 0x5E0E5DF: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44243. ==18304==    by 0x5E0F077: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44244. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44245. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44246. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44247. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44248. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44249. ==18304==  Block was alloc'd by thread #47
  44250. ==18304==
  44251. ==18304== ----------------------------------------------------------------
  44252. ==18304==
  44253. ==18304== Possible data race during read of size 4 at 0x13048B44 by thread #1
  44254. ==18304== Locks held: none
  44255. ==18304==    at 0x5E0E4E0: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44256. ==18304==    by 0x5E0E907: history_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44257. ==18304==    by 0x4CD0EC9: switch_console_loop (switch_console.c:1192)
  44258. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44259. ==18304==
  44260. ==18304== This conflicts with a previous write of size 4 by thread #47
  44261. ==18304== Locks held: none
  44262. ==18304==    at 0x5E0E644: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44263. ==18304==    by 0x5E0F077: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44264. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44265. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44266. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44267. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44268. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44269. ==18304==  Address 0x13048b44 is 52 bytes inside a block of size 64 alloc'd
  44270. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44271. ==18304==    by 0x5E0E7CD: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44272. ==18304==    by 0x5E0E82E: history_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44273. ==18304==    by 0x4CD0D4E: switch_console_loop (switch_console.c:1159)
  44274. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44275. ==18304==  Block was alloc'd by thread #1
  44276. ==18304==
  44277. ==18304== ----------------------------------------------------------------
  44278. ==18304==
  44279. ==18304== Possible data race during write of size 4 at 0x13048B44 by thread #1
  44280. ==18304== Locks held: none
  44281. ==18304==    at 0x5E0E4E0: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44282. ==18304==    by 0x5E0E907: history_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44283. ==18304==    by 0x4CD0EC9: switch_console_loop (switch_console.c:1192)
  44284. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44285. ==18304==
  44286. ==18304== This conflicts with a previous write of size 4 by thread #47
  44287. ==18304== Locks held: none
  44288. ==18304==    at 0x5E0E644: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44289. ==18304==    by 0x5E0F077: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44290. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44291. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44292. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44293. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44294. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44295. ==18304==  Address 0x13048b44 is 52 bytes inside a block of size 64 alloc'd
  44296. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44297. ==18304==    by 0x5E0E7CD: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44298. ==18304==    by 0x5E0E82E: history_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44299. ==18304==    by 0x4CD0D4E: switch_console_loop (switch_console.c:1159)
  44300. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44301. ==18304==  Block was alloc'd by thread #1
  44302. ==18304==
  44303. ==18304== ----------------------------------------------------------------
  44304. ==18304==
  44305. ==18304== Possible data race during write of size 8 at 0x7A45F88 by thread #1
  44306. ==18304== Locks held: none
  44307. ==18304==    at 0x5E0E4C3: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44308. ==18304==    by 0x5E0E907: history_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44309. ==18304==    by 0x4CD0EC9: switch_console_loop (switch_console.c:1192)
  44310. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44311. ==18304==  Address 0x7a45f88 is 24 bytes inside a block of size 40 alloc'd
  44312. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44313. ==18304==    by 0x5E0E5DF: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44314. ==18304==    by 0x5E0F077: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44315. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44316. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44317. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44318. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44319. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44320. ==18304==  Block was alloc'd by thread #47
  44321. ==18304==
  44322. ==18304== ----------------------------------------------------------------
  44323. ==18304==
  44324. ==18304== Possible data race during write of size 4 at 0x13048B44 by thread #1
  44325. ==18304== Locks held: none
  44326. ==18304==    at 0x5E0E919: history_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44327. ==18304==    by 0x4CD0EC9: switch_console_loop (switch_console.c:1192)
  44328. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44329. ==18304==
  44330. ==18304== This conflicts with a previous write of size 4 by thread #47
  44331. ==18304== Locks held: none
  44332. ==18304==    at 0x5E0E644: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44333. ==18304==    by 0x5E0F077: history (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44334. ==18304==    by 0x4CCF5C3: console_thread (switch_console.c:1076)
  44335. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44336. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44337. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44338. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44339. ==18304==  Address 0x13048b44 is 52 bytes inside a block of size 64 alloc'd
  44340. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  44341. ==18304==    by 0x5E0E7CD: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44342. ==18304==    by 0x5E0E82E: history_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44343. ==18304==    by 0x4CD0D4E: switch_console_loop (switch_console.c:1159)
  44344. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44345. ==18304==  Block was alloc'd by thread #1
  44346. ==18304==
  44347. ==18304== ----------------------------------------------------------------
  44348. ==18304==
  44349. ==18304== Possible data race during read of size 1 at 0x7D794E8 by thread #1
  44350. ==18304== Locks held: none
  44351. ==18304==    at 0x5E0A138: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44352. ==18304==    by 0x5DFDB08: el_reset (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44353. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44354. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44355. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44356. ==18304==
  44357. ==18304== This conflicts with a previous write of size 1 by thread #47
  44358. ==18304== Locks held: none
  44359. ==18304==    at 0x5E0A0F2: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44360. ==18304==    by 0x5E035BA: el_wgetc (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44361. ==18304==    by 0x5E03712: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44362. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44363. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44364. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44365. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44366. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44367. ==18304==  Address 0x7d794e8 is 776 bytes inside a block of size 1,344 alloc'd
  44368. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44369. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44370. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44371. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44372. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44373. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44374. ==18304==  Block was alloc'd by thread #1
  44375. ==18304==
  44376. ==18304== ----------------------------------------------------------------
  44377. ==18304==
  44378. ==18304== Possible data race during write of size 8 at 0x7D79548 by thread #1
  44379. ==18304== Locks held: none
  44380. ==18304==    at 0x5DFC504: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44381. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44382. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44383. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44384. ==18304==
  44385. ==18304== This conflicts with a previous write of size 8 by thread #47
  44386. ==18304== Locks held: none
  44387. ==18304==    at 0x5DFC504: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44388. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44389. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44390. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44391. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44392. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44393. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44394. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44395. ==18304==  Address 0x7d79548 is 872 bytes inside a block of size 1,344 alloc'd
  44396. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44397. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44398. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44399. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44400. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44401. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44402. ==18304==  Block was alloc'd by thread #1
  44403. ==18304==
  44404. ==18304== ----------------------------------------------------------------
  44405. ==18304==
  44406. ==18304== Possible data race during write of size 4 at 0x7D79550 by thread #1
  44407. ==18304== Locks held: none
  44408. ==18304==    at 0x5DFC50F: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44409. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44410. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44411. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44412. ==18304==
  44413. ==18304== This conflicts with a previous write of size 4 by thread #47
  44414. ==18304== Locks held: none
  44415. ==18304==    at 0x5DFC50F: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44416. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44417. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44418. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44419. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44420. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44421. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44422. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44423. ==18304==  Address 0x7d79550 is 880 bytes inside a block of size 1,344 alloc'd
  44424. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44425. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44426. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44427. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44428. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44429. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44430. ==18304==  Block was alloc'd by thread #1
  44431. ==18304==
  44432. ==18304== ----------------------------------------------------------------
  44433. ==18304==
  44434. ==18304== Possible data race during write of size 8 at 0x7D79238 by thread #1
  44435. ==18304== Locks held: none
  44436. ==18304==    at 0x5DFC519: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44437. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44438. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44439. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44440. ==18304==
  44441. ==18304== This conflicts with a previous read of size 8 by thread #47
  44442. ==18304== Locks held: none
  44443. ==18304==    at 0x5DFC9A8: el_deletestr (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44444. ==18304==    by 0x4CCF5E8: console_thread (switch_console.c:1078)
  44445. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44446. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44447. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44448. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44449. ==18304==  Address 0x7d79238 is 88 bytes inside a block of size 1,344 alloc'd
  44450. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44451. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44452. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44453. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44454. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44455. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44456. ==18304==  Block was alloc'd by thread #1
  44457. ==18304==
  44458. ==18304== ----------------------------------------------------------------
  44459. ==18304==
  44460. ==18304== Possible data race during write of size 8 at 0x7D79240 by thread #1
  44461. ==18304== Locks held: none
  44462. ==18304==    at 0x5DFC51D: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44463. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44464. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44465. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44466. ==18304==
  44467. ==18304== This conflicts with a previous write of size 8 by thread #47
  44468. ==18304== Locks held: none
  44469. ==18304==    at 0x5DFC51D: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44470. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44471. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44472. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44473. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44474. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44475. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44476. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44477. ==18304==  Address 0x7d79240 is 96 bytes inside a block of size 1,344 alloc'd
  44478. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44479. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44480. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44481. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44482. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44483. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44484. ==18304==  Block was alloc'd by thread #1
  44485. ==18304==
  44486. ==18304== ----------------------------------------------------------------
  44487. ==18304==
  44488. ==18304== Possible data race during write of size 8 at 0x7D795A8 by thread #1
  44489. ==18304== Locks held: none
  44490. ==18304==    at 0x5DFC521: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44491. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44492. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44493. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44494. ==18304==
  44495. ==18304== This conflicts with a previous write of size 8 by thread #47
  44496. ==18304== Locks held: none
  44497. ==18304==    at 0x5DFC521: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44498. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44499. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44500. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44501. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44502. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44503. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44504. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44505. ==18304==  Address 0x7d795a8 is 968 bytes inside a block of size 1,344 alloc'd
  44506. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44507. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44508. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44509. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44510. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44511. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44512. ==18304==  Block was alloc'd by thread #1
  44513. ==18304==
  44514. ==18304== ----------------------------------------------------------------
  44515. ==18304==
  44516. ==18304== Possible data race during write of size 8 at 0x7D79570 by thread #1
  44517. ==18304== Locks held: none
  44518. ==18304==    at 0x5DFC528: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44519. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44520. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44521. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44522. ==18304==
  44523. ==18304== This conflicts with a previous write of size 8 by thread #47
  44524. ==18304== Locks held: none
  44525. ==18304==    at 0x5DFC528: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44526. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44527. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44528. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44529. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44530. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44531. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44532. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44533. ==18304==  Address 0x7d79570 is 912 bytes inside a block of size 1,344 alloc'd
  44534. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44535. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44536. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44537. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44538. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44539. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44540. ==18304==  Block was alloc'd by thread #1
  44541. ==18304==
  44542. ==18304== ----------------------------------------------------------------
  44543. ==18304==
  44544. ==18304== Possible data race during write of size 4 at 0x7D795A0 by thread #1
  44545. ==18304== Locks held: none
  44546. ==18304==    at 0x5DFC536: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44547. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44548. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44549. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44550. ==18304==
  44551. ==18304== This conflicts with a previous write of size 4 by thread #47
  44552. ==18304== Locks held: none
  44553. ==18304==    at 0x5DFC536: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44554. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44555. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44556. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44557. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44558. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44559. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44560. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44561. ==18304==  Address 0x7d795a0 is 960 bytes inside a block of size 1,344 alloc'd
  44562. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44563. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44564. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44565. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44566. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44567. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44568. ==18304==  Block was alloc'd by thread #1
  44569. ==18304==
  44570. ==18304== ----------------------------------------------------------------
  44571. ==18304==
  44572. ==18304== Possible data race during write of size 8 at 0x7D795E0 by thread #1
  44573. ==18304== Locks held: none
  44574. ==18304==    at 0x5DFC540: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44575. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44576. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44577. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44578. ==18304==
  44579. ==18304== This conflicts with a previous write of size 8 by thread #47
  44580. ==18304== Locks held: none
  44581. ==18304==    at 0x5DFC540: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44582. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44583. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44584. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44585. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44586. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44587. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44588. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44589. ==18304==  Address 0x7d795e0 is 1,024 bytes inside a block of size 1,344 alloc'd
  44590. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44591. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44592. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44593. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44594. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44595. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44596. ==18304==  Block was alloc'd by thread #1
  44597. ==18304==
  44598. ==18304== ----------------------------------------------------------------
  44599. ==18304==
  44600. ==18304== Possible data race during write of size 4 at 0x7D79250 by thread #1
  44601. ==18304== Locks held: none
  44602. ==18304==    at 0x5DFC547: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44603. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44604. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44605. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44606. ==18304==
  44607. ==18304== This conflicts with a previous write of size 8 by thread #47
  44608. ==18304== Locks held: none
  44609. ==18304==    at 0x5DFC547: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44610. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44611. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44612. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44613. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44614. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44615. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44616. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44617. ==18304==  Address 0x7d79250 is 112 bytes inside a block of size 1,344 alloc'd
  44618. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44619. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44620. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44621. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44622. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44623. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44624. ==18304==  Block was alloc'd by thread #1
  44625. ==18304==
  44626. ==18304== ----------------------------------------------------------------
  44627. ==18304==
  44628. ==18304== Possible data race during write of size 4 at 0x7D79258 by thread #1
  44629. ==18304== Locks held: none
  44630. ==18304==    at 0x5DFC54F: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44631. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44632. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44633. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44634. ==18304==
  44635. ==18304== This conflicts with a previous write of size 8 by thread #47
  44636. ==18304== Locks held: none
  44637. ==18304==    at 0x5DFC54F: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44638. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44639. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44640. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44641. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44642. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44643. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44644. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44645. ==18304==  Address 0x7d79258 is 120 bytes inside a block of size 1,344 alloc'd
  44646. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44647. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44648. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44649. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44650. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44651. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44652. ==18304==  Block was alloc'd by thread #1
  44653. ==18304==
  44654. ==18304== ----------------------------------------------------------------
  44655. ==18304==
  44656. ==18304== Possible data race during write of size 1 at 0x7D79260 by thread #1
  44657. ==18304== Locks held: none
  44658. ==18304==    at 0x5DFC557: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44659. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44660. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44661. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44662. ==18304==
  44663. ==18304== This conflicts with a previous write of size 1 by thread #47
  44664. ==18304== Locks held: none
  44665. ==18304==    at 0x5DFC557: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44666. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44667. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44668. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44669. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44670. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44671. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44672. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44673. ==18304==  Address 0x7d79260 is 128 bytes inside a block of size 1,344 alloc'd
  44674. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44675. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44676. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44677. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44678. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44679. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44680. ==18304==  Block was alloc'd by thread #1
  44681. ==18304==
  44682. ==18304== ----------------------------------------------------------------
  44683. ==18304==
  44684. ==18304== Possible data race during write of size 4 at 0x7D79650 by thread #1
  44685. ==18304== Locks held: none
  44686. ==18304==    at 0x5DFC55E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44687. ==18304==    by 0x5DFDB31: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44688. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44689. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44690. ==18304==
  44691. ==18304== This conflicts with a previous write of size 4 by thread #47
  44692. ==18304== Locks held: none
  44693. ==18304==    at 0x5DFC55E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44694. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44695. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44696. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44697. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44698. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44699. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44700. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44701. ==18304==  Address 0x7d79650 is 1,136 bytes inside a block of size 1,344 alloc'd
  44702. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44703. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44704. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44705. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44706. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44707. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44708. ==18304==  Block was alloc'd by thread #1
  44709. ==18304==
  44710. ==18304== ----------------------------------------------------------------
  44711. ==18304==
  44712. ==18304== Possible data race during write of size 8 at 0x7D79298 by thread #1
  44713. ==18304== Locks held: none
  44714. ==18304==    at 0x5E06F27: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44715. ==18304==    by 0x5DFDB39: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44716. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44717. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44718. ==18304==
  44719. ==18304== This conflicts with a previous read of size 8 by thread #47
  44720. ==18304== Locks held: none
  44721. ==18304==    at 0x5E07111: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44722. ==18304==    by 0x5DFEC11: el_resize (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44723. ==18304==    by 0x5E0360E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44724. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44725. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44726. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44727. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44728. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44729. ==18304==  Address 0x7d79298 is 184 bytes inside a block of size 1,344 alloc'd
  44730. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44731. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44732. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44733. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44734. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44735. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44736. ==18304==  Block was alloc'd by thread #1
  44737. ==18304==
  44738. ==18304== ----------------------------------------------------------------
  44739. ==18304==
  44740. ==18304== Possible data race during write of size 8 at 0x7D79218 by thread #1
  44741. ==18304== Locks held: none
  44742. ==18304==    at 0x5E068AE: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44743. ==18304==    by 0x5E06F4A: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44744. ==18304==    by 0x5DFDB39: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44745. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44746. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44747. ==18304==
  44748. ==18304== This conflicts with a previous read of size 8 by thread #47
  44749. ==18304== Locks held: none
  44750. ==18304==    at 0x5E05382: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44751. ==18304==    by 0x5E03616: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44752. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44753. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44754. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44755. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44756. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44757. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44758. ==18304==  Address 0x7d79218 is 56 bytes inside a block of size 1,344 alloc'd
  44759. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44760. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44761. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44762. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44763. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44764. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44765. ==18304==  Block was alloc'd by thread #1
  44766. ==18304==
  44767. ==18304== ----------------------------------------------------------------
  44768. ==18304==
  44769. ==18304== Possible data race during write of size 8 at 0x7D79220 by thread #1
  44770. ==18304== Locks held: none
  44771. ==18304==    at 0x5E068AE: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44772. ==18304==    by 0x5DFDB39: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44773. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44774. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44775. ==18304==
  44776. ==18304== This conflicts with a previous read of size 8 by thread #47
  44777. ==18304== Locks held: none
  44778. ==18304==    at 0x5E03FD1: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44779. ==18304==    by 0x5E02EB4: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44780. ==18304==    by 0x5E04122: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44781. ==18304==    by 0x5E03626: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44782. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44783. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44784. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44785. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44786. ==18304==  Address 0x7d79220 is 64 bytes inside a block of size 1,344 alloc'd
  44787. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44788. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44789. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44790. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44791. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44792. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44793. ==18304==  Block was alloc'd by thread #1
  44794. ==18304==
  44795. ==18304== ----------------------------------------------------------------
  44796. ==18304==
  44797. ==18304== Possible data race during write of size 8 at 0x7D795D0 by thread #1
  44798. ==18304== Locks held: none
  44799. ==18304==    at 0x5E016F7: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44800. ==18304==    by 0x5DFDB49: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44801. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44802. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44803. ==18304==
  44804. ==18304== This conflicts with a previous read of size 8 by thread #47
  44805. ==18304== Locks held: none
  44806. ==18304==    at 0x5E040F3: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44807. ==18304==    by 0x5E03626: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44808. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44809. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44810. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44811. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44812. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44813. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44814. ==18304==  Address 0x7d795d0 is 1,008 bytes inside a block of size 1,344 alloc'd
  44815. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44816. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44817. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44818. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44819. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44820. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44821. ==18304==  Block was alloc'd by thread #1
  44822. ==18304==
  44823. ==18304== ----------------------------------------------------------------
  44824. ==18304==
  44825. ==18304== Possible data race during write of size 8 at 0x7D795D8 by thread #1
  44826. ==18304== Locks held: none
  44827. ==18304==    at 0x5E0170E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44828. ==18304==    by 0x5DFDB49: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44829. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44830. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44831. ==18304==
  44832. ==18304== This conflicts with a previous read of size 8 by thread #47
  44833. ==18304== Locks held: none
  44834. ==18304==    at 0x5DFC52F: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44835. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44836. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44837. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44838. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44839. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44840. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44841. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44842. ==18304==  Address 0x7d795d8 is 1,016 bytes inside a block of size 1,344 alloc'd
  44843. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44844. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44845. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44846. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44847. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44848. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44849. ==18304==  Block was alloc'd by thread #1
  44850. ==18304==
  44851. ==18304== ----------------------------------------------------------------
  44852. ==18304==
  44853. ==18304== Possible data race during write of size 8 at 0x7D795E8 by thread #1
  44854. ==18304== Locks held: none
  44855. ==18304==    at 0x5E01719: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44856. ==18304==    by 0x5DFDB49: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44857. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44858. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44859. ==18304==  Address 0x7d795e8 is 1,032 bytes inside a block of size 1,344 alloc'd
  44860. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44861. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44862. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44863. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44864. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44865. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44866. ==18304==  Block was alloc'd by thread #1
  44867. ==18304==
  44868. ==18304== ----------------------------------------------------------------
  44869. ==18304==
  44870. ==18304== Possible data race during write of size 8 at 0x7D79610 by thread #1
  44871. ==18304== Locks held: none
  44872. ==18304==    at 0x5E01756: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44873. ==18304==    by 0x5DFDB49: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44874. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44875. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44876. ==18304==
  44877. ==18304== This conflicts with a previous read of size 8 by thread #47
  44878. ==18304== Locks held: none
  44879. ==18304==    at 0x5E03785: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44880. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44881. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44882. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44883. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44884. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44885. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44886. ==18304==  Address 0x7d79610 is 1,072 bytes inside a block of size 1,344 alloc'd
  44887. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44888. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44889. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44890. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44891. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44892. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44893. ==18304==  Block was alloc'd by thread #1
  44894. ==18304==
  44895. ==18304== ----------------------------------------------------------------
  44896. ==18304==
  44897. ==18304== Possible data race during write of size 8 at 0x7D79230 by thread #1
  44898. ==18304== Locks held: none
  44899. ==18304==    at 0x5DFC81D: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44900. ==18304==    by 0x5DFDB5B: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44901. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44902. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44903. ==18304==
  44904. ==18304== This conflicts with a previous read of size 8 by thread #47
  44905. ==18304== Locks held: none
  44906. ==18304==    at 0x5DFC9A1: el_deletestr (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44907. ==18304==    by 0x4CCF5E8: console_thread (switch_console.c:1078)
  44908. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44909. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44910. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44911. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44912. ==18304==  Address 0x7d79230 is 80 bytes inside a block of size 1,344 alloc'd
  44913. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44914. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44915. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44916. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44917. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44918. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44919. ==18304==  Block was alloc'd by thread #1
  44920. ==18304==
  44921. ==18304== ----------------------------------------------------------------
  44922. ==18304==
  44923. ==18304== Possible data race during write of size 8 at 0x7D79248 by thread #1
  44924. ==18304== Locks held: none
  44925. ==18304==    at 0x5DFC82C: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44926. ==18304==    by 0x5DFDB5B: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44927. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44928. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44929. ==18304==
  44930. ==18304== This conflicts with a previous read of size 8 by thread #47
  44931. ==18304== Locks held: none
  44932. ==18304==    at 0x5DFCC61: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44933. ==18304==    by 0x5E03791: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44934. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44935. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44936. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44937. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44938. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44939. ==18304==    by 0x560E4CE: clone (clone.S:95)
  44940. ==18304==  Address 0x7d79248 is 104 bytes inside a block of size 1,344 alloc'd
  44941. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44942. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44943. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44944. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44945. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44946. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44947. ==18304==  Block was alloc'd by thread #1
  44948. ==18304==
  44949. ==18304== ----------------------------------------------------------------
  44950. ==18304==
  44951. ==18304== Possible data race during write of size 8 at 0x7D795A8 by thread #1
  44952. ==18304== Locks held: none
  44953. ==18304==    at 0x5DFC8A6: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44954. ==18304==    by 0x5DFDB5B: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44955. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44956. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44957. ==18304==
  44958. ==18304== This conflicts with a previous write of size 8 by thread #47
  44959. ==18304== Locks held: none
  44960. ==18304==    at 0x5DFC521: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44961. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44962. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44963. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44964. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44965. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44966. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44967. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44968. ==18304==  Address 0x7d795a8 is 968 bytes inside a block of size 1,344 alloc'd
  44969. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44970. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44971. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44972. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44973. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  44974. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44975. ==18304==  Block was alloc'd by thread #1
  44976. ==18304==
  44977. ==18304== ----------------------------------------------------------------
  44978. ==18304==
  44979. ==18304== Possible data race during write of size 4 at 0x7D795A0 by thread #1
  44980. ==18304== Locks held: none
  44981. ==18304==    at 0x5DFC8C5: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44982. ==18304==    by 0x5DFDB5B: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44983. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  44984. ==18304==    by 0x10AEFC: main (switch.c:1227)
  44985. ==18304==
  44986. ==18304== This conflicts with a previous write of size 4 by thread #47
  44987. ==18304== Locks held: none
  44988. ==18304==    at 0x5DFC536: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44989. ==18304==    by 0x5E0361E: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44990. ==18304==    by 0x5E03A3C: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44991. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44992. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  44993. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  44994. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  44995. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  44996. ==18304==  Address 0x7d795a0 is 960 bytes inside a block of size 1,344 alloc'd
  44997. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  44998. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  44999. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45000. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45001. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  45002. ==18304==    by 0x10AEFC: main (switch.c:1227)
  45003. ==18304==  Block was alloc'd by thread #1
  45004. ==18304==
  45005. ==18304== ----------------------------------------------------------------
  45006. ==18304==
  45007. ==18304== Possible data race during write of size 8 at 0x7D79698 by thread #1
  45008. ==18304== Locks held: none
  45009. ==18304==    at 0x5E06600: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45010. ==18304==    by 0x5DFDB87: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45011. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  45012. ==18304==    by 0x10AEFC: main (switch.c:1227)
  45013. ==18304==
  45014. ==18304== This conflicts with a previous read of size 8 by thread #47
  45015. ==18304== Locks held: none
  45016. ==18304==    at 0x5E03218: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45017. ==18304==    by 0x5E035CF: el_wgetc (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45018. ==18304==    by 0x5E03712: el_wgets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45019. ==18304==    by 0x5DFEDC2: el_gets (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45020. ==18304==    by 0x4CCF656: console_thread (switch_console.c:1064)
  45021. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45022. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45023. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45024. ==18304==  Address 0x7d79698 is 1,208 bytes inside a block of size 1,344 alloc'd
  45025. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  45026. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45027. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45028. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45029. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  45030. ==18304==    by 0x10AEFC: main (switch.c:1227)
  45031. ==18304==  Block was alloc'd by thread #1
  45032. ==18304==
  45033. ==18304== ----------------------------------------------------------------
  45034. ==18304==
  45035. ==18304== Possible data race during read of size 8 at 0x7D796E8 by thread #1
  45036. ==18304== Locks held: none
  45037. ==18304==    at 0x5DFDBC8: el_end (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45038. ==18304==    by 0x4CD0ED5: switch_console_loop (switch_console.c:1193)
  45039. ==18304==    by 0x10AEFC: main (switch.c:1227)
  45040. ==18304==  Address 0x7d796e8 is 1,288 bytes inside a block of size 1,344 alloc'd
  45041. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  45042. ==18304==    by 0x5DFDC40: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45043. ==18304==    by 0x5DFDD5F: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45044. ==18304==    by 0x5DFDDC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.59)
  45045. ==18304==    by 0x4CD075C: switch_console_loop (switch_console.c:1110)
  45046. ==18304==    by 0x10AEFC: main (switch.c:1227)
  45047. ==18304==  Block was alloc'd by thread #1
  45048. ==18304==
  45049. ==18304== ----------------------------------------------------------------
  45050. ==18304==
  45051. ==18304== Possible data race during write of size 1 at 0x50FC504 by thread #1
  45052. ==18304== Locks held: none
  45053. ==18304==    at 0x4CFF47F: switch_core_destroy (switch_core.c:3022)
  45054. ==18304==    by 0x10AF01: main (switch.c:1229)
  45055. ==18304==
  45056. ==18304== This conflicts with a previous read of size 1 by thread #47
  45057. ==18304== Locks held: none
  45058. ==18304==    at 0x4CFF979: switch_core_session_ctl (switch_core.c:2661)
  45059. ==18304==    by 0x4CCF63B: console_thread (switch_console.c:1059)
  45060. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45061. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45062. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45063. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45064. ==18304==  Address 0x50fc504 is 580 bytes inside data symbol "runtime"
  45065. ==18304==
  45066. ==18304== ----------------------------------------------------------------
  45067. ==18304==
  45068. ==18304== Thread #1: lock order "0x72FFE68 before 0x79E2370" violated
  45069. ==18304==
  45070. ==18304== Observed (incorrect) order is: acquisition of lock at 0x79E2370
  45071. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  45072. ==18304==    by 0x4D43E7B: switch_loadable_module_unprocess (switch_loadable_module.c:1141)
  45073. ==18304==    by 0x4D43E7B: do_shutdown (switch_loadable_module.c:2394)
  45074. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45075. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45076. ==18304==    by 0x10AF01: main (switch.c:1229)
  45077. ==18304==
  45078. ==18304==  followed by a later acquisition of lock at 0x72FFE68
  45079. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  45080. ==18304==    by 0x4CEBD5B: switch_core_session_hupall_matching_vars_ans (switch_core_session.c:225)
  45081. ==18304==    by 0x4CEC00F: switch_core_session_hupall_matching_var_ans (switch_core_session.c:284)
  45082. ==18304==    by 0x4D444AE: switch_loadable_module_unprocess (switch_loadable_module.c:1264)
  45083. ==18304==    by 0x4D444AE: do_shutdown (switch_loadable_module.c:2394)
  45084. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45085. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45086. ==18304==    by 0x10AF01: main (switch.c:1229)
  45087. ==18304==
  45088. ==18304==  Lock at 0x72FFE68 was first observed
  45089. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45090. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45091. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  45092. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  45093. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45094. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  45095. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45096. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45097. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45098. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  45099. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  45100. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  45101. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  45102. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45103. ==18304==  Block was alloc'd by thread #1
  45104. ==18304==
  45105. ==18304==  Lock at 0x79E2370 was first observed
  45106. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45107. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45108. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  45109. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45110. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45111. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  45112. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45113. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45114. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45115. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45116. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  45117. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45118. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45119. ==18304==  Block was alloc'd by thread #1
  45120. ==18304==
  45121. ==18304==
  45122. ==18304== ----------------------------------------------------------------
  45123. ==18304==
  45124. ==18304== Thread #1: lock order "0x12F90490 before 0x79E2370" violated
  45125. ==18304==
  45126. ==18304== Observed (incorrect) order is: acquisition of lock at 0x79E2370
  45127. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  45128. ==18304==    by 0x4D43E7B: switch_loadable_module_unprocess (switch_loadable_module.c:1141)
  45129. ==18304==    by 0x4D43E7B: do_shutdown (switch_loadable_module.c:2394)
  45130. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45131. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45132. ==18304==    by 0x10AF01: main (switch.c:1229)
  45133. ==18304==
  45134. ==18304==  followed by a later acquisition of lock at 0x12F90490
  45135. ==18304==    at 0x483B92F: pthread_rwlock_trywrlock_WRK (hg_intercepts.c:2325)
  45136. ==18304==    by 0x5022B5C: apr_thread_rwlock_trywrlock (thread_rwlock.c:110)
  45137. ==18304==    by 0x4CBCE90: switch_thread_rwlock_trywrlock_timeout (switch_apr.c:266)
  45138. ==18304==    by 0x4D444E9: switch_loadable_module_unprocess (switch_loadable_module.c:1267)
  45139. ==18304==    by 0x4D444E9: do_shutdown (switch_loadable_module.c:2394)
  45140. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45141. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45142. ==18304==    by 0x10AF01: main (switch.c:1229)
  45143. ==18304==
  45144. ==18304==  Lock at 0x12F90490 was first observed
  45145. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45146. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45147. ==18304==    by 0x4D4A09B: switch_loadable_module_create_interface (switch_loadable_module.c:3140)
  45148. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:984)
  45149. ==18304==    by 0xB96F73F: mod_hash_load (mod_hash.c:952)
  45150. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45151. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45152. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45153. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45154. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45155. ==18304==  Address 0x12f90490 is 1,248 bytes inside a block of size 8,192 alloc'd
  45156. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45157. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45158. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45159. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45160. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  45161. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45162. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45163. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45164. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45165. ==18304==  Block was alloc'd by thread #1
  45166. ==18304==
  45167. ==18304==  Lock at 0x79E2370 was first observed
  45168. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45169. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45170. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  45171. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45172. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45173. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  45174. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45175. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45176. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45177. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45178. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  45179. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45180. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45181. ==18304==  Block was alloc'd by thread #1
  45182. ==18304==
  45183. ==18304==
  45184. ==18304== ----------------------------------------------------------------
  45185. ==18304==
  45186. ==18304== Thread #1: lock order "0x72FFE68 before 0x79E2370" violated
  45187. ==18304==
  45188. ==18304== Observed (incorrect) order is: acquisition of lock at 0x79E2370
  45189. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  45190. ==18304==    by 0x4D43E7B: switch_loadable_module_unprocess (switch_loadable_module.c:1141)
  45191. ==18304==    by 0x4D43E7B: do_shutdown (switch_loadable_module.c:2394)
  45192. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45193. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45194. ==18304==    by 0x10AF01: main (switch.c:1229)
  45195. ==18304==
  45196. ==18304==  followed by a later acquisition of lock at 0x72FFE68
  45197. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  45198. ==18304==    by 0x4CEB28A: switch_core_session_hupall_endpoint (switch_core_session.c:349)
  45199. ==18304==    by 0x4D43F47: switch_loadable_module_unprocess (switch_loadable_module.c:1149)
  45200. ==18304==    by 0x4D43F47: do_shutdown (switch_loadable_module.c:2394)
  45201. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45202. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45203. ==18304==    by 0x10AF01: main (switch.c:1229)
  45204. ==18304==
  45205. ==18304==  Lock at 0x72FFE68 was first observed
  45206. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45207. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45208. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  45209. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  45210. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45211. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  45212. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45213. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45214. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45215. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  45216. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  45217. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  45218. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  45219. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45220. ==18304==  Block was alloc'd by thread #1
  45221. ==18304==
  45222. ==18304==  Lock at 0x79E2370 was first observed
  45223. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45224. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45225. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  45226. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45227. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45228. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  45229. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45230. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45231. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45232. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45233. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  45234. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45235. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45236. ==18304==  Block was alloc'd by thread #1
  45237. ==18304==
  45238. ==18304==
  45239. ==18304== ----------------------------------------------------------------
  45240. ==18304==
  45241. ==18304==  Lock at 0x12F92130 was first observed
  45242. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45243. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45244. ==18304==    by 0x1326FAEB: mod_voicemail_load (mod_voicemail.c:6201)
  45245. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45246. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45247. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45248. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45249. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45250. ==18304==  Address 0x12f92130 is 320 bytes inside a block of size 8,192 alloc'd
  45251. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45252. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45253. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45254. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45255. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  45256. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45257. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45258. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45259. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45260. ==18304==  Block was alloc'd by thread #1
  45261. ==18304==
  45262. ==18304== Possible data race during write of size 4 at 0x13284974 by thread #1
  45263. ==18304== Locks held: 1, at address 0x12F92130
  45264. ==18304==    at 0x132680EC: mod_voicemail_shutdown (mod_voicemail.c:6267)
  45265. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45266. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45267. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45268. ==18304==    by 0x10AF01: main (switch.c:1229)
  45269. ==18304==
  45270. ==18304== This conflicts with a previous read of size 4 by thread #35
  45271. ==18304== Locks held: none
  45272. ==18304==    at 0x132695CA: vm_event_thread_run (mod_voicemail.c:4066)
  45273. ==18304==    by 0x132695CA: vm_event_thread_run (mod_voicemail.c:4046)
  45274. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45275. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45276. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45277. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45278. ==18304==  Address 0x13284974 is 20 bytes inside data symbol "globals"
  45279. ==18304==
  45280. ==18304== ----------------------------------------------------------------
  45281. ==18304==
  45282. ==18304==  Lock at 0x12F92130 was first observed
  45283. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45284. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45285. ==18304==    by 0x1326FAEB: mod_voicemail_load (mod_voicemail.c:6201)
  45286. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45287. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45288. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45289. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45290. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45291. ==18304==  Address 0x12f92130 is 320 bytes inside a block of size 8,192 alloc'd
  45292. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45293. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45294. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45295. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45296. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  45297. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45298. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45299. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45300. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45301. ==18304==  Block was alloc'd by thread #1
  45302. ==18304==
  45303. ==18304== Possible data race during read of size 4 at 0x13284974 by thread #35
  45304. ==18304== Locks held: none
  45305. ==18304==    at 0x132695CA: vm_event_thread_run (mod_voicemail.c:4066)
  45306. ==18304==    by 0x132695CA: vm_event_thread_run (mod_voicemail.c:4046)
  45307. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45308. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45309. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45310. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45311. ==18304==
  45312. ==18304== This conflicts with a previous write of size 4 by thread #1
  45313. ==18304== Locks held: 1, at address 0x12F92130
  45314. ==18304==    at 0x132680EC: mod_voicemail_shutdown (mod_voicemail.c:6267)
  45315. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45316. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45317. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45318. ==18304==    by 0x10AF01: main (switch.c:1229)
  45319. ==18304==  Address 0x13284974 is 20 bytes inside data symbol "globals"
  45320. ==18304==
  45321. ==18304== ----------------------------------------------------------------
  45322. ==18304==
  45323. ==18304==  Lock at 0x12F92130 was first observed
  45324. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45325. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45326. ==18304==    by 0x1326FAEB: mod_voicemail_load (mod_voicemail.c:6201)
  45327. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45328. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45329. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45330. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45331. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45332. ==18304==  Address 0x12f92130 is 320 bytes inside a block of size 8,192 alloc'd
  45333. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45334. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45335. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45336. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45337. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  45338. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45339. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45340. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45341. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45342. ==18304==  Block was alloc'd by thread #1
  45343. ==18304==
  45344. ==18304== Possible data race during write of size 4 at 0x13284970 by thread #35
  45345. ==18304== Locks held: 1, at address 0x12F92130
  45346. ==18304==    at 0x1326965B: vm_event_thread_run (mod_voicemail.c:4094)
  45347. ==18304==    by 0x1326965B: vm_event_thread_run (mod_voicemail.c:4046)
  45348. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45349. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45350. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45351. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45352. ==18304==
  45353. ==18304== This conflicts with a previous read of size 4 by thread #1
  45354. ==18304== Locks held: none
  45355. ==18304==    at 0x1326813A: mod_voicemail_shutdown (mod_voicemail.c:6274)
  45356. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45357. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45358. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45359. ==18304==    by 0x10AF01: main (switch.c:1229)
  45360. ==18304==  Address 0x13284970 is 16 bytes inside data symbol "globals"
  45361. ==18304==
  45362. ==18304== ----------------------------------------------------------------
  45363. ==18304==
  45364. ==18304==  Lock at 0x12F92130 was first observed
  45365. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45366. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45367. ==18304==    by 0x1326FAEB: mod_voicemail_load (mod_voicemail.c:6201)
  45368. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45369. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45370. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45371. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45372. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45373. ==18304==  Address 0x12f92130 is 320 bytes inside a block of size 8,192 alloc'd
  45374. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45375. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45376. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45377. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45378. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  45379. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45380. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45381. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45382. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45383. ==18304==  Block was alloc'd by thread #1
  45384. ==18304==
  45385. ==18304== Possible data race during read of size 4 at 0x13284970 by thread #1
  45386. ==18304== Locks held: none
  45387. ==18304==    at 0x1326813A: mod_voicemail_shutdown (mod_voicemail.c:6274)
  45388. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45389. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45390. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45391. ==18304==    by 0x10AF01: main (switch.c:1229)
  45392. ==18304==
  45393. ==18304== This conflicts with a previous write of size 4 by thread #35
  45394. ==18304== Locks held: 1, at address 0x12F92130
  45395. ==18304==    at 0x1326965B: vm_event_thread_run (mod_voicemail.c:4094)
  45396. ==18304==    by 0x1326965B: vm_event_thread_run (mod_voicemail.c:4046)
  45397. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45398. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45399. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45400. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45401. ==18304==  Address 0x13284970 is 16 bytes inside data symbol "globals"
  45402. ==18304==
  45403. ==18304== ----------------------------------------------------------------
  45404. ==18304==
  45405. ==18304== Thread #1: lock order "0x79E2370 before 0x12FF8DC8" violated
  45406. ==18304==
  45407. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12FF8DC8
  45408. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  45409. ==18304==    by 0x132681DA: mod_voicemail_shutdown (mod_voicemail.c:6289)
  45410. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45411. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45412. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45413. ==18304==    by 0x10AF01: main (switch.c:1229)
  45414. ==18304==
  45415. ==18304==  followed by a later acquisition of lock at 0x79E2370
  45416. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  45417. ==18304==    by 0x4D43E7B: switch_loadable_module_unprocess (switch_loadable_module.c:1141)
  45418. ==18304==    by 0x4D43E7B: do_shutdown (switch_loadable_module.c:2394)
  45419. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45420. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45421. ==18304==    by 0x10AF01: main (switch.c:1229)
  45422. ==18304==
  45423. ==18304==  Lock at 0x79E2370 was first observed
  45424. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45425. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45426. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  45427. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45428. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45429. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  45430. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45431. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45432. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45433. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45434. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  45435. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45436. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45437. ==18304==  Block was alloc'd by thread #1
  45438. ==18304==
  45439. ==18304==  Lock at 0x12FF8DC8 was first observed
  45440. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45441. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45442. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  45443. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45444. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45445. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45446. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45447. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45448. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45449. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45450. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  45451. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45452. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45453. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45454. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  45455. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  45456. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  45457. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  45458. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  45459. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45460. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45461. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45462. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45463. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45464. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45465. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45466. ==18304==  Block was alloc'd by thread #1
  45467. ==18304==
  45468. ==18304==
  45469. ==18304== ----------------------------------------------------------------
  45470. ==18304==
  45471. ==18304== Thread #1: lock order "0x7411E00 before 0x12FF8DC8" violated
  45472. ==18304==
  45473. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12FF8DC8
  45474. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  45475. ==18304==    by 0x132681DA: mod_voicemail_shutdown (mod_voicemail.c:6289)
  45476. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45477. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45478. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45479. ==18304==    by 0x10AF01: main (switch.c:1229)
  45480. ==18304==
  45481. ==18304==  followed by a later acquisition of lock at 0x7411E00
  45482. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  45483. ==18304==    by 0x4D55A2A: switch_event_unbind_callback (switch_event.c:2131)
  45484. ==18304==    by 0x1331C4FF: mod_spandsp_shutdown (mod_spandsp.c:896)
  45485. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45486. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45487. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45488. ==18304==    by 0x10AF01: main (switch.c:1229)
  45489. ==18304==
  45490. ==18304==  Lock at 0x7411E00 was first observed
  45491. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45492. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45493. ==18304==    by 0x4D52574: switch_event_init (switch_event.c:699)
  45494. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  45495. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  45496. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45497. ==18304==  Address 0x7411e00 is 3,280 bytes inside a block of size 8,192 alloc'd
  45498. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45499. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45500. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45501. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  45502. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  45503. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  45504. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  45505. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  45506. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  45507. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45508. ==18304==  Block was alloc'd by thread #1
  45509. ==18304==
  45510. ==18304==  Lock at 0x12FF8DC8 was first observed
  45511. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45512. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45513. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  45514. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45515. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45516. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45517. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45518. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45519. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45520. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45521. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  45522. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45523. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45524. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45525. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  45526. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  45527. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  45528. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  45529. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  45530. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45531. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45532. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45533. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45534. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45535. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45536. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45537. ==18304==  Block was alloc'd by thread #1
  45538. ==18304==
  45539. ==18304==
  45540. ==18304== ----------------------------------------------------------------
  45541. ==18304==
  45542. ==18304== Thread #1: lock order "0x7411F50 before 0x12FF8DC8" violated
  45543. ==18304==
  45544. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12FF8DC8
  45545. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  45546. ==18304==    by 0x132681DA: mod_voicemail_shutdown (mod_voicemail.c:6289)
  45547. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45548. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45549. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45550. ==18304==    by 0x10AF01: main (switch.c:1229)
  45551. ==18304==
  45552. ==18304==  followed by a later acquisition of lock at 0x7411F50
  45553. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  45554. ==18304==    by 0x4D5202B: switch_event_free_subclass_detailed (switch_event.c:456)
  45555. ==18304==    by 0x1331C51E: mod_spandsp_shutdown (mod_spandsp.c:899)
  45556. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45557. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45558. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45559. ==18304==    by 0x10AF01: main (switch.c:1229)
  45560. ==18304==
  45561. ==18304==  Lock at 0x7411F50 was first observed
  45562. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45563. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45564. ==18304==    by 0x4D525D4: switch_event_init (switch_event.c:703)
  45565. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  45566. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  45567. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45568. ==18304==  Address 0x7411f50 is 3,616 bytes inside a block of size 8,192 alloc'd
  45569. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45570. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45571. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45572. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  45573. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  45574. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  45575. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  45576. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  45577. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  45578. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45579. ==18304==  Block was alloc'd by thread #1
  45580. ==18304==
  45581. ==18304==  Lock at 0x12FF8DC8 was first observed
  45582. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45583. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45584. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  45585. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45586. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45587. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45588. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45589. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45590. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45591. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45592. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  45593. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45594. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45595. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45596. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  45597. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  45598. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  45599. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  45600. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  45601. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45602. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45603. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45604. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45605. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45606. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45607. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45608. ==18304==  Block was alloc'd by thread #1
  45609. ==18304==
  45610. ==18304==
  45611. ==18304== ----------------------------------------------------------------
  45612. ==18304==
  45613. ==18304== Thread #1: lock order "0x7411E00 before 0x12FF8DC8" violated
  45614. ==18304==
  45615. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12FF8DC8
  45616. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  45617. ==18304==    by 0x132681DA: mod_voicemail_shutdown (mod_voicemail.c:6289)
  45618. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45619. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45620. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45621. ==18304==    by 0x10AF01: main (switch.c:1229)
  45622. ==18304==
  45623. ==18304==  followed by a later acquisition of lock at 0x7411E00
  45624. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  45625. ==18304==    by 0x4D52082: switch_event_free_subclass_detailed (switch_event.c:463)
  45626. ==18304==    by 0x1331C51E: mod_spandsp_shutdown (mod_spandsp.c:899)
  45627. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45628. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45629. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45630. ==18304==    by 0x10AF01: main (switch.c:1229)
  45631. ==18304==
  45632. ==18304==  Lock at 0x7411E00 was first observed
  45633. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45634. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45635. ==18304==    by 0x4D52574: switch_event_init (switch_event.c:699)
  45636. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  45637. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  45638. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45639. ==18304==  Address 0x7411e00 is 3,280 bytes inside a block of size 8,192 alloc'd
  45640. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45641. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45642. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45643. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  45644. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  45645. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  45646. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  45647. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  45648. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  45649. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45650. ==18304==  Block was alloc'd by thread #1
  45651. ==18304==
  45652. ==18304==  Lock at 0x12FF8DC8 was first observed
  45653. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45654. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45655. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  45656. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45657. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45658. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45659. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45660. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45661. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45662. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45663. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  45664. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45665. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45666. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45667. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  45668. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  45669. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  45670. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  45671. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  45672. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45673. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45674. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45675. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45676. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45677. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45678. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45679. ==18304==  Block was alloc'd by thread #1
  45680. ==18304==
  45681. ==18304==
  45682. ==18304== ----------------------------------------------------------------
  45683. ==18304==
  45684. ==18304==  Lock at 0x12FF8DC8 was first observed
  45685. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45686. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45687. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  45688. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45689. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45690. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45691. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45692. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45693. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45694. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45695. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  45696. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45697. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45698. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45699. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  45700. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  45701. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  45702. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  45703. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  45704. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45705. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45706. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45707. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45708. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45709. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45710. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45711. ==18304==  Block was alloc'd by thread #1
  45712. ==18304==
  45713. ==18304== Possible data race during write of size 4 at 0x133D8B18 by thread #1
  45714. ==18304== Locks held: 1, at address 0x12FF8DC8
  45715. ==18304==    at 0x13326951: mod_spandsp_fax_shutdown (mod_spandsp_fax.c:1732)
  45716. ==18304==    by 0x1331C595: mod_spandsp_shutdown (mod_spandsp.c:907)
  45717. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45718. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45719. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45720. ==18304==    by 0x10AF01: main (switch.c:1229)
  45721. ==18304==  Address 0x133d8b18 is 24 bytes inside data symbol "t38_state_list"
  45722. ==18304==
  45723. ==18304== ----------------------------------------------------------------
  45724. ==18304==
  45725. ==18304== Thread #1: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
  45726. ==18304==    at 0x483A3B4: pthread_cond_signal_WRK (hg_intercepts.c:1384)
  45727. ==18304==    by 0x13326963: wake_thread (mod_spandsp_fax.c:136)
  45728. ==18304==    by 0x13326963: mod_spandsp_fax_shutdown (mod_spandsp_fax.c:1733)
  45729. ==18304==    by 0x1331C595: mod_spandsp_shutdown (mod_spandsp.c:907)
  45730. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45731. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45732. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45733. ==18304==    by 0x10AF01: main (switch.c:1229)
  45734. ==18304==
  45735. ==18304== ----------------------------------------------------------------
  45736. ==18304==
  45737. ==18304==  Lock at 0x13020890 was first observed
  45738. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45739. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45740. ==18304==    by 0x13326883: mod_spandsp_fax_load (mod_spandsp_fax.c:1710)
  45741. ==18304==    by 0x1331E8B4: mod_spandsp_init (mod_spandsp.c:851)
  45742. ==18304==    by 0x1331E8B4: mod_spandsp_init (mod_spandsp.c:775)
  45743. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45744. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45745. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45746. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45747. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45748. ==18304==  Address 0x13020890 is 4,272 bytes inside a block of size 8,192 alloc'd
  45749. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45750. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45751. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45752. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45753. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  45754. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45755. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45756. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45757. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45758. ==18304==  Block was alloc'd by thread #1
  45759. ==18304==
  45760. ==18304== Possible data race during read of size 8 at 0x50FC508 by thread #34
  45761. ==18304== Locks held: 1, at address 0x13020890
  45762. ==18304==    at 0x4DBF140: switch_micro_time_now (switch_time.c:312)
  45763. ==18304==    by 0x4DBF168: timer_generic_sync (switch_time.c:383)
  45764. ==18304==    by 0x13321DC8: timer_thread_run (mod_spandsp_fax.c:221)
  45765. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45766. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45767. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45768. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45769. ==18304==
  45770. ==18304== This conflicts with a previous write of size 8 by thread #44
  45771. ==18304== Locks held: none
  45772. ==18304==    at 0x4DBFC29: softtimer_runtime (switch_time.c:1228)
  45773. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  45774. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45775. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45776. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45777. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45778. ==18304==  Address 0x50fc508 is 584 bytes inside data symbol "runtime"
  45779. ==18304==
  45780. ==18304== ----------------------------------------------------------------
  45781. ==18304==
  45782. ==18304== Thread #34: lock order "0x7D7DD28 before 0x7D7DCC8" violated
  45783. ==18304==
  45784. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7D7DCC8
  45785. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  45786. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  45787. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  45788. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  45789. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45790. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45791. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45792. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45793. ==18304==
  45794. ==18304==  followed by a later acquisition of lock at 0x7D7DD28
  45795. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  45796. ==18304==    by 0x4CD6FB1: switch_core_timer_destroy (switch_core_timer.c:122)
  45797. ==18304==    by 0x13321D7F: timer_thread_run (mod_spandsp_fax.c:242)
  45798. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45799. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45800. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45801. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45802. ==18304==
  45803. ==18304== Required order was established by acquisition of lock at 0x7D7DD28
  45804. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  45805. ==18304==    by 0x4D47D2F: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  45806. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  45807. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  45808. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45809. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45810. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45811. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45812. ==18304==
  45813. ==18304==  followed by a later acquisition of lock at 0x7D7DCC8
  45814. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  45815. ==18304==    by 0x4D47D48: switch_loadable_module_get_timer_interface (switch_loadable_module.c:2626)
  45816. ==18304==    by 0x4CD6CD8: switch_core_timer_init (switch_core_timer.c:44)
  45817. ==18304==    by 0x13321C58: timer_thread_run (mod_spandsp_fax.c:203)
  45818. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45819. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45820. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45821. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45822. ==18304==
  45823. ==18304==  Lock at 0x7D7DD28 was first observed
  45824. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45825. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45826. ==18304==    by 0x4D4A368: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  45827. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  45828. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45829. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45830. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  45831. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45832. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45833. ==18304==  Address 0x7d7dd28 is 888 bytes inside a block of size 8,192 alloc'd
  45834. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45835. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45836. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45837. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45838. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  45839. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45840. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  45841. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45842. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45843. ==18304==  Block was alloc'd by thread #1
  45844. ==18304==
  45845. ==18304==  Lock at 0x7D7DCC8 was first observed
  45846. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45847. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45848. ==18304==    by 0x4D4A353: switch_loadable_module_create_interface (switch_loadable_module.c:3155)
  45849. ==18304==    by 0x4DC0A92: softtimer_load (switch_time.c:1531)
  45850. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45851. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45852. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  45853. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45854. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45855. ==18304==  Address 0x7d7dcc8 is 792 bytes inside a block of size 8,192 alloc'd
  45856. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45857. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45858. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45859. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45860. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  45861. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45862. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  45863. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45864. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45865. ==18304==  Block was alloc'd by thread #1
  45866. ==18304==
  45867. ==18304==
  45868. ==18304== ----------------------------------------------------------------
  45869. ==18304==
  45870. ==18304== Thread #1: Bug in libpthread: write lock granted on rwlock which is currently rd-held
  45871. ==18304==    at 0x483B92F: pthread_rwlock_trywrlock_WRK (hg_intercepts.c:2325)
  45872. ==18304==    by 0x5022B5C: apr_thread_rwlock_trywrlock (thread_rwlock.c:110)
  45873. ==18304==    by 0x4CBCE90: switch_thread_rwlock_trywrlock_timeout (switch_apr.c:266)
  45874. ==18304==    by 0x4D43F7E: switch_loadable_module_unprocess (switch_loadable_module.c:1152)
  45875. ==18304==    by 0x4D43F7E: do_shutdown (switch_loadable_module.c:2394)
  45876. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45877. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45878. ==18304==    by 0x10AF01: main (switch.c:1229)
  45879. ==18304==
  45880. ==18304== ----------------------------------------------------------------
  45881. ==18304==
  45882. ==18304== Thread #1 unlocked lock at 0x92BA350 currently held by thread #14
  45883. ==18304==    at 0x483BC44: pthread_rwlock_unlock_WRK (hg_intercepts.c:2540)
  45884. ==18304==    by 0x4D43EC0: switch_loadable_module_unprocess (switch_loadable_module.c:1153)
  45885. ==18304==    by 0x4D43EC0: do_shutdown (switch_loadable_module.c:2394)
  45886. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45887. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45888. ==18304==    by 0x10AF01: main (switch.c:1229)
  45889. ==18304==  Lock at 0x92BA350 was first observed
  45890. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45891. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45892. ==18304==    by 0x4D49ECB: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  45893. ==18304==    by 0x9565B67: mod_sofia_load (mod_sofia.c:6342)
  45894. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45895. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45896. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45897. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45898. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45899. ==18304==  Address 0x92ba350 is 136,848 bytes inside a block of size 139,264 alloc'd
  45900. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45901. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45902. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45903. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  45904. ==18304==    by 0x95655EA: mod_sofia_load (mod_sofia.c:6244)
  45905. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45906. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45907. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45908. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45909. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45910. ==18304==  Block was alloc'd by thread #1
  45911. ==18304==
  45912. ==18304==
  45913. ==18304== ----------------------------------------------------------------
  45914. ==18304==
  45915. ==18304==  Lock at 0x91D2D40 was first observed
  45916. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45917. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45918. ==18304==    by 0x956528C: mod_sofia_load (mod_sofia.c:6114)
  45919. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45920. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45921. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45922. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45923. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45924. ==18304==  Address 0x91d2d40 is 320 bytes inside a block of size 8,192 alloc'd
  45925. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45926. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45927. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45928. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45929. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  45930. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45931. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45932. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45933. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45934. ==18304==  Block was alloc'd by thread #1
  45935. ==18304==
  45936. ==18304==  Lock at 0x12FF8DC8 was first observed
  45937. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  45938. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  45939. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  45940. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45941. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45942. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45943. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45944. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45945. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45946. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45947. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  45948. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45949. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  45950. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  45951. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  45952. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  45953. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  45954. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  45955. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  45956. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  45957. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  45958. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45959. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45960. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45961. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45962. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45963. ==18304==  Block was alloc'd by thread #1
  45964. ==18304==
  45965. ==18304== Possible data race during write of size 4 at 0x963A124 by thread #1
  45966. ==18304== Locks held: 2, at addresses 0x91D2D40 0x12FF8DC8
  45967. ==18304==    at 0x95650EF: mod_sofia_shutdown_cleanup (mod_sofia.c:6440)
  45968. ==18304==    by 0x956606A: mod_sofia_shutdown (mod_sofia.c:6490)
  45969. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  45970. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  45971. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  45972. ==18304==    by 0x10AF01: main (switch.c:1229)
  45973. ==18304==
  45974. ==18304== This conflicts with a previous read of size 4 by thread #30
  45975. ==18304== Locks held: none
  45976. ==18304==    at 0x95678DB: sofia_profile_worker_thread_run (sofia.c:2964)
  45977. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  45978. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  45979. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  45980. ==18304==    by 0x560E4CE: clone (clone.S:95)
  45981. ==18304==  Address 0x963a124 is 36 bytes inside data symbol "mod_sofia_globals"
  45982. ==18304==
  45983. ==18304== ----------------------------------------------------------------
  45984. ==18304==
  45985. ==18304==  Lock at 0x91D2D40 was first observed
  45986. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  45987. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  45988. ==18304==    by 0x956528C: mod_sofia_load (mod_sofia.c:6114)
  45989. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  45990. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  45991. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  45992. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  45993. ==18304==    by 0x10AEC7: main (switch.c:1200)
  45994. ==18304==  Address 0x91d2d40 is 320 bytes inside a block of size 8,192 alloc'd
  45995. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  45996. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  45997. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  45998. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  45999. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  46000. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46001. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46002. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46003. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46004. ==18304==  Block was alloc'd by thread #1
  46005. ==18304==
  46006. ==18304==  Lock at 0x12FF8DC8 was first observed
  46007. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  46008. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  46009. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  46010. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  46011. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  46012. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46013. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46014. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46015. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46016. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46017. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  46018. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46019. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  46020. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  46021. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  46022. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  46023. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  46024. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  46025. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  46026. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  46027. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  46028. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46029. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46030. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46031. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46032. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46033. ==18304==  Block was alloc'd by thread #1
  46034. ==18304==
  46035. ==18304== Possible data race during read of size 4 at 0x963A124 by thread #20
  46036. ==18304== Locks held: none
  46037. ==18304==    at 0x9567720: sofia_profile_worker_thread_run (sofia.c:2964)
  46038. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46039. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46040. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46041. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46042. ==18304==
  46043. ==18304== This conflicts with a previous write of size 4 by thread #1
  46044. ==18304== Locks held: 2, at addresses 0x91D2D40 0x12FF8DC8
  46045. ==18304==    at 0x95650EF: mod_sofia_shutdown_cleanup (mod_sofia.c:6440)
  46046. ==18304==    by 0x956606A: mod_sofia_shutdown (mod_sofia.c:6490)
  46047. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  46048. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  46049. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  46050. ==18304==    by 0x10AF01: main (switch.c:1229)
  46051. ==18304==  Address 0x963a124 is 36 bytes inside data symbol "mod_sofia_globals"
  46052. ==18304==
  46053. ==18304== ----------------------------------------------------------------
  46054. ==18304==
  46055. ==18304==  Lock at 0x92F65E8 was first observed
  46056. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46057. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  46058. ==18304==    by 0x9575ECF: config_sofia (sofia.c:4547)
  46059. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  46060. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46061. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46062. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46063. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46064. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46065. ==18304==  Address 0x92f65e8 is 7,640 bytes inside a block of size 8,192 alloc'd
  46066. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46067. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  46068. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  46069. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  46070. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  46071. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  46072. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46073. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46074. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46075. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46076. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46077. ==18304==  Block was alloc'd by thread #1
  46078. ==18304==
  46079. ==18304== Possible data race during write of size 1 at 0x92F4E30 by thread #20
  46080. ==18304== Locks held: 1, at address 0x92F65E8
  46081. ==18304==    at 0x95678F6: sofia_profile_worker_thread_run (sofia.c:3044)
  46082. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46083. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46084. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46085. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46086. ==18304==  Address 0x92f4e30 is 1,568 bytes inside a block of size 8,192 alloc'd
  46087. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46088. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  46089. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  46090. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  46091. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  46092. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  46093. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46094. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46095. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46096. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46097. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46098. ==18304==  Block was alloc'd by thread #1
  46099. ==18304==
  46100. ==18304== ----------------------------------------------------------------
  46101. ==18304==
  46102. ==18304==  Lock at 0x9346648 was first observed
  46103. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46104. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46105. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46106. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46107. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  46108. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  46109. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46110. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46111. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46112. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46113. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  46114. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46115. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46116. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46117. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  46118. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  46119. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46120. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46121. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46122. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46123. ==18304==  Block was alloc'd by thread #14
  46124. ==18304==
  46125. ==18304==  Lock at 0x91D2D40 was first observed
  46126. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46127. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  46128. ==18304==    by 0x956528C: mod_sofia_load (mod_sofia.c:6114)
  46129. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46130. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46131. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46132. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46133. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46134. ==18304==  Address 0x91d2d40 is 320 bytes inside a block of size 8,192 alloc'd
  46135. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46136. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  46137. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  46138. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  46139. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  46140. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46141. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46142. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46143. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46144. ==18304==  Block was alloc'd by thread #1
  46145. ==18304==
  46146. ==18304==  Lock at 0x12FF8DC8 was first observed
  46147. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  46148. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  46149. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  46150. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  46151. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  46152. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46153. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46154. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46155. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46156. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46157. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  46158. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46159. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  46160. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  46161. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  46162. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  46163. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  46164. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  46165. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  46166. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  46167. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  46168. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46169. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46170. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46171. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46172. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46173. ==18304==  Block was alloc'd by thread #1
  46174. ==18304==
  46175. ==18304== Possible data race during read of size 4 at 0x963A124 by thread #14
  46176. ==18304== Locks held: 1, at address 0x9346648
  46177. ==18304==    at 0x957E156: sofia_profile_thread_run (sofia.c:3421)
  46178. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46179. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46180. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46181. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46182. ==18304==
  46183. ==18304== This conflicts with a previous write of size 4 by thread #1
  46184. ==18304== Locks held: 2, at addresses 0x91D2D40 0x12FF8DC8
  46185. ==18304==    at 0x95650EF: mod_sofia_shutdown_cleanup (mod_sofia.c:6440)
  46186. ==18304==    by 0x956606A: mod_sofia_shutdown (mod_sofia.c:6490)
  46187. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  46188. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  46189. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  46190. ==18304==    by 0x10AF01: main (switch.c:1229)
  46191. ==18304==  Address 0x963a124 is 36 bytes inside data symbol "mod_sofia_globals"
  46192. ==18304==
  46193. ==18304== ----------------------------------------------------------------
  46194. ==18304==
  46195. ==18304==  Lock at 0x9338D88 was first observed
  46196. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46197. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  46198. ==18304==    by 0x9575ECF: config_sofia (sofia.c:4547)
  46199. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  46200. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46201. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46202. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46203. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46204. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46205. ==18304==  Address 0x9338d88 is 7,640 bytes inside a block of size 8,192 alloc'd
  46206. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46207. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  46208. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  46209. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  46210. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  46211. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  46212. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46213. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46214. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46215. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46216. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46217. ==18304==  Block was alloc'd by thread #1
  46218. ==18304==
  46219. ==18304==  Lock at 0x9346648 was first observed
  46220. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46221. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46222. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46223. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46224. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  46225. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  46226. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46227. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46228. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46229. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46230. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  46231. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46232. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46233. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46234. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  46235. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  46236. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46237. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46238. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46239. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46240. ==18304==  Block was alloc'd by thread #14
  46241. ==18304==
  46242. ==18304== Possible data race during write of size 1 at 0x93375C9 by thread #14
  46243. ==18304== Locks held: 2, at addresses 0x9338D88 0x9346648
  46244. ==18304==    at 0x957E17F: sofia_profile_thread_run (sofia.c:3426)
  46245. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46246. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46247. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46248. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46249. ==18304==
  46250. ==18304== This conflicts with a previous read of size 1 by thread #30
  46251. ==18304== Locks held: none
  46252. ==18304==    at 0x956772A: sofia_profile_worker_thread_run (sofia.c:2964)
  46253. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46254. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46255. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46256. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46257. ==18304==  Address 0x93375c9 is 1,561 bytes inside a block of size 8,192 alloc'd
  46258. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46259. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  46260. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  46261. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  46262. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  46263. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  46264. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46265. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46266. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46267. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46268. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46269. ==18304==  Block was alloc'd by thread #1
  46270. ==18304==
  46271. ==18304== ----------------------------------------------------------------
  46272. ==18304==
  46273. ==18304== Thread #14: lock order "0x72FFE68 before 0x92BA350" violated
  46274. ==18304==
  46275. ==18304== Observed (incorrect) order is: acquisition of lock at 0x92BA350
  46276. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  46277. ==18304==    by 0x4CECA5F: switch_core_session_request_uuid (switch_core_session.c:2348)
  46278. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  46279. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  46280. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  46281. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  46282. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  46283. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46284. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46285. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46286. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46287. ==18304==
  46288. ==18304==  followed by a later acquisition of lock at 0x72FFE68
  46289. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  46290. ==18304==    by 0x4CEBD5B: switch_core_session_hupall_matching_vars_ans (switch_core_session.c:225)
  46291. ==18304==    by 0x4CEC00F: switch_core_session_hupall_matching_var_ans (switch_core_session.c:284)
  46292. ==18304==    by 0x957E1B4: sofia_profile_thread_run (sofia.c:3429)
  46293. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46294. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46295. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46296. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46297. ==18304==
  46298. ==18304==  Lock at 0x72FFE68 was first observed
  46299. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46300. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  46301. ==18304==    by 0x4D0272A: switch_core_init (switch_core.c:1919)
  46302. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  46303. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46304. ==18304==  Address 0x72ffe68 is 400,648 bytes inside a block of size 401,408 alloc'd
  46305. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46306. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  46307. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  46308. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  46309. ==18304==    by 0x4CDA3EF: switch_core_memory_init (switch_core_memory.c:731)
  46310. ==18304==    by 0x4D0258F: switch_core_init (switch_core.c:1893)
  46311. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  46312. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46313. ==18304==  Block was alloc'd by thread #1
  46314. ==18304==
  46315. ==18304==  Lock at 0x92BA350 was first observed
  46316. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  46317. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  46318. ==18304==    by 0x4D49ECB: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  46319. ==18304==    by 0x9565B67: mod_sofia_load (mod_sofia.c:6342)
  46320. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46321. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46322. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46323. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46324. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46325. ==18304==  Address 0x92ba350 is 136,848 bytes inside a block of size 139,264 alloc'd
  46326. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46327. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  46328. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  46329. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  46330. ==18304==    by 0x95655EA: mod_sofia_load (mod_sofia.c:6244)
  46331. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46332. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46333. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46334. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46335. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46336. ==18304==  Block was alloc'd by thread #1
  46337. ==18304==
  46338. ==18304==
  46339. ==18304== ----------------------------------------------------------------
  46340. ==18304==
  46341. ==18304== Thread #14: lock order "0x91D2D90 before 0x92BA350" violated
  46342. ==18304==
  46343. ==18304== Observed (incorrect) order is: acquisition of lock at 0x92BA350
  46344. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  46345. ==18304==    by 0x4CECA5F: switch_core_session_request_uuid (switch_core_session.c:2348)
  46346. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  46347. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  46348. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  46349. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  46350. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  46351. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46352. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46353. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46354. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46355. ==18304==
  46356. ==18304==  followed by a later acquisition of lock at 0x91D2D90
  46357. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  46358. ==18304==    by 0x95AE697: sofia_reg_unregister (sofia_reg.c:194)
  46359. ==18304==    by 0x957E221: sofia_profile_thread_run (sofia.c:3442)
  46360. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46361. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46362. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46363. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46364. ==18304==
  46365. ==18304==  Lock at 0x91D2D90 was first observed
  46366. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46367. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  46368. ==18304==    by 0x95652C6: mod_sofia_load (mod_sofia.c:6117)
  46369. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46370. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46371. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46372. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46373. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46374. ==18304==  Address 0x91d2d90 is 400 bytes inside a block of size 8,192 alloc'd
  46375. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46376. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  46377. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  46378. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  46379. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  46380. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46381. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46382. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46383. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46384. ==18304==  Block was alloc'd by thread #1
  46385. ==18304==
  46386. ==18304==  Lock at 0x92BA350 was first observed
  46387. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  46388. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  46389. ==18304==    by 0x4D49ECB: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  46390. ==18304==    by 0x9565B67: mod_sofia_load (mod_sofia.c:6342)
  46391. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46392. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46393. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46394. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46395. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46396. ==18304==  Address 0x92ba350 is 136,848 bytes inside a block of size 139,264 alloc'd
  46397. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46398. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  46399. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  46400. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  46401. ==18304==    by 0x95655EA: mod_sofia_load (mod_sofia.c:6244)
  46402. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46403. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46404. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46405. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46406. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46407. ==18304==  Block was alloc'd by thread #1
  46408. ==18304==
  46409. ==18304==
  46410. ==18304== ----------------------------------------------------------------
  46411. ==18304==
  46412. ==18304==  Lock at 0x92F9638 was first observed
  46413. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46414. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46415. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46416. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46417. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46418. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46419. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46420. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46421. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  46422. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46423. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46424. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46425. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46426. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46427. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46428. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46429. ==18304==  Block was alloc'd by thread #27
  46430. ==18304==
  46431. ==18304==  Lock at 0x92F7358 was first observed
  46432. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46433. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  46434. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  46435. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46436. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46437. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46438. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46439. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46440. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46441. ==18304==  Address 0x92f7358 is 40 bytes inside a block of size 80 alloc'd
  46442. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46443. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  46444. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  46445. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46446. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46447. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46448. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46449. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46450. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46451. ==18304==  Block was alloc'd by thread #27
  46452. ==18304==
  46453. ==18304==  Lock at 0x9346648 was first observed
  46454. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46455. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46456. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46457. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46458. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  46459. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  46460. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46461. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46462. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46463. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46464. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  46465. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46466. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46467. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46468. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  46469. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  46470. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46471. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46472. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46473. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46474. ==18304==  Block was alloc'd by thread #14
  46475. ==18304==
  46476. ==18304== Possible data race during read of size 8 at 0x92F95F8 by thread #27
  46477. ==18304== Locks held: 1, at address 0x92F9638
  46478. ==18304==    at 0x951B7FE: su_base_port_run (su_base_port.c:346)
  46479. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  46480. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46481. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46482. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46483. ==18304==
  46484. ==18304== This conflicts with a previous write of size 8 by thread #14
  46485. ==18304== Locks held: 2, at addresses 0x92F7358 0x9346648
  46486. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  46487. ==18304==    by 0x94E88F1: nua_signal (nua_stack.c:525)
  46488. ==18304==    by 0x94C931B: nua_shutdown (nua.c:193)
  46489. ==18304==    by 0x957E22D: sofia_profile_thread_run (sofia.c:3443)
  46490. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46491. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46492. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46493. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46494. ==18304==  Address 0x92f95f8 is 56 bytes inside a block of size 216 alloc'd
  46495. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46496. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46497. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46498. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46499. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46500. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46501. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46502. ==18304==  Block was alloc'd by thread #27
  46503. ==18304==
  46504. ==18304== ----------------------------------------------------------------
  46505. ==18304==
  46506. ==18304==  Lock at 0x91D2D40 was first observed
  46507. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46508. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  46509. ==18304==    by 0x956528C: mod_sofia_load (mod_sofia.c:6114)
  46510. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46511. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46512. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46513. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46514. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46515. ==18304==  Address 0x91d2d40 is 320 bytes inside a block of size 8,192 alloc'd
  46516. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46517. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  46518. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  46519. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  46520. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  46521. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46522. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46523. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46524. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46525. ==18304==  Block was alloc'd by thread #1
  46526. ==18304==
  46527. ==18304==  Lock at 0x12FF8DC8 was first observed
  46528. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  46529. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  46530. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  46531. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  46532. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  46533. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46534. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46535. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46536. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46537. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46538. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  46539. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46540. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  46541. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  46542. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  46543. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  46544. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  46545. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  46546. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  46547. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  46548. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  46549. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46550. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46551. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46552. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46553. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46554. ==18304==  Block was alloc'd by thread #1
  46555. ==18304==
  46556. ==18304== Possible data race during write of size 4 at 0x963A128 by thread #33
  46557. ==18304== Locks held: 1, at address 0x91D2D40
  46558. ==18304==    at 0x95A4D1D: sofia_presence_event_thread_run (sofia_presence.c:1666)
  46559. ==18304==    by 0x95A4D1D: sofia_presence_event_thread_run (sofia_presence.c:1601)
  46560. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46561. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46562. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46563. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46564. ==18304==
  46565. ==18304== This conflicts with a previous read of size 4 by thread #1
  46566. ==18304== Locks held: 1, at address 0x12FF8DC8
  46567. ==18304==    at 0x956515A: mod_sofia_shutdown_cleanup (mod_sofia.c:6454)
  46568. ==18304==    by 0x956606A: mod_sofia_shutdown (mod_sofia.c:6490)
  46569. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  46570. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  46571. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  46572. ==18304==    by 0x10AF01: main (switch.c:1229)
  46573. ==18304==  Address 0x963a128 is 40 bytes inside data symbol "mod_sofia_globals"
  46574. ==18304==
  46575. ==18304== ----------------------------------------------------------------
  46576. ==18304==
  46577. ==18304==  Lock at 0x12FF8DC8 was first observed
  46578. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  46579. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  46580. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  46581. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  46582. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  46583. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46584. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46585. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46586. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46587. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46588. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  46589. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46590. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  46591. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  46592. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  46593. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  46594. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  46595. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  46596. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  46597. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  46598. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  46599. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46600. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46601. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46602. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46603. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46604. ==18304==  Block was alloc'd by thread #1
  46605. ==18304==
  46606. ==18304==  Lock at 0x91D2D40 was first observed
  46607. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46608. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  46609. ==18304==    by 0x956528C: mod_sofia_load (mod_sofia.c:6114)
  46610. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  46611. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46612. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46613. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46614. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46615. ==18304==  Address 0x91d2d40 is 320 bytes inside a block of size 8,192 alloc'd
  46616. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  46617. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  46618. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  46619. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  46620. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  46621. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  46622. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  46623. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  46624. ==18304==    by 0x10AEC7: main (switch.c:1200)
  46625. ==18304==  Block was alloc'd by thread #1
  46626. ==18304==
  46627. ==18304== Possible data race during read of size 4 at 0x963A128 by thread #1
  46628. ==18304== Locks held: 1, at address 0x12FF8DC8
  46629. ==18304==    at 0x956515A: mod_sofia_shutdown_cleanup (mod_sofia.c:6454)
  46630. ==18304==    by 0x956606A: mod_sofia_shutdown (mod_sofia.c:6490)
  46631. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  46632. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  46633. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  46634. ==18304==    by 0x10AF01: main (switch.c:1229)
  46635. ==18304==
  46636. ==18304== This conflicts with a previous write of size 4 by thread #33
  46637. ==18304== Locks held: 1, at address 0x91D2D40
  46638. ==18304==    at 0x95A4D1D: sofia_presence_event_thread_run (sofia_presence.c:1666)
  46639. ==18304==    by 0x95A4D1D: sofia_presence_event_thread_run (sofia_presence.c:1601)
  46640. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  46641. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46642. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46643. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46644. ==18304==  Address 0x963a128 is 40 bytes inside data symbol "mod_sofia_globals"
  46645. ==18304==
  46646. ==18304== ----------------------------------------------------------------
  46647. ==18304==
  46648. ==18304==  Lock at 0x7D761A8 was first observed
  46649. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46650. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46651. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46652. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46653. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46654. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46655. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46656. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46657. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  46658. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46659. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46660. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46661. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46662. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46663. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46664. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46665. ==18304==  Block was alloc'd by thread #19
  46666. ==18304==
  46667. ==18304==  Lock at 0x92F9638 was first observed
  46668. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46669. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46670. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46671. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46672. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46673. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46674. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46675. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46676. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  46677. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46678. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46679. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46680. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46681. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46682. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46683. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46684. ==18304==  Block was alloc'd by thread #27
  46685. ==18304==
  46686. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #19
  46687. ==18304== Locks held: 1, at address 0x7D761A8
  46688. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  46689. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  46690. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  46691. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  46692. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  46693. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  46694. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  46695. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  46696. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  46697. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  46698. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46699. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46700. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46701. ==18304==
  46702. ==18304== This conflicts with a previous write of size 8 by thread #27
  46703. ==18304== Locks held: 1, at address 0x92F9638
  46704. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  46705. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  46706. ==18304==    by 0x94ABD79: outgoing_reclaim (nta.c:8790)
  46707. ==18304==    by 0x94ABD79: outgoing_reclaim_queued (nta.c:8815)
  46708. ==18304==    by 0x94C25CD: outgoing_mass_destroy (nta.c:9235)
  46709. ==18304==    by 0x94C25CD: _nta_outgoing_timer (nta.c:8928)
  46710. ==18304==    by 0x94C25CD: agent_timer (nta.c:1250)
  46711. ==18304==    by 0x9528F7E: su_timer_expire (su_timer.c:585)
  46712. ==18304==    by 0x951B7E5: su_base_port_run (su_base_port.c:339)
  46713. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  46714. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46715. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46716. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  46717. ==18304==
  46718. ==18304== ----------------------------------------------------------------
  46719. ==18304==
  46720. ==18304==  Lock at 0x7D761A8 was first observed
  46721. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46722. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46723. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46724. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46725. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46726. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46727. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46728. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46729. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  46730. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46731. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46732. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46733. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46734. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46735. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46736. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46737. ==18304==  Block was alloc'd by thread #19
  46738. ==18304==
  46739. ==18304==  Lock at 0x92F9638 was first observed
  46740. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46741. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46742. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46743. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46744. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46745. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46746. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46747. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46748. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  46749. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46750. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46751. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46752. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46753. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46754. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46755. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46756. ==18304==  Block was alloc'd by thread #27
  46757. ==18304==
  46758. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #19
  46759. ==18304== Locks held: 1, at address 0x7D761A8
  46760. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  46761. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  46762. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  46763. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  46764. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  46765. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  46766. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  46767. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  46768. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  46769. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  46770. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46771. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46772. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46773. ==18304==
  46774. ==18304== This conflicts with a previous write of size 8 by thread #27
  46775. ==18304== Locks held: 1, at address 0x92F9638
  46776. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  46777. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  46778. ==18304==    by 0x94ABD79: outgoing_reclaim (nta.c:8790)
  46779. ==18304==    by 0x94ABD79: outgoing_reclaim_queued (nta.c:8815)
  46780. ==18304==    by 0x94C25CD: outgoing_mass_destroy (nta.c:9235)
  46781. ==18304==    by 0x94C25CD: _nta_outgoing_timer (nta.c:8928)
  46782. ==18304==    by 0x94C25CD: agent_timer (nta.c:1250)
  46783. ==18304==    by 0x9528F7E: su_timer_expire (su_timer.c:585)
  46784. ==18304==    by 0x951B7E5: su_base_port_run (su_base_port.c:339)
  46785. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  46786. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46787. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46788. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  46789. ==18304==
  46790. ==18304== ----------------------------------------------------------------
  46791. ==18304==
  46792. ==18304==  Lock at 0x7D761A8 was first observed
  46793. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46794. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46795. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46796. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46797. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46798. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46799. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46800. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46801. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  46802. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46803. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46804. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46805. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46806. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46807. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46808. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46809. ==18304==  Block was alloc'd by thread #19
  46810. ==18304==
  46811. ==18304==  Lock at 0x92F9638 was first observed
  46812. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46813. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46814. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46815. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46816. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46817. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46818. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46819. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46820. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  46821. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46822. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46823. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46824. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46825. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46826. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46827. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46828. ==18304==  Block was alloc'd by thread #27
  46829. ==18304==
  46830. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #19
  46831. ==18304== Locks held: 1, at address 0x7D761A8
  46832. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  46833. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  46834. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  46835. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  46836. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  46837. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  46838. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  46839. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  46840. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  46841. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  46842. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46843. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46844. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46845. ==18304==
  46846. ==18304== This conflicts with a previous write of size 8 by thread #27
  46847. ==18304== Locks held: 1, at address 0x92F9638
  46848. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  46849. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  46850. ==18304==    by 0x94ABD79: outgoing_reclaim (nta.c:8790)
  46851. ==18304==    by 0x94ABD79: outgoing_reclaim_queued (nta.c:8815)
  46852. ==18304==    by 0x94C25CD: outgoing_mass_destroy (nta.c:9235)
  46853. ==18304==    by 0x94C25CD: _nta_outgoing_timer (nta.c:8928)
  46854. ==18304==    by 0x94C25CD: agent_timer (nta.c:1250)
  46855. ==18304==    by 0x9528F7E: su_timer_expire (su_timer.c:585)
  46856. ==18304==    by 0x951B7E5: su_base_port_run (su_base_port.c:339)
  46857. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  46858. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46859. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46860. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  46861. ==18304==
  46862. ==18304== ----------------------------------------------------------------
  46863. ==18304==
  46864. ==18304==  Lock at 0x7D761A8 was first observed
  46865. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46866. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46867. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46868. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46869. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46870. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46871. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46872. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46873. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  46874. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46875. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46876. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46877. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46878. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46879. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46880. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46881. ==18304==  Block was alloc'd by thread #19
  46882. ==18304==
  46883. ==18304==  Lock at 0x92F9638 was first observed
  46884. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46885. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46886. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46887. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46888. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46889. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46890. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46891. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46892. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  46893. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46894. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46895. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46896. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46897. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46898. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46899. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46900. ==18304==  Block was alloc'd by thread #27
  46901. ==18304==
  46902. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #19
  46903. ==18304== Locks held: 1, at address 0x7D761A8
  46904. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  46905. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  46906. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  46907. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  46908. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  46909. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  46910. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  46911. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  46912. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  46913. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  46914. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46915. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46916. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46917. ==18304==
  46918. ==18304== This conflicts with a previous write of size 8 by thread #27
  46919. ==18304== Locks held: 1, at address 0x92F9638
  46920. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  46921. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  46922. ==18304==    by 0x94ABD79: outgoing_reclaim (nta.c:8790)
  46923. ==18304==    by 0x94ABD79: outgoing_reclaim_queued (nta.c:8815)
  46924. ==18304==    by 0x94C25CD: outgoing_mass_destroy (nta.c:9235)
  46925. ==18304==    by 0x94C25CD: _nta_outgoing_timer (nta.c:8928)
  46926. ==18304==    by 0x94C25CD: agent_timer (nta.c:1250)
  46927. ==18304==    by 0x9528F7E: su_timer_expire (su_timer.c:585)
  46928. ==18304==    by 0x951B7E5: su_base_port_run (su_base_port.c:339)
  46929. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  46930. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46931. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46932. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  46933. ==18304==
  46934. ==18304== ----------------------------------------------------------------
  46935. ==18304==
  46936. ==18304==  Lock at 0x7D761A8 was first observed
  46937. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46938. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46939. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46940. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46941. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46942. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46943. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46944. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46945. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  46946. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46947. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46948. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46949. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46950. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46951. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46952. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46953. ==18304==  Block was alloc'd by thread #19
  46954. ==18304==
  46955. ==18304==  Lock at 0x92F9638 was first observed
  46956. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  46957. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  46958. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  46959. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  46960. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46961. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46962. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46963. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46964. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  46965. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  46966. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  46967. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  46968. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  46969. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46970. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46971. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46972. ==18304==  Block was alloc'd by thread #27
  46973. ==18304==
  46974. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #19
  46975. ==18304== Locks held: 1, at address 0x7D761A8
  46976. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  46977. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  46978. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  46979. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  46980. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  46981. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  46982. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  46983. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  46984. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  46985. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  46986. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  46987. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  46988. ==18304==    by 0x560E4CE: clone (clone.S:95)
  46989. ==18304==
  46990. ==18304== This conflicts with a previous write of size 8 by thread #27
  46991. ==18304== Locks held: 1, at address 0x92F9638
  46992. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  46993. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  46994. ==18304==    by 0x94ABD79: outgoing_reclaim (nta.c:8790)
  46995. ==18304==    by 0x94ABD79: outgoing_reclaim_queued (nta.c:8815)
  46996. ==18304==    by 0x94C25CD: outgoing_mass_destroy (nta.c:9235)
  46997. ==18304==    by 0x94C25CD: _nta_outgoing_timer (nta.c:8928)
  46998. ==18304==    by 0x94C25CD: agent_timer (nta.c:1250)
  46999. ==18304==    by 0x9528F7E: su_timer_expire (su_timer.c:585)
  47000. ==18304==    by 0x951B7E5: su_base_port_run (su_base_port.c:339)
  47001. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47002. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47003. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47004. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  47005. ==18304==
  47006. ==18304== ----------------------------------------------------------------
  47007. ==18304==
  47008. ==18304==  Lock at 0x7D761A8 was first observed
  47009. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47010. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47011. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47012. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47013. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47014. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47015. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47016. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47017. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  47018. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47019. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47020. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47021. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47022. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47023. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47024. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47025. ==18304==  Block was alloc'd by thread #19
  47026. ==18304==
  47027. ==18304==  Lock at 0x92F9638 was first observed
  47028. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47029. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47030. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47031. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47032. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47033. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47034. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47035. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47036. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  47037. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47038. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47039. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47040. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47041. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47042. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47043. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47044. ==18304==  Block was alloc'd by thread #27
  47045. ==18304==
  47046. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #19
  47047. ==18304== Locks held: 1, at address 0x7D761A8
  47048. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  47049. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  47050. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  47051. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  47052. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  47053. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47054. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47055. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47056. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47057. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47058. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47059. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47060. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47061. ==18304==
  47062. ==18304== This conflicts with a previous write of size 8 by thread #27
  47063. ==18304== Locks held: 1, at address 0x92F9638
  47064. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  47065. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  47066. ==18304==    by 0x94ABD79: outgoing_reclaim (nta.c:8790)
  47067. ==18304==    by 0x94ABD79: outgoing_reclaim_queued (nta.c:8815)
  47068. ==18304==    by 0x94C25CD: outgoing_mass_destroy (nta.c:9235)
  47069. ==18304==    by 0x94C25CD: _nta_outgoing_timer (nta.c:8928)
  47070. ==18304==    by 0x94C25CD: agent_timer (nta.c:1250)
  47071. ==18304==    by 0x9528F7E: su_timer_expire (su_timer.c:585)
  47072. ==18304==    by 0x951B7E5: su_base_port_run (su_base_port.c:339)
  47073. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47074. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47075. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47076. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  47077. ==18304==
  47078. ==18304== ----------------------------------------------------------------
  47079. ==18304==
  47080. ==18304==  Lock at 0x91CE8A8 was first observed
  47081. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47082. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47083. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47084. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47085. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  47086. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  47087. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  47088. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47089. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47090. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47091. ==18304==  Address 0x91ce8a8 is 120 bytes inside a block of size 216 alloc'd
  47092. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47093. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47094. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47095. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  47096. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  47097. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  47098. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47099. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47100. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47101. ==18304==  Block was alloc'd by thread #13
  47102. ==18304==
  47103. ==18304==  Lock at 0x7D761A8 was first observed
  47104. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47105. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47106. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47107. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47108. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47109. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47110. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47111. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47112. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  47113. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47114. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47115. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47116. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47117. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47118. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47119. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47120. ==18304==  Block was alloc'd by thread #19
  47121. ==18304==
  47122. ==18304==  Lock at 0x9328E08 was first observed
  47123. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47124. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  47125. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  47126. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47127. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47128. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  47129. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  47130. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  47131. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47132. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47133. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47134. ==18304==  Address 0x9328e08 is 40 bytes inside a block of size 80 alloc'd
  47135. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47136. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  47137. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  47138. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47139. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47140. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  47141. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  47142. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  47143. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47144. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47145. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47146. ==18304==  Block was alloc'd by thread #13
  47147. ==18304==
  47148. ==18304== Possible data race during read of size 8 at 0x91CE868 by thread #13
  47149. ==18304== Locks held: 1, at address 0x91CE8A8
  47150. ==18304==    at 0x951B914: su_base_port_step (su_base_port.c:453)
  47151. ==18304==    by 0x957E240: sofia_profile_thread_run (sofia.c:3447)
  47152. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  47153. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47154. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47155. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47156. ==18304==
  47157. ==18304== This conflicts with a previous write of size 8 by thread #19
  47158. ==18304== Locks held: 2, at addresses 0x7D761A8 0x9328E08
  47159. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  47160. ==18304==    by 0x94E939D: nua_stack_event (nua_stack.c:328)
  47161. ==18304==    by 0x94E96B1: nua_stack_shutdown (nua_stack.c:890)
  47162. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47163. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47164. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47165. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47166. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47167. ==18304==  Address 0x91ce868 is 56 bytes inside a block of size 216 alloc'd
  47168. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47169. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47170. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47171. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  47172. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  47173. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  47174. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47175. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47176. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47177. ==18304==  Block was alloc'd by thread #13
  47178. ==18304==
  47179. ==18304== ----------------------------------------------------------------
  47180. ==18304==
  47181. ==18304==  Lock at 0x91CE8A8 was first observed
  47182. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47183. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47184. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47185. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47186. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  47187. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  47188. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  47189. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47190. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47191. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47192. ==18304==  Address 0x91ce8a8 is 120 bytes inside a block of size 216 alloc'd
  47193. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47194. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47195. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47196. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  47197. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  47198. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  47199. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47200. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47201. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47202. ==18304==  Block was alloc'd by thread #13
  47203. ==18304==
  47204. ==18304==  Lock at 0x91D2D40 was first observed
  47205. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47206. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  47207. ==18304==    by 0x956528C: mod_sofia_load (mod_sofia.c:6114)
  47208. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  47209. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  47210. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  47211. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  47212. ==18304==    by 0x10AEC7: main (switch.c:1200)
  47213. ==18304==  Address 0x91d2d40 is 320 bytes inside a block of size 8,192 alloc'd
  47214. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  47215. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  47216. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  47217. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  47218. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  47219. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  47220. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  47221. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  47222. ==18304==    by 0x10AEC7: main (switch.c:1200)
  47223. ==18304==  Block was alloc'd by thread #1
  47224. ==18304==
  47225. ==18304==  Lock at 0x12FF8DC8 was first observed
  47226. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  47227. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  47228. ==18304==    by 0x1326B0A0: load_profile (mod_voicemail.c:766)
  47229. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  47230. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  47231. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  47232. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  47233. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  47234. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  47235. ==18304==    by 0x10AEC7: main (switch.c:1200)
  47236. ==18304==  Address 0x12ff8dc8 is 3,352 bytes inside a block of size 8,192 alloc'd
  47237. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  47238. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  47239. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  47240. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  47241. ==18304==    by 0x4CD9E07: switch_core_perform_strndup (switch_core_memory.c:304)
  47242. ==18304==    by 0x13266F44: vm_config_email_callback (mod_voicemail.c:425)
  47243. ==18304==    by 0x4DBC58D: switch_xml_config_parse_event (switch_xml_config.c:419)
  47244. ==18304==    by 0x1326B087: load_profile (mod_voicemail.c:760)
  47245. ==18304==    by 0x1326FC4A: load_config (mod_voicemail.c:867)
  47246. ==18304==    by 0x1326FC4A: mod_voicemail_load (mod_voicemail.c:6209)
  47247. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  47248. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  47249. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  47250. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  47251. ==18304==    by 0x10AEC7: main (switch.c:1200)
  47252. ==18304==  Block was alloc'd by thread #1
  47253. ==18304==
  47254. ==18304== Possible data race during read of size 4 at 0x963A124 by thread #13
  47255. ==18304== Locks held: 1, at address 0x91CE8A8
  47256. ==18304==    at 0x95934B1: sofia_queue_message (sofia.c:2371)
  47257. ==18304==    by 0x95936CC: sofia_event_callback (sofia.c:2655)
  47258. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  47259. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47260. ==18304==    by 0x951B927: su_base_port_step (su_base_port.c:454)
  47261. ==18304==    by 0x957E240: sofia_profile_thread_run (sofia.c:3447)
  47262. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  47263. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47264. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47265. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47266. ==18304==
  47267. ==18304== This conflicts with a previous write of size 4 by thread #1
  47268. ==18304== Locks held: 2, at addresses 0x91D2D40 0x12FF8DC8
  47269. ==18304==    at 0x95650EF: mod_sofia_shutdown_cleanup (mod_sofia.c:6440)
  47270. ==18304==    by 0x956606A: mod_sofia_shutdown (mod_sofia.c:6490)
  47271. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  47272. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  47273. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  47274. ==18304==    by 0x10AF01: main (switch.c:1229)
  47275. ==18304==  Address 0x963a124 is 36 bytes inside data symbol "mod_sofia_globals"
  47276. ==18304==
  47277. ==18304== ----------------------------------------------------------------
  47278. ==18304==
  47279. ==18304==  Lock at 0x92F9638 was first observed
  47280. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47281. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47282. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47283. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47284. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47285. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47286. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47287. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47288. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  47289. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47290. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47291. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47292. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47293. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47294. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47295. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47296. ==18304==  Block was alloc'd by thread #27
  47297. ==18304==
  47298. ==18304==  Lock at 0x12971920 was first observed
  47299. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47300. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  47301. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47302. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47303. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47304. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47305. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47306. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47307. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47308. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47309. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47310. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47311. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47312. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47313. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47314. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47315. ==18304==  Address 0x12971920 is 0 bytes inside a block of size 80 alloc'd
  47316. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47317. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  47318. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47319. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47320. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47321. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47322. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47323. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47324. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47325. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47326. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47327. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47328. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47329. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47330. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47331. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47332. ==18304==  Block was alloc'd by thread #27
  47333. ==18304==
  47334. ==18304==  Lock at 0x7D761A8 was first observed
  47335. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47336. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47337. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47338. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47339. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47340. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47341. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47342. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47343. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  47344. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47345. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47346. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47347. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47348. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47349. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47350. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47351. ==18304==  Block was alloc'd by thread #19
  47352. ==18304==
  47353. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #27
  47354. ==18304== Locks held: 2, at addresses 0x92F9638 0x12971920
  47355. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  47356. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  47357. ==18304==    by 0x94AC937: incoming_reclaim (nta.c:5808)
  47358. ==18304==    by 0x94AC937: incoming_free (nta.c:5753)
  47359. ==18304==    by 0x94AD00D: nta_agent_destroy.part.70 (nta.c:1058)
  47360. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47361. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47362. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47363. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47364. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47365. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47366. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47367. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47368. ==18304==
  47369. ==18304== This conflicts with a previous write of size 8 by thread #19
  47370. ==18304== Locks held: 1, at address 0x7D761A8
  47371. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  47372. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  47373. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  47374. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  47375. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  47376. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47377. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47378. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47379. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47380. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  47381. ==18304==
  47382. ==18304== ----------------------------------------------------------------
  47383. ==18304==
  47384. ==18304==  Lock at 0x92F9638 was first observed
  47385. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47386. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47387. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47388. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47389. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47390. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47391. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47392. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47393. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  47394. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47395. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47396. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47397. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47398. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47399. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47400. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47401. ==18304==  Block was alloc'd by thread #27
  47402. ==18304==
  47403. ==18304==  Lock at 0x12971920 was first observed
  47404. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47405. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  47406. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47407. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47408. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47409. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47410. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47411. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47412. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47413. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47414. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47415. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47416. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47417. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47418. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47419. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47420. ==18304==  Address 0x12971920 is 0 bytes inside a block of size 80 alloc'd
  47421. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47422. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  47423. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47424. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47425. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47426. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47427. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47428. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47429. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47430. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47431. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47432. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47433. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47434. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47435. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47436. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47437. ==18304==  Block was alloc'd by thread #27
  47438. ==18304==
  47439. ==18304==  Lock at 0x7D761A8 was first observed
  47440. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47441. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47442. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47443. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47444. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47445. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47446. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47447. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47448. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  47449. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47450. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47451. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47452. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47453. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47454. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47455. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47456. ==18304==  Block was alloc'd by thread #19
  47457. ==18304==
  47458. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #27
  47459. ==18304== Locks held: 2, at addresses 0x92F9638 0x12971920
  47460. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  47461. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  47462. ==18304==    by 0x94AC937: incoming_reclaim (nta.c:5808)
  47463. ==18304==    by 0x94AC937: incoming_free (nta.c:5753)
  47464. ==18304==    by 0x94AD00D: nta_agent_destroy.part.70 (nta.c:1058)
  47465. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47466. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47467. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47468. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47469. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47470. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47471. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47472. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47473. ==18304==
  47474. ==18304== This conflicts with a previous write of size 8 by thread #19
  47475. ==18304== Locks held: 1, at address 0x7D761A8
  47476. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  47477. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  47478. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  47479. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  47480. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  47481. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47482. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47483. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47484. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47485. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  47486. ==18304==
  47487. ==18304== ----------------------------------------------------------------
  47488. ==18304==
  47489. ==18304==  Lock at 0x92F9638 was first observed
  47490. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47491. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47492. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47493. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47494. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47495. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47496. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47497. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47498. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  47499. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47500. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47501. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47502. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47503. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47504. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47505. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47506. ==18304==  Block was alloc'd by thread #27
  47507. ==18304==
  47508. ==18304==  Lock at 0x12971920 was first observed
  47509. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47510. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  47511. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47512. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47513. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47514. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47515. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47516. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47517. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47518. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47519. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47520. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47521. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47522. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47523. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47524. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47525. ==18304==  Address 0x12971920 is 0 bytes inside a block of size 80 alloc'd
  47526. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47527. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  47528. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47529. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47530. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47531. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47532. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47533. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47534. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47535. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47536. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47537. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47538. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47539. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47540. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47541. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47542. ==18304==  Block was alloc'd by thread #27
  47543. ==18304==
  47544. ==18304==  Lock at 0x7D761A8 was first observed
  47545. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47546. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47547. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47548. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47549. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47550. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47551. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47552. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47553. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  47554. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47555. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47556. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47557. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47558. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47559. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47560. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47561. ==18304==  Block was alloc'd by thread #19
  47562. ==18304==
  47563. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #27
  47564. ==18304== Locks held: 2, at addresses 0x92F9638 0x12971920
  47565. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  47566. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  47567. ==18304==    by 0x94AC937: incoming_reclaim (nta.c:5808)
  47568. ==18304==    by 0x94AC937: incoming_free (nta.c:5753)
  47569. ==18304==    by 0x94AD00D: nta_agent_destroy.part.70 (nta.c:1058)
  47570. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47571. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47572. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47573. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47574. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47575. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47576. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47577. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47578. ==18304==
  47579. ==18304== This conflicts with a previous write of size 8 by thread #19
  47580. ==18304== Locks held: 1, at address 0x7D761A8
  47581. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  47582. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  47583. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  47584. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  47585. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  47586. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47587. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47588. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47589. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47590. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  47591. ==18304==
  47592. ==18304== ----------------------------------------------------------------
  47593. ==18304==
  47594. ==18304==  Lock at 0x92F9638 was first observed
  47595. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47596. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47597. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47598. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47599. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47600. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47601. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47602. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47603. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  47604. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47605. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47606. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47607. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47608. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47609. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47610. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47611. ==18304==  Block was alloc'd by thread #27
  47612. ==18304==
  47613. ==18304==  Lock at 0x12971920 was first observed
  47614. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47615. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  47616. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47617. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47618. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47619. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47620. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47621. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47622. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47623. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47624. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47625. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47626. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47627. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47628. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47629. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47630. ==18304==  Address 0x12971920 is 0 bytes inside a block of size 80 alloc'd
  47631. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47632. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  47633. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47634. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47635. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47636. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47637. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47638. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47639. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47640. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47641. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47642. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47643. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47644. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47645. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47646. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47647. ==18304==  Block was alloc'd by thread #27
  47648. ==18304==
  47649. ==18304==  Lock at 0x7D761A8 was first observed
  47650. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47651. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47652. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47653. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47654. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47655. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47656. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47657. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47658. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  47659. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47660. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47661. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47662. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47663. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47664. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47665. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47666. ==18304==  Block was alloc'd by thread #19
  47667. ==18304==
  47668. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #27
  47669. ==18304== Locks held: 2, at addresses 0x92F9638 0x12971920
  47670. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  47671. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  47672. ==18304==    by 0x94AC937: incoming_reclaim (nta.c:5808)
  47673. ==18304==    by 0x94AC937: incoming_free (nta.c:5753)
  47674. ==18304==    by 0x94AD00D: nta_agent_destroy.part.70 (nta.c:1058)
  47675. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47676. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47677. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47678. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47679. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47680. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47681. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47682. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47683. ==18304==
  47684. ==18304== This conflicts with a previous write of size 8 by thread #19
  47685. ==18304== Locks held: 1, at address 0x7D761A8
  47686. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  47687. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  47688. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  47689. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  47690. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  47691. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47692. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47693. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47694. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47695. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  47696. ==18304==
  47697. ==18304== ----------------------------------------------------------------
  47698. ==18304==
  47699. ==18304==  Lock at 0x92F9638 was first observed
  47700. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47701. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47702. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47703. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47704. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47705. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47706. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47707. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47708. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  47709. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47710. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47711. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47712. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47713. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47714. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47715. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47716. ==18304==  Block was alloc'd by thread #27
  47717. ==18304==
  47718. ==18304==  Lock at 0x12971920 was first observed
  47719. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47720. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  47721. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47722. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47723. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47724. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47725. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47726. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47727. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47728. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47729. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47730. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47731. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47732. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47733. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47734. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47735. ==18304==  Address 0x12971920 is 0 bytes inside a block of size 80 alloc'd
  47736. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47737. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  47738. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47739. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47740. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47741. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47742. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47743. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47744. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47745. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47746. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47747. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47748. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47749. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47750. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47751. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47752. ==18304==  Block was alloc'd by thread #27
  47753. ==18304==
  47754. ==18304==  Lock at 0x7D761A8 was first observed
  47755. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47756. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47757. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47758. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47759. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47760. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47761. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47762. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47763. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  47764. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47765. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47766. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47767. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47768. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47769. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47770. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47771. ==18304==  Block was alloc'd by thread #19
  47772. ==18304==
  47773. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #27
  47774. ==18304== Locks held: 2, at addresses 0x92F9638 0x12971920
  47775. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  47776. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  47777. ==18304==    by 0x94AC937: incoming_reclaim (nta.c:5808)
  47778. ==18304==    by 0x94AC937: incoming_free (nta.c:5753)
  47779. ==18304==    by 0x94AD00D: nta_agent_destroy.part.70 (nta.c:1058)
  47780. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47781. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47782. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47783. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47784. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47785. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47786. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47787. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47788. ==18304==
  47789. ==18304== This conflicts with a previous write of size 8 by thread #19
  47790. ==18304== Locks held: 1, at address 0x7D761A8
  47791. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  47792. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  47793. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  47794. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  47795. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  47796. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47797. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47798. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47799. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47800. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  47801. ==18304==
  47802. ==18304== ----------------------------------------------------------------
  47803. ==18304==
  47804. ==18304==  Lock at 0x92F9638 was first observed
  47805. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47806. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47807. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47808. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47809. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47810. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47811. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47812. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47813. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  47814. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47815. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47816. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47817. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47818. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47819. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47820. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47821. ==18304==  Block was alloc'd by thread #27
  47822. ==18304==
  47823. ==18304==  Lock at 0x12971920 was first observed
  47824. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47825. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  47826. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47827. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47828. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47829. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47830. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47831. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47832. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47833. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47834. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47835. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47836. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47837. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47838. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47839. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47840. ==18304==  Address 0x12971920 is 0 bytes inside a block of size 80 alloc'd
  47841. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47842. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  47843. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47844. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47845. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47846. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47847. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47848. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47849. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47850. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47851. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47852. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47853. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47854. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47855. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47856. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47857. ==18304==  Block was alloc'd by thread #27
  47858. ==18304==
  47859. ==18304==  Lock at 0x7D761A8 was first observed
  47860. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47861. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47862. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47863. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47864. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47865. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47866. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47867. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47868. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  47869. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47870. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47871. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47872. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47873. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47874. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47875. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47876. ==18304==  Block was alloc'd by thread #19
  47877. ==18304==
  47878. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #27
  47879. ==18304== Locks held: 2, at addresses 0x92F9638 0x12971920
  47880. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  47881. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  47882. ==18304==    by 0x94AC937: incoming_reclaim (nta.c:5808)
  47883. ==18304==    by 0x94AC937: incoming_free (nta.c:5753)
  47884. ==18304==    by 0x94AD00D: nta_agent_destroy.part.70 (nta.c:1058)
  47885. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47886. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47887. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47888. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47889. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47890. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47891. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47892. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47893. ==18304==
  47894. ==18304== This conflicts with a previous write of size 8 by thread #19
  47895. ==18304== Locks held: 1, at address 0x7D761A8
  47896. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  47897. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  47898. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  47899. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  47900. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  47901. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47902. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47903. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47904. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47905. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  47906. ==18304==
  47907. ==18304== ----------------------------------------------------------------
  47908. ==18304==
  47909. ==18304==  Lock at 0x92F9638 was first observed
  47910. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47911. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47912. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47913. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47914. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47915. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47916. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47917. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47918. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  47919. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47920. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47921. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47922. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47923. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47924. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47925. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47926. ==18304==  Block was alloc'd by thread #27
  47927. ==18304==
  47928. ==18304==  Lock at 0x12971920 was first observed
  47929. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47930. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  47931. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47932. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47933. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47934. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47935. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47936. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47937. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47938. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47939. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47940. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47941. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47942. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47943. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47944. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47945. ==18304==  Address 0x12971920 is 0 bytes inside a block of size 80 alloc'd
  47946. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47947. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  47948. ==18304==    by 0x94E937B: nua_stack_event (nua_stack.c:324)
  47949. ==18304==    by 0x94DF95C: nua_base_server_report (nua_server.c:722)
  47950. ==18304==    by 0x94DEE1F: nua_server_report (nua_server.c:675)
  47951. ==18304==    by 0x94DEE1F: nua_stack_process_request (nua_server.c:279)
  47952. ==18304==    by 0x94C29AF: incoming_callback (nta.c:5570)
  47953. ==18304==    by 0x94C29AF: leg_recv (nta.c:4870)
  47954. ==18304==    by 0x94C4945: agent_recv_request (nta.c:3093)
  47955. ==18304==    by 0x94C4945: agent_recv_message (nta.c:2789)
  47956. ==18304==    by 0x9533397: tport_base_deliver (tport.c:3068)
  47957. ==18304==    by 0x9533397: tport_deliver (tport.c:3056)
  47958. ==18304==    by 0x9533516: tport_parse (tport.c:2974)
  47959. ==18304==    by 0x9533F71: tport_recv_event (tport.c:2916)
  47960. ==18304==    by 0x953670A: tport_base_wakeup (tport.c:2817)
  47961. ==18304==    by 0x951C3E9: su_epoll_port_wait_events (su_epoll_port.c:510)
  47962. ==18304==  Block was alloc'd by thread #27
  47963. ==18304==
  47964. ==18304==  Lock at 0x7D761A8 was first observed
  47965. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  47966. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  47967. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  47968. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  47969. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47970. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47971. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47972. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47973. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  47974. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  47975. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  47976. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  47977. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  47978. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47979. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47980. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47981. ==18304==  Block was alloc'd by thread #19
  47982. ==18304==
  47983. ==18304== Possible data race during write of size 8 at 0x963A090 by thread #27
  47984. ==18304== Locks held: 2, at addresses 0x92F9638 0x12971920
  47985. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  47986. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  47987. ==18304==    by 0x94AC937: incoming_reclaim (nta.c:5808)
  47988. ==18304==    by 0x94AC937: incoming_free (nta.c:5753)
  47989. ==18304==    by 0x94AD00D: nta_agent_destroy.part.70 (nta.c:1058)
  47990. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  47991. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  47992. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  47993. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  47994. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  47995. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  47996. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  47997. ==18304==    by 0x560E4CE: clone (clone.S:95)
  47998. ==18304==
  47999. ==18304== This conflicts with a previous read of size 8 by thread #19
  48000. ==18304== Locks held: 1, at address 0x7D761A8
  48001. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  48002. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  48003. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  48004. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  48005. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  48006. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48007. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48008. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48009. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48010. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  48011. ==18304==
  48012. ==18304== ----------------------------------------------------------------
  48013. ==18304==
  48014. ==18304==  Lock at 0x92F9638 was first observed
  48015. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48016. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48017. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48018. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48019. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48020. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48021. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48022. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48023. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  48024. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48025. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48026. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48027. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48028. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48029. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48030. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48031. ==18304==  Block was alloc'd by thread #27
  48032. ==18304==
  48033. ==18304==  Lock at 0x7D761A8 was first observed
  48034. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48035. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48036. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48037. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48038. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48039. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48040. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48041. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48042. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  48043. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48044. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48045. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48046. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48047. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48048. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48049. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48050. ==18304==  Block was alloc'd by thread #19
  48051. ==18304==
  48052. ==18304== Possible data race during read of size 4 at 0x96392A0 by thread #27
  48053. ==18304== Locks held: 1, at address 0x92F9638
  48054. ==18304==    at 0x951782D: sres_sofia_update (sresolv.c:189)
  48055. ==18304==    by 0x9517BF8: sres_resolver_destroy (sresolv.c:166)
  48056. ==18304==    by 0x94AD5D4: nta_agent_destroy.part.70 (nta.c:1080)
  48057. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48058. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48059. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48060. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48061. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  48062. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48063. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48064. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48065. ==18304==
  48066. ==18304== This conflicts with a previous write of size 4 by thread #19
  48067. ==18304== Locks held: 1, at address 0x7D761A8
  48068. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  48069. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  48070. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  48071. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  48072. ==18304==    by 0x951787D: sres_sofia_update (sresolv.c:189)
  48073. ==18304==    by 0x9517BF8: sres_resolver_destroy (sresolv.c:166)
  48074. ==18304==    by 0x94AD5D4: nta_agent_destroy.part.70 (nta.c:1080)
  48075. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48076. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48077. ==18304==  Address 0x96392a0 is 32 bytes inside data symbol "sresolv_log"
  48078. ==18304==
  48079. ==18304== ----------------------------------------------------------------
  48080. ==18304==
  48081. ==18304==  Lock at 0x92F9638 was first observed
  48082. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48083. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48084. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48085. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48086. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48087. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48088. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48089. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48090. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  48091. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48092. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48093. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48094. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48095. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48096. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48097. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48098. ==18304==  Block was alloc'd by thread #27
  48099. ==18304==
  48100. ==18304==  Lock at 0x7D761A8 was first observed
  48101. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48102. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48103. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48104. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48105. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48106. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48107. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48108. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48109. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  48110. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48111. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48112. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48113. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48114. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48115. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48116. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48117. ==18304==  Block was alloc'd by thread #19
  48118. ==18304==
  48119. ==18304== Possible data race during read of size 4 at 0x96392A0 by thread #27
  48120. ==18304== Locks held: 1, at address 0x92F9638
  48121. ==18304==    at 0x951782D: sres_sofia_update (sresolv.c:189)
  48122. ==18304==    by 0x951989C: _su_home_deinit (su_alloc.c:1109)
  48123. ==18304==    by 0x9519E33: su_home_unref (su_alloc.c:784)
  48124. ==18304==    by 0x9517C00: sres_resolver_destroy (sresolv.c:168)
  48125. ==18304==    by 0x94AD5D4: nta_agent_destroy.part.70 (nta.c:1080)
  48126. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48127. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48128. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48129. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48130. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  48131. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48132. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48133. ==18304==
  48134. ==18304== This conflicts with a previous write of size 4 by thread #19
  48135. ==18304== Locks held: 1, at address 0x7D761A8
  48136. ==18304==    at 0x951DCBB: su_log_init.part.0 (su_log.c:178)
  48137. ==18304==    by 0x951DDE9: su_log_init (su_log.c:155)
  48138. ==18304==    by 0x951DDE9: _su_vllog (su_log.c:127)
  48139. ==18304==    by 0x951E005: _su_llog (su_log.c:113)
  48140. ==18304==    by 0x951787D: sres_sofia_update (sresolv.c:189)
  48141. ==18304==    by 0x9517BF8: sres_resolver_destroy (sresolv.c:166)
  48142. ==18304==    by 0x94AD5D4: nta_agent_destroy.part.70 (nta.c:1080)
  48143. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48144. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48145. ==18304==  Address 0x96392a0 is 32 bytes inside data symbol "sresolv_log"
  48146. ==18304==
  48147. ==18304== ----------------------------------------------------------------
  48148. ==18304==
  48149. ==18304==  Lock at 0x9346648 was first observed
  48150. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48151. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48152. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48153. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48154. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  48155. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  48156. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48157. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48158. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48159. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48160. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  48161. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48162. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48163. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48164. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  48165. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  48166. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48167. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48168. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48169. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48170. ==18304==  Block was alloc'd by thread #14
  48171. ==18304==
  48172. ==18304==  Lock at 0x92F9638 was first observed
  48173. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48174. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48175. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48176. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48177. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48178. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48179. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48180. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48181. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  48182. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48183. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48184. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48185. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48186. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48187. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48188. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48189. ==18304==  Block was alloc'd by thread #27
  48190. ==18304==
  48191. ==18304==  Lock at 0x9342088 was first observed
  48192. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48193. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  48194. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48195. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48196. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48197. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  48198. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  48199. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48200. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48201. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48202. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48203. ==18304==  Address 0x9342088 is 40 bytes inside a block of size 80 alloc'd
  48204. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48205. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  48206. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48207. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48208. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48209. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  48210. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  48211. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48212. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48213. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48214. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48215. ==18304==  Block was alloc'd by thread #14
  48216. ==18304==
  48217. ==18304== Possible data race during read of size 8 at 0x9346608 by thread #14
  48218. ==18304== Locks held: 1, at address 0x9346648
  48219. ==18304==    at 0x951B98D: su_base_port_step (su_base_port.c:472)
  48220. ==18304==    by 0x957E240: sofia_profile_thread_run (sofia.c:3447)
  48221. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48222. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48223. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48224. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48225. ==18304==
  48226. ==18304== This conflicts with a previous write of size 8 by thread #27
  48227. ==18304== Locks held: 2, at addresses 0x92F9638 0x9342088
  48228. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  48229. ==18304==    by 0x94E939D: nua_stack_event (nua_stack.c:328)
  48230. ==18304==    by 0x94E96B1: nua_stack_shutdown (nua_stack.c:890)
  48231. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48232. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48233. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48234. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  48235. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48236. ==18304==  Address 0x9346608 is 56 bytes inside a block of size 216 alloc'd
  48237. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48238. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48239. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48240. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  48241. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  48242. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48243. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48244. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48245. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48246. ==18304==  Block was alloc'd by thread #14
  48247. ==18304==
  48248. ==18304== ----------------------------------------------------------------
  48249. ==18304==
  48250. ==18304==  Lock at 0x9338D88 was first observed
  48251. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48252. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  48253. ==18304==    by 0x9575ECF: config_sofia (sofia.c:4547)
  48254. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  48255. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  48256. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  48257. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  48258. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  48259. ==18304==    by 0x10AEC7: main (switch.c:1200)
  48260. ==18304==  Address 0x9338d88 is 7,640 bytes inside a block of size 8,192 alloc'd
  48261. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  48262. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  48263. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  48264. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  48265. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  48266. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  48267. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  48268. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  48269. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  48270. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  48271. ==18304==    by 0x10AEC7: main (switch.c:1200)
  48272. ==18304==  Block was alloc'd by thread #1
  48273. ==18304==
  48274. ==18304==  Lock at 0x9346648 was first observed
  48275. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48276. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48277. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48278. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48279. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  48280. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  48281. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48282. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48283. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48284. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48285. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  48286. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48287. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48288. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48289. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  48290. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  48291. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48292. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48293. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48294. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48295. ==18304==  Block was alloc'd by thread #14
  48296. ==18304==
  48297. ==18304== Possible data race during write of size 1 at 0x93375C9 by thread #14
  48298. ==18304== Locks held: 2, at addresses 0x9338D88 0x9346648
  48299. ==18304==    at 0x957E268: sofia_profile_thread_run (sofia.c:3453)
  48300. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48301. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48302. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48303. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48304. ==18304==
  48305. ==18304== This conflicts with a previous read of size 1 by thread #30
  48306. ==18304== Locks held: none
  48307. ==18304==    at 0x956772A: sofia_profile_worker_thread_run (sofia.c:2964)
  48308. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48309. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48310. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48311. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48312. ==18304==  Address 0x93375c9 is 1,561 bytes inside a block of size 8,192 alloc'd
  48313. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  48314. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  48315. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  48316. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  48317. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  48318. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  48319. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  48320. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  48321. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  48322. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  48323. ==18304==    by 0x10AEC7: main (switch.c:1200)
  48324. ==18304==  Block was alloc'd by thread #1
  48325. ==18304==
  48326. ==18304== ----------------------------------------------------------------
  48327. ==18304==
  48328. ==18304==  Lock at 0x7D761A8 was first observed
  48329. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48330. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48331. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48332. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48333. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48334. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48335. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48336. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48337. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  48338. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48339. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48340. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48341. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48342. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48343. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48344. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48345. ==18304==  Block was alloc'd by thread #19
  48346. ==18304==
  48347. ==18304==  Lock at 0x7D76700 was first observed
  48348. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48349. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  48350. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48351. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48352. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48353. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48354. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48355. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48356. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48357. ==18304==  Address 0x7d76700 is 0 bytes inside a block of size 80 alloc'd
  48358. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48359. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  48360. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48361. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48362. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48363. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48364. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48365. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48366. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48367. ==18304==  Block was alloc'd by thread #19
  48368. ==18304==
  48369. ==18304==  Lock at 0x92F9638 was first observed
  48370. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48371. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48372. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48373. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48374. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48375. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48376. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48377. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48378. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  48379. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48380. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48381. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48382. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48383. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48384. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48385. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48386. ==18304==  Block was alloc'd by thread #27
  48387. ==18304==
  48388. ==18304== Possible data race during read of size 8 at 0x963A050 by thread #19
  48389. ==18304== Locks held: 2, at addresses 0x7D761A8 0x7D76700
  48390. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  48391. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  48392. ==18304==    by 0x9520FAB: su_root_destroy (su_root.c:535)
  48393. ==18304==    by 0x95203FC: su_pthread_port_clone_main (su_pthread_port.c:365)
  48394. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48395. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48396. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48397. ==18304==
  48398. ==18304== This conflicts with a previous write of size 8 by thread #27
  48399. ==18304== Locks held: 1, at address 0x92F9638
  48400. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  48401. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  48402. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  48403. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  48404. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  48405. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48406. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48407. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48408. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48409. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  48410. ==18304==
  48411. ==18304== ----------------------------------------------------------------
  48412. ==18304==
  48413. ==18304==  Lock at 0x7D761A8 was first observed
  48414. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48415. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48416. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48417. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48418. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48419. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48420. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48421. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48422. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  48423. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48424. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48425. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48426. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48427. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48428. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48429. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48430. ==18304==  Block was alloc'd by thread #19
  48431. ==18304==
  48432. ==18304==  Lock at 0x7D76700 was first observed
  48433. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48434. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  48435. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48436. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48437. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48438. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48439. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48440. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48441. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48442. ==18304==  Address 0x7d76700 is 0 bytes inside a block of size 80 alloc'd
  48443. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48444. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  48445. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48446. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48447. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48448. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48449. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48450. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48451. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48452. ==18304==  Block was alloc'd by thread #19
  48453. ==18304==
  48454. ==18304==  Lock at 0x92F9638 was first observed
  48455. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48456. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48457. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48458. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48459. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48460. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48461. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48462. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48463. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  48464. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48465. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48466. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48467. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48468. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48469. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48470. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48471. ==18304==  Block was alloc'd by thread #27
  48472. ==18304==
  48473. ==18304== Possible data race during write of size 8 at 0x963A050 by thread #19
  48474. ==18304== Locks held: 2, at addresses 0x7D761A8 0x7D76700
  48475. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  48476. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  48477. ==18304==    by 0x9520FAB: su_root_destroy (su_root.c:535)
  48478. ==18304==    by 0x95203FC: su_pthread_port_clone_main (su_pthread_port.c:365)
  48479. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48480. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48481. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48482. ==18304==
  48483. ==18304== This conflicts with a previous write of size 8 by thread #27
  48484. ==18304== Locks held: 1, at address 0x92F9638
  48485. ==18304==    at 0x9519A76: su_block_find (su_alloc.c:301)
  48486. ==18304==    by 0x9519A76: su_free (su_alloc.c:918)
  48487. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  48488. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  48489. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  48490. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48491. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48492. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48493. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48494. ==18304==  Address 0x963a050 is 0 bytes inside data symbol "count_su_block_find"
  48495. ==18304==
  48496. ==18304== ----------------------------------------------------------------
  48497. ==18304==
  48498. ==18304==  Lock at 0x7D761A8 was first observed
  48499. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48500. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48501. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48502. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48503. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48504. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48505. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48506. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48507. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  48508. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48509. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48510. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48511. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48512. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48513. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48514. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48515. ==18304==  Block was alloc'd by thread #19
  48516. ==18304==
  48517. ==18304==  Lock at 0x7D76700 was first observed
  48518. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48519. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  48520. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48521. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48522. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48523. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48524. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48525. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48526. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48527. ==18304==  Address 0x7d76700 is 0 bytes inside a block of size 80 alloc'd
  48528. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48529. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  48530. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48531. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48532. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48533. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48534. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48535. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48536. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48537. ==18304==  Block was alloc'd by thread #19
  48538. ==18304==
  48539. ==18304==  Lock at 0x92F9638 was first observed
  48540. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48541. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48542. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48543. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48544. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48545. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48546. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48547. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48548. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  48549. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48550. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48551. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48552. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48553. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48554. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48555. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48556. ==18304==  Block was alloc'd by thread #27
  48557. ==18304==
  48558. ==18304== Possible data race during read of size 8 at 0x963A098 by thread #19
  48559. ==18304== Locks held: 2, at addresses 0x7D761A8 0x7D76700
  48560. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  48561. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  48562. ==18304==    by 0x9520FAB: su_root_destroy (su_root.c:535)
  48563. ==18304==    by 0x95203FC: su_pthread_port_clone_main (su_pthread_port.c:365)
  48564. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48565. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48566. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48567. ==18304==
  48568. ==18304== This conflicts with a previous write of size 8 by thread #27
  48569. ==18304== Locks held: 1, at address 0x92F9638
  48570. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  48571. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  48572. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  48573. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  48574. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  48575. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48576. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48577. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48578. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48579. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  48580. ==18304==
  48581. ==18304== ----------------------------------------------------------------
  48582. ==18304==
  48583. ==18304==  Lock at 0x7D761A8 was first observed
  48584. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48585. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48586. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48587. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48588. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48589. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48590. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48591. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48592. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  48593. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48594. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48595. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48596. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48597. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48598. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48599. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48600. ==18304==  Block was alloc'd by thread #19
  48601. ==18304==
  48602. ==18304==  Lock at 0x7D76700 was first observed
  48603. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48604. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  48605. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48606. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48607. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48608. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48609. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48610. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48611. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48612. ==18304==  Address 0x7d76700 is 0 bytes inside a block of size 80 alloc'd
  48613. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48614. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  48615. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48616. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48617. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48618. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48619. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48620. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48621. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48622. ==18304==  Block was alloc'd by thread #19
  48623. ==18304==
  48624. ==18304==  Lock at 0x92F9638 was first observed
  48625. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48626. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48627. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48628. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48629. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48630. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48631. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48632. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48633. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  48634. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48635. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48636. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48637. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48638. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48639. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48640. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48641. ==18304==  Block was alloc'd by thread #27
  48642. ==18304==
  48643. ==18304== Possible data race during write of size 8 at 0x963A098 by thread #19
  48644. ==18304== Locks held: 2, at addresses 0x7D761A8 0x7D76700
  48645. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  48646. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  48647. ==18304==    by 0x9520FAB: su_root_destroy (su_root.c:535)
  48648. ==18304==    by 0x95203FC: su_pthread_port_clone_main (su_pthread_port.c:365)
  48649. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48650. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48651. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48652. ==18304==
  48653. ==18304== This conflicts with a previous write of size 8 by thread #27
  48654. ==18304== Locks held: 1, at address 0x92F9638
  48655. ==18304==    at 0x9519A7E: su_block_find (su_alloc.c:302)
  48656. ==18304==    by 0x9519A7E: su_free (su_alloc.c:918)
  48657. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  48658. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  48659. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  48660. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48661. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48662. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48663. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48664. ==18304==  Address 0x963a098 is 0 bytes inside data symbol "size_su_block_find"
  48665. ==18304==
  48666. ==18304== ----------------------------------------------------------------
  48667. ==18304==
  48668. ==18304==  Lock at 0x7D761A8 was first observed
  48669. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48670. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48671. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48672. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48673. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48674. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48675. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48676. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48677. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  48678. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48679. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48680. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48681. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48682. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48683. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48684. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48685. ==18304==  Block was alloc'd by thread #19
  48686. ==18304==
  48687. ==18304==  Lock at 0x7D76700 was first observed
  48688. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48689. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  48690. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48691. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48692. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48693. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48694. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48695. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48696. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48697. ==18304==  Address 0x7d76700 is 0 bytes inside a block of size 80 alloc'd
  48698. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48699. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  48700. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48701. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48702. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48703. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48704. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48705. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48706. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48707. ==18304==  Block was alloc'd by thread #19
  48708. ==18304==
  48709. ==18304==  Lock at 0x92F9638 was first observed
  48710. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48711. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48712. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48713. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48714. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48715. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48716. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48717. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48718. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  48719. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48720. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48721. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48722. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48723. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48724. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48725. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48726. ==18304==  Block was alloc'd by thread #27
  48727. ==18304==
  48728. ==18304== Possible data race during read of size 8 at 0x963A088 by thread #19
  48729. ==18304== Locks held: 2, at addresses 0x7D761A8 0x7D76700
  48730. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  48731. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  48732. ==18304==    by 0x9520FAB: su_root_destroy (su_root.c:535)
  48733. ==18304==    by 0x95203FC: su_pthread_port_clone_main (su_pthread_port.c:365)
  48734. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48735. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48736. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48737. ==18304==
  48738. ==18304== This conflicts with a previous write of size 8 by thread #27
  48739. ==18304== Locks held: 1, at address 0x92F9638
  48740. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  48741. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  48742. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  48743. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  48744. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  48745. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48746. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48747. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48748. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48749. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  48750. ==18304==
  48751. ==18304== ----------------------------------------------------------------
  48752. ==18304==
  48753. ==18304==  Lock at 0x7D761A8 was first observed
  48754. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48755. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48756. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48757. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48758. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48759. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48760. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48761. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48762. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  48763. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48764. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48765. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48766. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48767. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48768. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48769. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48770. ==18304==  Block was alloc'd by thread #19
  48771. ==18304==
  48772. ==18304==  Lock at 0x7D76700 was first observed
  48773. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48774. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  48775. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48776. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48777. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48778. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48779. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48780. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48781. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48782. ==18304==  Address 0x7d76700 is 0 bytes inside a block of size 80 alloc'd
  48783. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48784. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  48785. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48786. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48787. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48788. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48789. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48790. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48791. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48792. ==18304==  Block was alloc'd by thread #19
  48793. ==18304==
  48794. ==18304==  Lock at 0x92F9638 was first observed
  48795. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48796. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48797. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48798. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48799. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48800. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48801. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48802. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48803. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  48804. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48805. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48806. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48807. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48808. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48809. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48810. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48811. ==18304==  Block was alloc'd by thread #27
  48812. ==18304==
  48813. ==18304== Possible data race during write of size 8 at 0x963A088 by thread #19
  48814. ==18304== Locks held: 2, at addresses 0x7D761A8 0x7D76700
  48815. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  48816. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  48817. ==18304==    by 0x9520FAB: su_root_destroy (su_root.c:535)
  48818. ==18304==    by 0x95203FC: su_pthread_port_clone_main (su_pthread_port.c:365)
  48819. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48820. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48821. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48822. ==18304==
  48823. ==18304== This conflicts with a previous write of size 8 by thread #27
  48824. ==18304== Locks held: 1, at address 0x92F9638
  48825. ==18304==    at 0x9519A89: su_block_find (su_alloc.c:303)
  48826. ==18304==    by 0x9519A89: su_free (su_alloc.c:918)
  48827. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  48828. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  48829. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  48830. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48831. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48832. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48833. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48834. ==18304==  Address 0x963a088 is 0 bytes inside data symbol "used_su_block_find"
  48835. ==18304==
  48836. ==18304== ----------------------------------------------------------------
  48837. ==18304==
  48838. ==18304==  Lock at 0x7D761A8 was first observed
  48839. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48840. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48841. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48842. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48843. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48844. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48845. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48846. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48847. ==18304==  Address 0x7d761a8 is 120 bytes inside a block of size 216 alloc'd
  48848. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48849. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48850. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48851. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48852. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48853. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48854. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48855. ==18304==  Block was alloc'd by thread #19
  48856. ==18304==
  48857. ==18304==  Lock at 0x7D76700 was first observed
  48858. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48859. ==18304==    by 0x951B292: su_home_threadsafe (su_alloc_lock.c:123)
  48860. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48861. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48862. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48863. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48864. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48865. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48866. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48867. ==18304==  Address 0x7d76700 is 0 bytes inside a block of size 80 alloc'd
  48868. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48869. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  48870. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48871. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48872. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48873. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48874. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48875. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48876. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48877. ==18304==  Block was alloc'd by thread #19
  48878. ==18304==
  48879. ==18304==  Lock at 0x92F9638 was first observed
  48880. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48881. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48882. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48883. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48884. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48885. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48886. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48887. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48888. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  48889. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48890. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48891. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48892. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48893. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48894. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48895. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48896. ==18304==  Block was alloc'd by thread #27
  48897. ==18304==
  48898. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #19
  48899. ==18304== Locks held: 2, at addresses 0x7D761A8 0x7D76700
  48900. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  48901. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  48902. ==18304==    by 0x9520FAB: su_root_destroy (su_root.c:535)
  48903. ==18304==    by 0x95203FC: su_pthread_port_clone_main (su_pthread_port.c:365)
  48904. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48905. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48906. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48907. ==18304==
  48908. ==18304== This conflicts with a previous write of size 8 by thread #27
  48909. ==18304== Locks held: 2, at address 0x92F9638 (and 1 that can't be shown)
  48910. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  48911. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  48912. ==18304==    by 0x94AC937: incoming_reclaim (nta.c:5808)
  48913. ==18304==    by 0x94AC937: incoming_free (nta.c:5753)
  48914. ==18304==    by 0x94AD00D: nta_agent_destroy.part.70 (nta.c:1058)
  48915. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  48916. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  48917. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  48918. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  48919. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  48920. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  48921. ==18304==
  48922. ==18304== ----------------------------------------------------------------
  48923. ==18304==
  48924. ==18304==  Lock at 0x92F7358 was first observed
  48925. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48926. ==18304==    by 0x951B29D: su_home_threadsafe (su_alloc_lock.c:125)
  48927. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48928. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48929. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48930. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48931. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48932. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48933. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48934. ==18304==  Address 0x92f7358 is 40 bytes inside a block of size 80 alloc'd
  48935. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48936. ==18304==    by 0x951B27C: su_home_threadsafe (su_alloc_lock.c:119)
  48937. ==18304==    by 0x952059F: su_pthread_port_thread (su_pthread_port.c:146)
  48938. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48939. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48940. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48941. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48942. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48943. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48944. ==18304==  Block was alloc'd by thread #27
  48945. ==18304==
  48946. ==18304==  Lock at 0x9346648 was first observed
  48947. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48948. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48949. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48950. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48951. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  48952. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  48953. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48954. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48955. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48956. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48957. ==18304==  Address 0x9346648 is 120 bytes inside a block of size 216 alloc'd
  48958. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  48959. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  48960. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  48961. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  48962. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  48963. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48964. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48965. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48966. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48967. ==18304==  Block was alloc'd by thread #14
  48968. ==18304==
  48969. ==18304==  Lock at 0x972D8C0 was first observed
  48970. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48971. ==18304==    by 0x9520825: su_pthread_port_wait (su_pthread_port.c:446)
  48972. ==18304==    by 0x94C93F9: nua_destroy (nua.c:233)
  48973. ==18304==    by 0x957E366: sofia_profile_thread_run (sofia.c:3472)
  48974. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48975. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48976. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48977. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48978. ==18304==  Address 0x972d8c0 is on thread #14's stack
  48979. ==18304==  in frame #1, created by su_pthread_port_wait (su_pthread_port.c:417)
  48980. ==18304==
  48981. ==18304==  Lock at 0x972D8E8 was first observed
  48982. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48983. ==18304==    by 0x9520842: su_pthread_port_wait (su_pthread_port.c:450)
  48984. ==18304==    by 0x94C93F9: nua_destroy (nua.c:233)
  48985. ==18304==    by 0x957E366: sofia_profile_thread_run (sofia.c:3472)
  48986. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  48987. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  48988. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  48989. ==18304==    by 0x560E4CE: clone (clone.S:95)
  48990. ==18304==  Address 0x972d8e8 is on thread #14's stack
  48991. ==18304==  in frame #1, created by su_pthread_port_wait (su_pthread_port.c:417)
  48992. ==18304==
  48993. ==18304==  Lock at 0x92F9638 was first observed
  48994. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  48995. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  48996. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  48997. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  48998. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  48999. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49000. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49001. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49002. ==18304==  Address 0x92f9638 is 120 bytes inside a block of size 216 alloc'd
  49003. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  49004. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  49005. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  49006. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  49007. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49008. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49009. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49010. ==18304==  Block was alloc'd by thread #27
  49011. ==18304==
  49012. ==18304== Possible data race during write of size 8 at 0x92F95F8 by thread #14
  49013. ==18304== Locks held: 4, at addresses 0x92F7358 0x9346648 0x972D8C0 0x972D8E8
  49014. ==18304==    at 0x951B603: su_base_port_send (su_base_port.c:166)
  49015. ==18304==    by 0x9520862: su_pthread_port_wait (su_pthread_port.c:457)
  49016. ==18304==    by 0x94C93F9: nua_destroy (nua.c:233)
  49017. ==18304==    by 0x957E366: sofia_profile_thread_run (sofia.c:3472)
  49018. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49019. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49020. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49021. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49022. ==18304==
  49023. ==18304== This conflicts with a previous read of size 8 by thread #27
  49024. ==18304== Locks held: 1, at address 0x92F9638
  49025. ==18304==    at 0x951B7FE: su_base_port_run (su_base_port.c:346)
  49026. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  49027. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49028. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49029. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49030. ==18304==  Address 0x92f95f8 is 56 bytes inside a block of size 216 alloc'd
  49031. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  49032. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  49033. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  49034. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  49035. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49036. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49037. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49038. ==18304==  Block was alloc'd by thread #27
  49039. ==18304==
  49040. ==18304== ----------------------------------------------------------------
  49041. ==18304==
  49042. ==18304==  Lock at 0x9798D68 was first observed
  49043. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49044. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  49045. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  49046. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  49047. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  49048. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49049. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49050. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49051. ==18304==  Address 0x9798d68 is 120 bytes inside a block of size 216 alloc'd
  49052. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  49053. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  49054. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  49055. ==18304==    by 0x952021C: su_pthread_port_clone_main (su_pthread_port.c:315)
  49056. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49057. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49058. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49059. ==18304==  Block was alloc'd by thread #17
  49060. ==18304==
  49061. ==18304== Possible data race during read of size 8 at 0x963A090 by thread #17
  49062. ==18304== Locks held: 1, at address 0x9798D68
  49063. ==18304==    at 0x9519ACF: su_block_find (su_alloc.c:299)
  49064. ==18304==    by 0x9519ACF: su_free (su_alloc.c:918)
  49065. ==18304==    by 0x9519DEF: su_home_unref (su_alloc.c:779)
  49066. ==18304==    by 0x952C4D4: tport_destroy (tport.c:568)
  49067. ==18304==    by 0x94AD5E8: nta_agent_destroy.part.70 (nta.c:1083)
  49068. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  49069. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  49070. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  49071. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  49072. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  49073. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49074. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49075. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49076. ==18304==
  49077. ==18304== This conflicts with a previous write of size 8 by thread #27
  49078. ==18304== Locks held: 2, at addresses  (and 2 that can't be shown)
  49079. ==18304==    at 0x9519B72: su_block_find (su_alloc.c:317)
  49080. ==18304==    by 0x9519B72: su_free (su_alloc.c:918)
  49081. ==18304==    by 0x94AC937: incoming_reclaim (nta.c:5808)
  49082. ==18304==    by 0x94AC937: incoming_free (nta.c:5753)
  49083. ==18304==    by 0x94AD00D: nta_agent_destroy.part.70 (nta.c:1058)
  49084. ==18304==    by 0x94E974E: nua_stack_shutdown (nua_stack.c:887)
  49085. ==18304==    by 0x94EA337: nua_stack_signal (nua_stack.c:594)
  49086. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  49087. ==18304==    by 0x951B858: su_base_port_run (su_base_port.c:335)
  49088. ==18304==    by 0x952039A: su_pthread_port_clone_main (su_pthread_port.c:343)
  49089. ==18304==  Address 0x963a090 is 0 bytes inside data symbol "count_su_block_find_loop"
  49090. ==18304==
  49091. ==18304== ----------------------------------------------------------------
  49092. ==18304==
  49093. ==18304== Thread #2: pthread_rwlock_destroy of a locked mutex
  49094. ==18304==    at 0x483B31A: pthread_rwlock_destroy_WRK (hg_intercepts.c:2104)
  49095. ==18304==    by 0x5023BBE: run_cleanups (apr_pools.c:2109)
  49096. ==18304==    by 0x5023BBE: apr_pool_destroy (apr_pools.c:754)
  49097. ==18304==    by 0x5023BBE: apr_pool_destroy (apr_pools.c:742)
  49098. ==18304==    by 0x4CDA24E: pool_thread (switch_core_memory.c:601)
  49099. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49100. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49101. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49102. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49103. ==18304==
  49104. ==18304== ----------------------------------------------------------------
  49105. ==18304==
  49106. ==18304== Thread #23: lock order "0x7B89680 before 0x9790E48" violated
  49107. ==18304==
  49108. ==18304== Observed (incorrect) order is: acquisition of lock at 0x9790E48
  49109. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  49110. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  49111. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  49112. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  49113. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49114. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  49115. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49116. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49117. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49118. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49119. ==18304==
  49120. ==18304==  followed by a later acquisition of lock at 0x7B89680
  49121. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49122. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  49123. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  49124. ==18304==    by 0x4CE3970: switch_user_sql_thread (switch_core_sqldb.c:2373)
  49125. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49126. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49127. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49128. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49129. ==18304==
  49130. ==18304== Required order was established by acquisition of lock at 0x7B89680
  49131. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49132. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  49133. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  49134. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49135. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49136. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49137. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49138. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49139. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49140. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49141. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49142. ==18304==
  49143. ==18304==  followed by a later acquisition of lock at 0x9790E48
  49144. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49145. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  49146. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  49147. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49148. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49149. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49150. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49151. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49152. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49153. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49154. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49155. ==18304==
  49156. ==18304==  Lock at 0x7B89680 was first observed
  49157. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49158. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49159. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  49160. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  49161. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  49162. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49163. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49164. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  49165. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49166. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  49167. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  49168. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  49169. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  49170. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  49171. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  49172. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49173. ==18304==  Block was alloc'd by thread #1
  49174. ==18304==
  49175. ==18304==  Lock at 0x9790E48 was first observed
  49176. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49177. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49178. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  49179. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  49180. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49181. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49182. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49183. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49184. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49185. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49186. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49187. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49188. ==18304==  Address 0x9790e48 is 1,144 bytes inside a block of size 8,192 alloc'd
  49189. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49190. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49191. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49192. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49193. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  49194. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  49195. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49196. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49197. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49198. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49199. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49200. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49201. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49202. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49203. ==18304==  Block was alloc'd by thread #13
  49204. ==18304==
  49205. ==18304==
  49206. ==18304== ----------------------------------------------------------------
  49207. ==18304==
  49208. ==18304==  Lock at 0x91CE8A8 was first observed
  49209. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49210. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  49211. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  49212. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  49213. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  49214. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  49215. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49216. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49217. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49218. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49219. ==18304==  Address 0x91ce8a8 is 120 bytes inside a block of size 216 alloc'd
  49220. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  49221. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  49222. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  49223. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  49224. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  49225. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49226. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49227. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49228. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49229. ==18304==  Block was alloc'd by thread #13
  49230. ==18304==
  49231. ==18304== Possible data race during write of size 4 at 0x9B2DDE4 by thread #23
  49232. ==18304== Locks held: none
  49233. ==18304==    at 0x4CE3971: switch_user_sql_thread (switch_core_sqldb.c:2375)
  49234. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49235. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49236. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49237. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49238. ==18304==
  49239. ==18304== This conflicts with a previous read of size 4 by thread #13
  49240. ==18304== Locks held: 1, at address 0x91CE8A8
  49241. ==18304==    at 0x4CE5A0F: switch_sql_queue_manager_stop (switch_core_sqldb.c:1876)
  49242. ==18304==    by 0x4CE5B81: switch_sql_queue_manager_destroy (switch_core_sqldb.c:1935)
  49243. ==18304==    by 0x957E39E: sofia_profile_thread_run (sofia.c:3480)
  49244. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49245. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49246. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49247. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49248. ==18304==  Address 0x9b2dde4 is 340 bytes inside a block of size 8,192 alloc'd
  49249. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49250. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49251. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49252. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49253. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  49254. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  49255. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49256. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49257. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49258. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49259. ==18304==  Block was alloc'd by thread #13
  49260. ==18304==
  49261. ==18304== ----------------------------------------------------------------
  49262. ==18304==
  49263. ==18304== Thread #28: lock order "0x7B89680 before 0x9788298" violated
  49264. ==18304==
  49265. ==18304== Observed (incorrect) order is: acquisition of lock at 0x9788298
  49266. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  49267. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  49268. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  49269. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  49270. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49271. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  49272. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49273. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49274. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49275. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49276. ==18304==
  49277. ==18304==  followed by a later acquisition of lock at 0x7B89680
  49278. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49279. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  49280. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  49281. ==18304==    by 0x4CE3970: switch_user_sql_thread (switch_core_sqldb.c:2373)
  49282. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49283. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49284. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49285. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49286. ==18304==
  49287. ==18304== Required order was established by acquisition of lock at 0x7B89680
  49288. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49289. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  49290. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  49291. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49292. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49293. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49294. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49295. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49296. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49297. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49298. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49299. ==18304==
  49300. ==18304==  followed by a later acquisition of lock at 0x9788298
  49301. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49302. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  49303. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  49304. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49305. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49306. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49307. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49308. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49309. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49310. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49311. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49312. ==18304==
  49313. ==18304==  Lock at 0x7B89680 was first observed
  49314. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49315. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49316. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  49317. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  49318. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  49319. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49320. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49321. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  49322. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49323. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  49324. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  49325. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  49326. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  49327. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  49328. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  49329. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49330. ==18304==  Block was alloc'd by thread #1
  49331. ==18304==
  49332. ==18304==  Lock at 0x9788298 was first observed
  49333. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49334. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49335. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  49336. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  49337. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49338. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49339. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49340. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49341. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49342. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49343. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49344. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49345. ==18304==  Address 0x9788298 is 1,144 bytes inside a block of size 8,192 alloc'd
  49346. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49347. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49348. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49349. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49350. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  49351. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  49352. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49353. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49354. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49355. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49356. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49357. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49358. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49359. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49360. ==18304==  Block was alloc'd by thread #14
  49361. ==18304==
  49362. ==18304==
  49363. ==18304== ----------------------------------------------------------------
  49364. ==18304==
  49365. ==18304==  Lock at 0x91CE8A8 was first observed
  49366. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49367. ==18304==    by 0x952049F: su_pthread_port_init (su_pthread_port.c:75)
  49368. ==18304==    by 0x9522CB3: su_socket_port_init (su_socket_port.c:90)
  49369. ==18304==    by 0x951CB19: su_epoll_port_create (su_epoll_port.c:556)
  49370. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  49371. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  49372. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49373. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49374. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49375. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49376. ==18304==  Address 0x91ce8a8 is 120 bytes inside a block of size 216 alloc'd
  49377. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  49378. ==18304==    by 0x95191F9: su_home_new (su_alloc.c:569)
  49379. ==18304==    by 0x951CA47: su_epoll_port_create (su_epoll_port.c:534)
  49380. ==18304==    by 0x9520E88: su_root_create (su_root.c:409)
  49381. ==18304==    by 0x957D002: sofia_profile_thread_run (sofia.c:3155)
  49382. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49383. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49384. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49385. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49386. ==18304==  Block was alloc'd by thread #13
  49387. ==18304==
  49388. ==18304== Possible data race during read of size 4 at 0x9B2DDE4 by thread #13
  49389. ==18304== Locks held: 1, at address 0x91CE8A8
  49390. ==18304==    at 0x4CE5A1B: switch_sql_queue_manager_stop (switch_core_sqldb.c:1869)
  49391. ==18304==    by 0x4CE5B81: switch_sql_queue_manager_destroy (switch_core_sqldb.c:1935)
  49392. ==18304==    by 0x957E39E: sofia_profile_thread_run (sofia.c:3480)
  49393. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49394. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49395. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49396. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49397. ==18304==
  49398. ==18304== This conflicts with a previous write of size 4 by thread #23
  49399. ==18304== Locks held: none
  49400. ==18304==    at 0x4CE3971: switch_user_sql_thread (switch_core_sqldb.c:2375)
  49401. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49402. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49403. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49404. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49405. ==18304==  Address 0x9b2dde4 is 340 bytes inside a block of size 8,192 alloc'd
  49406. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49407. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49408. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49409. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49410. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  49411. ==18304==    by 0x957DF55: sofia_profile_thread_run (sofia.c:3382)
  49412. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49413. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49414. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49415. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49416. ==18304==  Block was alloc'd by thread #13
  49417. ==18304==
  49418. ==18304== ----------------------------------------------------------------
  49419. ==18304==
  49420. ==18304== Thread #14: lock order "0x9338D28 before 0x92BA350" violated
  49421. ==18304==
  49422. ==18304== Observed (incorrect) order is: acquisition of lock at 0x92BA350
  49423. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  49424. ==18304==    by 0x4CECA5F: switch_core_session_request_uuid (switch_core_session.c:2348)
  49425. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  49426. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  49427. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  49428. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  49429. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  49430. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49431. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49432. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49433. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49434. ==18304==
  49435. ==18304==  followed by a later acquisition of lock at 0x9338D28
  49436. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  49437. ==18304==    by 0x957E504: sofia_profile_thread_run (sofia.c:3511)
  49438. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49439. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49440. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49441. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49442. ==18304==
  49443. ==18304==  Lock at 0x9338D28 was first observed
  49444. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  49445. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  49446. ==18304==    by 0x9575EB7: config_sofia (sofia.c:4546)
  49447. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  49448. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49449. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49450. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49451. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49452. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49453. ==18304==  Address 0x9338d28 is 7,544 bytes inside a block of size 8,192 alloc'd
  49454. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49455. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49456. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49457. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49458. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  49459. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  49460. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49461. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49462. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49463. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49464. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49465. ==18304==  Block was alloc'd by thread #1
  49466. ==18304==
  49467. ==18304==  Lock at 0x92BA350 was first observed
  49468. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  49469. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  49470. ==18304==    by 0x4D49ECB: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  49471. ==18304==    by 0x9565B67: mod_sofia_load (mod_sofia.c:6342)
  49472. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49473. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49474. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49475. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49476. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49477. ==18304==  Address 0x92ba350 is 136,848 bytes inside a block of size 139,264 alloc'd
  49478. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49479. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  49480. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  49481. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  49482. ==18304==    by 0x95655EA: mod_sofia_load (mod_sofia.c:6244)
  49483. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49484. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49485. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49486. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49487. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49488. ==18304==  Block was alloc'd by thread #1
  49489. ==18304==
  49490. ==18304==
  49491. ==18304== ----------------------------------------------------------------
  49492. ==18304==
  49493. ==18304== Thread #14: lock order "0x91D2D90 before 0x92BA350" violated
  49494. ==18304==
  49495. ==18304== Observed (incorrect) order is: acquisition of lock at 0x92BA350
  49496. ==18304==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  49497. ==18304==    by 0x4CECA5F: switch_core_session_request_uuid (switch_core_session.c:2348)
  49498. ==18304==    by 0x9593AA0: sofia_event_callback (sofia.c:2581)
  49499. ==18304==    by 0x94E83B6: nua_application_event (nua_stack.c:393)
  49500. ==18304==    by 0x951B381: su_base_port_execute_msgs (su_base_port.c:280)
  49501. ==18304==    by 0x951B9A5: su_base_port_step (su_base_port.c:473)
  49502. ==18304==    by 0x957E142: sofia_profile_thread_run (sofia.c:3422)
  49503. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49504. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49505. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49506. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49507. ==18304==
  49508. ==18304==  followed by a later acquisition of lock at 0x91D2D90
  49509. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49510. ==18304==    by 0x9598983: sofia_glue_del_profile (sofia_glue.c:2190)
  49511. ==18304==    by 0x957E518: sofia_profile_thread_run (sofia.c:3517)
  49512. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49513. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49514. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49515. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49516. ==18304==
  49517. ==18304==  Lock at 0x91D2D90 was first observed
  49518. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49519. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49520. ==18304==    by 0x95652C6: mod_sofia_load (mod_sofia.c:6117)
  49521. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49522. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49523. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49524. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49525. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49526. ==18304==  Address 0x91d2d90 is 400 bytes inside a block of size 8,192 alloc'd
  49527. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49528. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49529. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49530. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49531. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  49532. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49533. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49534. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49535. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49536. ==18304==  Block was alloc'd by thread #1
  49537. ==18304==
  49538. ==18304==  Lock at 0x92BA350 was first observed
  49539. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  49540. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  49541. ==18304==    by 0x4D49ECB: switch_loadable_module_create_interface (switch_loadable_module.c:3131)
  49542. ==18304==    by 0x9565B67: mod_sofia_load (mod_sofia.c:6342)
  49543. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49544. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49545. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49546. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49547. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49548. ==18304==  Address 0x92ba350 is 136,848 bytes inside a block of size 139,264 alloc'd
  49549. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49550. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  49551. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  49552. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  49553. ==18304==    by 0x95655EA: mod_sofia_load (mod_sofia.c:6244)
  49554. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49555. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49556. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49557. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49558. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49559. ==18304==  Block was alloc'd by thread #1
  49560. ==18304==
  49561. ==18304==
  49562. ==18304== ----------------------------------------------------------------
  49563. ==18304==
  49564. ==18304==  Lock at 0x91D2D40 was first observed
  49565. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49566. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49567. ==18304==    by 0x956528C: mod_sofia_load (mod_sofia.c:6114)
  49568. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49569. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49570. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49571. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49572. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49573. ==18304==  Address 0x91d2d40 is 320 bytes inside a block of size 8,192 alloc'd
  49574. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49575. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49576. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49577. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49578. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  49579. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49580. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49581. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49582. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49583. ==18304==  Block was alloc'd by thread #1
  49584. ==18304==
  49585. ==18304== Possible data race during write of size 4 at 0x963A128 by thread #14
  49586. ==18304== Locks held: 1, at address 0x91D2D40
  49587. ==18304==    at 0x957D8C7: sofia_profile_thread_run (sofia.c:3533)
  49588. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49589. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49590. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49591. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49592. ==18304==
  49593. ==18304== This conflicts with a previous write of size 4 by thread #33
  49594. ==18304== Locks held: 1, at address 0x91D2D40
  49595. ==18304==    at 0x95A4D1D: sofia_presence_event_thread_run (sofia_presence.c:1666)
  49596. ==18304==    by 0x95A4D1D: sofia_presence_event_thread_run (sofia_presence.c:1601)
  49597. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49598. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49599. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49600. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49601. ==18304==  Address 0x963a128 is 40 bytes inside data symbol "mod_sofia_globals"
  49602. ==18304==
  49603. ==18304== ----------------------------------------------------------------
  49604. ==18304==
  49605. ==18304== Thread #13: lock order "0x91D2D90 before 0x932CE50" violated
  49606. ==18304==
  49607. ==18304== Observed (incorrect) order is: acquisition of lock at 0x932CE50
  49608. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  49609. ==18304==    by 0x957E504: sofia_profile_thread_run (sofia.c:3511)
  49610. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49611. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49612. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49613. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49614. ==18304==
  49615. ==18304==  followed by a later acquisition of lock at 0x91D2D90
  49616. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49617. ==18304==    by 0x9598983: sofia_glue_del_profile (sofia_glue.c:2190)
  49618. ==18304==    by 0x957E518: sofia_profile_thread_run (sofia.c:3517)
  49619. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49620. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49621. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49622. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49623. ==18304==
  49624. ==18304== Required order was established by acquisition of lock at 0x91D2D90
  49625. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49626. ==18304==    by 0x9598213: sofia_glue_find_profile__ (sofia_glue.c:1964)
  49627. ==18304==    by 0x95A30A4: actual_sofia_presence_event_handler (sofia_presence.c:1308)
  49628. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  49629. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  49630. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49631. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49632. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49633. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49634. ==18304==
  49635. ==18304==  followed by a later acquisition of lock at 0x932CE50
  49636. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  49637. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  49638. ==18304==    by 0x959815F: sofia_glue_profile_rdlock__ (sofia_glue.c:1936)
  49639. ==18304==    by 0x9598241: sofia_glue_find_profile__ (sofia_glue.c:1973)
  49640. ==18304==    by 0x95A30A4: actual_sofia_presence_event_handler (sofia_presence.c:1308)
  49641. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  49642. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  49643. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49644. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49645. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49646. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49647. ==18304==
  49648. ==18304==  Lock at 0x91D2D90 was first observed
  49649. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49650. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49651. ==18304==    by 0x95652C6: mod_sofia_load (mod_sofia.c:6117)
  49652. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49653. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49654. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49655. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49656. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49657. ==18304==  Address 0x91d2d90 is 400 bytes inside a block of size 8,192 alloc'd
  49658. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49659. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49660. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49661. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49662. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  49663. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49664. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49665. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49666. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49667. ==18304==  Block was alloc'd by thread #1
  49668. ==18304==
  49669. ==18304==  Lock at 0x932CE50 was first observed
  49670. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  49671. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  49672. ==18304==    by 0x9575EB7: config_sofia (sofia.c:4546)
  49673. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  49674. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49675. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49676. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49677. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49678. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49679. ==18304==  Address 0x932ce50 is 7,552 bytes inside a block of size 8,192 alloc'd
  49680. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49681. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49682. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49683. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49684. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  49685. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  49686. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49687. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49688. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49689. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49690. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49691. ==18304==  Block was alloc'd by thread #1
  49692. ==18304==
  49693. ==18304==
  49694. ==18304== ----------------------------------------------------------------
  49695. ==18304==
  49696. ==18304== Thread #14: Exiting thread still holds 2 locks
  49697. ==18304==    at 0x5181066: __exit_thread (exit-thread.h:36)
  49698. ==18304==    by 0x5181066: start_thread (pthread_create.c:607)
  49699. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49700. ==18304==
  49701. ==18304== ----------------------------------------------------------------
  49702. ==18304==
  49703. ==18304== Thread #18: lock order "0x7B89680 before 0x9325EE8" violated
  49704. ==18304==
  49705. ==18304== Observed (incorrect) order is: acquisition of lock at 0x9325EE8
  49706. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  49707. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  49708. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  49709. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  49710. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49711. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  49712. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49713. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49714. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49715. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49716. ==18304==
  49717. ==18304==  followed by a later acquisition of lock at 0x7B89680
  49718. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49719. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  49720. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  49721. ==18304==    by 0x4CE3970: switch_user_sql_thread (switch_core_sqldb.c:2373)
  49722. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49723. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49724. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49725. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49726. ==18304==
  49727. ==18304== Required order was established by acquisition of lock at 0x7B89680
  49728. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49729. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  49730. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  49731. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49732. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49733. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49734. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49735. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49736. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49737. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49738. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49739. ==18304==
  49740. ==18304==  followed by a later acquisition of lock at 0x9325EE8
  49741. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49742. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  49743. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  49744. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49745. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49746. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49747. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49748. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49749. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49750. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49751. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49752. ==18304==
  49753. ==18304==  Lock at 0x7B89680 was first observed
  49754. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49755. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49756. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  49757. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  49758. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  49759. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49760. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49761. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  49762. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49763. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  49764. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  49765. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  49766. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  49767. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  49768. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  49769. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49770. ==18304==  Block was alloc'd by thread #1
  49771. ==18304==
  49772. ==18304==  Lock at 0x9325EE8 was first observed
  49773. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49774. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49775. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  49776. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  49777. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49778. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49779. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49780. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49781. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49782. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49783. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49784. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49785. ==18304==  Address 0x9325ee8 is 1,144 bytes inside a block of size 8,192 alloc'd
  49786. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49787. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49788. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49789. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49790. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  49791. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  49792. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49793. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49794. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49795. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49796. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49797. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49798. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49799. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49800. ==18304==  Block was alloc'd by thread #12
  49801. ==18304==
  49802. ==18304==
  49803. ==18304== ----------------------------------------------------------------
  49804. ==18304==
  49805. ==18304== Thread #12: lock order "0x91D2D90 before 0x92F6588" violated
  49806. ==18304==
  49807. ==18304== Observed (incorrect) order is: acquisition of lock at 0x92F6588
  49808. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  49809. ==18304==    by 0x957E504: sofia_profile_thread_run (sofia.c:3511)
  49810. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49811. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49812. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49813. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49814. ==18304==
  49815. ==18304==  followed by a later acquisition of lock at 0x91D2D90
  49816. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49817. ==18304==    by 0x9598983: sofia_glue_del_profile (sofia_glue.c:2190)
  49818. ==18304==    by 0x957E518: sofia_profile_thread_run (sofia.c:3517)
  49819. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49820. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49821. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49822. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49823. ==18304==
  49824. ==18304== Required order was established by acquisition of lock at 0x91D2D90
  49825. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49826. ==18304==    by 0x9598213: sofia_glue_find_profile__ (sofia_glue.c:1964)
  49827. ==18304==    by 0x95A30A4: actual_sofia_presence_event_handler (sofia_presence.c:1308)
  49828. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  49829. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  49830. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49831. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49832. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49833. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49834. ==18304==
  49835. ==18304==  followed by a later acquisition of lock at 0x92F6588
  49836. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  49837. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  49838. ==18304==    by 0x959815F: sofia_glue_profile_rdlock__ (sofia_glue.c:1936)
  49839. ==18304==    by 0x9598241: sofia_glue_find_profile__ (sofia_glue.c:1973)
  49840. ==18304==    by 0x95A30A4: actual_sofia_presence_event_handler (sofia_presence.c:1308)
  49841. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  49842. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  49843. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49844. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49845. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49846. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49847. ==18304==
  49848. ==18304==  Lock at 0x91D2D90 was first observed
  49849. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49850. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49851. ==18304==    by 0x95652C6: mod_sofia_load (mod_sofia.c:6117)
  49852. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49853. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49854. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49855. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49856. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49857. ==18304==  Address 0x91d2d90 is 400 bytes inside a block of size 8,192 alloc'd
  49858. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49859. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49860. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49861. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49862. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  49863. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49864. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49865. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49866. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49867. ==18304==  Block was alloc'd by thread #1
  49868. ==18304==
  49869. ==18304==  Lock at 0x92F6588 was first observed
  49870. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  49871. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  49872. ==18304==    by 0x9575EB7: config_sofia (sofia.c:4546)
  49873. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  49874. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49875. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49876. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49877. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49878. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49879. ==18304==  Address 0x92f6588 is 7,544 bytes inside a block of size 8,192 alloc'd
  49880. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49881. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49882. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49883. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49884. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  49885. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  49886. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  49887. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  49888. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  49889. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49890. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49891. ==18304==  Block was alloc'd by thread #1
  49892. ==18304==
  49893. ==18304==
  49894. ==18304== ----------------------------------------------------------------
  49895. ==18304==
  49896. ==18304== Thread #21: lock order "0x7B89680 before 0x92EE5D8" violated
  49897. ==18304==
  49898. ==18304== Observed (incorrect) order is: acquisition of lock at 0x92EE5D8
  49899. ==18304==    at 0x4839EAF: mutex_trylock_WRK (hg_intercepts.c:994)
  49900. ==18304==    by 0x5022CBC: apr_thread_mutex_trylock (thread_mutex.c:106)
  49901. ==18304==    by 0x4CE2511: get_handle (switch_core_sqldb.c:211)
  49902. ==18304==    by 0x4CE2511: _switch_cache_db_get_db_handle (switch_core_sqldb.c:581)
  49903. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49904. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  49905. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49906. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49907. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49908. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49909. ==18304==
  49910. ==18304==  followed by a later acquisition of lock at 0x7B89680
  49911. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49912. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  49913. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  49914. ==18304==    by 0x4CE3970: switch_user_sql_thread (switch_core_sqldb.c:2373)
  49915. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49916. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49917. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49918. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49919. ==18304==
  49920. ==18304== Required order was established by acquisition of lock at 0x7B89680
  49921. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49922. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  49923. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  49924. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49925. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49926. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49927. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49928. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49929. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49930. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49931. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49932. ==18304==
  49933. ==18304==  followed by a later acquisition of lock at 0x92EE5D8
  49934. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  49935. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  49936. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  49937. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49938. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49939. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49940. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49941. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49942. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49943. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49944. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49945. ==18304==
  49946. ==18304==  Lock at 0x7B89680 was first observed
  49947. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49948. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49949. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  49950. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  49951. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  49952. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  49953. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49954. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  49955. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49956. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  49957. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  49958. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  49959. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  49960. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  49961. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  49962. ==18304==    by 0x10AEC7: main (switch.c:1200)
  49963. ==18304==  Block was alloc'd by thread #1
  49964. ==18304==
  49965. ==18304==  Lock at 0x92EE5D8 was first observed
  49966. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  49967. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  49968. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  49969. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  49970. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49971. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49972. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49973. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49974. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49975. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49976. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49977. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49978. ==18304==  Address 0x92ee5d8 is 1,144 bytes inside a block of size 8,192 alloc'd
  49979. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  49980. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  49981. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  49982. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  49983. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  49984. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  49985. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  49986. ==18304==    by 0x9599723: _sofia_glue_get_db_handle (sofia_glue.c:2743)
  49987. ==18304==    by 0x9599933: sofia_glue_init_sql (sofia_glue.c:2594)
  49988. ==18304==    by 0x957D042: sofia_profile_thread_run (sofia.c:3160)
  49989. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  49990. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  49991. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  49992. ==18304==    by 0x560E4CE: clone (clone.S:95)
  49993. ==18304==  Block was alloc'd by thread #11
  49994. ==18304==
  49995. ==18304==
  49996. ==18304== ----------------------------------------------------------------
  49997. ==18304==
  49998. ==18304== Thread #11: lock order "0x91D2D90 before 0x92BCA80" violated
  49999. ==18304==
  50000. ==18304== Observed (incorrect) order is: acquisition of lock at 0x92BCA80
  50001. ==18304==    at 0x483B56C: pthread_rwlock_wrlock_WRK (hg_intercepts.c:2160)
  50002. ==18304==    by 0x957E504: sofia_profile_thread_run (sofia.c:3511)
  50003. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50004. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50005. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50006. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50007. ==18304==
  50008. ==18304==  followed by a later acquisition of lock at 0x91D2D90
  50009. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  50010. ==18304==    by 0x9598983: sofia_glue_del_profile (sofia_glue.c:2190)
  50011. ==18304==    by 0x957E518: sofia_profile_thread_run (sofia.c:3517)
  50012. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50013. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50014. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50015. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50016. ==18304==
  50017. ==18304== Required order was established by acquisition of lock at 0x91D2D90
  50018. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  50019. ==18304==    by 0x9598213: sofia_glue_find_profile__ (sofia_glue.c:1964)
  50020. ==18304==    by 0x95A30A4: actual_sofia_presence_event_handler (sofia_presence.c:1308)
  50021. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  50022. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  50023. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50024. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50025. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50026. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50027. ==18304==
  50028. ==18304==  followed by a later acquisition of lock at 0x92BCA80
  50029. ==18304==    at 0x483BB1F: pthread_rwlock_tryrdlock_WRK (hg_intercepts.c:2385)
  50030. ==18304==    by 0x5022B2C: apr_thread_rwlock_tryrdlock (thread_rwlock.c:81)
  50031. ==18304==    by 0x959815F: sofia_glue_profile_rdlock__ (sofia_glue.c:1936)
  50032. ==18304==    by 0x9598241: sofia_glue_find_profile__ (sofia_glue.c:1973)
  50033. ==18304==    by 0x95A30A4: actual_sofia_presence_event_handler (sofia_presence.c:1308)
  50034. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1650)
  50035. ==18304==    by 0x95A4E8C: sofia_presence_event_thread_run (sofia_presence.c:1601)
  50036. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50037. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50038. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50039. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50040. ==18304==
  50041. ==18304==  Lock at 0x91D2D90 was first observed
  50042. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50043. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50044. ==18304==    by 0x95652C6: mod_sofia_load (mod_sofia.c:6117)
  50045. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50046. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50047. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50048. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50049. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50050. ==18304==  Address 0x91d2d90 is 400 bytes inside a block of size 8,192 alloc'd
  50051. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50052. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50053. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50054. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50055. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50056. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50057. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50058. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50059. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50060. ==18304==  Block was alloc'd by thread #1
  50061. ==18304==
  50062. ==18304==  Lock at 0x92BCA80 was first observed
  50063. ==18304==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  50064. ==18304==    by 0x5022ADB: apr_thread_rwlock_create (thread_rwlock.c:49)
  50065. ==18304==    by 0x9575EB7: config_sofia (sofia.c:4546)
  50066. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  50067. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50068. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50069. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50070. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50071. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50072. ==18304==  Address 0x92bca80 is 7,552 bytes inside a block of size 8,192 alloc'd
  50073. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50074. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50075. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50076. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50077. ==18304==    by 0x9575D1E: config_sofia (sofia.c:4504)
  50078. ==18304==    by 0x956562D: mod_sofia_load (mod_sofia.c:6255)
  50079. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50080. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50081. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50082. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50083. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50084. ==18304==  Block was alloc'd by thread #1
  50085. ==18304==
  50086. ==18304==
  50087. ==18304== ----------------------------------------------------------------
  50088. ==18304==
  50089. ==18304== Possible data race during read of size 4 at 0x12BDF924 by thread #1
  50090. ==18304== Locks held: none
  50091. ==18304==    at 0x4CE593D: switch_sql_queue_manager_stop (switch_core_sqldb.c:1866)
  50092. ==18304==    by 0x4CE5B81: switch_sql_queue_manager_destroy (switch_core_sqldb.c:1935)
  50093. ==18304==    by 0x12DD5E41: mod_fifo_shutdown (mod_fifo.c:4908)
  50094. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50095. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50096. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50097. ==18304==    by 0x10AF01: main (switch.c:1229)
  50098. ==18304==  Address 0x12bdf924 is 340 bytes inside a block of size 8,192 alloc'd
  50099. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50100. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50101. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50102. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50103. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  50104. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  50105. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  50106. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  50107. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50108. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50109. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50110. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50111. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50112. ==18304==  Block was alloc'd by thread #1
  50113. ==18304==
  50114. ==18304== ----------------------------------------------------------------
  50115. ==18304==
  50116. ==18304== Possible data race during write of size 4 at 0x12BDF924 by thread #1
  50117. ==18304== Locks held: none
  50118. ==18304==    at 0x4CE59BF: switch_sql_queue_manager_stop (switch_core_sqldb.c:1867)
  50119. ==18304==    by 0x4CE5B81: switch_sql_queue_manager_destroy (switch_core_sqldb.c:1935)
  50120. ==18304==    by 0x12DD5E41: mod_fifo_shutdown (mod_fifo.c:4908)
  50121. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50122. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50123. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50124. ==18304==    by 0x10AF01: main (switch.c:1229)
  50125. ==18304==  Address 0x12bdf924 is 340 bytes inside a block of size 8,192 alloc'd
  50126. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50127. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50128. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50129. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50130. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  50131. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  50132. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  50133. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  50134. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50135. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50136. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50137. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50138. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50139. ==18304==  Block was alloc'd by thread #1
  50140. ==18304==
  50141. ==18304== ----------------------------------------------------------------
  50142. ==18304==
  50143. ==18304== Thread #31: lock order "0x12BDF998 before 0x12BDF9E8" violated
  50144. ==18304==
  50145. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12BDF9E8
  50146. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  50147. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  50148. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50149. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50150. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50151. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50152. ==18304==
  50153. ==18304==  followed by a later acquisition of lock at 0x12BDF998
  50154. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  50155. ==18304==    by 0x4CE36CD: switch_user_sql_thread (switch_core_sqldb.c:2354)
  50156. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50157. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50158. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50159. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50160. ==18304==
  50161. ==18304== Required order was established by acquisition of lock at 0x12BDF998
  50162. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  50163. ==18304==    by 0x4CE3278: switch_user_sql_thread (switch_core_sqldb.c:2289)
  50164. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50165. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50166. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50167. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50168. ==18304==
  50169. ==18304==  followed by a later acquisition of lock at 0x12BDF9E8
  50170. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  50171. ==18304==    by 0x4CE36C0: switch_user_sql_thread (switch_core_sqldb.c:2353)
  50172. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50173. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50174. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50175. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50176. ==18304==
  50177. ==18304==  Lock at 0x12BDF998 was first observed
  50178. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50179. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50180. ==18304==    by 0x4CE8748: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2088)
  50181. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  50182. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  50183. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  50184. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50185. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50186. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50187. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50188. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50189. ==18304==  Address 0x12bdf998 is 456 bytes inside a block of size 8,192 alloc'd
  50190. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50191. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50192. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50193. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50194. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  50195. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  50196. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  50197. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  50198. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50199. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50200. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50201. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50202. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50203. ==18304==  Block was alloc'd by thread #1
  50204. ==18304==
  50205. ==18304==  Lock at 0x12BDF9E8 was first observed
  50206. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50207. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50208. ==18304==    by 0x4CE875D: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2089)
  50209. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  50210. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  50211. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  50212. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50213. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50214. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50215. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50216. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50217. ==18304==  Address 0x12bdf9e8 is 536 bytes inside a block of size 8,192 alloc'd
  50218. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50219. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50220. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50221. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50222. ==18304==    by 0x4CE86AB: switch_sql_queue_manager_init_name (switch_core_sqldb.c:2079)
  50223. ==18304==    by 0x12DDEEB5: load_config (mod_fifo.c:4448)
  50224. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4868)
  50225. ==18304==    by 0x12DE0016: mod_fifo_load (mod_fifo.c:4832)
  50226. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50227. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50228. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50229. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50230. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50231. ==18304==  Block was alloc'd by thread #1
  50232. ==18304==
  50233. ==18304==
  50234. ==18304== ----------------------------------------------------------------
  50235. ==18304==
  50236. ==18304== Thread #31: lock order "0x7B89680 before 0x12BE3CC8" violated
  50237. ==18304==
  50238. ==18304== Observed (incorrect) order is: acquisition of lock at 0x12BE3CC8
  50239. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  50240. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  50241. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  50242. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  50243. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  50244. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50245. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50246. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50247. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50248. ==18304==
  50249. ==18304==  followed by a later acquisition of lock at 0x7B89680
  50250. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  50251. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  50252. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  50253. ==18304==    by 0x4CE3970: switch_user_sql_thread (switch_core_sqldb.c:2373)
  50254. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50255. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50256. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50257. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50258. ==18304==
  50259. ==18304== Required order was established by acquisition of lock at 0x7B89680
  50260. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  50261. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  50262. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  50263. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  50264. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  50265. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50266. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50267. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50268. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50269. ==18304==
  50270. ==18304==  followed by a later acquisition of lock at 0x12BE3CC8
  50271. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  50272. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  50273. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  50274. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  50275. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  50276. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50277. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50278. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50279. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50280. ==18304==
  50281. ==18304==  Lock at 0x7B89680 was first observed
  50282. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50283. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50284. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  50285. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  50286. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  50287. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50288. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50289. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  50290. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50291. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  50292. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  50293. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  50294. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  50295. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  50296. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  50297. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50298. ==18304==  Block was alloc'd by thread #1
  50299. ==18304==
  50300. ==18304==  Lock at 0x12BE3CC8 was first observed
  50301. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50302. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50303. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  50304. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  50305. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  50306. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  50307. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50308. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50309. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50310. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50311. ==18304==  Address 0x12be3cc8 is 1,144 bytes inside a block of size 8,192 alloc'd
  50312. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50313. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50314. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50315. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50316. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  50317. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  50318. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  50319. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  50320. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50321. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50322. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50323. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50324. ==18304==  Block was alloc'd by thread #31
  50325. ==18304==
  50326. ==18304==
  50327. ==18304== ---Thread-Announcement------------------------------------------
  50328. ==18304==
  50329. ==18304== Thread #32 was created
  50330. ==18304==    at 0x560E4BE: clone (clone.S:71)
  50331. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  50332. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  50333. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  50334. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  50335. ==18304==    by 0x12DE0255: start_node_thread (mod_fifo.c:2197)
  50336. ==18304==    by 0x12DE0255: mod_fifo_load (mod_fifo.c:4894)
  50337. ==18304==    by 0x12DE0255: mod_fifo_load (mod_fifo.c:4832)
  50338. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50339. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50340. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50341. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50342. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50343. ==18304==
  50344. ==18304== ----------------------------------------------------------------
  50345. ==18304==
  50346. ==18304==  Lock at 0x12BB5F50 was first observed
  50347. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50348. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50349. ==18304==    by 0x12DDFFD0: mod_fifo_load (mod_fifo.c:4862)
  50350. ==18304==    by 0x12DDFFD0: mod_fifo_load (mod_fifo.c:4832)
  50351. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50352. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50353. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50354. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50355. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50356. ==18304==  Address 0x12bb5f50 is 560 bytes inside a block of size 8,192 alloc'd
  50357. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50358. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50359. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50360. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50361. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50362. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50363. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50364. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50365. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50366. ==18304==  Block was alloc'd by thread #1
  50367. ==18304==
  50368. ==18304== Possible data race during read of size 4 at 0x12DE7AF8 by thread #32
  50369. ==18304== Locks held: none
  50370. ==18304==    at 0x12DDE5CA: node_thread_run (mod_fifo.c:2101)
  50371. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50372. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50373. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50374. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50375. ==18304==
  50376. ==18304== This conflicts with a previous write of size 4 by thread #1
  50377. ==18304== Locks held: 1, at address 0x12BB5F50
  50378. ==18304==    at 0x12DD5E87: stop_node_thread (mod_fifo.c:2204)
  50379. ==18304==    by 0x12DD5E87: mod_fifo_shutdown (mod_fifo.c:4918)
  50380. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50381. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50382. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50383. ==18304==    by 0x10AF01: main (switch.c:1229)
  50384. ==18304==  Address 0x12de7af8 is 1400 bytes inside data symbol "globals"
  50385. ==18304==
  50386. ==18304== ----------------------------------------------------------------
  50387. ==18304==
  50388. ==18304==  Lock at 0x12BB5F50 was first observed
  50389. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50390. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50391. ==18304==    by 0x12DDFFD0: mod_fifo_load (mod_fifo.c:4862)
  50392. ==18304==    by 0x12DDFFD0: mod_fifo_load (mod_fifo.c:4832)
  50393. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50394. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50395. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50396. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50397. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50398. ==18304==  Address 0x12bb5f50 is 560 bytes inside a block of size 8,192 alloc'd
  50399. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50400. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50401. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50402. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50403. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50404. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50405. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50406. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50407. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50408. ==18304==  Block was alloc'd by thread #1
  50409. ==18304==
  50410. ==18304== Possible data race during write of size 4 at 0x12DE7AF8 by thread #32
  50411. ==18304== Locks held: none
  50412. ==18304==    at 0x12DDE5D7: node_thread_run (mod_fifo.c:2185)
  50413. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50414. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50415. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50416. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50417. ==18304==
  50418. ==18304== This conflicts with a previous write of size 4 by thread #1
  50419. ==18304== Locks held: 1, at address 0x12BB5F50
  50420. ==18304==    at 0x12DD5E87: stop_node_thread (mod_fifo.c:2204)
  50421. ==18304==    by 0x12DD5E87: mod_fifo_shutdown (mod_fifo.c:4918)
  50422. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50423. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50424. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50425. ==18304==    by 0x10AF01: main (switch.c:1229)
  50426. ==18304==  Address 0x12de7af8 is 1400 bytes inside data symbol "globals"
  50427. ==18304==
  50428. ==18304== ----------------------------------------------------------------
  50429. ==18304==
  50430. ==18304== Possible data race during write of size 4 at 0x9ACA5D0 by thread #1
  50431. ==18304== Locks held: none
  50432. ==18304==    at 0x4D43D2C: do_shutdown (switch_loadable_module.c:2391)
  50433. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50434. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50435. ==18304==    by 0x10AF01: main (switch.c:1229)
  50436. ==18304==  Address 0x9aca5d0 is 2,672 bytes inside a block of size 8,192 alloc'd
  50437. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50438. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50439. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50440. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50441. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50442. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50443. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50444. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50445. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50446. ==18304==  Block was alloc'd by thread #1
  50447. ==18304==
  50448. ==18304== ----------------------------------------------------------------
  50449. ==18304==
  50450. ==18304== Possible data race during write of size 4 at 0xB090BE4 by thread #1
  50451. ==18304== Locks held: none
  50452. ==18304==    at 0xB07B1B2: do_shutdown (mod_verto.c:4575)
  50453. ==18304==    by 0xB07B1B2: mod_verto_shutdown (mod_verto.c:6253)
  50454. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50455. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50456. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50457. ==18304==    by 0x10AF01: main (switch.c:1229)
  50458. ==18304==
  50459. ==18304== This conflicts with a previous read of size 4 by thread #3
  50460. ==18304== Locks held: none
  50461. ==18304==    at 0xB07C8FB: presence_event_handler (mod_verto.c:6050)
  50462. ==18304==    by 0x4D53839: switch_event_deliver (switch_event.c:408)
  50463. ==18304==    by 0x4D539EF: switch_event_dispatch_thread (switch_event.c:337)
  50464. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50465. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50466. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50467. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50468. ==18304==  Address 0xb090be4 is 36 bytes inside data symbol "verto_globals"
  50469. ==18304==
  50470. ==18304== ----------------------------------------------------------------
  50471. ==18304==
  50472. ==18304==  Lock at 0x9AC9CA0 was first observed
  50473. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50474. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50475. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6158)
  50476. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6125)
  50477. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50478. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50479. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50480. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50481. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50482. ==18304==  Address 0x9ac9ca0 is 320 bytes inside a block of size 8,192 alloc'd
  50483. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50484. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50485. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50486. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50487. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50488. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50489. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50490. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50491. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50492. ==18304==  Block was alloc'd by thread #1
  50493. ==18304==
  50494. ==18304== Possible data race during write of size 4 at 0xAE27418 by thread #1
  50495. ==18304== Locks held: 1, at address 0x9AC9CA0
  50496. ==18304==    at 0xB07B1F8: kill_profile (mod_verto.c:4470)
  50497. ==18304==    by 0xB07B1F8: kill_profiles (mod_verto.c:4508)
  50498. ==18304==    by 0xB07B1F8: do_shutdown (mod_verto.c:4579)
  50499. ==18304==    by 0xB07B1F8: mod_verto_shutdown (mod_verto.c:6253)
  50500. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50501. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50502. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50503. ==18304==    by 0x10AF01: main (switch.c:1229)
  50504. ==18304==  Address 0xae27418 is 8,440 bytes inside a block of size 143,360 alloc'd
  50505. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50506. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  50507. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  50508. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  50509. ==18304==    by 0xB083E47: parse_config (mod_verto.c:4742)
  50510. ==18304==    by 0xB083E47: init (mod_verto.c:5012)
  50511. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6193)
  50512. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6125)
  50513. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50514. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50515. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50516. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50517. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50518. ==18304==  Block was alloc'd by thread #1
  50519. ==18304==
  50520. ==18304== ----------------------------------------------------------------
  50521. ==18304==
  50522. ==18304==  Lock at 0x9AC9CA0 was first observed
  50523. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50524. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50525. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6158)
  50526. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6125)
  50527. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50528. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50529. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50530. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50531. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50532. ==18304==  Address 0x9ac9ca0 is 320 bytes inside a block of size 8,192 alloc'd
  50533. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50534. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50535. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50536. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50537. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50538. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50539. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50540. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50541. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50542. ==18304==  Block was alloc'd by thread #1
  50543. ==18304==
  50544. ==18304==  Lock at 0xAE478D8 was first observed
  50545. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50546. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50547. ==18304==    by 0xB083E84: parse_config (mod_verto.c:4745)
  50548. ==18304==    by 0xB083E84: init (mod_verto.c:5012)
  50549. ==18304==    by 0xB083E84: mod_verto_load (mod_verto.c:6193)
  50550. ==18304==    by 0xB083E84: mod_verto_load (mod_verto.c:6125)
  50551. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50552. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50553. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50554. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50555. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50556. ==18304==  Address 0xae478d8 is 140,728 bytes inside a block of size 143,360 alloc'd
  50557. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50558. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  50559. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  50560. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  50561. ==18304==    by 0xB083E47: parse_config (mod_verto.c:4742)
  50562. ==18304==    by 0xB083E47: init (mod_verto.c:5012)
  50563. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6193)
  50564. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6125)
  50565. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50566. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50567. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50568. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50569. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50570. ==18304==  Block was alloc'd by thread #1
  50571. ==18304==
  50572. ==18304== Possible data race during read of size 4 at 0xAE273B4 by thread #1
  50573. ==18304== Locks held: 2, at addresses 0x9AC9CA0 0xAE478D8
  50574. ==18304==    at 0xB0792F0: close_socket (mod_verto.c:168)
  50575. ==18304==    by 0xB07B22E: kill_profile (mod_verto.c:4478)
  50576. ==18304==    by 0xB07B22E: kill_profiles (mod_verto.c:4508)
  50577. ==18304==    by 0xB07B22E: do_shutdown (mod_verto.c:4579)
  50578. ==18304==    by 0xB07B22E: mod_verto_shutdown (mod_verto.c:6253)
  50579. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50580. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50581. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50582. ==18304==    by 0x10AF01: main (switch.c:1229)
  50583. ==18304==  Address 0xae273b4 is 8,340 bytes inside a block of size 143,360 alloc'd
  50584. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50585. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  50586. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  50587. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  50588. ==18304==    by 0xB083E47: parse_config (mod_verto.c:4742)
  50589. ==18304==    by 0xB083E47: init (mod_verto.c:5012)
  50590. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6193)
  50591. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6125)
  50592. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50593. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50594. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50595. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50596. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50597. ==18304==  Block was alloc'd by thread #1
  50598. ==18304==
  50599. ==18304== ---Thread-Announcement------------------------------------------
  50600. ==18304==
  50601. ==18304== Thread #25 was created
  50602. ==18304==    at 0x560E4BE: clone (clone.S:71)
  50603. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  50604. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  50605. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  50606. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  50607. ==18304==    by 0x4CF0814: check_queue (switch_core_session.c:1855)
  50608. ==18304==    by 0x4CF0902: switch_thread_pool_launch_thread (switch_core_session.c:1884)
  50609. ==18304==    by 0xB084C92: run_profile_thread (mod_verto.c:5230)
  50610. ==18304==    by 0xB084C92: run_profiles (mod_verto.c:5240)
  50611. ==18304==    by 0xB084C92: mod_verto_load (mod_verto.c:6229)
  50612. ==18304==    by 0xB084C92: mod_verto_load (mod_verto.c:6125)
  50613. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50614. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50615. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50616. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50617. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50618. ==18304==
  50619. ==18304== ----------------------------------------------------------------
  50620. ==18304==
  50621. ==18304==  Lock at 0x9AC9CA0 was first observed
  50622. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50623. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50624. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6158)
  50625. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6125)
  50626. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50627. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50628. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50629. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50630. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50631. ==18304==  Address 0x9ac9ca0 is 320 bytes inside a block of size 8,192 alloc'd
  50632. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50633. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50634. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50635. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50636. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50637. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50638. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50639. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50640. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50641. ==18304==  Block was alloc'd by thread #1
  50642. ==18304==
  50643. ==18304== Possible data race during write of size 4 at 0xAE27418 by thread #25
  50644. ==18304== Locks held: none
  50645. ==18304==    at 0xB079DD7: profile_thread (mod_verto.c:5195)
  50646. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  50647. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50648. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50649. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50650. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50651. ==18304==
  50652. ==18304== This conflicts with a previous write of size 4 by thread #1
  50653. ==18304== Locks held: 1, at address 0x9AC9CA0
  50654. ==18304==    at 0xB07B1F8: kill_profile (mod_verto.c:4470)
  50655. ==18304==    by 0xB07B1F8: kill_profiles (mod_verto.c:4508)
  50656. ==18304==    by 0xB07B1F8: do_shutdown (mod_verto.c:4579)
  50657. ==18304==    by 0xB07B1F8: mod_verto_shutdown (mod_verto.c:6253)
  50658. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50659. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50660. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50661. ==18304==    by 0x10AF01: main (switch.c:1229)
  50662. ==18304==  Address 0xae27418 is 8,440 bytes inside a block of size 143,360 alloc'd
  50663. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50664. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  50665. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  50666. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  50667. ==18304==    by 0xB083E47: parse_config (mod_verto.c:4742)
  50668. ==18304==    by 0xB083E47: init (mod_verto.c:5012)
  50669. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6193)
  50670. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6125)
  50671. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50672. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50673. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50674. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50675. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50676. ==18304==  Block was alloc'd by thread #1
  50677. ==18304==
  50678. ==18304== ----------------------------------------------------------------
  50679. ==18304==
  50680. ==18304==  Lock at 0x9AC9CA0 was first observed
  50681. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50682. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50683. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6158)
  50684. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6125)
  50685. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50686. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50687. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50688. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50689. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50690. ==18304==  Address 0x9ac9ca0 is 320 bytes inside a block of size 8,192 alloc'd
  50691. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50692. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50693. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50694. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50695. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50696. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50697. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50698. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50699. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50700. ==18304==  Block was alloc'd by thread #1
  50701. ==18304==
  50702. ==18304==  Lock at 0xAE478D8 was first observed
  50703. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50704. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50705. ==18304==    by 0xB083E84: parse_config (mod_verto.c:4745)
  50706. ==18304==    by 0xB083E84: init (mod_verto.c:5012)
  50707. ==18304==    by 0xB083E84: mod_verto_load (mod_verto.c:6193)
  50708. ==18304==    by 0xB083E84: mod_verto_load (mod_verto.c:6125)
  50709. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50710. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50711. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50712. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50713. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50714. ==18304==  Address 0xae478d8 is 140,728 bytes inside a block of size 143,360 alloc'd
  50715. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50716. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  50717. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  50718. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  50719. ==18304==    by 0xB083E47: parse_config (mod_verto.c:4742)
  50720. ==18304==    by 0xB083E47: init (mod_verto.c:5012)
  50721. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6193)
  50722. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6125)
  50723. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50724. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50725. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50726. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50727. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50728. ==18304==  Block was alloc'd by thread #1
  50729. ==18304==
  50730. ==18304== Possible data race during read of size 4 at 0xAE273B4 by thread #1
  50731. ==18304== Locks held: 2, at addresses 0x9AC9CA0 0xAE478D8
  50732. ==18304==    at 0xB079310: close_file (mod_verto.c:156)
  50733. ==18304==    by 0xB079310: close_socket (mod_verto.c:170)
  50734. ==18304==    by 0xB07B22E: kill_profile (mod_verto.c:4478)
  50735. ==18304==    by 0xB07B22E: kill_profiles (mod_verto.c:4508)
  50736. ==18304==    by 0xB07B22E: do_shutdown (mod_verto.c:4579)
  50737. ==18304==    by 0xB07B22E: mod_verto_shutdown (mod_verto.c:6253)
  50738. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50739. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50740. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50741. ==18304==    by 0x10AF01: main (switch.c:1229)
  50742. ==18304==  Address 0xae273b4 is 8,340 bytes inside a block of size 143,360 alloc'd
  50743. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50744. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  50745. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  50746. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  50747. ==18304==    by 0xB083E47: parse_config (mod_verto.c:4742)
  50748. ==18304==    by 0xB083E47: init (mod_verto.c:5012)
  50749. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6193)
  50750. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6125)
  50751. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50752. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50753. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50754. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50755. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50756. ==18304==  Block was alloc'd by thread #1
  50757. ==18304==
  50758. ==18304== ----------------------------------------------------------------
  50759. ==18304==
  50760. ==18304==  Lock at 0x9AC9CA0 was first observed
  50761. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50762. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50763. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6158)
  50764. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6125)
  50765. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50766. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50767. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50768. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50769. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50770. ==18304==  Address 0x9ac9ca0 is 320 bytes inside a block of size 8,192 alloc'd
  50771. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50772. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50773. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50774. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50775. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50776. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50777. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50778. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50779. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50780. ==18304==  Block was alloc'd by thread #1
  50781. ==18304==
  50782. ==18304==  Lock at 0xAE478D8 was first observed
  50783. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50784. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50785. ==18304==    by 0xB083E84: parse_config (mod_verto.c:4745)
  50786. ==18304==    by 0xB083E84: init (mod_verto.c:5012)
  50787. ==18304==    by 0xB083E84: mod_verto_load (mod_verto.c:6193)
  50788. ==18304==    by 0xB083E84: mod_verto_load (mod_verto.c:6125)
  50789. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50790. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50791. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50792. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50793. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50794. ==18304==  Address 0xae478d8 is 140,728 bytes inside a block of size 143,360 alloc'd
  50795. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50796. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  50797. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  50798. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  50799. ==18304==    by 0xB083E47: parse_config (mod_verto.c:4742)
  50800. ==18304==    by 0xB083E47: init (mod_verto.c:5012)
  50801. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6193)
  50802. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6125)
  50803. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50804. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50805. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50806. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50807. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50808. ==18304==  Block was alloc'd by thread #1
  50809. ==18304==
  50810. ==18304== Possible data race during write of size 4 at 0xAE273B4 by thread #1
  50811. ==18304== Locks held: 2, at addresses 0x9AC9CA0 0xAE478D8
  50812. ==18304==    at 0xB07931C: close_file (mod_verto.c:162)
  50813. ==18304==    by 0xB07931C: close_socket (mod_verto.c:170)
  50814. ==18304==    by 0xB07B22E: kill_profile (mod_verto.c:4478)
  50815. ==18304==    by 0xB07B22E: kill_profiles (mod_verto.c:4508)
  50816. ==18304==    by 0xB07B22E: do_shutdown (mod_verto.c:4579)
  50817. ==18304==    by 0xB07B22E: mod_verto_shutdown (mod_verto.c:6253)
  50818. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50819. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50820. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50821. ==18304==    by 0x10AF01: main (switch.c:1229)
  50822. ==18304==  Address 0xae273b4 is 8,340 bytes inside a block of size 143,360 alloc'd
  50823. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50824. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  50825. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  50826. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  50827. ==18304==    by 0xB083E47: parse_config (mod_verto.c:4742)
  50828. ==18304==    by 0xB083E47: init (mod_verto.c:5012)
  50829. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6193)
  50830. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6125)
  50831. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50832. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50833. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50834. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50835. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50836. ==18304==  Block was alloc'd by thread #1
  50837. ==18304==
  50838. ==18304== ---Thread-Announcement------------------------------------------
  50839. ==18304==
  50840. ==18304== Thread #26 was created
  50841. ==18304==    at 0x560E4BE: clone (clone.S:71)
  50842. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  50843. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  50844. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  50845. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  50846. ==18304==    by 0x4CF0814: check_queue (switch_core_session.c:1855)
  50847. ==18304==    by 0x4CF0902: switch_thread_pool_launch_thread (switch_core_session.c:1884)
  50848. ==18304==    by 0xB084C92: run_profile_thread (mod_verto.c:5230)
  50849. ==18304==    by 0xB084C92: run_profiles (mod_verto.c:5240)
  50850. ==18304==    by 0xB084C92: mod_verto_load (mod_verto.c:6229)
  50851. ==18304==    by 0xB084C92: mod_verto_load (mod_verto.c:6125)
  50852. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50853. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50854. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50855. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50856. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50857. ==18304==
  50858. ==18304== ----------------------------------------------------------------
  50859. ==18304==
  50860. ==18304==  Lock at 0x9AC9CA0 was first observed
  50861. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50862. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50863. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6158)
  50864. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6125)
  50865. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50866. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50867. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50868. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50869. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50870. ==18304==  Address 0x9ac9ca0 is 320 bytes inside a block of size 8,192 alloc'd
  50871. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50872. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50873. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50874. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50875. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50876. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50877. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50878. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50879. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50880. ==18304==  Block was alloc'd by thread #1
  50881. ==18304==
  50882. ==18304== Possible data race during read of size 4 at 0x9B397A8 by thread #26
  50883. ==18304== Locks held: none
  50884. ==18304==    at 0xB079D94: runtime (mod_verto.c:4555)
  50885. ==18304==    by 0xB079D94: profile_thread (mod_verto.c:5194)
  50886. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  50887. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50888. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50889. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50890. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50891. ==18304==
  50892. ==18304== This conflicts with a previous write of size 4 by thread #1
  50893. ==18304== Locks held: 1, at address 0x9AC9CA0
  50894. ==18304==    at 0xB07B1F8: kill_profile (mod_verto.c:4470)
  50895. ==18304==    by 0xB07B1F8: kill_profiles (mod_verto.c:4508)
  50896. ==18304==    by 0xB07B1F8: do_shutdown (mod_verto.c:4579)
  50897. ==18304==    by 0xB07B1F8: mod_verto_shutdown (mod_verto.c:6253)
  50898. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50899. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50900. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50901. ==18304==    by 0x10AF01: main (switch.c:1229)
  50902. ==18304==  Address 0x9b397a8 is 8,440 bytes inside a block of size 143,360 alloc'd
  50903. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50904. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  50905. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  50906. ==18304==    by 0x4CDA13D: switch_core_perform_alloc (switch_core_memory.c:534)
  50907. ==18304==    by 0xB083E47: parse_config (mod_verto.c:4742)
  50908. ==18304==    by 0xB083E47: init (mod_verto.c:5012)
  50909. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6193)
  50910. ==18304==    by 0xB083E47: mod_verto_load (mod_verto.c:6125)
  50911. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50912. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50913. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50914. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50915. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50916. ==18304==  Block was alloc'd by thread #1
  50917. ==18304==
  50918. ==18304== ----------------------------------------------------------------
  50919. ==18304==
  50920. ==18304==  Lock at 0x9AC9CA0 was first observed
  50921. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50922. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50923. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6158)
  50924. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6125)
  50925. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50926. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50927. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50928. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50929. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50930. ==18304==  Address 0x9ac9ca0 is 320 bytes inside a block of size 8,192 alloc'd
  50931. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50932. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50933. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50934. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50935. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50936. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50937. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50938. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50939. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50940. ==18304==  Block was alloc'd by thread #1
  50941. ==18304==
  50942. ==18304== Possible data race during write of size 4 at 0xB090C10 by thread #25
  50943. ==18304== Locks held: 1, at address 0x9AC9CA0
  50944. ==18304==    at 0xB079ECB: profile_thread (mod_verto.c:5213)
  50945. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  50946. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  50947. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  50948. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  50949. ==18304==    by 0x560E4CE: clone (clone.S:95)
  50950. ==18304==
  50951. ==18304== This conflicts with a previous read of size 4 by thread #1
  50952. ==18304== Locks held: none
  50953. ==18304==    at 0xB07B2AE: kill_profiles (mod_verto.c:4513)
  50954. ==18304==    by 0xB07B2AE: do_shutdown (mod_verto.c:4579)
  50955. ==18304==    by 0xB07B2AE: mod_verto_shutdown (mod_verto.c:6253)
  50956. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50957. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50958. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50959. ==18304==    by 0x10AF01: main (switch.c:1229)
  50960. ==18304==  Address 0xb090c10 is 80 bytes inside data symbol "verto_globals"
  50961. ==18304==
  50962. ==18304== ----------------------------------------------------------------
  50963. ==18304==
  50964. ==18304==  Lock at 0x9AC9CA0 was first observed
  50965. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  50966. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  50967. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6158)
  50968. ==18304==    by 0xB083BC1: mod_verto_load (mod_verto.c:6125)
  50969. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  50970. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50971. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50972. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50973. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50974. ==18304==  Address 0x9ac9ca0 is 320 bytes inside a block of size 8,192 alloc'd
  50975. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  50976. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  50977. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  50978. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  50979. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  50980. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  50981. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  50982. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  50983. ==18304==    by 0x10AEC7: main (switch.c:1200)
  50984. ==18304==  Block was alloc'd by thread #1
  50985. ==18304==
  50986. ==18304== Possible data race during read of size 4 at 0xB090C10 by thread #1
  50987. ==18304== Locks held: none
  50988. ==18304==    at 0xB07B2DF: kill_profiles (mod_verto.c:4513)
  50989. ==18304==    by 0xB07B2DF: do_shutdown (mod_verto.c:4579)
  50990. ==18304==    by 0xB07B2DF: mod_verto_shutdown (mod_verto.c:6253)
  50991. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  50992. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  50993. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  50994. ==18304==    by 0x10AF01: main (switch.c:1229)
  50995. ==18304==
  50996. ==18304== This conflicts with a previous write of size 4 by thread #26
  50997. ==18304== Locks held: 1, at address 0x9AC9CA0
  50998. ==18304==    at 0xB079ECB: profile_thread (mod_verto.c:5213)
  50999. ==18304==    by 0x4CEAA32: switch_core_session_thread_pool_worker (switch_core_session.c:1772)
  51000. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51001. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51002. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51003. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51004. ==18304==  Address 0xb090c10 is 80 bytes inside data symbol "verto_globals"
  51005. ==18304==
  51006. ==18304== ---Thread-Announcement------------------------------------------
  51007. ==18304==
  51008. ==18304== Thread #42 was created
  51009. ==18304==    at 0x560E4BE: clone (clone.S:71)
  51010. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  51011. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  51012. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  51013. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  51014. ==18304==    by 0x4CFC0A1: switch_core_launch_thread (switch_core.c:611)
  51015. ==18304==    by 0x4D46ECA: switch_loadable_module_runtime (switch_loadable_module.c:150)
  51016. ==18304==    by 0x4D46ECA: switch_loadable_module_init (switch_loadable_module.c:2365)
  51017. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51018. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51019. ==18304==
  51020. ==18304== ----------------------------------------------------------------
  51021. ==18304==
  51022. ==18304== Thread #42: lock order "0x9AC9E50 before 0x9AC9EA0" violated
  51023. ==18304==
  51024. ==18304== Observed (incorrect) order is: acquisition of lock at 0x9AC9EA0
  51025. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  51026. ==18304==    by 0xB07A07B: mod_verto_runtime (mod_verto.c:6273)
  51027. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  51028. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51029. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51030. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51031. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51032. ==18304==
  51033. ==18304==  followed by a later acquisition of lock at 0x9AC9E50
  51034. ==18304==    at 0x483CACB: pthread_cond_wait_WRK (hg_intercepts.c:1209)
  51035. ==18304==    by 0xB07A0B2: mod_verto_runtime (mod_verto.c:6275)
  51036. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  51037. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51038. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51039. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51040. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51041. ==18304==
  51042. ==18304== Required order was established by acquisition of lock at 0x9AC9E50
  51043. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  51044. ==18304==    by 0xB079F86: mod_verto_runtime (mod_verto.c:6266)
  51045. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  51046. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51047. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51048. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51049. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51050. ==18304==
  51051. ==18304==  followed by a later acquisition of lock at 0x9AC9EA0
  51052. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  51053. ==18304==    by 0xB07A07B: mod_verto_runtime (mod_verto.c:6273)
  51054. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  51055. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51056. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51057. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51058. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51059. ==18304==
  51060. ==18304==  Lock at 0x9AC9E50 was first observed
  51061. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51062. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51063. ==18304==    by 0xB083C62: mod_verto_load (mod_verto.c:6171)
  51064. ==18304==    by 0xB083C62: mod_verto_load (mod_verto.c:6125)
  51065. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  51066. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51067. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  51068. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51069. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51070. ==18304==  Address 0x9ac9e50 is 752 bytes inside a block of size 8,192 alloc'd
  51071. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51072. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51073. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51074. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51075. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  51076. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51077. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  51078. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51079. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51080. ==18304==  Block was alloc'd by thread #1
  51081. ==18304==
  51082. ==18304==  Lock at 0x9AC9EA0 was first observed
  51083. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51084. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51085. ==18304==    by 0xB083C7A: mod_verto_load (mod_verto.c:6172)
  51086. ==18304==    by 0xB083C7A: mod_verto_load (mod_verto.c:6125)
  51087. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  51088. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51089. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  51090. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51091. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51092. ==18304==  Address 0x9ac9ea0 is 832 bytes inside a block of size 8,192 alloc'd
  51093. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51094. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51095. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51096. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51097. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  51098. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51099. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  51100. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51101. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51102. ==18304==  Block was alloc'd by thread #1
  51103. ==18304==
  51104. ==18304==
  51105. ==18304== ----------------------------------------------------------------
  51106. ==18304==
  51107. ==18304==  Lock at 0x91D0BF8 was first observed
  51108. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51109. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51110. ==18304==    by 0x8F10BF9: mod_event_socket_load (mod_event_socket.c:1190)
  51111. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  51112. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51113. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  51114. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51115. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51116. ==18304==  Address 0x91d0bf8 is 408 bytes inside a block of size 8,192 alloc'd
  51117. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51118. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51119. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51120. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51121. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  51122. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51123. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  51124. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51125. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51126. ==18304==  Block was alloc'd by thread #1
  51127. ==18304==
  51128. ==18304== Possible data race during write of size 4 at 0x7A53528 by thread #1
  51129. ==18304== Locks held: 1, at address 0x91D0BF8
  51130. ==18304==    at 0x502764E: socket_cleanup (sockets.c:44)
  51131. ==18304==    by 0x8F10B89: close_socket (mod_event_socket.c:571)
  51132. ==18304==    by 0x8F125CC: mod_event_socket_shutdown (mod_event_socket.c:586)
  51133. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  51134. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  51135. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51136. ==18304==    by 0x10AF01: main (switch.c:1229)
  51137. ==18304==  Address 0x7a53528 is 472 bytes inside a block of size 8,192 alloc'd
  51138. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51139. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51140. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51141. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51142. ==18304==    by 0x8F1434D: mod_event_socket_runtime (mod_event_socket.c:2952)
  51143. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  51144. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51145. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51146. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51147. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51148. ==18304==  Block was alloc'd by thread #43
  51149. ==18304==
  51150. ==18304== ----------------------------------------------------------------
  51151. ==18304==
  51152. ==18304==  Lock at 0x91D0BF8 was first observed
  51153. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51154. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51155. ==18304==    by 0x8F10BF9: mod_event_socket_load (mod_event_socket.c:1190)
  51156. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  51157. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51158. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  51159. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51160. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51161. ==18304==  Address 0x91d0bf8 is 408 bytes inside a block of size 8,192 alloc'd
  51162. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51163. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51164. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51165. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51166. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  51167. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51168. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  51169. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51170. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51171. ==18304==  Block was alloc'd by thread #1
  51172. ==18304==
  51173. ==18304== Possible data race during write of size 8 at 0x8F1D8C0 by thread #1
  51174. ==18304== Locks held: 1, at address 0x91D0BF8
  51175. ==18304==    at 0x8F10B8A: close_socket (mod_event_socket.c:572)
  51176. ==18304==    by 0x8F125CC: mod_event_socket_shutdown (mod_event_socket.c:586)
  51177. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  51178. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  51179. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51180. ==18304==    by 0x10AF01: main (switch.c:1229)
  51181. ==18304==  Address 0x8f1d8c0 is 0 bytes inside data symbol "listen_list"
  51182. ==18304==
  51183. ==18304== ----------------------------------------------------------------
  51184. ==18304==
  51185. ==18304==  Lock at 0x7D7DAF8 was first observed
  51186. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51187. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51188. ==18304==    by 0x4DC0A38: softtimer_load (switch_time.c:1522)
  51189. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  51190. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51191. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  51192. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51193. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51194. ==18304==  Address 0x7d7daf8 is 328 bytes inside a block of size 8,192 alloc'd
  51195. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51196. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51197. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51198. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51199. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  51200. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51201. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  51202. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51203. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51204. ==18304==  Block was alloc'd by thread #1
  51205. ==18304==
  51206. ==18304== Possible data race during write of size 4 at 0x51215E0 by thread #1
  51207. ==18304== Locks held: 1, at address 0x7D7DAF8
  51208. ==18304==    at 0x4DBE3D3: softtimer_shutdown (switch_time.c:1586)
  51209. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  51210. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  51211. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51212. ==18304==    by 0x10AF01: main (switch.c:1229)
  51213. ==18304==
  51214. ==18304== This conflicts with a previous read of size 4 by thread #42
  51215. ==18304== Locks held: none
  51216. ==18304==    at 0x4DBF130: switch_micro_time_now (switch_time.c:312)
  51217. ==18304==    by 0x4DB2EAA: switch_log_vprintf (switch_log.c:517)
  51218. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  51219. ==18304==    by 0x4D40F89: switch_loadable_module_exec (switch_loadable_module.c:125)
  51220. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51221. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51222. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51223. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51224. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  51225. ==18304==
  51226. ==18304== ----------------------------------------------------------------
  51227. ==18304==
  51228. ==18304== Possible data race during read of size 4 at 0x8F1D580 by thread #43
  51229. ==18304== Locks held: none
  51230. ==18304==    at 0x8F148D8: mod_event_socket_runtime (mod_event_socket.c:3011)
  51231. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  51232. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51233. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51234. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51235. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51236. ==18304==
  51237. ==18304== This conflicts with a previous write of size 4 by thread #1
  51238. ==18304== Locks held: none
  51239. ==18304==    at 0x8F125A6: mod_event_socket_shutdown (mod_event_socket.c:581)
  51240. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  51241. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  51242. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51243. ==18304==    by 0x10AF01: main (switch.c:1229)
  51244. ==18304==  Address 0x8f1d580 is 32 bytes inside data symbol "prefs"
  51245. ==18304==
  51246. ==18304== ----------------------------------------------------------------
  51247. ==18304==
  51248. ==18304==  Lock at 0x7D7DAF8 was first observed
  51249. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51250. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51251. ==18304==    by 0x4DC0A38: softtimer_load (switch_time.c:1522)
  51252. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  51253. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51254. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  51255. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51256. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51257. ==18304==  Address 0x7d7daf8 is 328 bytes inside a block of size 8,192 alloc'd
  51258. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51259. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51260. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51261. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51262. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  51263. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51264. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  51265. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51266. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51267. ==18304==  Block was alloc'd by thread #1
  51268. ==18304==
  51269. ==18304== Possible data race during read of size 4 at 0x51215E0 by thread #44
  51270. ==18304== Locks held: none
  51271. ==18304==    at 0x4DBFC99: softtimer_runtime (switch_time.c:1123)
  51272. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  51273. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51274. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51275. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51276. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51277. ==18304==
  51278. ==18304== This conflicts with a previous write of size 4 by thread #1
  51279. ==18304== Locks held: 1, at address 0x7D7DAF8
  51280. ==18304==    at 0x4DBE3D3: softtimer_shutdown (switch_time.c:1586)
  51281. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  51282. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  51283. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51284. ==18304==    by 0x10AF01: main (switch.c:1229)
  51285. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  51286. ==18304==
  51287. ==18304== ----------------------------------------------------------------
  51288. ==18304==
  51289. ==18304== Possible data race during write of size 4 at 0x51215E8 by thread #44
  51290. ==18304== Locks held: none
  51291. ==18304==    at 0x4DBFCA9: softtimer_runtime (switch_time.c:1308)
  51292. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  51293. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51294. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51295. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51296. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51297. ==18304==
  51298. ==18304== This conflicts with a previous write of size 4 by thread #1
  51299. ==18304== Locks held: none
  51300. ==18304==    at 0x4DBE358: softtimer_shutdown (switch_time.c:1582)
  51301. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  51302. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  51303. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51304. ==18304==    by 0x10AF01: main (switch.c:1229)
  51305. ==18304==  Address 0x51215e8 is 8 bytes inside data symbol "globals"
  51306. ==18304==
  51307. ==18304== ----------------------------------------------------------------
  51308. ==18304==
  51309. ==18304==  Lock at 0x7D7DAF8 was first observed
  51310. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51311. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51312. ==18304==    by 0x4DC0A38: softtimer_load (switch_time.c:1522)
  51313. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  51314. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51315. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  51316. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51317. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51318. ==18304==  Address 0x7d7daf8 is 328 bytes inside a block of size 8,192 alloc'd
  51319. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51320. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51321. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51322. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51323. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  51324. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51325. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  51326. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51327. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51328. ==18304==  Block was alloc'd by thread #1
  51329. ==18304==
  51330. ==18304== Possible data race during write of size 4 at 0x51215E0 by thread #44
  51331. ==18304== Locks held: 1, at address 0x7D7DAF8
  51332. ==18304==    at 0x4DC0090: softtimer_runtime (switch_time.c:1323)
  51333. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  51334. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51335. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51336. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51337. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51338. ==18304==
  51339. ==18304== This conflicts with a previous read of size 4 by thread #43
  51340. ==18304== Locks held: none
  51341. ==18304==    at 0x4DBF130: switch_micro_time_now (switch_time.c:312)
  51342. ==18304==    by 0x4DB2EAA: switch_log_vprintf (switch_log.c:517)
  51343. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  51344. ==18304==    by 0x4D40F89: switch_loadable_module_exec (switch_loadable_module.c:125)
  51345. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51346. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51347. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51348. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51349. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  51350. ==18304==
  51351. ==18304== ----------------------------------------------------------------
  51352. ==18304==
  51353. ==18304==  Lock at 0x7D7DAF8 was first observed
  51354. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51355. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51356. ==18304==    by 0x4DC0A38: softtimer_load (switch_time.c:1522)
  51357. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  51358. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51359. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  51360. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51361. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51362. ==18304==  Address 0x7d7daf8 is 328 bytes inside a block of size 8,192 alloc'd
  51363. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51364. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51365. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51366. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51367. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  51368. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51369. ==18304==    by 0x4D46723: switch_loadable_module_init (switch_loadable_module.c:2184)
  51370. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51371. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51372. ==18304==  Block was alloc'd by thread #1
  51373. ==18304==
  51374. ==18304== Possible data race during read of size 4 at 0x51215E0 by thread #1
  51375. ==18304== Locks held: none
  51376. ==18304==    at 0x4DBE40A: softtimer_shutdown (switch_time.c:1589)
  51377. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  51378. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  51379. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51380. ==18304==    by 0x10AF01: main (switch.c:1229)
  51381. ==18304==
  51382. ==18304== This conflicts with a previous write of size 4 by thread #44
  51383. ==18304== Locks held: 1, at address 0x7D7DAF8
  51384. ==18304==    at 0x4DC0090: softtimer_runtime (switch_time.c:1323)
  51385. ==18304==    by 0x4D40F51: switch_loadable_module_exec (switch_loadable_module.c:123)
  51386. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51387. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51388. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51389. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51390. ==18304==  Address 0x51215e0 is 0 bytes inside data symbol "globals"
  51391. ==18304==
  51392. ==18304== ----------------------------------------------------------------
  51393. ==18304==
  51394. ==18304==  Lock at 0x12A92028 was first observed
  51395. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51396. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51397. ==18304==    by 0x12D685F4: mod_conference_load (mod_conference.c:3962)
  51398. ==18304==    by 0x4D43B11: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  51399. ==18304==    by 0x4D43B11: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51400. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  51401. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51402. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51403. ==18304==  Address 0x12a92028 is 760 bytes inside a block of size 8,192 alloc'd
  51404. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51405. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51406. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51407. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51408. ==18304==    by 0x4D438DE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  51409. ==18304==    by 0x4D438DE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1858)
  51410. ==18304==    by 0x4D46BA4: switch_loadable_module_init (switch_loadable_module.c:2287)
  51411. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51412. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51413. ==18304==  Block was alloc'd by thread #1
  51414. ==18304==
  51415. ==18304== Possible data race during read of size 4 at 0x12DA5A78 by thread #1
  51416. ==18304== Locks held: none
  51417. ==18304==    at 0x12D59AEE: mod_conference_shutdown (mod_conference.c:4005)
  51418. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  51419. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  51420. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51421. ==18304==    by 0x10AF01: main (switch.c:1229)
  51422. ==18304==
  51423. ==18304== This conflicts with a previous write of size 4 by thread #53
  51424. ==18304== Locks held: 1, at address 0x12A92028
  51425. ==18304==    at 0x12D6798D: conference_thread_run (mod_conference.c:887)
  51426. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51427. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51428. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51429. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51430. ==18304==  Address 0x12da5a78 is 56 bytes inside data symbol "conference_globals"
  51431. ==18304==
  51432. ==18304== ----------------------------------------------------------------
  51433. ==18304==
  51434. ==18304== Possible data race during write of size 4 at 0x50FC270 by thread #1
  51435. ==18304== Locks held: none
  51436. ==18304==    at 0x4CEA580: switch_core_sqldb_stop (switch_core_sqldb.c:3981)
  51437. ==18304==    by 0x4D47754: switch_loadable_module_shutdown (switch_loadable_module.c:2476)
  51438. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51439. ==18304==    by 0x10AF01: main (switch.c:1229)
  51440. ==18304==
  51441. ==18304== This conflicts with a previous read of size 4 by thread #10
  51442. ==18304== Locks held: none
  51443. ==18304==    at 0x4CE941D: switch_core_sql_db_thread (switch_core_sqldb.c:1590)
  51444. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51445. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51446. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51447. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51448. ==18304==  Address 0x50fc270 is 16 bytes inside data symbol "sql_manager"
  51449. ==18304==
  51450. ==18304== ----------------------------------------------------------------
  51451. ==18304==
  51452. ==18304== Possible data race during read of size 4 at 0x50FC270 by thread #10
  51453. ==18304== Locks held: none
  51454. ==18304==    at 0x4CE941D: switch_core_sql_db_thread (switch_core_sqldb.c:1590)
  51455. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51456. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51457. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51458. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51459. ==18304==
  51460. ==18304== This conflicts with a previous write of size 4 by thread #1
  51461. ==18304== Locks held: none
  51462. ==18304==    at 0x4CEA580: switch_core_sqldb_stop (switch_core_sqldb.c:3981)
  51463. ==18304==    by 0x4D47754: switch_loadable_module_shutdown (switch_loadable_module.c:2476)
  51464. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51465. ==18304==    by 0x10AF01: main (switch.c:1229)
  51466. ==18304==  Address 0x50fc270 is 16 bytes inside data symbol "sql_manager"
  51467. ==18304==
  51468. ==18304== ----------------------------------------------------------------
  51469. ==18304==
  51470. ==18304== Thread #9: lock order "0x7B89680 before 0x7EB61E8" violated
  51471. ==18304==
  51472. ==18304== Observed (incorrect) order is: acquisition of lock at 0x7EB61E8
  51473. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  51474. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  51475. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  51476. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  51477. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  51478. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51479. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51480. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51481. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51482. ==18304==
  51483. ==18304==  followed by a later acquisition of lock at 0x7B89680
  51484. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  51485. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:364)
  51486. ==18304==    by 0x4CE1E70: switch_cache_db_release_db_handle (switch_core_sqldb.c:349)
  51487. ==18304==    by 0x4CE3970: switch_user_sql_thread (switch_core_sqldb.c:2373)
  51488. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51489. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51490. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51491. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51492. ==18304==
  51493. ==18304== Required order was established by acquisition of lock at 0x7B89680
  51494. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  51495. ==18304==    by 0x4CE267A: add_handle (switch_core_sqldb.c:110)
  51496. ==18304==    by 0x4CE267A: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  51497. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  51498. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  51499. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51500. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51501. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51502. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51503. ==18304==
  51504. ==18304==  followed by a later acquisition of lock at 0x7EB61E8
  51505. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  51506. ==18304==    by 0x4CE2712: add_handle (switch_core_sqldb.c:125)
  51507. ==18304==    by 0x4CE2712: _switch_cache_db_get_db_handle (switch_core_sqldb.c:669)
  51508. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  51509. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  51510. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51511. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51512. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51513. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51514. ==18304==
  51515. ==18304==  Lock at 0x7B89680 was first observed
  51516. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51517. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51518. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  51519. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  51520. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  51521. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51522. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51523. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  51524. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51525. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  51526. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  51527. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  51528. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  51529. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  51530. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51531. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51532. ==18304==  Block was alloc'd by thread #1
  51533. ==18304==
  51534. ==18304==  Lock at 0x7EB61E8 was first observed
  51535. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51536. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51537. ==18304==    by 0x4CE27BF: create_handle (switch_core_sqldb.c:93)
  51538. ==18304==    by 0x4CE27BF: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  51539. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  51540. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  51541. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51542. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51543. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51544. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51545. ==18304==  Address 0x7eb61e8 is 1,144 bytes inside a block of size 8,192 alloc'd
  51546. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51547. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51548. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51549. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51550. ==18304==    by 0x4CE2772: create_handle (switch_core_sqldb.c:89)
  51551. ==18304==    by 0x4CE2772: _switch_cache_db_get_db_handle (switch_core_sqldb.c:650)
  51552. ==18304==    by 0x4CE2E01: _switch_cache_db_get_db_handle_dsn_ex (switch_core_sqldb.c:500)
  51553. ==18304==    by 0x4CE321D: switch_user_sql_thread (switch_core_sqldb.c:2276)
  51554. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51555. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51556. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51557. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51558. ==18304==  Block was alloc'd by thread #9
  51559. ==18304==
  51560. ==18304==
  51561. ==18304== ----------------------------------------------------------------
  51562. ==18304==
  51563. ==18304== Thread #1: lock order "0x7B89680 before 0x79E2370" violated
  51564. ==18304==
  51565. ==18304== Observed (incorrect) order is: acquisition of lock at 0x79E2370
  51566. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  51567. ==18304==    by 0x4D43E7B: switch_loadable_module_unprocess (switch_loadable_module.c:1141)
  51568. ==18304==    by 0x4D43E7B: do_shutdown (switch_loadable_module.c:2394)
  51569. ==18304==    by 0x4D477C9: switch_loadable_module_shutdown (switch_loadable_module.c:2482)
  51570. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51571. ==18304==    by 0x10AF01: main (switch.c:1229)
  51572. ==18304==
  51573. ==18304==  followed by a later acquisition of lock at 0x7B89680
  51574. ==18304==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  51575. ==18304==    by 0x4CE1D2D: switch_cache_db_database_interface_flush_handles (switch_core_sqldb.c:154)
  51576. ==18304==    by 0x4D44CD3: switch_loadable_module_unprocess (switch_loadable_module.c:1477)
  51577. ==18304==    by 0x4D44CD3: do_shutdown (switch_loadable_module.c:2394)
  51578. ==18304==    by 0x4D477C9: switch_loadable_module_shutdown (switch_loadable_module.c:2482)
  51579. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51580. ==18304==    by 0x10AF01: main (switch.c:1229)
  51581. ==18304==
  51582. ==18304==  Lock at 0x7B89680 was first observed
  51583. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51584. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51585. ==18304==    by 0x4CE9491: switch_core_sqldb_start (switch_core_sqldb.c:3627)
  51586. ==18304==    by 0x4CFED31: switch_core_sqldb_init (switch_core.c:2441)
  51587. ==18304==    by 0x4D46921: switch_loadable_module_init (switch_loadable_module.c:2233)
  51588. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51589. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51590. ==18304==  Address 0x7b89680 is 800,320 bytes inside a block of size 802,816 alloc'd
  51591. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51592. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  51593. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  51594. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  51595. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  51596. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  51597. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51598. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51599. ==18304==  Block was alloc'd by thread #1
  51600. ==18304==
  51601. ==18304==  Lock at 0x79E2370 was first observed
  51602. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51603. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51604. ==18304==    by 0x4D466AD: switch_loadable_module_init (switch_loadable_module.c:2168)
  51605. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51606. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51607. ==18304==  Address 0x79e2370 is 288 bytes inside a block of size 8,192 alloc'd
  51608. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51609. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51610. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51611. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51612. ==18304==    by 0x4D465B3: switch_loadable_module_init (switch_loadable_module.c:2142)
  51613. ==18304==    by 0x4D02E18: switch_core_init_and_modload (switch_core.c:2477)
  51614. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51615. ==18304==  Block was alloc'd by thread #1
  51616. ==18304==
  51617. ==18304==
  51618. ==18304== ----------------------------------------------------------------
  51619. ==18304==
  51620. ==18304== Possible data race during write of size 4 at 0x50FCAF4 by thread #1
  51621. ==18304== Locks held: none
  51622. ==18304==    at 0x4D40251: switch_scheduler_task_thread_stop (switch_scheduler.c:358)
  51623. ==18304==    by 0x4CFF4D5: switch_core_destroy (switch_core.c:3034)
  51624. ==18304==    by 0x10AF01: main (switch.c:1229)
  51625. ==18304==
  51626. ==18304== This conflicts with a previous read of size 4 by thread #6
  51627. ==18304== Locks held: none
  51628. ==18304==    at 0x4D3FB37: switch_scheduler_task_thread (switch_scheduler.c:187)
  51629. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51630. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51631. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51632. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51633. ==18304==  Address 0x50fcaf4 is 20 bytes inside data symbol "globals"
  51634. ==18304==
  51635. ==18304== ----------------------------------------------------------------
  51636. ==18304==
  51637. ==18304== Possible data race during read of size 4 at 0x50FCAF4 by thread #6
  51638. ==18304== Locks held: none
  51639. ==18304==    at 0x4D3FB37: switch_scheduler_task_thread (switch_scheduler.c:187)
  51640. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51641. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51642. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51643. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51644. ==18304==
  51645. ==18304== This conflicts with a previous write of size 4 by thread #1
  51646. ==18304== Locks held: none
  51647. ==18304==    at 0x4D40251: switch_scheduler_task_thread_stop (switch_scheduler.c:358)
  51648. ==18304==    by 0x4CFF4D5: switch_core_destroy (switch_core.c:3034)
  51649. ==18304==    by 0x10AF01: main (switch.c:1229)
  51650. ==18304==  Address 0x50fcaf4 is 20 bytes inside data symbol "globals"
  51651. ==18304==
  51652. ==18304== ----------------------------------------------------------------
  51653. ==18304==
  51654. ==18304==  Lock at 0x7B8A200 was first observed
  51655. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51656. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51657. ==18304==    by 0x4D4019B: switch_scheduler_task_thread_start (switch_scheduler.c:345)
  51658. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  51659. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51660. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51661. ==18304==  Address 0x7b8a200 is 384 bytes inside a block of size 8,192 alloc'd
  51662. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51663. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51664. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51665. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51666. ==18304==    by 0x4D40172: switch_scheduler_task_thread_start (switch_scheduler.c:343)
  51667. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  51668. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51669. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51670. ==18304==  Block was alloc'd by thread #1
  51671. ==18304==
  51672. ==18304==  Lock at 0x7B89590 was first observed
  51673. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51674. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51675. ==18304==    by 0x4DB37D6: switch_log_init (switch_log.c:699)
  51676. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  51677. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51678. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51679. ==18304==  Address 0x7b89590 is 800,080 bytes inside a block of size 802,816 alloc'd
  51680. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51681. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  51682. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  51683. ==18304==    by 0x501A345: apr_queue_create (apr_queue.c:129)
  51684. ==18304==    by 0x4DB37BE: switch_log_init (switch_log.c:695)
  51685. ==18304==    by 0x4D02BE9: switch_core_init (switch_core.c:1991)
  51686. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51687. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51688. ==18304==  Block was alloc'd by thread #1
  51689. ==18304==
  51690. ==18304== Possible data race during read of size 4 at 0x50FE10C by thread #6
  51691. ==18304== Locks held: 1, at address 0x7B8A200
  51692. ==18304==    at 0x4DB30D8: switch_log_vprintf (switch_log.c:611)
  51693. ==18304==    by 0x4DB367A: switch_log_printf (switch_log.c:502)
  51694. ==18304==    by 0x4D3F8F9: task_thread_loop (switch_scheduler.c:147)
  51695. ==18304==    by 0x4D3FB49: switch_scheduler_task_thread (switch_scheduler.c:197)
  51696. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51697. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51698. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51699. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51700. ==18304==
  51701. ==18304== This conflicts with a previous write of size 4 by thread #1
  51702. ==18304== Locks held: 1, at address 0x7B89590
  51703. ==18304==    at 0x4DB2CDB: switch_log_unbind_logger (switch_log.c:409)
  51704. ==18304==    by 0x48543CF: ???
  51705. ==18304==    by 0x4D455D0: do_shutdown (switch_loadable_module.c:2397)
  51706. ==18304==    by 0x4D476B8: switch_loadable_module_shutdown (switch_loadable_module.c:2456)
  51707. ==18304==    by 0x4CFF4C6: switch_core_destroy (switch_core.c:3028)
  51708. ==18304==    by 0x10AF01: main (switch.c:1229)
  51709. ==18304==  Address 0x50fe10c is 0 bytes inside data symbol "console_mods_loaded"
  51710. ==18304==
  51711. ==18304== ---Thread-Announcement------------------------------------------
  51712. ==18304==
  51713. ==18304== Thread #57 was created
  51714. ==18304==    at 0x560E4BE: clone (clone.S:71)
  51715. ==18304==    by 0x517FDDE: create_thread (createthread.c:101)
  51716. ==18304==    by 0x518180D: pthread_create@@GLIBC_2.2.5 (pthread_create.c:826)
  51717. ==18304==    by 0x483C6B7: pthread_create_WRK (hg_intercepts.c:427)
  51718. ==18304==    by 0x5028E91: apr_thread_create (thread.c:194)
  51719. ==18304==    by 0x4D3F856: task_thread_loop (switch_scheduler.c:128)
  51720. ==18304==    by 0x4D3FB16: switch_scheduler_task_thread (switch_scheduler.c:188)
  51721. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51722. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51723. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51724. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51725. ==18304==
  51726. ==18304== ----------------------------------------------------------------
  51727. ==18304==
  51728. ==18304==  Lock at 0x7B8A200 was first observed
  51729. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51730. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51731. ==18304==    by 0x4D4019B: switch_scheduler_task_thread_start (switch_scheduler.c:345)
  51732. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  51733. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51734. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51735. ==18304==  Address 0x7b8a200 is 384 bytes inside a block of size 8,192 alloc'd
  51736. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51737. ==18304==    by 0x5024109: allocator_alloc (apr_pools.c:300)
  51738. ==18304==    by 0x5024109: apr_pool_create_ex (apr_pools.c:836)
  51739. ==18304==    by 0x4CD9FD1: switch_core_perform_new_memory_pool (switch_core_memory.c:424)
  51740. ==18304==    by 0x4D40172: switch_scheduler_task_thread_start (switch_scheduler.c:343)
  51741. ==18304==    by 0x4D02C2E: switch_core_init (switch_core.c:2004)
  51742. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51743. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51744. ==18304==  Block was alloc'd by thread #1
  51745. ==18304==
  51746. ==18304== Possible data race during read of size 4 at 0x7D75B30 by thread #6
  51747. ==18304== Locks held: 1, at address 0x7B8A200
  51748. ==18304==    at 0x4D3F8B0: task_thread_loop (switch_scheduler.c:142)
  51749. ==18304==    by 0x4D3FB49: switch_scheduler_task_thread (switch_scheduler.c:197)
  51750. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51751. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51752. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51753. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51754. ==18304==
  51755. ==18304== This conflicts with a previous write of size 4 by thread #57
  51756. ==18304== Locks held: none
  51757. ==18304==    at 0x4D3FC2E: task_own_thread (switch_scheduler.c:97)
  51758. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51759. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51760. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51761. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51762. ==18304==  Address 0x7d75b30 is 64 bytes inside a block of size 120 alloc'd
  51763. ==18304==    at 0x4838BB5: calloc (vg_replace_malloc.c:752)
  51764. ==18304==    by 0x4D3FC90: switch_scheduler_add_task (switch_scheduler.c:221)
  51765. ==18304==    by 0x4D02CB8: switch_core_init (switch_core.c:2015)
  51766. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51767. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51768. ==18304==  Block was alloc'd by thread #1
  51769. ==18304==
  51770. ==18304== ----------------------------------------------------------------
  51771. ==18304==
  51772. ==18304== Possible data race during write of size 4 at 0x50FCAF4 by thread #6
  51773. ==18304== Locks held: none
  51774. ==18304==    at 0x4D3FBAC: switch_scheduler_task_thread (switch_scheduler.c:206)
  51775. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51776. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51777. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51778. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51779. ==18304==
  51780. ==18304== This conflicts with a previous write of size 4 by thread #1
  51781. ==18304== Locks held: none
  51782. ==18304==    at 0x4D40251: switch_scheduler_task_thread_stop (switch_scheduler.c:358)
  51783. ==18304==    by 0x4CFF4D5: switch_core_destroy (switch_core.c:3034)
  51784. ==18304==    by 0x10AF01: main (switch.c:1229)
  51785. ==18304==  Address 0x50fcaf4 is 20 bytes inside data symbol "globals"
  51786. ==18304==
  51787. ==18304== ----------------------------------------------------------------
  51788. ==18304==
  51789. ==18304==  Lock at 0x7411F00 was first observed
  51790. ==18304==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  51791. ==18304==    by 0x5022C3E: apr_thread_mutex_create (thread_mutex.c:66)
  51792. ==18304==    by 0x4D525BC: switch_event_init (switch_event.c:702)
  51793. ==18304==    by 0x4D02B37: switch_core_init (switch_core.c:1976)
  51794. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51795. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51796. ==18304==  Address 0x7411f00 is 3,536 bytes inside a block of size 8,192 alloc'd
  51797. ==18304==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  51798. ==18304==    by 0x5023A97: allocator_alloc (apr_pools.c:300)
  51799. ==18304==    by 0x5023A97: apr_palloc (apr_pools.c:631)
  51800. ==18304==    by 0x501ADC9: apr_pstrmemdup (apr_strings.c:107)
  51801. ==18304==    by 0x4CD9B32: switch_core_perform_permanent_strdup (switch_core_memory.c:162)
  51802. ==18304==    by 0x4CFD395: switch_core_mime_add_type (switch_core.c:1228)
  51803. ==18304==    by 0x4D028B6: load_mime_types (switch_core.c:1292)
  51804. ==18304==    by 0x4D028B6: switch_core_init (switch_core.c:1929)
  51805. ==18304==    by 0x4D02D6B: switch_core_init_and_modload (switch_core.c:2458)
  51806. ==18304==    by 0x10AEC7: main (switch.c:1200)
  51807. ==18304==  Block was alloc'd by thread #1
  51808. ==18304==
  51809. ==18304== Possible data race during write of size 4 at 0x50FD290 by thread #1
  51810. ==18304== Locks held: 1, at address 0x7411F00
  51811. ==18304==    at 0x4D53AF7: switch_event_shutdown (switch_event.c:559)
  51812. ==18304==    by 0x4CFF530: switch_core_destroy (switch_core.c:3047)
  51813. ==18304==    by 0x10AF01: main (switch.c:1229)
  51814. ==18304==
  51815. ==18304== This conflicts with a previous read of size 4 by thread #3
  51816. ==18304== Locks held: none
  51817. ==18304==    at 0x4D539B0: switch_event_dispatch_thread (switch_event.c:324)
  51818. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51819. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51820. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51821. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51822. ==18304==  Address 0x50fd290 is 0 bytes inside data symbol "SYSTEM_RUNNING"
  51823. ==18304==
  51824. ==18304== ----------------------------------------------------------------
  51825. ==18304==
  51826. ==18304== Possible data race during write of size 1 at 0x50FE115 by thread #5
  51827. ==18304== Locks held: none
  51828. ==18304==    at 0x4DB3765: log_thread (switch_log.c:491)
  51829. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51830. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51831. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51832. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51833. ==18304==
  51834. ==18304== This conflicts with a previous read of size 1 by thread #1
  51835. ==18304== Locks held: none
  51836. ==18304==    at 0x4DB3882: switch_log_shutdown (switch_log.c:745)
  51837. ==18304==    by 0x4CFF562: switch_core_destroy (switch_core.c:3050)
  51838. ==18304==    by 0x10AF01: main (switch.c:1229)
  51839. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  51840. ==18304==
  51841. ==18304== ----------------------------------------------------------------
  51842. ==18304==
  51843. ==18304== Possible data race during read of size 1 at 0x50FE115 by thread #1
  51844. ==18304== Locks held: none
  51845. ==18304==    at 0x4DB3895: switch_log_shutdown (switch_log.c:745)
  51846. ==18304==    by 0x4CFF562: switch_core_destroy (switch_core.c:3050)
  51847. ==18304==    by 0x10AF01: main (switch.c:1229)
  51848. ==18304==
  51849. ==18304== This conflicts with a previous write of size 1 by thread #5
  51850. ==18304== Locks held: none
  51851. ==18304==    at 0x4DB3765: log_thread (switch_log.c:491)
  51852. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51853. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51854. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51855. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51856. ==18304==  Address 0x50fe115 is 0 bytes inside data symbol "THREAD_RUNNING"
  51857. ==18304==
  51858. ==18304== ----------------------------------------------------------------
  51859. ==18304==
  51860. ==18304== Possible data race during write of size 4 at 0x50FC238 by thread #1
  51861. ==18304== Locks held: none
  51862. ==18304==    at 0x4CDA2CC: switch_core_memory_stop (switch_core_memory.c:673)
  51863. ==18304==    by 0x4CFF5CF: switch_core_destroy (switch_core.c:3054)
  51864. ==18304==    by 0x10AF01: main (switch.c:1229)
  51865. ==18304==
  51866. ==18304== This conflicts with a previous read of size 4 by thread #51
  51867. ==18304== Locks held: none
  51868. ==18304==    at 0x4CDA0CB: switch_core_perform_destroy_memory_pool (switch_core_memory.c:492)
  51869. ==18304==    by 0x4CEAB29: switch_core_session_thread_pool_worker (switch_core_session.c:1802)
  51870. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51871. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51872. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51873. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51874. ==18304==  Address 0x50fc238 is 24 bytes inside data symbol "memory_manager"
  51875. ==18304==
  51876. ==18304== ----------------------------------------------------------------
  51877. ==18304==
  51878. ==18304== Possible data race during read of size 4 at 0x50FC238 by thread #2
  51879. ==18304== Locks held: none
  51880. ==18304==    at 0x4CDA1D7: pool_thread (switch_core_memory.c:577)
  51881. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51882. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51883. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51884. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51885. ==18304==
  51886. ==18304== This conflicts with a previous write of size 4 by thread #1
  51887. ==18304== Locks held: none
  51888. ==18304==    at 0x4CDA2CC: switch_core_memory_stop (switch_core_memory.c:673)
  51889. ==18304==    by 0x4CFF5CF: switch_core_destroy (switch_core.c:3054)
  51890. ==18304==    by 0x10AF01: main (switch.c:1229)
  51891. ==18304==  Address 0x50fc238 is 24 bytes inside data symbol "memory_manager"
  51892. ==18304==
  51893. ==18304== ----------------------------------------------------------------
  51894. ==18304==
  51895. ==18304== Possible data race during write of size 4 at 0x50FC238 by thread #2
  51896. ==18304== Locks held: none
  51897. ==18304==    at 0x4CDA218: pool_thread (switch_core_memory.c:656)
  51898. ==18304==    by 0x5028CAB: dummy_worker (thread.c:151)
  51899. ==18304==    by 0x483C8B6: mythread_wrapper (hg_intercepts.c:389)
  51900. ==18304==    by 0x5180FA2: start_thread (pthread_create.c:486)
  51901. ==18304==    by 0x560E4CE: clone (clone.S:95)
  51902. ==18304==
  51903. ==18304== This conflicts with a previous write of size 4 by thread #1
  51904. ==18304== Locks held: none
  51905. ==18304==    at 0x4CDA2CC: switch_core_memory_stop (switch_core_memory.c:673)
  51906. ==18304==    by 0x4CFF5CF: switch_core_destroy (switch_core.c:3054)
  51907. ==18304==    by 0x10AF01: main (switch.c:1229)
  51908. ==18304==  Address 0x50fc238 is 24 bytes inside data symbol "memory_manager"
  51909. ==18304==
  51910. ==18304== ----------------------------------------------------------------
  51911. ==18304==
  51912. ==18304== Thread #1: pthread_mutex_destroy with invalid argument
  51913. ==18304==    at 0x4839A79: mutex_destroy_WRK (hg_intercepts.c:855)
  51914. ==18304==    by 0x6F38A9B: ??? (in /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0)
  51915. ==18304==    by 0x400F6F5: _dl_fini (dl-fini.c:138)
  51916. ==18304==    by 0x554ED8B: __run_exit_handlers (exit.c:108)
  51917. ==18304==    by 0x554EEB9: exit (exit.c:139)
  51918. ==18304==    by 0x55390A1: (below main) (libc-start.c:342)
  51919. ==18304==
  51920. ==18304== ----------------------------------------------------------------
  51921. ==18304==
  51922. ==18304== Thread #1: pthread_mutex_destroy with invalid argument
  51923. ==18304==    at 0x4839A79: mutex_destroy_WRK (hg_intercepts.c:855)
  51924. ==18304==    by 0x400F6F5: _dl_fini (dl-fini.c:138)
  51925. ==18304==    by 0x554ED8B: __run_exit_handlers (exit.c:108)
  51926. ==18304==    by 0x554EEB9: exit (exit.c:139)
  51927. ==18304==    by 0x55390A1: (below main) (libc-start.c:342)
  51928. ==18304==
  51929. ==18304==
  51930. ==18304== For counts of detected and suppressed errors, rerun with: -v
  51931. ==18304== Use --history-level=approx or =none to gain increased speed, at
  51932. ==18304== the cost of reduced accuracy of conflicting-access information
  51933. ==18304== ERROR SUMMARY: 42886 errors from 676 contexts (suppressed: 1412543 from 1183)
  51934.