[asterisk-bugs] [Asterisk 0016800]: astobj2.c:279

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 11 07:45:51 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16800 
====================================================================== 
Reported By:                cotocisternas
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16800
Category:                   General
Reproducibility:            unable to reproduce
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 242029 
Request Review:              
====================================================================== 
Date Submitted:             2010-02-10 07:46 CST
Last Modified:              2010-02-11 07:45 CST
====================================================================== 
Summary:                    astobj2.c:279
Description: 
I don't know why, but with no reason i get this error, an Asterisk go
crash.

astobj2.c:279 internal_ao2_ref: refcount -1 on object 0x8e9d9a8

I look for the line 279 in main/astobj2.c and i see this.

/* this case must never happend */ ??... well.. some time happen's.

 277         /* this case must never happen */
 278         if (current_value < 0)
 279                 ast_log(LOG_ERROR, "refcount %d on object %p\n",
current_value, user_data);
 280
 281         if (current_value <= 0) { /* last reference, destroy the
object */
 282                 if (obj->priv_data.destructor_fn != NULL) {
 283                         obj->priv_data.destructor_fn(user_data);
 284                 }

Dont have any idea wat is this, only know this crash my asterisk.


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

---------------------------------------------------------------------- 
 (0117989) cotocisternas (reporter) - 2010-02-11 07:45
 https://issues.asterisk.org/view.php?id=16800#c117989 
---------------------------------------------------------------------- 
Ok, lets here other crash, with Verbose 10 and Debug 10

[2010-02-11 09:38:31] ERROR[8309] chan_sip.c: Peer '99904' is trying to
register, but not configured as host=dynamic
[2010-02-11 09:38:31] NOTICE[8309] chan_sip.c: Registration from
'<sip:99904 at 192.168.1.201>' failed for '192.168.1.203' - Peer is not
supposed to register
[2010-02-11 09:56:30] NOTICE[8309] chan_sip.c: Peer '1203' is now
Reachable. (165ms / 2000ms)
[2010-02-11 09:56:41] ERROR[8309] astobj2.c: bad magic number 0x4953006c
for 0x9d4d500
[2010-02-11 09:57:10] NOTICE[12682] cdr.c: CDR simple logging enabled.
[2010-02-11 09:57:10] NOTICE[12682] loader.c: 200 modules will be loaded. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-11 07:45 cotocisternas  Note Added: 0117989                          
======================================================================




More information about the asterisk-bugs mailing list