[asterisk-bugs] [JIRA] (ASTERISK-24758) Lengthy CDR chain crashes during object destruction

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Feb 4 14:15:35 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224757#comment-224757 ] 

Matt Jordan commented on ASTERISK-24758:
----------------------------------------

Somehow, you've managed to get several thousand CDRs generated for a single channel. Things break down when the channel hangs up, and the chain of CDRs tries to unwind during its destruction:

{noformat}
#8897 0x00000000004956cd in cdr_object_dtor (obj=0x7f0f28172bb8) at cdr.c:852
#8898 0x000000000045af83 in internal_ao2_ref (user_data=0x7f0f28172bb8, delta=-1, file=0x699584 "astobj2.c", line=513, func=0x6997b1 <__FUNCTION__.8336> "__ao2_ref") at astobj2.c:442
#8899 0x000000000045b24d in __ao2_ref (user_data=0x7f0f28172bb8, delta=-1) at astobj2.c:513
#8900 0x000000000045b2bd in __ao2_cleanup (obj=0x7f0f28172bb8) at astobj2.c:526
#8901 0x000000000049a15e in _dtor_cdr (v=0x7f0fe8a6cb78) at cdr.c:2060
#8902 0x000000000049a522 in handle_channel_cache_message (data=0x0, sub=
{noformat}

To fix this, we're going to need to know how you're produced the situation. Specific steps that result in the crash and the errant CDR chain will be needed.

> Lengthy CDR chain crashes during object destruction
> ---------------------------------------------------
>
>                 Key: ASTERISK-24758
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24758
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: CDR/General
>    Affects Versions: 13.1.0
>            Reporter: JoshE
>         Attachments: backtrace.txt
>
>
> Observed this crash in __ast_string_field_init today for the first time.
> Not sure on a repro for it yet, but the box was quite lightly loaded.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list