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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 16 15:05:58 CDT 2010


The following issue has been set as RELATED TO issue 0017037. 
====================================================================== 
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-03-16 15:05 CDT
====================================================================== 
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.


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017037 [patch] internal_ao2_ref fails to check...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-16 15:05 alecdavis      Relationship added       related to 0017037  
======================================================================




More information about the asterisk-bugs mailing list