[Home]

Summary:ASTERISK-04341: Frame header allocation count drops below zero when using RECEIVE CHAR
Reporter:Sarah Nordstrom (sarahemm)Labels:
Date Opened:2005-06-03 17:09:37Date Closed:2011-06-07 14:10:31
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When using frame tracing (-DTRACE_FRAMES in the Makefile), the count of allocated frame headers goes negative by one each time the RECEIVE CHAR function (receive one character of text on a channel) is used.

****** ADDITIONAL INFORMATION ******

The issue appears to be in channel.c, function ast_recvchar, the ast_frfree() calls are decrementing the counter of allocated frame headers.  I'm not familiar enough with the Asterisk code base yet to know whether the count should have been incremented somewhere else, or whether this decrement should not be happening.  The code may be attempting to free more headers than are allocated, or it may just be a tracing issue.
Comments:By: Olle Johansson (oej) 2005-07-18 06:38:40

Anyone that wants to check this, it's been an open issue report for a while now and needs some attention!

/Housekeeping

By: Michael Jerris (mikej) 2005-07-31 21:43:22

sarahemm, we discussed on irc the other day that you were going to take another look at this.  Any progress?

By: Michael Jerris (mikej) 2005-08-22 21:02:38

*poke* sarahemm, any luck on this?

By: Michael Jerris (mikej) 2005-08-28 23:37:14

sarahemm from irc states to suspend this and will reopen when time allows to work on it.