On Wed, Feb 26, 2020 at 6:10 AM <[email protected]> wrote:

> Hi ,
>
>
>
> I have not raised the issue on issue tracker as I have not been able to
> simulate the issue , but is happening as rare occurrence every 1-2 days on
> production server and so wanted to trace it further .
>
>
>
> I have been able to debug till this function in bridge.c where it reaches
> and so thread is working properly
>
>
>
> static void bridge_base_dissolving(struct ast_bridge *self)
>
> {
>
>         ast_debug(1,"Bridge dissolving %s in
> bridge_base_dissolving\n",self->uniqueid);
>
>         ao2_unlink(bridges, self);
>
> }
>
>
>
> After this on unlink the destroy function is not being called i.e “static
> void destroy_bridge(void *obj)” can you guide me on how to debug/trace it
> further .
>

That would mean something still has a reference to the bridge. You can try
getting a backtrace[1] at the time and seeing if a thread is possibly
stuck.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to