[asterisk-bugs] [JIRA] (ASTERISK-21893) Segfault after call hangup, in ast_channel_hangupcause_set, at channel_internal_api.c

Jan Havelka (JIRA) noreply at issues.asterisk.org
Wed May 6 07:04:34 CDT 2015


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

Jan Havelka edited comment on ASTERISK-21893 at 5/6/15 7:04 AM:
----------------------------------------------------------------

Hi, we're experiencing the same issue, too. Asterisk version 11.13.0, dahdi 2.10.0.1.
{noformat}
May  5 08:16:52 asterisk1 kernel: [4829351.974306] asterisk[3306]: segfault at 9f0 ip 000000000048b856 sp 00007f6c0314d028 error 6 in asterisk[400000+1dd000]
{noformat}

Time of the crash matches with the end of standard answered bridged call E1-E1, dstcontext was outgoing-primary, lastapp Dial.

{noformat}
| 2015-05-05 08:15:40 | "xxxxxx666" <xxxxxx666> | xxxxxx666      | xxxxxx167      | outgoing-primary  | DAHDI/i1/1156-12383           | DAHDI/i2/xxxxxx167-129b7      | Dial    | DAHDI/G2/xxxxxx167      |       72 |      64 | ANSWERED    |        2 | 662         | 1-1430806540.163384 | 1156      |
{noformat}

{noformat}
[outgoing-primary]
exten => _X.,1,Macro(check-agent)
exten => _X.,2,Macro(notify-yesl,${CALLERID(num)},${EXTEN})
exten => _X.,3,Macro(set-route,${EXTEN})
exten => _X.,4,Macro(set-callerid)
exten => _X.,5,Macro(set-callerid-public)
exten => _X.,6,Macro(call-recording)
exten => _X.,7,Macro(outgoing-route,${EXTEN},outgoing-failover)

[macro-outgoing-route]
exten => s,1,Set(TIMEOUT(absolute)=7200)
exten => s,2,Set(ALTER_ARG=${ARG1})
exten => s,3,Dial(${ODBC_ROUTEPEER(${ROUTEID})}/${EVAL(${ODBC_ROUTEDIAL(${ROUTEID})})})
exten => s,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Hangup
exten => s-BUSY,1,Hangup
exten => s-CONGESTION,1,GoTo(${ARG2},${ARG1},1)
exten => s-CHANUNAVAIL,1,GoTo(${ARG2},${ARG1},1)
exten => _s-.,1,NoOp
{noformat}


was (Author: dzavy):
Hi, we're experiencing the same issue, too. Asterisk version 11.13.0, dahdi 2.10.0.1.

{{May  5 08:16:52 asterisk1 kernel: [4829351.974306] asterisk[3306]: segfault at 9f0 ip 000000000048b856 sp 00007f6c0314d028 error 6 in asterisk[400000+1dd000]}}

Time of the crash matches with the end of standard answered bridged call E1-E1, dstcontext was outgoing-primary, lastapp Dial.

{{| 2015-05-05 08:15:40 | "xxxxxx666" <xxxxxx666> | xxxxxx666      | xxxxxx167      | outgoing-primary  | DAHDI/i1/1156-12383           | DAHDI/i2/xxxxxx167-129b7      | Dial    | DAHDI/G2/xxxxxx167      |       72 |      64 | ANSWERED    |        2 | 662         | 1-1430806540.163384 | 1156      |}}

{{
[outgoing-primary]
exten => _X.,1,Macro(check-agent)
exten => _X.,2,Macro(notify-yesl,${CALLERID(num)},${EXTEN})
exten => _X.,3,Macro(set-route,${EXTEN})
exten => _X.,4,Macro(set-callerid)
exten => _X.,5,Macro(set-callerid-public)
exten => _X.,6,Macro(call-recording)
exten => _X.,7,Macro(outgoing-route,${EXTEN},outgoing-failover)

[macro-outgoing-route]
exten => s,1,Set(TIMEOUT(absolute)=7200)
exten => s,2,Set(ALTER_ARG=${ARG1})
exten => s,3,Dial(${ODBC_ROUTEPEER(${ROUTEID})}/${EVAL(${ODBC_ROUTEDIAL(${ROUTEID})})})
exten => s,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Hangup
exten => s-BUSY,1,Hangup
exten => s-CONGESTION,1,GoTo(${ARG2},${ARG1},1)
exten => s-CHANUNAVAIL,1,GoTo(${ARG2},${ARG1},1)
exten => _s-.,1,NoOp
}}

> Segfault after call hangup, in ast_channel_hangupcause_set, at channel_internal_api.c
> -------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21893
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21893
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/General
>    Affects Versions: 11.2.1
>            Reporter: Alexandr Gordeev
>            Assignee: Alexandr Gordeev
>            Severity: Critical
>         Attachments: backtrace_20130514.txt, debug_20130514.txt, extensions.conf.txt
>
>
> {code}#0  0x080d0e68 in ast_channel_hangupcause_set (chan=0x0, value=16) at channel_internal_api.c:580
> #1  0xb5c244d2 in pri_dchannel (vpri=0xb5c40198) at sig_pri.c:7137
> #2  0x081b8735 in dummy_start (data=0x894c060) at utils.c:1028
> #3  0xb7257955 in start_thread () from /lib/i686/cmov/libpthread.so.0
> #4  0xb767e58e in clone () from /lib/i686/cmov/libc.so.6{code}



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



More information about the asterisk-bugs mailing list