[asterisk-bugs] [JIRA] (ASTERISK-27412) asterisk 15 + ubuntu 16 + realtime chan_sip - segfault

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Nov 10 16:43:28 CST 2017


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

Richard Mudgett commented on ASTERISK-27412:
--------------------------------------------

Realtime has nothing to do with this problem as the problem is in the media pathway.

>From the valgrind output it looks like someone is freeing a media frame when they shouldn't.  The freed media frame is then cached in a thread local cache.  However, since the frame is still being used it might get passed to another thread and freed in the other thread's frame cache.  As a result all the frame caches can get poisoned.

Another thing from the valgrind output is that it appears to be affecting a two party call with mixmonitor recording the call.  Therefor, a simplified setup appears possible to replicate the problem as it could just be between chan_sip and mixmonitor.

We need to know how your system is setup (Attach config files, etc.) [1] as someone will have to replicate this problem.  Also debug logs [2] captured when the problem happens could be used to help simplify the setup.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines
[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

> asterisk 15 + ubuntu 16 + realtime chan_sip - segfault
> ------------------------------------------------------
>
>                 Key: ASTERISK-27412
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27412
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General, PBX/pbx_realtime
>    Affects Versions: 15.1.0
>         Environment: ubuntu server 16.04 x64
>            Reporter: Mikhail
>            Assignee: Unassigned
>            Severity: Critical
>         Attachments: valgrind.txt
>
>
> I've installed Asterisk 15.1.0 on Ubuntu server 16.04. I configured realtime sippeers (tried via odbc and res_config_mysql - all the same). And asterisk core crashes after 20-40 minutes of working. 
> System has 4gb of RAM and 4 gb swap:
>                     total        used        free      shared  buff/cache   available
> Mem:           3849         438        1079          24        2330        3094
> Swap:          3993         466        3527
> processor is Intel(R) Core(TM) i3 CPU         560  @ 3.33GHz
> backraces:
> https://drive.google.com/file/d/179L3aN2iey2nN_zdGKyJZ5EGNGGOpEHh/view?usp=sharing
> https://drive.google.com/file/d/1RuLZ-eqyhEyFYHc1bLANof1COuXfYKUq/view?usp=sharing



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



More information about the asterisk-bugs mailing list