Hi,
I updated my relay to 0.4.8.7 recently.
Tor 0.4.8.7 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.0.11, Zlib 1.2.13, Liblzma 5.4.1, Libzstd 1.5.4 and Glibc 2.36 as libc.
Running on Debian 12 in a Proxmox LXC container. Tor installed from the official Debian repo.
A few days ago, my relay suddenly crashed:
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] tor_assertion_failed_(): Bug: ../src/lib/tls/tortls_openssl.c:1656: tor_tls_get_tlssecrets: Assertion master_key_len failed; aborting. (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: tor_assertion_failed_(): Bug: ../src/lib/tls/tortls_openssl.c:1656: tor_tls_get_tlssecrets: Assertion master_key_len failed; aborting. (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: Tor 0.4.8.7: Assertion master_key_len failed in tor_tls_get_tlssecrets at ../src/lib/tls/tortls_openssl.c:1656: . Stack trace: (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(log_backtrace_impl+0x57) [0x55655083ae37] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(tor_assertion_failed_+0x147) [0x556550845be7] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(tor_tls_get_tlssecrets+0x2e4) [0x55655085ed74] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(connection_or_compute_authenticate_cell_body+0x20f) [0x55655097883f] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(connection_or_send_authenticate_cell+0x98) [0x556550978ec8] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(channel_tls_handle_var_cell+0x10fc) [0x5565508a6bac] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: Tor 0.4.8.7: Assertion master_key_len failed in tor_tls_get_tlssecrets at ../src/lib/tls/tortls_openssl.c:1656: . Stack trace: (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(+0x1a6ed3) [0x5565508f6ed3] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(+0x19d224) [0x5565508ed224] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(+0x70359) [0x5565507c0359] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /lib/x86_64-linux-gnu/libevent-2.1.so.7(+0x21585) [0x7f1b2eb3f585] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /lib/x86_64-linux-gnu/libevent-2.1.so.7(event_base_loop+0x49f) [0x7f1b2eb3fc1f] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(do_main_loop+0xf1) [0x5565507c1661] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(tor_run_main+0x1e5) [0x5565507bcf95] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(tor_main+0x59) [0x5565507b9319] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(main+0x19) [0x5565507b8ed9] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /lib/x86_64-linux-gnu/libc.so.6(+0x271ca) [0x7f1b2e24f1ca] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f1b2e24f285] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor tor[218]: Oct 13 04:52:55.000 [err] Bug: /usr/bin/tor(_start+0x21) [0x5565507b8f21] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(log_backtrace_impl+0x57) [0x55655083ae37] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(tor_assertion_failed_+0x147) [0x556550845be7] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(tor_tls_get_tlssecrets+0x2e4) [0x55655085ed74] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(connection_or_compute_authenticate_cell_body+0x20f) [0x55655097883f] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(connection_or_send_authenticate_cell+0x98) [0x556550978ec8] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(channel_tls_handle_var_cell+0x10fc) [0x5565508a6bac] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(+0x1a6ed3) [0x5565508f6ed3] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(+0x19d224) [0x5565508ed224] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(+0x70359) [0x5565507c0359] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /lib/x86_64-linux-gnu/libevent-2.1.so.7(+0x21585) [0x7f1b2eb3f585] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /lib/x86_64-linux-gnu/libevent-2.1.so.7(event_base_loop+0x49f) [0x7f1b2eb3fc1f] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(do_main_loop+0xf1) [0x5565507c1661] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(tor_run_main+0x1e5) [0x5565507bcf95] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(tor_main+0x59) [0x5565507b9319] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(main+0x19) [0x5565507b8ed9] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /lib/x86_64-linux-gnu/libc.so.6(+0x271ca) [0x7f1b2e24f1ca] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f1b2e24f285] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor Tor[218]: Bug: /usr/bin/tor(_start+0x21) [0x5565507b8f21] (on Tor 0.4.8.7 )
Oct 13 04:52:55 Tor systemd[1]: tor@default.service: Main process exited, code=killed, status=6/ABRT
Oct 13 04:52:55 Tor systemd[1]: tor@default.service: Failed with result 'signal'.
Oct 13 04:52:55 Tor systemd[1]: tor@default.service: Consumed 8h 58min 56.883s CPU time.
Oct 13 04:52:55 Tor systemd[1]: tor@default.service: Scheduled restart job, restart counter is at 1.
Oct 13 04:52:55 Tor systemd[1]: Stopped tor@default.service - Anonymizing overlay network for TCP.
Oct 13 04:52:55 Tor systemd[1]: tor@default.service: Consumed 8h 58min 56.883s CPU time.
Oct 13 04:52:55 Tor systemd[1]: Starting tor@default.service - Anonymizing overlay network for TCP...
Has anyone experienced similar behaviour? Can I do something to mitigate this?