[asterisk-bugs] [Asterisk 0010571]: SIP hairpin invokes Local within app_dial to produce a crash.

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Oct 16 16:53:54 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10571 
====================================================================== 
Reported By:                dtyoo
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10571
Category:                   Applications/app_dial
Reproducibility:            unable to reproduce
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:            1.4.9  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-27-2007 08:43 CDT
Last Modified:              10-16-2007 16:53 CDT
====================================================================== 
Summary:                    SIP hairpin invokes Local within app_dial to produce
a crash.
Description: 
We are getting crashes in app_voicemail on a fairly regular basis.  I'm
still working on steps to re-produce, but I thought I would post the
backtraces here in case someone could glean anything from them.  I will
update if I can figure out the steps to re-produce.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0010886 Crash in local_queue_frame trying to tr...
related to          0010875 Asterisk 1.4.12 crashes in channel.c
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 10-16-07 16:53  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 85994

U   branches/1.4/include/asterisk/lock.h

------------------------------------------------------------------------
r85994 | russell | 2007-10-16 16:53:52 -0500 (Tue, 16 Oct 2007) | 16 lines

Some locking errors exposed the fact that the lock debugging code itself
was
not thread safe.  How ironic!  Anyway, these changes ensure that the code
that
is accessing the lock debugging data is thread-safe.  

Many thanks to Ivan for finding and fixing the core issue here, and also 
thanks to those that tested the patch and provided test results.

(closes issue http://bugs.digium.com/view.php?id=10571)
(closes issue http://bugs.digium.com/view.php?id=10886)
(closes issue http://bugs.digium.com/view.php?id=10875)
(might close some others, as well ...)

Patches: (from issue http://bugs.digium.com/view.php?id=10571)
      ivan_ast_1_4_12_rel_patch_lock.h.diff uploaded by Ivan (license 229)
       - a few small changes by me

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-16-07 16:53  svnbot         Note Added: 0072118                          
10-16-07 16:53  svnbot         Status                   new => assigned     
10-16-07 16:53  svnbot         Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list