[asterisk-bugs] [Asterisk 0017255]: [patch] UDP ports not freed/ports leaking

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 8 03:23:38 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17255 
====================================================================== 
Reported By:                kvveltho
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17255
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.7-rc2 
JIRA:                       SWP-1410 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-28 06:23 CDT
Last Modified:              2011-02-08 03:23 CST
====================================================================== 
Summary:                    [patch] UDP ports not freed/ports leaking
Description: 
The following is not fixed:

These release candidates resolve an issue with UDP ports not being freed,
per
issue https://issues.asterisk.org/view.php?id=16774
(https://issues.asterisk.org/view.php?id=16774)

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016774 [patch] [regression] 1.6.1.13 and 1.6.1...
related to          0018121 Early bind of UDPTL ports can create a ...
====================================================================== 

---------------------------------------------------------------------- 
 (0131644) rgagnon (reporter) - 2011-02-08 03:23
 https://issues.asterisk.org/view.php?id=17255#c131644 
---------------------------------------------------------------------- 
In my chan_sip.c with the 1.6.2 patch applied, that WARNING log message
would be generated on line 22848, not 22850.  I'm curious how the patch
would not have applied to your source the same as it does to mine.

The message is most likely being printed out because __sip_destroy()
free'd the memory for the session timer, and so dialog_unlink_all() is just
trying to ensure the stopped timer.  This can be modified to avoid such a
message, but it would not cause the core dump.

I have configured my test system to use realtime SIP peers and users, with
rtcachefriends set to "no".  I am not using realtime extensions.  Is this
how yours is setup?

Unfortunately I still cannot replicate the crash you are having.  How many
core files occur in your /tmp/ directory?

With the simple sample dialplan you gave above, I can dial "i2" (for
example) to hit it, and i just get tones, and a hangup as expected without
any core file. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-08 03:23 rgagnon        Note Added: 0131644                          
======================================================================




More information about the asterisk-bugs mailing list