[asterisk-bugs] [JIRA] (ASTERISK-24477) asterisk segfault in codec_siren7.so

Mark Michelson (JIRA) noreply at issues.asterisk.org
Thu Nov 20 17:19:31 CST 2014


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

Mark Michelson commented on ASTERISK-24477:
-------------------------------------------

I think the backtraces are giving a decent indication of what's going on:

{noformat}
#1  0x081a12a3 in ast_translate (path=0x8d67eb0, f=f at entry=0xb0afebd0, consume=consume at entry=1) at translate.c:522
        p = 0x1
        out = <optimized out>
        delivery = {tv_sec = 1414676786, tv_usec = 803225}
        has_timing_info = 1
        ts = 39523299
        len = 20
        seqno = 49545
        __PRETTY_FUNCTION__ = "ast_translate"
{noformat}

The code at line 522 of translate.c is {{out = p->t->frameout(p);}} . If p is actually 0x1, then that would go a long way in explaining why there's a crash occuring. However,  knowing why p is 0x1 is hard to determine in this case.

> asterisk segfault in codec_siren7.so
> ------------------------------------
>
>                 Key: ASTERISK-24477
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24477
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/codec_siren7
>    Affects Versions: 11.13.0
>         Environment: Debian 3.2.63-2 i686 GNU/Linux
> Asterisk 11.13.0~dfsg-1~bpo70+1
> Digium Siren7 Module Version 11.0_1.0.5 (optimized for i686_32)
>            Reporter: Daniel Ammann
>            Assignee: Daniel Ammann
>         Attachments: backtrace1.txt, backtrace2.txt, backtrace3.txt, backtrace.txt
>
>
> Using Siren7 codec throws a segfault at random times during a call. THe Endpoints involved are different Polycom IP6000 and IP7000 phones
> Segfault
> {noformat}
> kernel: [754930.655998] asterisk[22492]: segfault at b63ff000 ip b5d336a9 sp b1948610 error 4 in codec_siren7.so[b5d2f000+f000]
> kernel: [827976.561636] asterisk[2558]: segfault at b1e00000 ip b64386a9 sp b16ba610 error 4 in codec_siren7.so[b6434000+f000]
> kernel: [927814.320410] asterisk[27330]: segfault at b0b00000 ip b61086a9 sp af2a0610 error 4 in codec_siren7.so[b6104000+f000]
> {noformat}
> At the time of the crash, several Polycom endpoints were using this asterisk instance with siren7 codec in parallel. The typical usage scenario is that those endpoints are participating on app_conference based conferencing, and transcoding is happening for those endpoints (siren7 -> slin16)
> This problems occurs in guesstimated 1 out of 20 calls, and minutes to hours after the call has been established
> I can make core dumps available if helpful



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



More information about the asterisk-bugs mailing list