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

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Tue Jan 25 08:15:06 CST 2022


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

Joshua C. Colp commented on ASTERISK-29881:
-------------------------------------------

Thank you for the crash report. However, we need more information to investigate the crash. Please provide:

1. A backtrace generated from a core dump using the instructions provided on the Asterisk wiki [1].
2. Specific steps taken that lead to the crash.
3. All configuration information necesary to reproduce the crash.

Thanks!

[1]: https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

Please follow the specific instructions to get a usable backtrace. As it is, your backtrace only shows that something in TURN caused this.

> 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
>              Labels: webrtc
>         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