Sandbox 1 puts Tor relay with Tor 0.4.7.7 on Ubuntu 22.04 in restart loop
Ubuntu 22.04 LTS (GNU/Linux 5.15.0-30-generic x86_64)
/etc/tor/torrc:
DataDirectory /var/lib/tor
Log notice file /var/log/tor/notices.log
PidFile /var/log/tor/pid.log
DormantCanceledByStartup 1
User debian-tor
RunAsDaemon 1
Sandbox 1
AvoidDiskWrites 1
HardwareAccel 1
SocksPort 0
ORPort 443
DirPort 80
Nickname aaa
ContactInfo bbb
MyFamily ccc
MyFamily ddd
MyFamily eee
/var/log/tor/notices.log:
May 16 10:56:25.000 [notice] Tor 0.4.7.7 opening new log file.
May 16 10:56:25.400 [notice] We compiled with OpenSSL 30000020: OpenSSL 3.0.2 15 Mar 2022 and we are running with OpenSSL 30000020: 3.0.2. These two versions should be binary compatible.
May 16 10:56:25.404 [notice] Tor 0.4.7.7 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.0.2, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.4.8 and Glibc 2.35 as libc.
May 16 10:56:25.404 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
May 16 10:56:25.404 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
May 16 10:56:25.404 [notice] Read configuration file "/etc/tor/torrc".
May 16 10:56:25.405 [notice] Based on detected system memory, MaxMemInQueues is set to 1482 MB. You can override this by setting MaxMemInQueues by hand.
May 16 10:56:25.406 [notice] By default, Tor does not run as an exit relay. If you want to be an exit relay, set ExitRelay to 1. To suppress this message in the future, set ExitRelay to 0.
May 16 10:56:25.407 [notice] Opening OR listener on 0.0.0.0:443
May 16 10:56:25.407 [notice] Opened OR listener connection (ready) on 0.0.0.0:443
May 16 10:56:25.407 [notice] Opening OR listener on [::]:443
May 16 10:56:25.407 [notice] Opened OR listener connection (ready) on [::]:443
May 16 10:56:25.407 [notice] Opening Directory listener on 0.0.0.0:80
May 16 10:56:25.407 [notice] Opened Directory listener connection (ready) on 0.0.0.0:80
May 16 10:56:26.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
May 16 10:56:26.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
May 16 10:56:26.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now.
May 16 10:56:27.000 [notice] Your Tor server's identity key fingerprint is 'xxx yyy'
May 16 10:56:27.000 [notice] Your Tor server's identity key ed25519 fingerprint is 'xxx yyy'
May 16 10:56:27.000 [notice] Bootstrapped 0% (starting): Starting
May 16 10:56:28.000 [notice] Starting with guard context "default"
============================================================ T= 1652691391
Tor 0.4.7.7 died: Caught signal 11
/usr/bin/tor(+0xee525)[0x56400d79f525]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x178)[0x7fd6819fc898]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x178)[0x7fd6819fc898]
/lib/x86_64-linux-gnu/libc.so.6(+0x8945c)[0x7fd681a5d45c]
/lib/x86_64-linux-gnu/libc.so.6(+0x89770)[0x7fd681a5d770]
/lib/x86_64-linux-gnu/libc.so.6(+0x94b31)[0x7fd681a68b31]
/lib/x86_64-linux-gnu/libc.so.6(+0x126a00)[0x7fd681afaa00]
May 16 10:56:31.000 [notice] Signaled readiness to systemd
May 16 10:56:31.000 [notice] Tor 0.4.7.7 opening log file.
May 16 10:56:31.732 [notice] We compiled with OpenSSL 30000020: OpenSSL 3.0.2 15 Mar 2022 and we are running with OpenSSL 30000020: 3.0.2. These two versions should be binary compatible.
May 16 10:56:31.735 [notice] Tor 0.4.7.7 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.0.2, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.4.8 and Glibc 2.35 as libc.
May 16 10:56:31.735 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
May 16 10:56:31.735 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
May 16 10:56:31.735 [notice] Read configuration file "/etc/tor/torrc".
May 16 10:56:31.737 [notice] Based on detected system memory, MaxMemInQueues is set to 1482 MB. You can override this by setting MaxMemInQueues by hand.
May 16 10:56:31.737 [notice] By default, Tor does not run as an exit relay. If you want to be an exit relay, set ExitRelay to 1. To suppress this message in the future, set ExitRelay to 0.
May 16 10:56:31.738 [notice] Opening OR listener on 0.0.0.0:443
May 16 10:56:31.738 [notice] Opened OR listener connection (ready) on 0.0.0.0:443
May 16 10:56:31.738 [notice] Opening OR listener on [::]:443
May 16 10:56:31.738 [notice] Opened OR listener connection (ready) on [::]:443
May 16 10:56:31.738 [notice] Opening Directory listener on 0.0.0.0:80
May 16 10:56:31.738 [notice] Opened Directory listener connection (ready) on 0.0.0.0:80
May 16 10:56:32.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
May 16 10:56:32.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
May 16 10:56:32.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now.
May 16 10:56:33.000 [notice] Your Tor server's identity key fingerprint is 'xxx yyy'
May 16 10:56:33.000 [notice] Your Tor server's identity key ed25519 fingerprint is 'xxx yyy'
May 16 10:56:33.000 [notice] Bootstrapped 0% (starting): Starting
May 16 10:56:34.000 [notice] Starting with guard context "default"
============================================================ T= 1652691397
Tor 0.4.7.7 died: Caught signal 11
/usr/bin/tor(+0xee525)[0x55fc042a0525]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x178)[0x7f95f6f81898]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x178)[0x7f95f6f81898]
/lib/x86_64-linux-gnu/libc.so.6(+0x8945c)[0x7f95f6fe245c]
/lib/x86_64-linux-gnu/libc.so.6(+0x89770)[0x7f95f6fe2770]
May 16 10:56:37.000 [notice] Signaled readiness to systemd
/lib/x86_64-linux-gnu/libc.so.6(+0x94b31)[0x7f95f6fedb31]
/lib/x86_64-linux-gnu/libc.so.6(+0x126a00)[0x7f95f707fa00]
May 16 10:56:37.000 [notice] Tor 0.4.7.7 opening log file.
May 16 10:56:37.980 [notice] We compiled with OpenSSL 30000020: OpenSSL 3.0.2 15 Mar 2022 and we are running with OpenSSL 30000020: 3.0.2. These two versions should be binary compatible.
May 16 10:56:37.983 [notice] Tor 0.4.7.7 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.0.2, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.4.8 and Glibc 2.35 as libc.
May 16 10:56:37.983 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
May 16 10:56:37.983 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
May 16 10:56:37.983 [notice] Read configuration file "/etc/tor/torrc".
May 16 10:56:37.985 [notice] Based on detected system memory, MaxMemInQueues is set to 1482 MB. You can override this by setting MaxMemInQueues by hand.
May 16 10:56:37.985 [notice] By default, Tor does not run as an exit relay. If you want to be an exit relay, set ExitRelay to 1. To suppress this message in the future, set ExitRelay to 0.
May 16 10:56:37.986 [notice] Opening OR listener on 0.0.0.0:443
May 16 10:56:37.986 [notice] Opened OR listener connection (ready) on 0.0.0.0:443
May 16 10:56:37.986 [notice] Opening OR listener on [::]:443
May 16 10:56:37.986 [notice] Opened OR listener connection (ready) on [::]:443
May 16 10:56:37.986 [notice] Opening Directory listener on 0.0.0.0:80
May 16 10:56:37.986 [notice] Opened Directory listener connection (ready) on 0.0.0.0:80
May 16 10:56:38.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
May 16 10:56:38.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
May 16 10:56:38.000 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now.
May 16 10:56:39.000 [notice] Your Tor server's identity key fingerprint is 'xxx yyy'
May 16 10:56:39.000 [notice] Your Tor server's identity key ed25519 fingerprint is 'xxx yyy'
May 16 10:56:39.000 [notice] Bootstrapped 0% (starting): Starting
May 16 10:56:40.000 [notice] Starting with guard context "default"
============================================================ T= 1652691403
Tor 0.4.7.7 died: Caught signal 11
/usr/bin/tor(+0xee525)[0x55c6b753d525]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x178)[0x7f437b45c898]
May 16 10:56:43.000 [notice] Signaled readiness to systemd
/lib/x86_64-linux-gnu/libc.so.6(abort+0x178)[0x7f437b45c898]
/lib/x86_64-linux-gnu/libc.so.6(+0x8945c)[0x7f437b4bd45c]
/lib/x86_64-linux-gnu/libc.so.6(+0x89770)[0x7f437b4bd770]
/lib/x86_64-linux-gnu/libc.so.6(+0x94b31)[0x7f437b4c8b31]
/lib/x86_64-linux-gnu/libc.so.6(+0x126a00)[0x7f437b55aa00]
May 16 10:56:44.000 [notice] Tor 0.4.7.7 opening log file.
May 16 10:56:44.240 [notice] We compiled with OpenSSL 30000020: OpenSSL 3.0.2 15 Mar 2022 and we are running with OpenSSL 30000020: 3.0.2. These two versions should be binary compatible.
...
Setting #Sandbox 1
fixes it for me.