From Capacious Zebra, 4 Years ago, written in Plain Text.
- view diff
Embed
  1. ==29385== ----------------------------------------------------------------
  2. ==29385==
  3. ==29385== Thread #1: lock order "0x7542D08 before 0x7542CA8" violated
  4. ==29385==
  5. ==29385== Observed (incorrect) order is: acquisition of lock at 0x7542CA8
  6. ==29385==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  7. ==29385==    by 0x4AD8285: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2613)
  8. ==29385==    by 0x4A6CD50: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  9. ==29385==    by 0x10B1E9: main (switch_core_codec.c:64)
  10. ==29385==
  11. ==29385==  followed by a later acquisition of lock at 0x7542D08
  12. ==29385==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  13. ==29385==    by 0x4AD826C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2613)
  14. ==29385==    by 0x4A6CD50: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  15. ==29385==    by 0x4A6D12E: switch_core_codec_copy (switch_core_codec.c:624)
  16. ==29385==    by 0x10B246: main (switch_core_codec.c:74)
  17. ==29385==
  18. ==29385== Required order was established by acquisition of lock at 0x7542D08
  19. ==29385==    at 0x4839CCC: mutex_lock_WRK (hg_intercepts.c:909)
  20. ==29385==    by 0x4AD826C: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2613)
  21. ==29385==    by 0x4A6CD50: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  22. ==29385==    by 0x10B1E9: main (switch_core_codec.c:64)
  23. ==29385==
  24. ==29385==  followed by a later acquisition of lock at 0x7542CA8
  25. ==29385==    at 0x483B74C: pthread_rwlock_rdlock_WRK (hg_intercepts.c:2240)
  26. ==29385==    by 0x4AD8285: switch_loadable_module_get_codec_interface (switch_loadable_module.c:2613)
  27. ==29385==    by 0x4A6CD50: switch_core_codec_init_with_bitrate (switch_core_codec.c:663)
  28. ==29385==    by 0x10B1E9: main (switch_core_codec.c:64)
  29. ==29385==
  30. ==29385==  Lock at 0x7542D08 was first observed
  31. ==29385==    at 0x483DB1D: pthread_mutex_init (hg_intercepts.c:787)
  32. ==29385==    by 0x4D8799E: apr_thread_mutex_create (thread_mutex.c:66)
  33. ==29385==    by 0x4ADAA80: switch_loadable_module_create_interface (switch_loadable_module.c:3115)
  34. ==29385==    by 0x8F2B187: mod_opus_load (mod_opus.c:1352)
  35. ==29385==    by 0x4AD4131: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  36. ==29385==    by 0x4AD4131: switch_loadable_module_load_module_ex (switch_loadable_module.c:1859)
  37. ==29385==    by 0x4AD71C4: switch_loadable_module_init (switch_loadable_module.c:2289)
  38. ==29385==    by 0x4A935D8: switch_core_init_and_modload (switch_core.c:2475)
  39. ==29385==    by 0x10A637: fst_init_core_and_modload (switch_test.h:116)
  40. ==29385==    by 0x10A637: main (switch_core_codec.c:37)
  41. ==29385==  Address 0x7542d08 is 776 bytes inside a block of size 8,192 alloc'd
  42. ==29385==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  43. ==29385==    by 0x4D88E39: allocator_alloc (apr_pools.c:300)
  44. ==29385==    by 0x4D88E39: apr_pool_create_ex (apr_pools.c:827)
  45. ==29385==    by 0x4A6AE11: switch_core_perform_new_memory_pool (switch_core_memory.c:385)
  46. ==29385==    by 0x4AD3EFE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  47. ==29385==    by 0x4AD3EFE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1859)
  48. ==29385==    by 0x4AD71C4: switch_loadable_module_init (switch_loadable_module.c:2289)
  49. ==29385==    by 0x4A935D8: switch_core_init_and_modload (switch_core.c:2475)
  50. ==29385==    by 0x10A637: fst_init_core_and_modload (switch_test.h:116)
  51. ==29385==    by 0x10A637: main (switch_core_codec.c:37)
  52. ==29385==  Block was alloc'd by thread #1
  53. ==29385==
  54. ==29385==  Lock at 0x7542CA8 was first observed
  55. ==29385==    at 0x483B213: pthread_rwlock_init_WRK (hg_intercepts.c:2027)
  56. ==29385==    by 0x4D8783B: apr_thread_rwlock_create (thread_rwlock.c:49)
  57. ==29385==    by 0x4ADAA6B: switch_loadable_module_create_interface (switch_loadable_module.c:3115)
  58. ==29385==    by 0x8F2B187: mod_opus_load (mod_opus.c:1352)
  59. ==29385==    by 0x4AD4131: switch_loadable_module_load_file (switch_loadable_module.c:1751)
  60. ==29385==    by 0x4AD4131: switch_loadable_module_load_module_ex (switch_loadable_module.c:1859)
  61. ==29385==    by 0x4AD71C4: switch_loadable_module_init (switch_loadable_module.c:2289)
  62. ==29385==    by 0x4A935D8: switch_core_init_and_modload (switch_core.c:2475)
  63. ==29385==    by 0x10A637: fst_init_core_and_modload (switch_test.h:116)
  64. ==29385==    by 0x10A637: main (switch_core_codec.c:37)
  65. ==29385==  Address 0x7542ca8 is 680 bytes inside a block of size 8,192 alloc'd
  66. ==29385==    at 0x48367CF: malloc (vg_replace_malloc.c:299)
  67. ==29385==    by 0x4D88E39: allocator_alloc (apr_pools.c:300)
  68. ==29385==    by 0x4D88E39: apr_pool_create_ex (apr_pools.c:827)
  69. ==29385==    by 0x4A6AE11: switch_core_perform_new_memory_pool (switch_core_memory.c:385)
  70. ==29385==    by 0x4AD3EFE: switch_loadable_module_load_file (switch_loadable_module.c:1685)
  71. ==29385==    by 0x4AD3EFE: switch_loadable_module_load_module_ex (switch_loadable_module.c:1859)
  72. ==29385==    by 0x4AD71C4: switch_loadable_module_init (switch_loadable_module.c:2289)
  73. ==29385==    by 0x4A935D8: switch_core_init_and_modload (switch_core.c:2475)
  74. ==29385==    by 0x10A637: fst_init_core_and_modload (switch_test.h:116)
  75. ==29385==    by 0x10A637: main (switch_core_codec.c:37)
  76. ==29385==  Block was alloc'd by thread #1