[asterisk-bugs] [JIRA] (ASTERISK-26307) Crash from res_pjsip_caller_id.c

Bill Brigden (JIRA) noreply at issues.asterisk.org
Tue Sep 6 10:53:01 CDT 2016


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

Bill Brigden commented on ASTERISK-26307:
-----------------------------------------

Also, by setting both send_rpid and send_pai to "no" - this is stopped the crashing so that works as a temporary fix, though this is now affecting some presentation issues with Connected Lines. I initially tried setting only send_pai to no, and that gave a similar crash, only referencing us Remote-Party-ID:

{quote}
Program terminated with signal SIGSEGV, Segmentation fault.
#0  create_new_id_hdr (hdr_name=0x7f79a97450b0 <pj_rpid_name>, id=0x7f79c7ffe990, tdata=<optimized out>, base=<optimized out>) at res_pjsip_caller_id.c:418
418             id_name_addr = pjsip_uri_clone(tdata->pool, base->uri);
#0  create_new_id_hdr (hdr_name=0x7f79a97450b0 <pj_rpid_name>, id=0x7f79c7ffe990, tdata=<optimized out>, base=<optimized out>) at res_pjsip_caller_id.c:418
        id_hdr = 0x7f79c00937a8
#1  0x00007f79a9543953 in add_rpid_header (session=<optimized out>, id=<optimized out>, tdata=<optimized out>) at res_pjsip_caller_id.c:617
        base = 0x7f79c00937c0
        rpid_hdr = 0x7f79f4026798
        old_rpid = 0x7f79f80095c8
        pj_rpid_name = ptr = 0x7f79a9544478 "Remote-Party-ID", slen = 15
#2  add_id_headers (session=0x7f79c0093830, tdata=0x7f79a9544478, id=0xf) at res_pjsip_caller_id.c:647
{quote}

> Crash from res_pjsip_caller_id.c
> --------------------------------
>
>                 Key: ASTERISK-26307
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26307
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_caller_id
>    Affects Versions: 13.10.0
>         Environment: Linux xx 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u2 x86_64 GNU/Linux
>            Reporter: Bill Brigden
>            Assignee: Unassigned
>         Attachments: bt-220816.txt, bt-full.txt
>
>
> I've had a couple of random crashes, shown in syslog as:
> {quote}
> Aug 19 11:50:04 pbx-02 kernel: [22213515.179507] asterisk[15754]: segfault at 40 ip 00007ff54b0b367a sp 00007ff55bffe820 error 4 in res_pjsip_caller_id.so[7ff54b0b2000+3000]
> {quote}
> Will attach BT (both normal and full). Oddly, I have compiled with: DONT_OPTIMIZE, DEBUG_THREADS, BETTER_BACKTRACES however it shows that some values are optimized out.



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



More information about the asterisk-bugs mailing list