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

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Sat Nov 11 14:03:28 CST 2017


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

Richard Mudgett updated ASTERISK-27412:
---------------------------------------

    Attachment: jira_asterisk_27413_v15.1.patch

I created ASTERISK-27413 to help with finding the memory corruption bug you are having.  That issue describes how to disable the media frame caching after applying the patch.

[^jira_asterisk_27413_v15.1.patch] - This patch adds the cache_media_frames option to help with finding use after free of media frames.  This patch applies to v15.1.x.

Use {{patch -p1 -i jira_asterisk_27413_v15.1.patch}} to apply.

Once you have done so, please reinstall asterisk, disable the media frame cache, recreate the issue under valgrind and attach the new output.

> 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, 15.1.1
>         Environment: ubuntu server 16.04 x64
>            Reporter: Mikhail
>            Assignee: Unassigned
>            Severity: Critical
>         Attachments: autosupport.tar.gz, debug_log_123456, jira_asterisk_27413_v15.1.patch, 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