[asterisk-bugs] [JIRA] (ASTERISK-28923) T.38 Segfaults in chan_pjsip_queryoption

Yury Kirsanov (JIRA) noreply at issues.asterisk.org
Mon Jun 1 08:09:25 CDT 2020


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

Yury Kirsanov commented on ASTERISK-28923:
------------------------------------------

Hi George,
Thanks for your reply, unfortunately, this happens completely randomly, I can't get a trace of any call that would be 100% causing this behaviour, I'm not even sure if this is T.38 fax related. I can get more coredumps if required, server is crashing about 10-15 times during busy day usually.

Yes, segfaults were happening on Asterisk 16.9.0 as well and some earlier version too, I was updating Asterisk two times till current 16.10.0, so, unfortunately, I don't know if there is a stable version where this behaviour won't be happening.

I can rebuild Asterisk with thread, malloc or any other debug (probably except for ref debug as it immediately creates a huge log that consumes all disk space) if required, please let me know if you want some other debug versions!

> T.38 Segfaults in chan_pjsip_queryoption
> ----------------------------------------
>
>                 Key: ASTERISK-28923
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28923
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 16.10.0
>         Environment: Linux Ubuntu 18.04.04 LTS
>            Reporter: Yury Kirsanov
>            Assignee: Yury Kirsanov
>              Labels: fax
>         Attachments: crash.tar.gz
>
>
> We're using Asterisk in a heavily-loaded production environment with a lot of devices in both UDP and TCP mode, compiled with bundled version of PJSIP. Recently we have enabled T.38 fax receiving and started to get segfaults even when there's not too much load (i.e. during weekend days) in chan_pjsip.so. I've tried to compile external (non-bundled) version of PJProject, it works fine (version 2.10-dev) but didn't resolve the issue. So I have compiled a debug version of Asterisk and it looks like thread 1 is crashing when doing some T.38 fax options. Could you please let me know if I'm correct or what could be wrong? I'm attaching coredump files in archive. Thanks.



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



More information about the asterisk-bugs mailing list