2007/4/13, Jerry Richards <[EMAIL PROTECTED]>:
> I am using version 1.12.4 of sofia-sip and I made only three local
> modifications for my environment:
>
>         1) I modified configure to #undef SU_HAVE_IN6, because I
>            could find no option to disable it.
>         2) I modified bnf.c:convert_ip_address() so that buf is
>            declared if SU_HAVE_IN6 is undefined
>         3) I modified sip_pref_util.c to include strtod() and atof(),
>            since my stdlib does not have these
>
> I am still getting a Segmentation Fault after attempting to REGISTER a line.

> The REGISTER request goes out and I get the "100 Trying" and "200 OK" reply
> from our SIP server (see code excerpt below).  However, after a second or
> two, the process encounters a Segmentation Fault and closes down the
> process.  The fault occurs in su_root_yield(), and is looks like it is due
> to port->sup_vtable apparently getting corrupted.

> Is this a bug in the stack?  If so, how can this be fixed?

Definitely it is a bug... The 1.12.4 uses pthread_rwlock_t for
reference counting of su_port_t objects. I'm afraid that there may be
problems with that.

If you cannot upgrade (to 1.12.5work6, for instance), please try to add

#define __CYGWIN__  1

before struct su_port_s definition in libsofia-sip-ua/su/su_port.c.


-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to