[asterisk-bugs] [Asterisk 0019296]: chan_sip crashes since changes in rev. 318549

Asterisk Bug Tracker noreply at bugs.digium.com
Sun May 15 12:27:26 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19296 
====================================================================== 
Reported By:                Netview
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19296
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1101/ 
https://reviewboard.asterisk.org/r/1207/ 
https://reviewboard.asterisk.org/r/1210/ 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 318549 
Request Review:              
====================================================================== 
Date Submitted:             2011-05-14 02:44 CDT
Last Modified:              2011-05-15 12:27 CDT
====================================================================== 
Summary:                    chan_sip crashes since changes in rev. 318549
Description: 
I use Grandstream phones like gxp2000/2020 with hints. Now, after 318549
applied hints are rejected: 

chan_sip.c:23653 handle_request_subscribe: Sending fake auth rejection for
device "asterisk" <sip:gxp2000 at asterisk.mydomain.de>;tag=323a74e9f74cb2ce

If 'subscribecontext=' is set under peer, chan_sip crashes if the phones
requests hint-updates.
====================================================================== 

---------------------------------------------------------------------- 
 (0134945) Netview (reporter) - 2011-05-15 12:27
 https://issues.asterisk.org/view.php?id=19296#c134945 
---------------------------------------------------------------------- 
The new fix 'chan_sip_reffix2.patch' is bad!

hints didn't work:
NOTICE[10469]: chan_sip.c:23653 handle_request_subscribe: Sending fake
auth rejection for device "asterisk"
<sip:gxp2000 at asterisk.hhornung.de>;tag=677d0ae6d700b540
...

and a sip reload results in:
asterisk*CLI> sip reload
 Reloading SIP
[2011-05-15 19:24:51] ERROR[10469]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x0 for 0x23c03a0
[2011-05-15 19:24:51] ERROR[10469]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x0 for 0x23c03a0
[2011-05-15 19:24:51] ERROR[10469]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x0 for 0x23c03a0
[2011-05-15 19:24:51] ERROR[10469]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x0 for 0x23c03a0
[2011-05-15 19:24:51] ERROR[10469]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x0 for 0x23c03a0
[2011-05-15 19:24:52] ERROR[10469]: astobj2.c:116 INTERNAL_OBJ: bad magic
number 0x0 for 0x23c03a0

but no crash of chan_sip. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-15 12:27 Netview        Note Added: 0134945                          
======================================================================




More information about the asterisk-bugs mailing list