[asterisk-bugs] [JIRA] (ASTERISK-26832) res_pjsip: Segfault when calling pjsip_hdr_print_on in sip_msg.c:581

Jan Rozhon (JIRA) noreply at issues.asterisk.org
Fri Jan 5 01:37:41 CST 2018


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

Jan Rozhon commented on ASTERISK-26832:
---------------------------------------

George, if it can help you somehow (sorry, I dont have such a deep insight), I have backtraces from asterisk with BETTER_BACKTRACES as well. Just let me know.

> res_pjsip: Segfault when calling pjsip_hdr_print_on in sip_msg.c:581
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-26832
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26832
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.14.0, 13.18.5, GIT
>         Environment: CentOS 6
>            Reporter: Ross Beer
>            Assignee: George Joseph
>              Labels: pjsip
>         Attachments: backtrace_20170203_clean.txt
>
>
> A segfault is thrown regularly  when sending ‘183 Session Progress’ messages.
> The issue happens in sip_msg.c here:
> {noformat}
> PJ_DEF(int) pjsip_hdr_print_on( void *hdr_ptr, char *buf, pj_size_t len)
> {
>     pjsip_hdr *hdr = (pjsip_hdr*) hdr_ptr;
>     return (*hdr->vptr->print_on)(hdr_ptr, buf, len); <<< HERE
> }
> {noformat}
> Please see attached backtrace.



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



More information about the asterisk-bugs mailing list