[asterisk-bugs] [Asterisk 0018781]: [patch] SEGFAULT in remote_bridge_loop after a SIP to SIP attended transfer with external IAX2 or DAHDI call

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 11 00:47:47 CST 2011


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18781 
====================================================================== 
Reported By:                alecdavis
Assigned To:                alecdavis
====================================================================== 
Project:                    Asterisk
Issue ID:                   18781
Category:                   Core/RTP
Reproducibility:            always
Severity:                   crash
Priority:                   urgent
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                       SWP-3081 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1128/ 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-09 19:18 CST
Last Modified:              2011-03-11 00:47 CST
====================================================================== 
Summary:                    [patch] SEGFAULT in remote_bridge_loop after a SIP
to SIP attended transfer with external IAX2 or DAHDI call
Description: 
Bug initially reported on 1.8.2 tag release, after experiencing similar on
1.8.2.3 tagged release.

Is still repeatable with trunk



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

---------------------------------------------------------------------- 
 (0132835) svnbot (reporter) - 2011-03-11 00:47
 https://issues.asterisk.org/view.php?id=18781#c132835 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 310287

U   branches/1.8/main/rtp_engine.c

------------------------------------------------------------------------
r310287 | alecdavis | 2011-03-11 00:47:45 -0600 (Fri, 11 Mar 2011) | 17
lines

remote_bridge_loop: prevent segfault when after transfer of IAX2 of DAHDI
call 

If the channel condition is one of the following after breaking out of the
loop, don't try to update_peer
(where x = 0/1)
 1). ZOMBIE
 2). cx->tech_pvt != pvtx
 3). gluex != ast_rtp_instance_get_glue(cx->tech->type))

(closes issue https://issues.asterisk.org/view.php?id=18781)
Reported by: alecdavis
Patches: 
      bug18781.diff3.txt uploaded by alecdavis (license 585)
Tested by: alecdavis, ZX81

Review: https://reviewboard.asterisk.org/r/1128/


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-11 00:47 svnbot         Note Added: 0132835                          
2011-03-11 00:47 svnbot         Status                   ready for testing =>
assigned
2011-03-11 00:47 svnbot         Assigned To               => alecdavis       
======================================================================




More information about the asterisk-bugs mailing list