Bug report: I’ve just seen Tor Browser 14.5a5 (linux-x86_64) fail to connect to the tor network on startup with the following warnings in the logs:
“Bug: Tried to open a socket with DisableNetwork set.” and
“Bug: src/core/mainloop/connection.c:2204: connection_connect_sockaddr: This line should not have been reached.”
I’ve not messed with the bundled torrc settings after install and the only settings I’ve changed are dismissing the language prompt and selecting the “Connect Automatically” option. I tried connecting with 14.0.9 immediately afterwards and had no problem. Also, a fresh install of 14.5a5 seems to have cleared the problem. I searched for “src/core/mainloop/connection” in the Core Tor repo’s issues and found nothing, hence my report here.
OS: LMDE 6 (based on Debian bookworm)
My connection is over a VPN
Full log:
2025-04-04 20:13:55.388
[NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
2025-04-04 20:13:55.390
[NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
2025-04-04 20:13:55.393
[NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
2025-04-04 20:13:58.201
[NOTICE] Opening Socks listener on 127.0.0.1:9150
2025-04-04 20:13:58.202
[NOTICE] Opened Socks listener connection (ready) on 127.0.0.1:9150
2025-04-04 20:13:58.457
[NOTICE] Bootstrapped 5% (conn): Connecting to a relay
2025-04-04 20:13:58.638
[NOTICE] Bootstrapped 10% (conn_done): Connected to a relay
2025-04-04 20:13:58.672
[WARN] Problem bootstrapping. Stuck at 10% (conn_done): Connected to a relay. (No route to host; NOROUTE; count 1; recommendation warn; host 2CEFF506E38DC618202FBD22E0FE20B011D32040 at 85.195.253.142:9001)
2025-04-04 20:13:58.739
[NOTICE] Closing no-longer-configured Socks listener on 127.0.0.1:9150
2025-04-04 20:13:58.739
[NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
2025-04-04 20:13:58.740
[WARN] connection_connect_sockaddr(): Bug: Tried to open a socket with DisableNetwork set. (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.741
[WARN] tor_bug_occurred_(): Bug: src/core/mainloop/connection.c:2204: connection_connect_sockaddr: This line should not have been reached. (Future instances of this warning will be silenced.) (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.741
[WARN] Bug: Tor 0.4.9.1-alpha (git-132e6aad99a984aa): Line unexpectedly reached at connection_connect_sockaddr at src/core/mainloop/connection.c:2204. Stack trace: (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.741
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(log_backtrace_impl+0x57) [0x55d20f8e61b7] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.741
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(tor_bug_occurred_+0x169) [0x55d20f8f1569] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.741
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(+0x193992) [0x55d20f993992] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.742
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(connection_connect+0xdc) [0x55d20f993afc] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.742
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(connection_or_connect+0x1cf) [0x55d20f9a4b6f] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.742
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(channel_tls_connect+0x8f) [0x55d20f94c4bf] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.742
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(circuit_handle_first_hop+0x261) [0x55d20f957141] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.742
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(circuit_establish_circuit_conflux+0x7e) [0x55d20f95743e] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.742
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(conflux_launch_leg+0x136) [0x55d20f982a76] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.742
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(conflux_circuit_has_closed+0x30f) [0x55d20f983c6f] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.742
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(circuit_mark_for_close_+0x14e) [0x55d20f95e6ee] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.742
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(circuit_n_chan_done+0x22c) [0x55d20f95770c] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.743
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(channel_closed+0x79) [0x55d20f9453c9] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.743
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(connection_or_about_to_close+0x35) [0x55d20f9a2b45] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.743
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(+0x6aa3d) [0x55d20f86aa3d] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.743
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(+0x6b14b) [0x55d20f86b14b] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.743
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/libevent-2.1.so.7(+0x1fe38) [0x7fd41a01fe38] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.743
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/libevent-2.1.so.7(event_base_loop+0x4d7) [0x7fd41a0204f7] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.748
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(do_main_loop+0xdd) [0x55d20f86cb1d] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.749
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(tor_run_main+0x1d5) [0x55d20f868415] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.749
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(tor_main+0x49) [0x55d20f864809] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.749
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(main+0x19) [0x55d20f8643e9] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.749
[WARN] Bug: /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7fd41924624a] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.749
[WARN] Bug: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fd419246305] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:58.749
[WARN] Bug: /home/me/tor-browser/Browser/TorBrowser/Tor/tor(_start+0x2a) [0x55d20f86443a] (on Tor 0.4.9.1-alpha 132e6aad99a984aa)
2025-04-04 20:13:59.384
[NOTICE] Delaying directory fetches: DisableNetwork is set.