[Bug 197035] sysutils/bbcp: segmentation fault and core dump when running latest version (20150113)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jul 21 15:04:07 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197035
--- Comment #7 from Chris Hutchinson <portmaster at bsdforge.com> ---
(In reply to lampa from comment #6)
> Problem is probably with ipv6 bcpp code, try -4 argument
>
> The reason of core dump is:
>
> n = getaddrinfo(iP, 0, hostHints, &rP);
>
> It fails with n==3 (EAI_BADFLAGS) and then MyHost is NULL which results
> in segmentation fault in strdup().
>
> The reason of getaddrinfo failure is that hostHints.ai_flags contains
> AI_V4MAPPED | AI_CANONNAME
> AI_V4MAPPED flag is rejected if net.inet6.v6only==1
>
> But fixing this was not sufficient, remote bcpp started listening on TCP6
> socket, but local bcpp couldn't connect.
Thanks for the hints, lampa!
I'll take those pointers, and see if I can cobble (in) some (better && FreeBSD)
IPv6 support.
If that appears unfeasible. I'll see if I can convert it all to strictly
IPv4.
Thanks again!
--Chris
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list