On 16/05/2012 8:44 a.m., Zill, Gregory (OMA-GIS) wrote:
I get the same error when I revert to Squid 3.2.0.16.
squid[7989]: Address.cc(958) GetSockAddr: Ip::Address::GetSockAddr : Cannot convert non-IPv4 to IPv4. from [::]
context from line 958 of Address.cc
void
Ip::Address::GetSockAddr(struct sockaddr_in&buf) const
{
if ( IsIPv4() ) {
buf.sin_family = AF_INET;
buf.sin_port = m_SocketAddr.sin6_port;
Map6to4( m_SocketAddr.sin6_addr, buf.sin_addr);
} else {
debugs(14, DBG_CRITICAL, HERE<< "Ip::Address::GetSockAddr : Cannot convert non-IPv4 to IPv4. from "<< *this );
memset(&buf,0xFFFFFFFF,sizeof(struct sockaddr_in));
assert(false);
}
Hmm. I was thinking it was SetIPv4() failing. Not actually loading a
IPv4-only sockaddr_in from an IPv6 address.
Do you have a backtrace from that assert? to see which component is
doing this.
Amos