[asterisk-bugs] [Asterisk 0011960]: Call from '' to extension '7104' rejected because extension not found

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Feb 9 23:15:46 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11960 
====================================================================== 
Reported By:                norman
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11960
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-08-2008 22:52 CST
Last Modified:              02-09-2008 23:15 CST
====================================================================== 
Summary:                    Call from '' to extension '7104' rejected because
extension not found
Description: 
I've had a few of these errors:

[Feb  8 16:35:33] NOTICE[2170]: chan_sip.c:13879 handle_request_invite:
Call from '' to extension '202' rejected because extension not found.
[Feb  8 16:35:49] NOTICE[2170]: chan_sip.c:13879 handle_request_invite:
Call from '' to extension '7104' rejected because extension not found.

And shortly there after, it crashes. I'll enclose my crash report with
DONT_OPTIMIZE. The dead thread is http://bugs.digium.com/view.php?id=11
-1246659664 LWP 18653

Thread 11 (process 18653):
0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
1  0xb7fc556e in __lll_mutex_lock_wait () from
/lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
2  0xb7fc2179 in _L_mutex_lock_141 () from
/lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
3  0x00000000 in ?? ()
No symbol table info available.

I've traced all of the channels that were in the main channels list, and
all of them seemed normal. One (http://bugs.digium.com/view.php?id=1) was making
an outgoing call, and
waiting on the lock that thread 11 had before it crashed.

My boss dialed 202 and he noted that it died right after that. Is this
really the cause of the crash? If so, what's going on? I do have a dial
plan rule for _2XX and 7104, so it appears to have lost it's context.


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

---------------------------------------------------------------------- 
 norman - 02-09-08 23:15  
---------------------------------------------------------------------- 
This is likely a concurrency issue. Check out the latest crash. Here is the
offending line:

chan_sip.c:
15363           if (!p->owner || !ast_channel_trylock(p->owner))

p->owner is null, despite the check in the first part. I've enclosed a
"thrad apply all bt full" as "gdb_crash.txt". I'll attempt to try valgrind
on Monday. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-09-08 23:15  norman         Note Added: 0081981                          
======================================================================




More information about the asterisk-bugs mailing list