Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2015 15:04:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197035] sysutils/bbcp:  segmentation fault and core dump when running latest version (20150113)
Message-ID:  <bug-197035-13-mOrnKw4Lzn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197035-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197035-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197035

--- Comment #7 from Chris Hutchinson <portmaster@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197035-13-mOrnKw4Lzn>