[asterisk-bugs] [JIRA] (ASTERISK-29881) Segmentation fault when using PJSIP + TURN server + WebRTC

Martin Solciansky (JIRA) noreply at issues.asterisk.org
Tue Jan 25 06:02:06 CST 2022


Martin Solciansky created ASTERISK-29881:
--------------------------------------------

             Summary: Segmentation fault when using PJSIP + TURN server + WebRTC
                 Key: ASTERISK-29881
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29881
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: pjproject/pjsip
    Affects Versions: 18.9.0
         Environment: FreeBSD 13.0-RELEASE-p6
            Reporter: Martin Solciansky
            Severity: Major
         Attachments: asterisk_bt_20220125.txt

FreeBSD/asterisk server acts as a SIP gateway for WebRTC clients to a different asterisk server. All traffic to clients is routed via CoTURN server. Asterisk HTTP server is used to serve incoming WebRTC connections.

Maximum number of SIP clients was 12 but problem occurs even with 1 client, usually occurs within few hours of server restart but we were unable to reproduce the segfault by simply loading the server with new sessions. It is somewhat random.

Tried latest FreeBSD asterisk18-18.9.0 package, then tried recompiling from ports without optimization to produce a meaningful backtrace.
Also tried different FreeBSD versions on different machines.

This is a very minimalistic configuration and server only forwards traffic from SIP client to the other asterisk and vice-versa.




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



More information about the asterisk-bugs mailing list