Summary:ASTERISK-07287: randomly crash ( core dumped ) when get over 15 callin from zaptel PRI
Reporter:Franco Lanza (nextime)Labels:
Date Opened:2006-07-05 06:32:46Date Closed:2011-06-07 14:00:45
Versions:Frequency of
Environment:Attachments:( 0) core.577
Description:asterisk compiled with gcc4 on debian sid seem to crash randomly ( but many times for hour ) when call come in from ZAP PRI interface ( TE410P ).
It only appen when there are more than 10/15 concurrently calls.
Calls are sent to a simply playback or moh.
Asterisk was installed from latest svn branch and installed with asterisk-addons ( all ) and rxfax / txfax plus freepbx config.


it seem to appen even with an oldest svn branches ( about from 30 days ago )
Core files attached
Comments:By: Serge Vecher (serge-v) 2006-07-05 11:29:27

1. Core file is useless, you need to attach a backtrace from asterisk built with make dont-optimize. Read here    http://www.voip-info.org/tiki-index.php?page=Asterisk%20debugging
2. Are you using mp3s for moh?

By: Franco Lanza (nextime) 2006-07-05 12:25:10

1. You right. I will provide a right backtrace soon, at least tomorrow.
2. Yes, i use also mp3 files, but not only mp3. Anyway, more analysis in log files  show me that the crash seem to happen when a Playback is called with an mp3 file as an arguments ( i know, mp3 file are bad, but it isn't my pbx, i was called to detect the problem on a friend's pbx ). Anyway, now with wav file instead of mp3 it seem to be stable, but of course i will put here a backtrace to help in solving the problem. Thanks for the "mp3" hint.

By: Serge Vecher (serge-v) 2006-08-08 11:27:06

ok, I'm glad switching to native format helped with stability. Currently, there is a deemphasis on the use of mp3s for production purposes, with mpg123 support completely removed from trunk and format_mp3 in addons classified as "experimental" module. Case solved.