astmm.c line 132 (__ast_alloc_region): '®lock' really deep reentrancy! ==20241== ==20241== Thread 38: ==20241== Invalid read of size 4 ==20241== at 0x80852BE: __ast_pthread_mutex_unlock (lock.h:685) ==20241== by 0x808599F: __ast_alloc_region (astmm.c:135) ==20241== by 0x8085791: __ast_calloc (astmm.c:203) ==20241== by 0x808819A: internal_ao2_link (astobj2.c:501) ==20241== by 0x808837F: __ao2_link (astobj2.c:531) ==20241== by 0x717C33C: pthread_timer_open (res_timing_pthread.c:130) ==20241== by 0x81782A8: ast_timer_open (timing.c:128) ==20241== by 0x80A40C8: ast_channel_alloc (channel.c:828) ==20241== by 0x695490D: sip_new (chan_sip.c:6331) ==20241== by 0x6999B7A: handle_request_invite (chan_sip.c:19718) ==20241== by 0x69A1418: handle_incoming (chan_sip.c:21334) ==20241== by 0x69A26F0: handle_request_do (chan_sip.c:21636) ==20241== Address 0xc9c715d8 is not stack'd, malloc'd or (recently) free'd ==20241== ==20241== Process terminating with default action of signal 11 (SIGSEGV) ==20241== Access not within mapped region at address 0xC9C715D8 ==20241== at 0x80852BE: __ast_pthread_mutex_unlock (lock.h:685) ==20241== by 0x808599F: __ast_alloc_region (astmm.c:135) ==20241== by 0x8085791: __ast_calloc (astmm.c:203) ==20241== by 0x808819A: internal_ao2_link (astobj2.c:501) ==20241== by 0x808837F: __ao2_link (astobj2.c:531) ==20241== by 0x717C33C: pthread_timer_open (res_timing_pthread.c:130) ==20241== by 0x81782A8: ast_timer_open (timing.c:128) ==20241== by 0x80A40C8: ast_channel_alloc (channel.c:828) ==20241== by 0x695490D: sip_new (chan_sip.c:6331) ==20241== by 0x6999B7A: handle_request_invite (chan_sip.c:19718) ==20241== by 0x69A1418: handle_incoming (chan_sip.c:21334) ==20241== by 0x69A26F0: handle_request_do (chan_sip.c:21636) ==20241== ==20241== ERROR SUMMARY: 21588 errors from 13 contexts (suppressed: 5950 from 3) ==20241== malloc/free: in use at exit: 23,874,642 bytes in 41,671 blocks. ==20241== malloc/free: 256,891 allocs, 215,220 frees, 66,951,131 bytes allocated. ==20241== For counts of detected errors, rerun with: -v ==20241== searching for pointers to 41,671 not-freed blocks. ==20241== checked 91,500,908 bytes. ==20241== ==20241== LEAK SUMMARY: ==20241== definitely lost: 6 bytes in 1 blocks. ==20241== possibly lost: 8,504 bytes in 74 blocks. ==20241== still reachable: 23,866,132 bytes in 41,596 blocks. ==20241== suppressed: 0 bytes in 0 blocks. ==20241== Rerun with --leak-check=full to see details of leaked memory. Killed