[asterisk-bugs] [JIRA] (ASTERISK-27276) pjsip crash given aor with no contacts

Richard Frith-Macdonald (JIRA) noreply at issues.asterisk.org
Fri Sep 15 11:54:08 CDT 2017


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

Richard Frith-Macdonald commented on ASTERISK-27276:
----------------------------------------------------

Thanks ... I can confirm that after updating to 14.6.1 and building that with the bundled pjsip, the crash is fixed.
Instead on the console I get

[Sep 15 17:47:35] ERROR[17554]: res_pjsip.c:3053 ast_sip_create_dialog_uac: Endpoint 'devtest': Could not create dialog to invalid URI 'devtest'.  Is endpoint registered and reachable?
[Sep 15 17:47:35] ERROR[17554]: chan_pjsip.c:2219 request: Failed to create outgoing session to endpoint 'devtest'

 Which seems much more reasonable than crashing :-)

> pjsip crash given aor with no contacts
> --------------------------------------
>
>                 Key: ASTERISK-27276
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27276
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 14.6.0
>         Environment: CentOS-7
>            Reporter: Richard Frith-Macdonald
>            Assignee: Richard Frith-Macdonald
>            Severity: Minor
>
> When attempting to dial out using a pjsipo endpoint whose aor section does not have a 'contacts'  value set, I get this crash:
> asterisk: ../src/pjsip/sip_auth_client.c:507: pj_status_t pjsip_auth_clt_deinit(pjsip_auth_clt_sess *): Assertion `sess && sess->endpt' failed.
> Aborted (core dumped)
> I found this when I accidentally deleted the contacts line from pjsiop.conf. ... it seems to be reliably reproducable.



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



More information about the asterisk-bugs mailing list