[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
Wed Sep 26 08:16:52 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10571 
====================================================================== 
Reported By:                dtyoo
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10571
Category:                   Applications/app_dial
Reproducibility:            unable to reproduce
Severity:                   crash
Priority:                   normal
Status:                     new
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:              09-26-2007 08:16 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.
====================================================================== 

---------------------------------------------------------------------- 
 Ivan - 09-26-07 08:16  
---------------------------------------------------------------------- 
If any one look at this:
(gdb) frame 0
http://bugs.digium.com/view.php?id=0  0x00757aef in __ast_pthread_mutex_trylock
(filename=0x75a513
"chan_local.c", lineno=176, func=0x75a60e "local_queue_frame",
    mutex_name=0x75a629 "&other->lock", t=0xb7bfc5b8) at
/usr/src/asterisk-1.4.11-debug/include/asterisk/lock.h:345
345                             t->thread[t->reentrancy] =
pthread_self();
(gdb) p *t
$15 = {mutex = {__data = {__lock = 1, __count = 1, __owner = 5666, __kind
= 1, __nusers = 1, {__spins = 0, __list = {
          __next = 0x0}}},
    __size =
"\001\000\000\000\001\000\000\000\"\026\000\000\001\000\000\000\001\000\000\000\000\000\000",
__align = 1},
  track = 1, file = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb0
<Address 0xb0 out of bounds>}, lineno = {0, 0, 0, 0, 0,
    0, 0, 0, 0, 0}, reentrancy = 7710222, func = {0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0}, thread = {0, 0, 0, 0, 0,
    0, 0, 0, 0, 0}}
(gdb)
Much becomes clear 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-26-07 08:16  Ivan           Note Added: 0071105                          
======================================================================




More information about the asterisk-bugs mailing list