[asterisk-users] Asterisk 1.8.19.0 - "[2012-12-18 19:19:51] ERROR[24485]: astobj2.c:115 INTERNAL_OBJ: user_data is NULL"

Matthew Jordan mjordan at digium.com
Thu Dec 20 10:15:21 CST 2012


On 12/18/2012 10:56 AM, Tim Nelson wrote:
> I'm getting this error message on my Asterisk CLI, and in the logs, roughly every 10-20 seconds:
> 
> [2012-12-18 19:19:51] ERROR[24485]: astobj2.c:115 INTERNAL_OBJ: user_data is NULL
> 
> While it doesn't appear to be actually affecting anything, I'm curious to know what the error represents, where it's coming from, and of course, if there is a fix for it. All info appreciated, thanks!
> 
> --Tim
> 

Yeah, that's not a good thing. Its an error message from Asterisk's
reference counted object library, indicating one of two things:
1) The object attempting to be manipulated is not a reference counted object
2) The object attempting to be manipulated was (potentially) already
destroyed

Either way, you'll usually need some context to figure out what object
is being manipulated inappropriately. You can get (very) detailed
reference count logs by enabling reference count debugging in Asterisk
[1]. Note that this isn't available in menuselect, as it has to be
enabled in the specific modules you whose objects you want to track.

[1] https://wiki.asterisk.org/wiki/display/AST/Reference+Count+Debugging

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org





More information about the asterisk-users mailing list