Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
After upgrading from 0.2.7.2-alpha to 0.2.7.3-rc, I'm getting lots of these messages on clients, relays and hidden services (I haven't updated any bridges, yet):
Sep 27 16:48:07.251 [warn] {BUG} int tor_addr_is_internal_(const tor_addr_t *, int, const char *, int): Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
Sep 27 16:48:07.251 [warn] {BUG} int tor_addr_is_internal_(const tor_addr_t *, int, const char *, int): Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
Sep 27 16:48:07.310 [warn] {BUG} int tor_addr_is_internal_(const tor_addr_t *, int, const char *, int): Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
Sep 27 16:48:07.672 [warn] {BUG} int tor_addr_is_internal_(const tor_addr_t *, int, const char *, int): Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
Sep 27 16:48:07.685 [warn] {BUG} int tor_addr_is_internal_(const tor_addr_t *, int, const char *, int): Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
Sep 27 16:48:07.685 [warn] {BUG} int tor_addr_is_internal_(const tor_addr_t *, int, const char *, int): Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
Sep 27 16:48:57.246 [warn] {BUG} int tor_addr_is_internal_(const tor_addr_t *, int, const char *, int): Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
Sep 27 16:49:08.250 [warn] {BUG} int tor_addr_is_internal_(const tor_addr_t *, int, const char *, int): Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
Sep 27 16:49:58.248 [warn] {BUG} int tor_addr_is_internal_(const tor_addr_t *, int, const char *, int): Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
Sep 27 16:50:09.250 [warn] {BUG} int tor_addr_is_internal_(const tor_addr_t *, int, const char *, int): Bug: tor_addr_is_internal() called from src/common/address.c:1646 with a non-IP address of type 49 (on Tor 0.2.7.3-rc 9a4cac74fd2f4bb3)
The systems appear to be functional.
I'm not sure if it matters, but the Tor processes are running in ElectroBSD jails (which are basically FreeBSD jails with a different uname) and bind to the jail's local address (usually 127.0.1.x). pf is used to forward the advertised port and to NAT the Tor traffic.
I haven't had time to investigate this yet, but intend to do it in the next days.