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 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel