[asterisk-bugs] [JIRA] (ASTERISK-27992) Adding `sends_registrations = yes` to pjsip_wizard.conf causes crash with pjsip 2.7.2

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Tue Jul 31 12:26:54 CDT 2018


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

Richard Mudgett commented on ASTERISK-27992:
--------------------------------------------

Yep.  I've reproduced the crash with the supplied [^pjs_wiz.conf] file.  Just uncomment the indicated line and you crash when asterisk loads.  It appears to be some combination of options that causes the crash.  As I'm not familiar with the wizard configuration method nor the code a fix is not obvious to me.

However, the sends_registrations option is used in other sections without a crash and there is a typo in the option names in that section:
{noformat}
outound_auth/username = XXXXXXXX at sip2sip.info
outound_auth/password = XXXXXXXX
{noformat}

Fixing the typo in outbound_auth also avoided the crash.

> Adding `sends_registrations = yes` to pjsip_wizard.conf  causes crash with pjsip 2.7.2
> --------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27992
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27992
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 15.5.0
>         Environment: Linux 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linu
>            Reporter: Jonathan Harris
>            Assignee: Unassigned
>              Labels: pjsip
>         Attachments: ASTERISK-27992.tar.zip, pjs_wiz.conf
>
>
> Adding `sends_registrations = yes` to pjsip_wizard.conf and reloading causes segfault. Asterisk will not start after that. In the syslog:
> Jul 28 22:20:41 televox kernel: [   50.728769] asterisk[1504]: segfault at 0 ip 00007f4be3e00646 sp 00007ffc32067388 error 4 in libc-2.27.so[7f4be3d4f000+1e7000]
> Removing the offending line allows asterisk to start.
> There are no custom modules or flags - this is a straight build.
> gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)
> See attached stack trace



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



More information about the asterisk-bugs mailing list