[asterisk-bugs] [Asterisk 0012362]: Asterisk crashes everytime i try to dial a realtime peer. e.g.DIAL(SIP/peer/number, 60, tTwW)

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Apr 7 10:12:14 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12362 
====================================================================== 
Reported By:                vinsik
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   12362
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-03-2008 07:36 CDT
Last Modified:              04-07-2008 10:11 CDT
====================================================================== 
Summary:                    Asterisk crashes everytime i try to dial a realtime
peer. e.g.DIAL(SIP/peer/number,60,tTwW)
Description: 
Asterisk crashes everytime i try to dial a realtime peer.

Command line output:
-- AGI Script Executing Application: (SET) Options:
(CDR(accountcode)=10000)
-- AGI Script Executing Application: (SET) Options:
(CALLERID(num)=123456)
-- AGI Script Executing Application: (DIAL) Options:
(SIP/roxser/123456|60|tTwW)
Disconnected from Asterisk server

Local realtime users work fine. Also all local CMD's work.
Cannot find an logical reason. Reverting back to 1.4.18, as it works ok.


Attached is GDB of asterisk process. 
Asterisk debug does not reveal anything relevant.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0012366 Crash within a few seconds of starting
has duplicate       0012372 chan_sip.c: realtime_peer function make...
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 04-07-08 10:11  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 113012

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r113012 | jpeeler | 2008-04-07 10:11:51 -0500 (Mon, 07 Apr 2008) | 7 lines

(closes issue http://bugs.digium.com/view.php?id=12362)
(closes issue http://bugs.digium.com/view.php?id=12372)
Reported by: vinsik
Tested by: tecnoxarxa

This one line change makes an if inside a for loop (in realtime_peer)
check all the ast_variables the loop was intending to test rather than just
the first one.

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-07-08 10:11  svnbot         Note Added: 0085070                          
04-07-08 10:11  svnbot         Status                   ready for testing =>
assigned
04-07-08 10:11  svnbot         Assigned To               => jpeeler         
======================================================================




More information about the asterisk-bugs mailing list