Error: Astobj2.c: Refcount -1 On Object

Home » Asterisk Users » Error: Astobj2.c: Refcount -1 On Object
Asterisk Users 4 Comments

Hi

I’m using 1.8.7.0. This morning I got an alert telling me

Asterisk on exited on signal 11. Might want to take a peek.

When I had a look at the logs I can see a lot of errors like

ERROR[14924] astobj2.c: refcount -1 on object 0x2aaad4069068
ERROR[14924] astobj2.c: refcount -2 on object 0x2aaad4069068

All the way up to

ERROR[14924] astobj2.c: refcount -2004 on object 0x2aaad4069068

Everything up to this point was completely normal.

Does anyone know what this error means and what causes it?

Regards

Ish

4 thoughts on - Error: Astobj2.c: Refcount -1 On Object

  • Hi

    Thanks for the advice but that’s not really a quick and easy option for us. We would not be able to upgrade to another version without doing full regression testing on the candidate upgrade version and we’ve been using this version for at least half a year and this is the first time we’ve had this crash and this error.

    Also, just upgrading doesn’t enlighten me to what is going on to cause this error.

    Regards

    Ish

  • Hi

    Sorry if I sounded a bit short with you before. You are correct and we do need to consider upgrading but have been bitten in the past with upgrading, hence having to have a fixed and thorough procedure which usually lasts about a month! It’s also a bit trick trying to decide which version to upgrade to as we simply cannot upgrade our production servers every time a new asterisk version comes out.

    Also, thanks for pointing me in the right direction with the link provided.

    Regards

    Ish