On 1/27/08, Benny Prijono <bennylp at pjsip.org> wrote: > On 1/27/08, Benny Prijono <bennylp at pjsip.org> wrote: > > > 4. Thread B, still trying to lock stream->jb_mutex, segfaults because > > > thread A deallocated stream->jb_mutex and zeroed out the pointer. > > > > > > > > > I have been trying to follow the code and it almost looks like this is > > > possible. Can anyone confirm or disprove this? > > > > > > > Hi Michael, > > > > I've got to say that the scenario looks valid, rather unfortunately. I > > haven't had idea on how to solve it though. > > > > Forgot one thing. I just registered your report in the ticket list for > now: http://trac.pjsip.org/repos/ticket/460 > Just to let you know that I think I've got this fixed now. Please see ticket #460 URL above for more information. Thanks for the report! cheers, -benny