[asterisk-bugs] [JIRA] (ASTERISK-25371) Asterisk crash in chan_pjsip.c

Abhay Gupta (JIRA) noreply at issues.asterisk.org
Thu Sep 3 21:37:32 CDT 2015


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

Abhay Gupta commented on ASTERISK-25371:
----------------------------------------

The issue is tracked from full log in the following area .

A incoming call comes on chan_pjsip , it has a Goto command specified in dialplan.
The extension in goto does not exist .
It tries to look for invalid handler which is non existent .

Asterisk core dumps with the attached core dumps 

Sep  4 03:53:14 ubuntu kernel: [205663.026837] asterisk[17520]: segfault at 0 ip 00007f0c6a127d42 sp 00007f0c62388c90 error 4 in chan_pjsip.so[7f0c6a11e000+12000]
[Sep  4 03:53:14] VERBOSE[20121][C-00002afd] pbx.c: Executing [s at default:1] Goto("PJSIP/voipountna-00003f46", "8312631566,1") in new stack
[Sep  4 03:53:14] VERBOSE[20121][C-00002afd] pbx.c: Goto (default,8312631566,1)
[Sep  4 03:53:14] WARNING[20121][C-00002afd] pbx.c: Channel 'PJSIP/voipountna-00003f46' sent to invalid extension but no invalid handler: context,exten,priority=default,8312631566,1
[Sep  4 03:53:19] Asterisk 13.5.0 built by root @ ubuntu on a x86_64 running Linux on 2015-09-03 04:36:50 UTC


> Asterisk crash in chan_pjsip.c
> ------------------------------
>
>                 Key: ASTERISK-25371
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25371
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.5.0
>         Environment: Linux ubuntu 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Abhay Gupta
>         Attachments: first.txt, fourth.txt, second.txt, third.txt
>
>
> Asterisk frequently crashes in hangup function of chan_pjsip.c at line chan_pjsip.c:1749
> #0  0x00007f8413ab2d42 in hangup (data=0x7f84840b17e8) at chan_pjsip.c:1749
> and it looks like that channel is NULL
> #0  0x00007f8413ab2d42 in hangup (data=0x7f84840b17e8) at chan_pjsip.c:1749
>         h_data = 0x7f84840b17e8
>         ast = 0x7f8484003cb8
>         channel = 0x0
>         pvt = 0x7f8448905bb0
>         session = 0x7f848402a2e0
>         cause = 0
> All the coredumps with bt , bt full and thread apply all bt is attached 



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



More information about the asterisk-bugs mailing list