2007/12/20, Ge@@ru <[EMAIL PROTECTED]>: > So, we can consider our patch or somethings like that a valid solution > for this segfault?! :)
Certainly yes, but it is not solving all the cases. > Happy Christmas and Happy New Year! Merry Christmas everyone! --Pekka > On Thu, 2007-12-20 at 15:13 +0200, Pekka Pessi wrote: > > 2007/12/7, Ge@@ru <[EMAIL PROTECTED]>: > > > I try to use STUN feature of Sofia i have the following problem: > > > > > > If i try to destroy stun_handle_t (with stun_handle_destroy) inside > > > stun_bind_cb there is always a segfault at row 2001 of stun.c file > > > because sofia try to access to req variable after that req is been > > > destroyed by stun_handle_destroy. So where we have to call > > > stun_handle_destroy? > > > Or however patch in attach seems resolve problem. > > > Could be a valid solution patch attached? > > > > It is definitely better not to access anything in handle after > > callback. I've modified most of the code not to use any handle-related > > stuff after returning from callback. > > > > -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel