Hello, I'm having some random crashes in su_timer_create(), random in the way that I can't reproduce them at will and it happens rarely. Maybe you can tell me if I'm doing something wrong:
Version: sofia-sip-1.12.10rc1-1 sofia-sip-glib3-1.12.10rc1-1 I have several clones and inside them I create and update (the update is basically destroying and creating it again) a timer with: su_timer_create(su_clone_task(_clone_ref), duration); _clone_ref is from su_clone_start(), from what I have seen on the documentation and examples this is the correct way right? or do I have to lock something in order to create a timer in a multi-thread application? The segmentation fault happens on su_task_cmp() call inside su_timer_create(), (backtrace of gdb). su_clone_start calls the su_root_init_f function and it passes a su_root_t pointer, that is the su_root_t of the clone right? should I store it inside my magic_t context and create the timer as: su_timer_create(su_root_task(_clone_root), duration) instead? Is there any difference between tasks in su_root_task() of the root_t from the su_root_init_f vs su_clone_task() of the su_clone_r from su_clone_start ? Thanks ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel