[asterisk-bugs] [Asterisk 0014819]: Chan_sip core dump on program execution

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 3 16:27:53 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14819 
====================================================================== 
Reported By:                cwolff09
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14819
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.7 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-03 02:20 CDT
Last Modified:              2009-04-03 16:27 CDT
====================================================================== 
Summary:                    Chan_sip core dump on program execution
Description: 
After building 1.6.0.8 on centos 5.2 and having a few sip endpoints
successfully register, asterisk coredumped with the following error. 
Subsequent asterisk restarts immediately produce the following error. 
Removing and rebuilding asterisk always produces this error now. 


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

---------------------------------------------------------------------- 
 (0102713) svnbot (reporter) - 2009-04-03 16:27
 http://bugs.digium.com/view.php?id=14819#c102713 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 186517

U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r186517 | mmichelson | 2009-04-03 16:27:52 -0500 (Fri, 03 Apr 2009) | 11
lines

Remove an invalid call to free memory.

A bad merge from trunk to 1.6.0 meant freeing memory that
should not be freed. In trunk, pkt->data is an ast_str, but
in 1.6.0, it is allocated in the same chunk of memory as the
sip_pkt. This only affects 1.6.0.

(closes issue http://bugs.digium.com/view.php?id=14819)
Reported by: cwolff09


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-03 16:27 svnbot         Note Added: 0102713                          
======================================================================




More information about the asterisk-bugs mailing list