When running "make test-network-all", I see a bunch of these errors:
Apr 02 18:46:57.375 [warn] Bug: Non-fatal assertion info || client failed in onion_extend_cpath at src/or/circuitbuild.c:2772. Stack trace: (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(log_backtrace+0x43) [0x55a0c255ee03] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(tor_bug_occurred_+0xb9) [0x55a0c257a3c9] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(circuit_establish_circuit+0x732) [0x55a0c24b2ae2] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(circuit_launch_by_extend_info+0x8c) [0x55a0c24c487c] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(circuit_build_needed_circs+0x2e7) [0x55a0c24c4ef7] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(+0x8e078) [0x55a0c2430078] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /lib64/libevent-2.0.so.5(event_base_loop+0x7a9) [0x7f2fa8e2df19] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(do_main_loop+0x245) [0x55a0c2430bf5] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(tor_run_main+0x1015) [0x55a0c24330b5] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(tor_main+0x3a) [0x55a0c242b79a] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(main+0x19) [0x55a0c242b529] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /lib64/libc.so.6(__libc_start_main+0xea) [0x7f2fa7468f2a] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Bug: /home/nickm/src/tor/src/or/tor(_start+0x2a) [0x55a0c242b57a] (on Tor 0.3.4.0-alpha-dev 386116d52ac5f869)Apr 02 18:46:57.375 [warn] Failed to find node for hop #1 of our path. Discarding this circuit.
I don't seem to get this on 0.3.3, and neither does Teor.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
A relay operator on #tor just saw this on startup using 0.3.3.4-alpha:
Apr 05 18:46:34.000 [notice] Your Tor server's identity key fingerprint is 'Justaguy3 BA11156BE989853DAFAF48360F898692F384B5E5'Apr 05 18:46:34.000 [notice] Bootstrapped 0%: StartingApr 05 18:46:34.000 [notice] Starting with guard context "default"Apr 05 18:46:35.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus.Apr 05 18:46:36.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus.Apr 05 18:46:36.000 [notice] Bootstrapped 45%: Asking for relay descriptorsApr 05 18:46:36.000 [notice] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/6484, and can only build 0% of likely paths. (We have 0% of guards bw, 0% of midpoint bw, and 0% of exit bw = 0% of path bw.)Apr 05 18:46:36.000 [notice] Bootstrapped 50%: Loading relay descriptorsApr 05 18:46:38.000 [notice] Bootstrapped 55%: Loading relay descriptorsApr 05 18:46:38.000 [notice] Bootstrapped 60%: Loading relay descriptorsApr 05 18:46:38.000 [notice] Bootstrapped 65%: Loading relay descriptorsApr 05 18:46:38.000 [notice] Bootstrapped 70%: Loading relay descriptorsApr 05 18:46:38.000 [notice] Bootstrapped 75%: Loading relay descriptorsApr 05 18:46:38.000 [notice] Bootstrapped 80%: Connecting to the Tor networkApr 05 18:46:40.000 [notice] Bootstrapped 85%: Finishing handshake with first hopApr 05 18:46:41.000 [notice] Bootstrapped 90%: Establishing a Tor circuitApr 05 18:46:41.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.Apr 05 18:46:41.000 [notice] Bootstrapped 100%: DoneApr 05 18:46:41.000 [notice] Now checking whether ORPort 185.152.65.167:7069 and DirPort 185.152.65.167:7070 are reachable... (this may take up to 20 minutes -- look for log messages indicating success)Apr 05 18:46:42.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent.Apr 05 18:46:42.000 [notice] Self-testing indicates your DirPort is reachable from the outside. Excellent. Publishing server descriptor.Apr 05 18:46:43.000 [warn] tor_bug_occurred_(): Bug: ../src/or/circuitbuild.c:2779: onion_extend_cpath: Non-fatal assertion info failed. (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: Non-fatal assertion info failed in onion_extend_cpath at ../src/or/circuitbuild.c:2779. Stack trace: (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(log_backtrace+0x44) [0x55bcc0eec154] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(tor_bug_occurred_+0xb9) [0x55bcc0f07989] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(circuit_establish_circuit+0x3b6) [0x55bcc0e3c1c6] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(circuit_launch_by_extend_info+0x7d) [0x55bcc0e4f69d] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(circuit_build_needed_circs+0x2f1) [0x55bcc0e4fd51] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(+0x53c78) [0x55bcc0db6c78] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x6a0) [0x7fef0ef8a5a0] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(do_main_loop+0x2bc) [0x55bcc0db778c] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(tor_run_main+0x275) [0x55bcc0db8e95] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(tor_main+0x3a) [0x55bcc0db22da] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(main+0x19) [0x55bcc0db2049] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fef0d7e62e1] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Bug: /usr/sbin/tor(_start+0x2a) [0x55bcc0db209a] (on Tor 0.3.3.4-alpha )Apr 05 18:46:43.000 [warn] Failed to find node for hop #2 of our path. Discarding this circuit.Apr 05 18:46:44.000 [notice] Performing bandwidth self-test...done.Apr 05 18:46:46.000 [warn] tor_bug_occurred_(): Bug: ../src/or/circuitbuild.c:2390: onion_pick_cpath_exit: Non-fatal assertion !(exit_ei == NULL) failed. (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: Non-fatal assertion !(exit_ei == NULL) failed in onion_pick_cpath_exit at ../src/or/circuitbuild.c:2390. Stack trace: (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(log_backtrace+0x44) [0x55bcc0eec154] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(tor_bug_occurred_+0xb9) [0x55bcc0f07989] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(circuit_establish_circuit+0xa22) [0x55bcc0e3c832] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(circuit_launch_by_extend_info+0x7d) [0x55bcc0e4f69d] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(circuit_build_needed_circs+0x3c8) [0x55bcc0e4fe28] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(+0x53c78) [0x55bcc0db6c78] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x6a0) [0x7fef0ef8a5a0] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(do_main_loop+0x2bc) [0x55bcc0db778c] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(tor_run_main+0x275) [0x55bcc0db8e95] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(tor_main+0x3a) [0x55bcc0db22da] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(main+0x19) [0x55bcc0db2049] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fef0d7e62e1] (on Tor 0.3.3.4-alpha )Apr 05 18:46:46.000 [warn] Bug: /usr/sbin/tor(_start+0x2a) [0x55bcc0db209a] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] tor_bug_occurred_(): Bug: ../src/or/circuitbuild.c:2779: onion_extend_cpath: Non-fatal assertion info failed. (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: Non-fatal assertion info failed in onion_extend_cpath at ../src/or/circuitbuild.c:2779. Stack trace: (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(log_backtrace+0x44) [0x55bcc0eec154] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(tor_bug_occurred_+0xb9) [0x55bcc0f07989] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(circuit_establish_circuit+0x3b6) [0x55bcc0e3c1c6] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(circuit_launch_by_extend_info+0x7d) [0x55bcc0e4f69d] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(circuit_build_needed_circs+0x3c8) [0x55bcc0e4fe28] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(+0x53c78) [0x55bcc0db6c78] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x6a0) [0x7fef0ef8a5a0] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(do_main_loop+0x2bc) [0x55bcc0db778c] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(tor_run_main+0x275) [0x55bcc0db8e95] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(tor_main+0x3a) [0x55bcc0db22da] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(main+0x19) [0x55bcc0db2049] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fef0d7e62e1] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Bug: /usr/sbin/tor(_start+0x2a) [0x55bcc0db209a] (on Tor 0.3.3.4-alpha )Apr 05 18:46:47.000 [warn] Failed to find node for hop #2 of our path. Discarding this circuit.Apr 05 18:46:52.000 [notice] New control connection opened from 127.0.0.1.Apr 05 18:47:21.000 [warn] tor_bug_occurred_(): Bug: ../src/or/circuitbuild.c:2779: onion_extend_cpath: Non-fatal assertion info failed. (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: Non-fatal assertion info failed in onion_extend_cpath at ../src/or/circuitbuild.c:2779. Stack trace: (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(log_backtrace+0x44) [0x55bcc0eec154] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(tor_bug_occurred_+0xb9) [0x55bcc0f07989] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(circuit_establish_circuit+0x3b6) [0x55bcc0e3c1c6] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(circuit_launch_by_extend_info+0x7d) [0x55bcc0e4f69d] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(circuit_build_needed_circs+0x255) [0x55bcc0e4fcb5] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(+0x53c78) [0x55bcc0db6c78] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x6a0) [0x7fef0ef8a5a0] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(do_main_loop+0x2bc) [0x55bcc0db778c] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(tor_run_main+0x275) [0x55bcc0db8e95] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(tor_main+0x3a) [0x55bcc0db22da] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(main+0x19) [0x55bcc0db2049] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fef0d7e62e1] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Bug: /usr/sbin/tor(_start+0x2a) [0x55bcc0db209a] (on Tor 0.3.3.4-alpha )Apr 05 18:47:21.000 [warn] Failed to find node for hop #2 of our path. Discarding this circuit.Apr 05 18:49:06.000 [notice] New control connection opened from 127.0.0.1.
See #21242 (moved) for where this used to be an assert, and we made it a non-fatal assert:
- Stop trying to build circuits through entry guards for which we have no descriptor. Also, stop crashing in the case that we *do* accidentally try to build a circuit in such a state. Fixes bug 21242; bugfix on 0.3.0.1-alpha.
So, I see that extend_info_from_node() is returning NULL, but we aren't seeing any warning about valid_addr being false ("Could not choose valid address for...").
So that suggest to me that extend_info_from_node() is returning NULL because of the earlier check:
if (is_bridge || !we_use_mds) { /* We need an ri in this case. */ if (!node->ri) return NULL; } else { /* Otherwise we need an md. */ if (node->rs == NULL || node->md == NULL) return NULL; }
We changed this check in d1874b433953f64b13a2feb0edc4bbff8940d503, to fix #25213 (moved).
I am about 90% sure that only clients on chutney ever configure nodes as bridges, so since "client" is false, "is_bridge" should be false too.