From: Dennis C. <dch...@pi...> - 2008-06-24 13:15:02
|
Peter, I have set an environment variable to detect re-use of freed pointers and I can see a case in iax_get_event (near " Decrement remaining retries ") that goes wrong because it references an event returned from iax_get_sched() whose event ptr is null. In the code generally this seems possible because freed ptrs are not set to null after they are freed. This is reproducible. I'm not familiar enough with the event loop yet to suggest a correction. How should we proceed? Dennis Christopher Pixion On 10-Jun-08, at 5:23 PM, iaxclient-devel- re...@li... wrote: > On Fri, May 30, 2008 at 12:45 PM, Dennis Christopher > <dch...@pi...> wrote: >> I have a build of 2.0.2 running on mac OS X 10.4. I'm getting a >> somewhat >> reproducible >> crash in iax_event_free, which doesnt seem associated with any >> particular >> audio event. Can anyone suggest what I might look for here? >> The offending symbol is the free call, which typically would be a >> non-allocated ptr being freed, or one that has already been freed. > > A stack trace would help. How reproducible is this problem? Does the > problem happen with 2.1beta3 or the trunk? > > Pete |