Comment 1 by Unknown User, Mar 6, 2006
Uh-oh, this bug was supposed to be fixed in 0.26pre2. Are you certain you aren't accidentally use some earlier version for this? (Not very likely, I know.)
Comment 2 by Unknown User, Oct 12, 2006
Today I get analogic BUG with 0.30: [root@carbon init.d]# LC_ALL=C /usr/sbin/monotone-server --confdir=/etc/monotone --db=/var/db/monotone/server.mtn --keydir=/etc/monotone/private-keys --rcfile=/etc/monotone/passphrase.lua serve '*' monotone-server: fatal: std::runtime_error: network error: failure from socket(2): Address family not supported by protocol monotone-server: this is almost certainly a bug in monotone. monotone-server: please send this error message, the output of 'monotone-server --full-version', monotone-server: and a description of what you were doing to monotone-devel@nongnu.org. monotone-server: wrote debugging log to /etc/monotone/dump monotone-server: if reporting a bug, please include this file [root@carbon init.d]# monotone-server --full-version monotone 0.30 (base revision: unknown) Running on : Linux 2.6.16-std26-up-alt9 #1 Mon Jul 17 02:38:34 MSD 2006 i686 C++ compiler : GNU C++ version 3.4.5 20051201 (ALT Linux, build 3.4.5-alt6) C++ standard library: GNU libstdc++ version 20051201 Boost version : 1_33_1 Changes since base revision: unknown
Comment 3 by Unknown User, Oct 12, 2006
I found a problem in nrex chunk: address.cxx (130): void Netxx::Address::add_all_addresses (port_type port) { { // new scope just for safety SockAddr saddr(AF_INET, port); sockaddr_in *sai = reinterpret_cast<sockaddr_in*>(saddr.get_sa()); sai->sin_addr.s_addr = htons(INADDR_ANY); addrs_.push_back(Peer("localhost", port, sai, saddr.get_sa_size())); } port_ = port; # ifndef NETXX_NO_INET6 if (ipv6_) { SockAddr saddr(AF_INET6, port); sockaddr_in6 *sai6 = reinterpret_cast<sockaddr_in6*>(saddr.get_sa()); sai6->sin6_addr = in6addr_any; addrs_.push_back(Peer("localhost", port, sai6, saddr.get_sa_size())); } # endif } There a problem in my build, because use_ipv6 is not false by default. I don't realy understand how must work compiler with explicit constructor and default parameter: address.cxx (101): explicit Address (bool use_ipv6=false);
Comment 4 by Thomas Keller, Jan 14, 2011
We probably still have horrid (read: buggy) IPv6 support, but this particular issue might have been fixed in the meantime, because it never popped up again.
Status:
Fixed
Owner: ---
Owner: ---
Sign in to reply to this comment.
Reported by Thomas Keller, Mar 5, 2006