[asterisk-bugs] [JIRA] (ASTERISK-25498) Asterisk crashes when negotiating g729 without that module installed

Ben Langfeld (JIRA) noreply at issues.asterisk.org
Tue Nov 24 10:53:33 CST 2015


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

Ben Langfeld updated ASTERISK-25498:
------------------------------------

    Attachment: minute.log

In these logs, the crash occurs at 09:59:24:

```
[Nov  4 09:59:24] VERBOSE[37797][C-0000ac72] res_agi.c: AGI Script Executing Application: (MixMonitor) Options: (/var/spool/asterisk/monitor/69266520_813131.wav)
[Nov  4 09:59:24] VERBOSE[37871][C-0000ac72] app_mixmonitor.c: Begin MixMonitor Recording SIP/lsi-0000da92
[Nov  4 09:59:24] VERBOSE[37797][C-0000ac72] res_agi.c: AGI Script Executing Application: (AMD) Options: ()
[Nov  4 09:59:24] VERBOSE[37797][C-0000ac72] app_amd.c: AMD: SIP/lsi-0000da92 7702129411 (N/A) (Fmt: ulaw)
[Nov  4 09:59:24] VERBOSE[37797][C-0000ac72] app_amd.c: AMD: initialSilence [2500] greeting [1500] afterGreetingSilence [600] totalAnalysisTime [3500] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [3] silenceThreshold [256] maximumWordLength [5000]
[Nov  4 09:59:24] VERBOSE[37765][C-0000ac6c] app_amd.c: AMD: Channel [SIP/lsi-0000da86]. HUMAN: silenceDuration:600 afterGreetingSilence:600
[Nov  4 09:59:24] VERBOSE[37760][C-0000ac71] app_amd.c: AMD: Channel [SIP/lsi-0000da84]. Changed state to STATE_IN_SILENCE
[Nov  4 09:59:24] VERBOSE[37797][C-0000ac72] app_amd.c: AMD: Channel [SIP/lsi-0000da92]. Changed state to STATE_IN_SILENCE
[Nov  4 09:59:24] WARNING[37704][C-0000ac66] translate.c: No translator path: (starting codec is not valid)
[Nov  4 09:59:24] WARNING[37855][C-0000ac66] channel.c: Unable to find a codec translation path: (g729) -> (ulaw)
[Nov  4 09:59:24] VERBOSE[37855][C-0000ac66] bridge_channel.c: Channel SIP/381-0000c16b left 'simple_bridge' basic-bridge <3448de28-864d-48b5-a9d8-eb4c250e4413>
[Nov  4 09:59:24] VERBOSE[37704][C-0000ac66] bridge_channel.c: Channel SIP/lsi-0000da6c left 'simple_bridge' basic-bridge <3448de28-864d-48b5-a9d8-eb4c250e4413>
[Nov  4 09:59:30] Asterisk 13.6.0~dfsg-0~ppa1 built by buildd @ lgw01-18 on a x86_64 running Linux on 2015-10-10 16:07:38 UTC
```

The channel triggering this is thus `SIP/381-0000c16b` or `SIP/lsi-0000da6c` joining bridge `3448de28-864d-48b5-a9d8-eb4c250e4413`. The full Asterisk log of the 90s leading up to the crash is attached as `minute.log`.

These calls are driven by AsyncAGI and AMI (Adhearsion). I believe the executed actions logged by Asterisk should be sufficient to meet your request, but if they're not, let me know.

I'm going to continue looking through the log for any further clues I can highlight, but I wanted to get it to you first incase what you need is obvious.

> Asterisk crashes when negotiating g729 without that module installed
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-25498
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25498
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/General
>    Affects Versions: 13.4.0
>         Environment: $ lscpu
> Architecture:          x86_64
> CPU op-mode(s):        32-bit, 64-bit
> Byte Order:            Little Endian
> CPU(s):                8
> On-line CPU(s) list:   0-7
> Thread(s) per core:    1
> Core(s) per socket:    4
> Socket(s):             2
> NUMA node(s):          1
> Vendor ID:             GenuineIntel
> CPU family:            6
> Model:                 45
> Stepping:              2
> CPU MHz:               2300.000
> BogoMIPS:              4600.00
> Hypervisor vendor:     VMware
> Virtualization type:   full
> L1d cache:             32K
> L1i cache:             32K
> L2 cache:              256K
> L3 cache:              20480K
> NUMA node0 CPU(s):     0-7
> $ free -m
>              total       used       free     shared    buffers     cached
> Mem:         12010      11670        339          0        174       8262
> -/+ buffers/cache:       3233       8777
> Swap:         4092         26       4066
> $ uname -mrs
> Linux 3.13.0-62-generic x86_64
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:  Ubuntu 14.04.3 LTS
> Release:  14.04
> Codename: trusty
>            Reporter: Ben Langfeld
>            Assignee: Jonathan Rose
>         Attachments: backtrace-asterisk-13.6.0.txt, backtrace.txt, minute.log, sip.conf
>
>
> Regularly the following log lines are followed by Asterisk crashing (backtrace attached):
> ```
> [Oct 19 11:17:43] WARNING[15022][C-0001f68d] translate.c: No translator path: (starting codec is not valid)
> [Oct 19 11:17:43] WARNING[15051][C-0001f68d] channel.c: Unable to find a codec translation path: (g729) -> (ulaw)
> ```
> I do not see any relevant changes between 13.4.0 and 13.6.0, but I am in the process of upgrading anyway to confirm this issue is still present.



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



More information about the asterisk-bugs mailing list