[asterisk-bugs] [JIRA] (ASTERISK-25301) asterisk segfault in res_hep_pjsip.so on client connect

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Aug 4 09:47:33 CDT 2015


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

Joshua Colp updated ASTERISK-25301:
-----------------------------------

    Assignee: Michel R. Vaillancourt  (was: Unassigned)
      Status: Waiting for Feedback  (was: Triage)

> asterisk segfault in res_hep_pjsip.so on client connect
> -------------------------------------------------------
>
>                 Key: ASTERISK-25301
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25301
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.4.0
>         Environment: PJPROJECT version currently running against: 2.4
> Ubuntu 14.04.2 LTS
> Digital Ocean VM Droplet
>            Reporter: Michel R. Vaillancourt
>            Assignee: Michel R. Vaillancourt
>            Severity: Critical
>         Attachments: backtrace.txt
>
>
> Brand new install, minimum system configuration.
> Using Briaa X-Lite softphone by Counterpath.
> Extension config is:
> {noformat}
> Mon Aug 03 15:24:50
> (97)[switch2 ext_setup]$ ll
> total 12K
> -rwxrwx--- 1 asterisk asterisk 241 Aug  3 13:32 6001.conf
> -rw-rw-r-- 1 jkl5tech asterisk 216 Aug  3 13:26 01_standard_codecs.sip.conf
> -rw-rw-r-- 1 jkl5tech asterisk 138 Aug  3 13:25 00_standard_transport.sip.conf
> Mon Aug 03 15:27:55
> (98)[switch2 ext_setup]$ cat *
> ; ----- start of file -----
> [standard-transports-template](!)
>   type=transport
>   protocol=udp
>   bind=0.0.0.0
> ; -----  end of file  -----
> ; ----- start of file -----
> [standard-codec-template](!)
>   dtmfmode=RFC2833
>   disallow=all
>   allow=g722:10
>   allow=g726:20
>   allow=ilbc:25
>   allow=ulaw:30
>   allow=alaw:30
>   allow=gsm:50
> ; -----  end of file  -----
> [6001](standard-transports-template,standard-codec-template)
> type=endpoint
> context=from-internal
> auth=6001
> aors=6001
> [6001]
> type=auth
> auth_type=userpass
> password=**redacted**
> username=6001
> [6001]
> type=aor
> max_contacts=2
> ; ---- end of file ---
> {noformat}
> As soon as client connects to Asterisk, segfault happens instantly:
> {noformat}
> ==> /var/log/syslog <==
> Jul 31 16:17:42 switch2 kernel: [ 8962.569425] asterisk[23536]: segfault at c ip 00007f1b38909bc4 sp 00007f1b822ba030 error 4 in res_hep_pjsip.so[7f1b388dc000+45000]
> ==> /var/log/kern.log <==
> Jul 31 16:17:42 switch2 kernel: [ 8962.569425] asterisk[23536]: segfault at c ip 00007f1b38909bc4 sp 00007f1b822ba030 error 4 in res_hep_pjsip.so[7f1b388dc000+45000]
> ==> /var/log/apport.log <==
> ERROR: apport (pid 23591) Fri Jul 31 16:17:42 2015: called for pid 23507, signal 11, core limit 18446744073709551615
> ERROR: apport (pid 23591) Fri Jul 31 16:17:42 2015: ignoring implausibly big core limit, treating as unlimited
> ERROR: apport (pid 23591) Fri Jul 31 16:17:42 2015: executable: /usr/sbin/asterisk (command line "/usr/sbin/asterisk")
> ERROR: apport (pid 23591) Fri Jul 31 16:17:42 2015: is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment
> ERROR: apport (pid 23591) Fri Jul 31 16:17:42 2015: apport: report /var/crash/_usr_sbin_asterisk.1001.crash already exists and unseen, doing nothing to avoid disk usage DoS
> {noformat}
> Asterisk logs show nothing;  even the client connection is not logged.



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



More information about the asterisk-bugs mailing list