monotone - Bugs: bug #16004, Can't start serve process:...
You are not allowed to post comments on this tracker with your current authentication level.
bug #16004: Can't start serve process: "Address family not supported by protocol"
Submitter: | Thomas Keller <tommyd> | ||
Submitted: | Sun 05 Mar 2006 07:21:10 PM UTC | ||
Category: | networking | Severity: | 3 - Normal |
Item Group: | incorrect behavior | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | ||
mtn version --full: | monotone 0.26pre2 (base revision: 9ca37b918cb5309d8d3b0be000dc8a1151df262f)
|
Thu 12 Oct 2006 01:37:35 PM UTC, comment #3: |
Anonymous |
Thu 12 Oct 2006 12:07:41 PM UTC, comment #2: Today I get analogic BUG with 0.30:
|
Anonymous |
Sun 05 Mar 2006 11:42:03 PM UTC, comment #1: 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.) |
Nathaniel Smith <njs> |
Sun 05 Mar 2006 07:21:10 PM UTC, original submission:
I tried to start a monotone serve process and got the following:
|
Thomas Keller <tommyd> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2006-03-05 | tommyd | Carbon-Copy | - | Added tommyd |
Powered by Savane 3.13-0329.
Corresponding source code
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);