tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b)
Summary
[warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b)
This happens at least on iOS and macOS.
I have also seen this in older versions. Not just me, users report it, too: https://github.com/guardianproject/orbot-apple/issues/76
Steps to reproduce:
- git clone https://github.com/iCepa/Tor.framework
- cd Tor.framework
- pod install
- open Example/Tor.xcworkspace
- run Tor-Example or Tor-Example-Mac
What is the current bug behavior?
Everything keeps working, but debug log shows this:
Aug 30 12:08:01.023 [notice] Tor 0.4.8.4 (git-6d6bd21b9d364302) running on Darwin with Libevent 2.1.12-stable, OpenSSL 3.1.2, Zlib 1.2.11, Liblzma 5.4.4, Libzstd N/A and Unknown N/A as libc.
Aug 30 12:08:01.023 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
Aug 30 12:08:01.023 [notice] Configuration file "/Users/berhart/Library/Developer/CoreSimulator/Devices/D3204428-26B1-4C55-8177-B3057F6F67AC/data/Containers/Data/Application/C659E399-A46C-4058-8F8E-86E3EFA82568/.torrc" not present, using reasonable defaults.
Aug 30 12:08:01.025 [notice] Opening Socks listener on 127.0.0.1:9050
Aug 30 12:08:01.025 [notice] Opened Socks listener connection (ready) on 127.0.0.1:9050
Aug 30 12:08:01.025 [notice] Opening Control listener on 127.0.0.1:0
Aug 30 12:08:01.026 [notice] Control listener listening on port 52975.
Aug 30 12:08:01.026 [notice] Opened Control listener connection (ready) on 127.0.0.1:52975
Aug 30 12:08:01.000 [notice] Parsing GEOIP IPv4 file /Users/berhart/Library/Developer/CoreSimulator/Devices/D3204428-26B1-4C55-8177-B3057F6F67AC/data/Containers/Bundle/Application/6DBEF322-E91E-4DF6-9058-F54252ED7E54/Tor-Example.app/Frameworks/Tor.framework/GeoIP.bundle/geoip.
Aug 30 12:08:01.000 [notice] Parsing GEOIP IPv6 file /Users/berhart/Library/Developer/CoreSimulator/Devices/D3204428-26B1-4C55-8177-B3057F6F67AC/data/Containers/Bundle/Application/6DBEF322-E91E-4DF6-9058-F54252ED7E54/Tor-Example.app/Frameworks/Tor.framework/GeoIP.bundle/geoip6.
Aug 30 12:08:01.000 [notice] Bootstrapped 0% (starting): Starting
Aug 30 12:08:14.000 [notice] Starting with guard context "default"
Aug 30 12:08:14.000 [warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: Tor 0.4.8.4 (git-6d6bd21b9d364302): Line unexpectedly reached at relay_key_is_unavailable_ at ./src/feature/relay/routerkeys.h:56. Stack trace: (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 0 Tor 0x0000000101ed4254 log_backtrace_impl + 104 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 1 Tor 0x0000000101ee18ec tor_bug_occurred_ + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 2 Tor 0x0000000101e71580 server_onion_keys_new + 64 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 3 Tor 0x0000000101e133a0 worker_state_new + 48 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 4 Tor 0x0000000101ed857c threadpool_new + 256 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 5 Tor 0x0000000101e132d8 cpuworker_init + 128 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 6 Tor 0x0000000101e513c4 run_tor_main_loop + 200 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 7 Tor 0x0000000101e516bc tor_run_main + 312 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 8 Tor 0x00000001019c3a9c -[TORThread main] + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 9 Foundation 0x0000000180851578 __NSThread__start__ + 792 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 10 libsystem_pthread.dylib 0x00000001cc0b3428 _pthread_start + 116 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 11 libsystem_pthread.dylib 0x00000001cc0ae648 thread_start + 8 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: Tor 0.4.8.4 (git-6d6bd21b9d364302): Line unexpectedly reached at relay_key_is_unavailable_ at ./src/feature/relay/routerkeys.h:56. Stack trace: (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 0 Tor 0x0000000101ed4254 log_backtrace_impl + 104 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 1 Tor 0x0000000101ee18ec tor_bug_occurred_ + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 2 Tor 0x0000000101e71580 server_onion_keys_new + 64 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 3 Tor 0x0000000101e133a0 worker_state_new + 48 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 4 Tor 0x0000000101ed857c threadpool_new + 256 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 5 Tor 0x0000000101e132d8 cpuworker_init + 128 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 6 Tor 0x0000000101e513c4 run_tor_main_loop + 200 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 7 Tor 0x0000000101e516bc tor_run_main + 312 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 8 Tor 0x00000001019c3a9c -[TORThread main] + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 9 Foundation 0x0000000180851578 __NSThread__start__ + 792 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 10 libsystem_pthread.dylib 0x00000001cc0b3428 _pthread_start + 116 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 11 libsystem_pthread.dylib 0x00000001cc0ae648 thread_start + 8 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: Tor 0.4.8.4 (git-6d6bd21b9d364302): Line unexpectedly reached at relay_key_is_unavailable_ at ./src/feature/relay/routerkeys.h:56. Stack trace: (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 0 Tor 0x0000000101ed4254 log_backtrace_impl + 104 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 1 Tor 0x0000000101ee18ec tor_bug_occurred_ + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 2 Tor 0x0000000101e71580 server_onion_keys_new + 64 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 3 Tor 0x0000000101e133a0 worker_state_new + 48 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 4 Tor 0x0000000101ed857c threadpool_new + 256 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 5 Tor 0x0000000101e132d8 cpuworker_init + 128 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 6 Tor 0x0000000101e513c4 run_tor_main_loop + 200 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 7 Tor 0x0000000101e516bc tor_run_main + 312 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 8 Tor 0x00000001019c3a9c -[TORThread main] + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 9 Foundation 0x0000000180851578 __NSThread__start__ + 792 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 10 libsystem_pthread.dylib 0x00000001cc0b3428 _pthread_start + 116 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 11 libsystem_pthread.dylib 0x00000001cc0ae648 thread_start + 8 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: Tor 0.4.8.4 (git-6d6bd21b9d364302): Line unexpectedly reached at relay_key_is_unavailable_ at ./src/feature/relay/routerkeys.h:56. Stack trace: (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 0 Tor 0x0000000101ed4254 log_backtrace_impl + 104 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 1 Tor 0x0000000101ee18ec tor_bug_occurred_ + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 2 Tor 0x0000000101e71580 server_onion_keys_new + 64 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 3 Tor 0x0000000101e133a0 worker_state_new + 48 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 4 Tor 0x0000000101ed857c threadpool_new + 256 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 5 Tor 0x0000000101e132d8 cpuworker_init + 128 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 6 Tor 0x0000000101e513c4 run_tor_main_loop + 200 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 7 Tor 0x0000000101e516bc tor_run_main + 312 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 8 Tor 0x00000001019c3a9c -[TORThread main] + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 9 Foundation 0x0000000180851578 __NSThread__start__ + 792 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 10 libsystem_pthread.dylib 0x00000001cc0b3428 _pthread_start + 116 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 11 libsystem_pthread.dylib 0x00000001cc0ae648 thread_start + 8 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: Tor 0.4.8.4 (git-6d6bd21b9d364302): Line unexpectedly reached at relay_key_is_unavailable_ at ./src/feature/relay/routerkeys.h:56. Stack trace: (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 0 Tor 0x0000000101ed4254 log_backtrace_impl + 104 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 1 Tor 0x0000000101ee18ec tor_bug_occurred_ + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 2 Tor 0x0000000101e71580 server_onion_keys_new + 64 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 3 Tor 0x0000000101e133a0 worker_state_new + 48 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 4 Tor 0x0000000101ed857c threadpool_new + 256 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 5 Tor 0x0000000101e132d8 cpuworker_init + 128 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 6 Tor 0x0000000101e513c4 run_tor_main_loop + 200 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 7 Tor 0x0000000101e516bc tor_run_main + 312 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 8 Tor 0x00000001019c3a9c -[TORThread main] + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 9 Foundation 0x0000000180851578 __NSThread__start__ + 792 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 10 libsystem_pthread.dylib 0x00000001cc0b3428 _pthread_start + 116 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 11 libsystem_pthread.dylib 0x00000001cc0ae648 thread_start + 8 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: Tor 0.4.8.4 (git-6d6bd21b9d364302): Line unexpectedly reached at relay_key_is_unavailable_ at ./src/feature/relay/routerkeys.h:56. Stack trace: (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 0 Tor 0x0000000101ed4254 log_backtrace_impl + 104 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 1 Tor 0x0000000101ee18ec tor_bug_occurred_ + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 2 Tor 0x0000000101e71580 server_onion_keys_new + 64 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 3 Tor 0x0000000101e133a0 worker_state_new + 48 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 4 Tor 0x0000000101ed857c threadpool_new + 256 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 5 Tor 0x0000000101e132d8 cpuworker_init + 128 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 6 Tor 0x0000000101e513c4 run_tor_main_loop + 200 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 7 Tor 0x0000000101e516bc tor_run_main + 312 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 8 Tor 0x00000001019c3a9c -[TORThread main] + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 9 Foundation 0x0000000180851578 __NSThread__start__ + 792 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 10 libsystem_pthread.dylib 0x00000001cc0b3428 _pthread_start + 116 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 11 libsystem_pthread.dylib 0x00000001cc0ae648 thread_start + 8 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: Tor 0.4.8.4 (git-6d6bd21b9d364302): Line unexpectedly reached at relay_key_is_unavailable_ at ./src/feature/relay/routerkeys.h:56. Stack trace: (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 0 Tor 0x0000000101ed4254 log_backtrace_impl + 104 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 1 Tor 0x0000000101ee18ec tor_bug_occurred_ + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 2 Tor 0x0000000101e71580 server_onion_keys_new + 64 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 3 Tor 0x0000000101e133a0 worker_state_new + 48 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 4 Tor 0x0000000101ed857c threadpool_new + 256 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 5 Tor 0x0000000101e132d8 cpuworker_init + 128 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 6 Tor 0x0000000101e513c4 run_tor_main_loop + 200 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 7 Tor 0x0000000101e516bc tor_run_main + 312 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 8 Tor 0x00000001019c3a9c -[TORThread main] + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 9 Foundation 0x0000000180851578 __NSThread__start__ + 792 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 10 libsystem_pthread.dylib 0x00000001cc0b3428 _pthread_start + 116 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 11 libsystem_pthread.dylib 0x00000001cc0ae648 thread_start + 8 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: Tor 0.4.8.4 (git-6d6bd21b9d364302): Line unexpectedly reached at relay_key_is_unavailable_ at ./src/feature/relay/routerkeys.h:56. Stack trace: (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 0 Tor 0x0000000101ed4254 log_backtrace_impl + 104 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 1 Tor 0x0000000101ee18ec tor_bug_occurred_ + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 2 Tor 0x0000000101e71580 server_onion_keys_new + 64 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 3 Tor 0x0000000101e133a0 worker_state_new + 48 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 4 Tor 0x0000000101ed857c threadpool_new + 256 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 5 Tor 0x0000000101e132d8 cpuworker_init + 128 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 6 Tor 0x0000000101e513c4 run_tor_main_loop + 200 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 7 Tor 0x0000000101e516bc tor_run_main + 312 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 8 Tor 0x00000001019c3a9c -[TORThread main] + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 9 Foundation 0x0000000180851578 __NSThread__start__ + 792 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 10 libsystem_pthread.dylib 0x00000001cc0b3428 _pthread_start + 116 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 11 libsystem_pthread.dylib 0x00000001cc0ae648 thread_start + 8 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: Tor 0.4.8.4 (git-6d6bd21b9d364302): Line unexpectedly reached at relay_key_is_unavailable_ at ./src/feature/relay/routerkeys.h:56. Stack trace: (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 0 Tor 0x0000000101ed4254 log_backtrace_impl + 104 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 1 Tor 0x0000000101ee18ec tor_bug_occurred_ + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 2 Tor 0x0000000101e71580 server_onion_keys_new + 64 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 3 Tor 0x0000000101e133a0 worker_state_new + 48 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 4 Tor 0x0000000101ed857c threadpool_new + 256 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 5 Tor 0x0000000101e132d8 cpuworker_init + 128 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 6 Tor 0x0000000101e513c4 run_tor_main_loop + 200 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 7 Tor 0x0000000101e516bc tor_run_main + 312 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 8 Tor 0x00000001019c3a9c -[TORThread main] + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 9 Foundation 0x0000000180851578 __NSThread__start__ + 792 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 10 libsystem_pthread.dylib 0x00000001cc0b3428 _pthread_start + 116 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 11 libsystem_pthread.dylib 0x00000001cc0ae648 thread_start + 8 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] tor_bug_occurred_: Bug: ./src/feature/relay/routerkeys.h:56: relay_key_is_unavailable_: This line should not have been reached. (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: Tor 0.4.8.4 (git-6d6bd21b9d364302): Line unexpectedly reached at relay_key_is_unavailable_ at ./src/feature/relay/routerkeys.h:56. Stack trace: (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 0 Tor 0x0000000101ed4254 log_backtrace_impl + 104 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 1 Tor 0x0000000101ee18ec tor_bug_occurred_ + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 2 Tor 0x0000000101e71580 server_onion_keys_new + 64 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 3 Tor 0x0000000101e133a0 worker_state_new + 48 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 4 Tor 0x0000000101ed857c threadpool_new + 256 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 5 Tor 0x0000000101e132d8 cpuworker_init + 128 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 6 Tor 0x0000000101e513c4 run_tor_main_loop + 200 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 7 Tor 0x0000000101e516bc tor_run_main + 312 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 8 Tor 0x00000001019c3a9c -[TORThread main] + 324 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 9 Foundation 0x0000000180851578 __NSThread__start__ + 792 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 10 libsystem_pthread.dylib 0x00000001cc0b3428 _pthread_start + 116 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [warn] Bug: 11 libsystem_pthread.dylib 0x00000001cc0ae648 thread_start + 8 (on Tor 0.4.8.4 6d6bd21b9d364302)
Aug 30 12:08:14.000 [notice] New control connection opened from 127.0.0.1.
2023-08-30 12:08:14.446361+0200 Tor-Example[9047:362250] authenticated success=1
2023-08-30 12:08:14.446749+0200 Tor-Example[9047:362251] established=0
Aug 30 12:08:15.000 [notice] Bootstrapped 5% (conn): Connecting to a relay
Aug 30 12:08:15.000 [notice] Bootstrapped 10% (conn_done): Connected to a relay
Aug 30 12:08:15.000 [notice] Bootstrapped 14% (handshake): Handshaking with a relay
Aug 30 12:08:15.000 [notice] Bootstrapped 15% (handshake_done): Handshake with a relay done
Aug 30 12:08:15.000 [notice] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
Aug 30 12:08:15.000 [notice] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
Aug 30 12:08:15.000 [notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
Aug 30 12:08:16.000 [notice] Bootstrapped 100% (done): Done
2023-08-30 12:08:16.044047+0200 Tor-Example[9047:362251] established=1
2023-08-30 12:08:17.063880+0200 Tor-Example[9047:362251] Circuits: (
"<TORCircuit: 0x6000022ee530> circuitId=1, status=EXTENDED, nodes=(\n \"<TORNode: 0x600001c8d900> fingerprint=$2B1FF21E30BA75F43F696E0634489C806408E3F8, nickName=noWarPlz, ipv4Address=62.101.228.30, ipv6Address=(null), countryCode=no, localizedCountryName=Norway\",\n \"<TORNode: 0x600001c8d8c0> fingerprint=$9BA9334DA769A7C96D464F9EA38A970088B6FECB, nickName=FASHIONCLEFT, ipv4Address=95.217.223.54, ipv6Address=2a01:4f9:c010:9ed2::1, countryCode=fi, localizedCountryName=Finland\"\n), buildFlags=(\n \"NEED_CAPACITY\",\n \"NEED_UPTIME\"\n), purpose=CONFLUX_UNLINKED, hsState=(null), rendQuery=(null), timeCreated=2023-08-30 10:08:15 +0000, reason=(null), remoteReason=(null), socksUsername=(null), socksPassword=(null), raw=1 EXTENDED $2B1FF21E30BA75F43F696E0634489C806408E3F8~noWarPlz,$9BA9334DA769A7C96D464F9EA38A970088B6FECB~FASHIONCLEFT BUILD_FLAGS=NEED_CAPACITY,NEED_UPTIME PURPOSE=CONFLUX_UNLINKED TIME_CREATED=2023-08-30T10:08:15.450637]",
"<TORCircuit: 0x6000022ee5a0> circuitId=2, status=EXTENDED, nodes=(\n \"<TORNode: 0x600001c944c0> fingerprint=$780004EAD7B2B96C26AB320713BAAA7BC246B862, nickName=salentrakain, ipv4Address=185.195.237.116, ipv6Address=(null), countryCode=ee, localizedCountryName=Estonia\",\n \"<TORNode: 0x600001c945c0> fingerprint=$E04861C32098EF38D6BB2AEFEC81095953FEF0ED, nickName=willwallace, ipv4Address=95.217.72.151, ipv6Address=2a01:4f9:4a:1812::2, countryCode=fi, localizedCountryName=Finland\"\n), buildFlags=(\n \"NEED_CAPACITY\",\n \"NEED_UPTIME\"\n), purpose=CONFLUX_UNLINKED, hsState=(null), rendQuery=(null), timeCreated=2023-08-30 10:08:15 +0000, reason=(null), remoteReason=(null), socksUsername=(null), socksPassword=(null), raw=2 EXTENDED $780004EAD7B2B96C26AB320713BAAA7BC246B862~salentrakain,$E04861C32098EF38D6BB2AEFEC81095953FEF0ED~willwallace BUILD_FLAGS=NEED_CAPACITY,NEED_UPTIME PURPOSE=CONFLUX_UNLINKED TIME_CREATED=2023-08-30T10:08:15.459137]",
"<TORCircuit: 0x6000022ee8b0> circuitId=3, status=BUILT, nodes=(\n \"<TORNode: 0x600001c94540> fingerprint=$2B1FF21E30BA75F43F696E0634489C806408E3F8, nickName=noWarPlz, ipv4Address=62.101.228.30, ipv6Address=(null), countryCode=no, localizedCountryName=Norway\",\n \"<TORNode: 0x600001c94740> fingerprint=$EEA85567CD7EBEB1CBC70AEE97C45E0019BDBDF9, nickName=jstark1809n0n0n0, ipv4Address=194.32.107.206, ipv6Address=2a03:94e0:ffff:194:32:107:0:206, countryCode=no, localizedCountryName=Norway\",\n \"<TORNode: 0x600001c947c0> fingerprint=$4E60DE549B3B4C063E6035BCDAA69DD4F3AE3C4D, nickName=Chimera2, ipv4Address=149.56.22.133, ipv6Address=2607:5300:61:785::, countryCode=ca, localizedCountryName=Canada\"\n), buildFlags=(\n \"NEED_CAPACITY\"\n), purpose=GENERAL, hsState=(null), rendQuery=(null), timeCreated=2023-08-30 10:08:15 +0000, reason=(null), remoteReason=(null), socksUsername=(null), socksPassword=(null), raw=3 BUILT $2B1FF21E30BA75F43F696E0634489C806408E3F8~noWarPlz,$EEA85567CD7EBEB1CBC70AEE97C45E0019BDBDF9~jstark1809n0n0n0,$4E60DE549B3B4C063E6035BCDAA69DD4F3AE3C4D~Chimera2 BUILD_FLAGS=NEED_CAPACITY PURPOSE=GENERAL TIME_CREATED=2023-08-30T10:08:15.463437]"
)
2023-08-30 12:08:17.075981+0200 Tor-Example[9047:362251] Elapsed Time: 1.031664
What is the expected behavior?
Bug not happening.
Environment
- Which version of Tor are you using? See first lines of log. 0.4.8.4
- Which operating system are you using? For example: iOS 15.5 in simulator, macOS Ventura 13.5.1
- Which installation method did you use? Git; see "steps to reproduce"