[asterisk-bugs] [JIRA] (ASTERISK-24953) segmentation fault after changing PJSIP_MAX_PKT_LEN

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Apr 13 05:28:32 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-24953:
-----------------------------------

    Assignee: yaron nahum
      Status: Waiting for Feedback  (was: Triage)

Did you rebuild Asterisk as well?

I would suggest doing a make clean in both pjproject and Asterisk after making this change and ensuring everything in both are rebuilt. Don't forget to install pjproject BEFORE rebuilding Asterisk or it will not pick up the change.

If you didn't do this then I would expect to see this segmentation fault, as the layout of the received message structure has changed but Asterisk only knows the old one.

> segmentation fault after changing PJSIP_MAX_PKT_LEN
> ---------------------------------------------------
>
>                 Key: ASTERISK-24953
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24953
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: SVN
>            Reporter: yaron nahum
>            Assignee: yaron nahum
>            Severity: Critical
>         Attachments: backtrace_13_4_15_09_16.txt
>
>
> I am trying to handle packets longer than 4000 bytes. Reading from your posts I added in pjlib/include/pj/config_site.h the line
> #define PJSIP_MAX_PKT_LEN                   4200
> Once I made that change any sip packet received generates a sigfault.



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



More information about the asterisk-bugs mailing list