Re: [Sofia-sip-devel] Segmentation Fault After BYE 407 Proxy Authentication

2011-08-18 Thread Pekka Pessi
Hi Jerry, 2011/6/23 Jerry Richards : > One more thing on this.  The segmentation fault was due to the assert() > function crashing in my phone.  This was not caused by sofia-sip.  But the > additional comparison to sip_method_bye should be added to sofia-sip so the > assert() does not cause a prin

Re: [Sofia-sip-devel] Segmentation Fault After BYE 407 Proxy Authentication

2011-06-22 Thread Jerry Richards
Okay, I found the problem. This looks like a sofia-sip bug. I made a one line change to nua_invite_client_ack() function in libsofia-sip-ua/nua/nua_session.c, as follows: OLD: assert(cr->cr_method == sip_method_invite); NEW: assert((cr->cr_method == sip_method_invite) || (cr->cr_method == sip

Re: [Sofia-sip-devel] Segmentation fault

2009-02-18 Thread Michael Jerris
I think the following 2 patches were the fixes for these issues: http://fisheye.freeswitch.org/changelog/FreeSWITCH/libs/sofia-sip?cs=11948 http://fisheye.freeswitch.org/changelog/FreeSWITCH/libs/sofia-sip?cs=11872 Mike On Feb 18, 2009, at 2:05 PM, Bernhard Suttner wrote: > Hi Mike, > > thanks

Re: [Sofia-sip-devel] Segmentation fault

2009-02-18 Thread Bernhard Suttner
Hi Mike, thanks for that hint. Can you please tell me which darcs version it is? I want to apply only a patch for this certain bug and dont want to update to a complete new version. (or just send me the darcs patch if it is easily possible for you). thanks a lot! Best regards, Bernhard Am

Re: [Sofia-sip-devel] Segmentation fault

2009-02-18 Thread Michael Jerris
This looks exactly like a seg that we were getting that was fixed a couple days ago in darcs head. Please note there is one evil bug in the current darcs head that can be corrected with the following patch: hunk ./libsofia-sip-ua/su/su_uniqueid.c 141 - uint32_t *seed = calloc(32, sizeof *see

[Sofia-sip-devel] Segmentation fault

2009-02-18 Thread Bernhard Suttner
Hi @ all, I have an segmentation fault. The version which I use is from 10. November 2008 (so between 1.12.9 and 1.12.10). It crashes while sending a SIP Notify. The segfault occured during a load test with more than 200 parallel calls. Do you have an idea how I can better debug it? Or do you

[Sofia-sip-devel] Segmentation Fault in su_port_wait_events() of libsofia-sip-ua/su/su_port.c

2007-09-26 Thread Jerry Richards
Hello All, Well, in the process of migrating the sofia-sip 1.12.4 stack to Linux 2.6 based uClibc compiler, I encountered the Segmentation Fault in su_port_wait_events() of su_port.c at the following line (inside the for-loop): i = indices[index]; assert(i >= 0 && i <= self->sup_n_waits);