[reSIProcate] Assertion failure in ares_p rocess.c
ximalaya
ims3g at 126.com
Sat Feb 19 05:26:16 CST 2011
Hi,
I encountered ares assertion failure today. Details please see below trace log.
The repro server was build with IPv6 enabled and resip-ares using latest svn codes.
INFO | 20110219-182105.421 | repro | REPRO:APP | 0x100b2ef8 | ResponseContext.cx
x:279 | Creating new client transaction c8612e4c96f38c1a -> sip:user at xx.org
assertion "family == AF_INET || family == AF_INET6" failed: file "../ares/ares_p
rocess.c", line 776, function: open_udp_socket
After checking the code, I find the failure is here, can someone check the address family field is initialized properly?
static int open_udp_socket(ares_channel channel, struct server_state *server) {
#ifdef USE_IPV6
family = server->family;
assert(family == AF_INET || family == AF_INET6); //line 776
#else
family = AF_INET;
#endif
…
}
Thanks,
Xmly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20110219/16c9e67e/attachment.htm>
More information about the resiprocate-devel
mailing list