[asterisk-bugs] [Asterisk 0015460]: Asterisk Crashed When made a attended Transfer

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 1 15:45:52 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15460 
====================================================================== 
Reported By:                marhbere
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15460
Category:                   PBX/General
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 204836 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-07 16:22 CDT
Last Modified:              2009-09-01 15:45 CDT
====================================================================== 
Summary:                    Asterisk Crashed When made a attended Transfer
Description: 
Last log before Crash:
[2009-07-07 18:05:01.089] DEBUG[32705] chan_sip.c: Attended transfer: Will
use Replace-Call-ID : c0565c02-1143cbe6 at 10.240.18.203 (No check of from/to
tags)
[2009-07-07 18:05:01.089] DEBUG[32705] chan_sip.c: Trying to put 'SIP/2.0
20' onto UDP socket destined for 10.240.18.203:5060
[2009-07-07 18:05:01.089] DEBUG[32705] channel.c: Planning to masquerade
channel Local/6306 at agents-f41d;2 into the structure of SIP/361-0971cb18
[2009-07-07 18:05:01.090] DEBUG[32705] channel.c: Done planning to
masquerade channel Local/6306 at agents-f41d;2 into the structure of
SIP/361-0971cb18
[2009-07-07 18:05:01.090] DEBUG[32705] chan_sip.c: Trying to put 'NOTIFY
sip' onto UDP socket destined for 10.240.18.203:5060
[2009-07-07 18:05:01.090] DEBUG[32705] chan_sip.c: SIP attended transfer:
Unlocking channel SIP/361-0971cb18
[2009-07-07 18:05:01.090] DEBUG[27837] channel.c: Got clone lock for
masquerade on 'Local/6306 at agents-f41d;2' at 0xb73aea1c
[2009-07-07 18:05:01.090] DEBUG[27837] chan_sip.c: Hangup call
Local/6306 at agents-f41d;2<MASQ>, SIP callid c0565c02-1143cbe6 at 10.240.18.203
[2009-07-07 18:05:01.090] DEBUG[27837] chan_sip.c: Trying to put 'BYE
sip:36' onto UDP socket destined for 10.240.18.203:5060
[2009-07-07 18:05:01.090] DEBUG[27837] channel.c: Set channel
Local/6306 at agents-f41d;2 to write format gsm
[2009-07-07 18:05:01.090] DEBUG[27837] channel.c: Set channel
Local/6306 at agents-f41d;2 to read format ulaw
[2009-07-07 18:05:01.090] DEBUG[27837] channel.c: Putting channel
Local/6306 at agents-f41d;2 in 2/4 formats
[2009-07-07 18:05:01.090] DEBUG[27837] channel.c: Released clone lock on
'SIP/361-0971cb18<ZOMBIE>'
[2009-07-07 18:05:01.090] DEBUG[27837] channel.c: Done Masquerading
Local/6306 at agents-f41d;2 (6)
[2009-07-07 18:05:01.091] DEBUG[17850] audiohook.c: Read factory
0xb66c9ac8 and write factory 0xb66ca4e4 both fail to provide 160 samples
[2009-07-07 18:05:01.102] DEBUG[6468] audiohook.c: Read factory 0xb54f6ac8
and write factory 0xb54f74e4 both fail to provide 160 samples
[2009-07-07 18:05:01.111] DEBUG[17850] audiohook.c: Read factory
0xb66c9ac8 and write factory 0xb66ca4e4 both fail to provide 160 samples
[2009-07-07 18:05:01.122] DEBUG[6468] audiohook.c: Read factory 0xb54f6ac8
and write factory 0xb54f74e4 both fail to provide 160 samples
[2009-07-07 18:05:01.131] DEBUG[17850] audiohook.c: Read factory
0xb66c9ac8 and write factory 0xb66ca4e4 both fail to provide 160 samples
[2009-07-07 18:05:01.142] DEBUG[6468] audiohook.c: Read factory 0xb54f6ac8
and write factory 0xb54f74e4 both fail to provide 160 samples
[2009-07-07 18:05:09.242] VERBOSE[27865] logger.c: [2009-07-07
18:05:09.242]  Asterisk Event Logger Started /var/log/asterisk/event_log
[2009-07-07 18:05:09.242] WARNING[27865] config.c: Realtime mapping for
'queue_log' found to engine 'mysql', but the engine is not available
[2009-07-07 18:05:09.397] VERBOSE[27865] logger.c: [2009-07-07
18:05:09.397]  Asterisk Dynamic Loader Starting:
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015109 [patch] Abort by memory allocator, poss...
====================================================================== 

---------------------------------------------------------------------- 
 (0109961) svnbot (reporter) - 2009-09-01 15:45
 https://issues.asterisk.org/view.php?id=15460#c109961 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 215213

_U  branches/1.6.2/

------------------------------------------------------------------------
r215213 | russell | 2009-09-01 15:45:26 -0500 (Tue, 01 Sep 2009) | 51
lines

Blocked revisions 215212 via svnmerge

........
  r215212 | russell | 2009-09-01 15:44:13 -0500 (Tue, 01 Sep 2009) | 45
lines
  
  Fix memory corruption caused by format_mp3.
  
  format_mp3 claimed that it provided AST_FRIENDLY_OFFSET in frames
returned by
  read().  However, it lied.  This means that other parts of the code that
  attempted to make use of the offset buffer would end up corrupting the
fields
  in the ast_filestream structure.  This resulted in quite a few crashes
due to
  unexpected values for fields in ast_filestream.
  
  This patch closes out quite a few bugs.  However, some of these bugs
have been
  open for a while and have been an area where more than one bug has been
  discussed.  So with that said, anyone that is following one of the
issues
  closed here, if you still have a problem, please open a new bug report
for the
  specific problem you are still having.  If you do, please ensure that
the bug
  report is based on the newest version of Asterisk, and that this patch
is
  applied if format_mp3 is in use.  Thanks!
  
  (closes issue https://issues.asterisk.org/view.php?id=15109)
  Reported by: jvandal
  Tested by: aragon, russell, zerohalo, marhbere, rgj
  
  (closes issue https://issues.asterisk.org/view.php?id=14958)
  Reported by: aragon
  
  (closes issue https://issues.asterisk.org/view.php?id=15123)
  Reported by: axisinternet
  
  (closes issue https://issues.asterisk.org/view.php?id=15041)
  Reported by: maxnuv
  
  (closes issue https://issues.asterisk.org/view.php?id=15396)
  Reported by: aragon
  
  (closes issue https://issues.asterisk.org/view.php?id=15195)
  Reported by: amorsen
  Tested by: amorsen
  
  (closes issue https://issues.asterisk.org/view.php?id=15781)
  Reported by: jensvb
  
  (closes issue https://issues.asterisk.org/view.php?id=15735)
  Reported by: thom4fun
  
  (closes issue https://issues.asterisk.org/view.php?id=15460)
  Reported by: marhbere
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=215213 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-01 15:45 svnbot         Checkin                                      
2009-09-01 15:45 svnbot         Note Added: 0109961                          
======================================================================




More information about the asterisk-bugs mailing list