ERROR[24485]: Astobj2.c:115 INTERNAL_OBJ: User_data Is NULL”

Home » Asterisk Users » ERROR[24485]: Astobj2.c:115 INTERNAL_OBJ: User_data Is NULL”
Asterisk Users 1 Comment

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

One thought on - ERROR[24485]: Astobj2.c:115 INTERNAL_OBJ: User_data Is NULL”

  • 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