Ups (: Fine fix, now we have +2 bugs(:
./libsofia-sip-ua/su/su_alloc_lock.c su_home_threadsafe(su_home_t *home) { //!!! Alloc via home itself mutex = su_alloc(home, 2 * sizeof (pthread_mutex_t)); home->suh_lock = (void *)mutex; } ./libsofia-sip-ua/su/su_alloc.c _su_home_deinit(su_home_t *home) { .... free memory and memory for mutex(home->suh_lock) too ..... //home->suh_lock is it valid pointer? It's First Bug if (home->suh_lock) su_home_destroy_mutexes(home->suh_lock); // Second bug, we must UNLOCK(home) before to call su_home_destroy_mutexes } Thanks ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel