[asterisk-bugs] [Asterisk 0015735]: Asterisk Chrashes Daily

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 18 10:49:10 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15735 
====================================================================== 
Reported By:                thom4fun
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15735
Category:                   Channels/chan_agent
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.26 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-18 05:44 CDT
Last Modified:              2009-08-18 10:49 CDT
====================================================================== 
Summary:                    Asterisk Chrashes Daily
Description: 
We use asterisk with lot of IAX and Sip Accounts, Agents and Queues. Daily
chrashes the asterisk. It seems that the reason is an agent login, because
GDB / Backtrace said in every dump that an agent will login!

So I changed the asterisk versions, the hardware, and the extensions.conf
to set the agentlogin to a different priority, but in every crash is the
actually priority at the agentlogin.
  
Short time before the asterisk crashes, we get the following lines:
[Aug 18 11:41:57] WARNING[7356] codec_gsm.c: Invalid GSM data (1)
[Aug 18 11:41:57] WARNING[7356] translate.c: gsmtolin did not update
samples 0

We also get a lot of:
[Aug 18 11:35:04] NOTICE[7837] chan_iax2.c: I should never be called!

Nothing else on notices or errors.
But we dont use GSM!

We store the CDR in a pgsql database. Before we change the database server
to the local asterisk machine, asterisk crashes up to 10 times a day. 
So it seems to be an timing problem??

Do you have any Idea why the asterisk crashes? 
Regards
Thomas

====================================================================== 

---------------------------------------------------------------------- 
 (0109214) davidw (reporter) - 2009-08-18 10:49
 https://issues.asterisk.org/view.php?id=15735#c109214 
---------------------------------------------------------------------- 
I'd also want to investigate if it was related to
https://issues.asterisk.org/view.php?id=15109.  (Aragon, if you
put a hash before the issue number, you will get a link.)

However one point to note is that agent_login remains on the stack for the
complete duration of the agent's session.  Is there some other evidence
that this is actually happening just as the agent is logging in, rather
than in the agent's thread?

You might want to note that it is better to run with unoptimised builds if
you are producing backtraces, as optimised builds have too much detail
optimised out to be of use, normally. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-18 10:49 davidw         Note Added: 0109214                          
======================================================================




More information about the asterisk-bugs mailing list