[tor-bugs] #24454 [Core Tor/Tor]: sandbox failure on arm64

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 5 20:57:23 UTC 2018


#24454: sandbox failure on arm64
-------------------------------------------------+-------------------------
 Reporter:  weasel                               |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.2.5-alpha
 Severity:  Normal                               |     Resolution:
 Keywords:  033-must, crash, sandbox,            |  Actual Points:
  033-triage-20180320, 033-included-20180320     |
Parent ID:                                       |         Points:
 Reviewer:  ahf                                  |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by ahf):

 Got an arm64 machine up and running:

 For the patches to compile and build I had to cherry-pick
 15b41fa6ae6a1356d5453242ccb7d7d301dd5e67 from #24424

 When the patches is applied Tor no longer crashes with the sandbox error
 above, but things are a bit fishy:

 {{{
 $ ./src/or/tor Sandbox 1
 Apr 05 20:52:43.368 [notice] Tor 0.2.9.15-dev (git-30bad392315558e7)
 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.0h and Zlib
 1.2.8.
 Apr 05 20:52:43.368 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Apr 05 20:52:43.368 [notice] Configuration file "/usr/local/etc/tor/torrc"
 not present, using reasonable defaults.
 Apr 05 20:52:43.386 [notice] Opening Socks listener on 127.0.0.1:9050
 Apr 05 20:52:43.000 [notice] Bootstrapped 0%: Starting
 Apr 05 20:52:45.000 [warn] Error replacing "/home/ahf/.tor/cached-
 microdescs": Function not implemented
 Apr 05 20:52:45.000 [warn] Error rebuilding microdescriptor cache:
 Function not implemented
 Apr 05 20:52:45.000 [warn] Error replacing "/home/ahf/.tor/cached-
 microdescs": Function not implemented
 Apr 05 20:52:45.000 [warn] Error rebuilding microdescriptor cache:
 Function not implemented
 Apr 05 20:52:45.000 [notice] Bootstrapped 5%: Connecting to directory
 server
 Apr 05 20:52:45.000 [notice] Bootstrapped 10%: Finishing handshake with
 directory server
 Apr 05 20:52:45.000 [notice] Bootstrapped 15%: Establishing an encrypted
 directory connection
 Apr 05 20:52:45.000 [notice] Bootstrapped 20%: Asking for networkstatus
 consensus
 Apr 05 20:52:45.000 [notice] Bootstrapped 25%: Loading networkstatus
 consensus
 Apr 05 20:52:47.000 [warn] Error replacing "/home/ahf/.tor/unverified-
 microdesc-consensus": Function not implemented
 Apr 05 20:52:47.000 [notice] I learned some more directory information,
 but not enough to build a circuit: We have no usable consensus.
 Apr 05 20:52:47.000 [warn] Error replacing "/home/ahf/.tor/state":
 Function not implemented
 Apr 05 20:52:47.000 [warn] Unable to write state to file
 "/home/ahf/.tor/state"; will try again later
 Apr 05 20:52:47.000 [notice] Bootstrapped 40%: Loading authority key certs
 Apr 05 20:52:47.000 [warn] Error replacing "/home/ahf/.tor/cached-certs":
 Function not implemented
 Apr 05 20:52:47.000 [warn] Error writing certificates to disk.
 Apr 05 20:52:48.000 [warn] Failed to unlink /home/ahf/.tor/unverified-
 microdesc-consensus: No such file or directory
 Apr 05 20:52:48.000 [warn] Error replacing "/home/ahf/.tor/cached-
 microdesc-consensus": Function not implemented
 Apr 05 20:52:48.000 [notice] Bootstrapped 80%: Connecting to the Tor
 network
 Apr 05 20:52:48.000 [notice] Bootstrapped 85%: Finishing handshake with
 first hop
 Apr 05 20:52:48.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
 Apr 05 20:52:49.000 [notice] Tor has successfully opened a circuit. Looks
 like client functionality is working.
 Apr 05 20:52:49.000 [notice] Bootstrapped 100%: Done
 ^CApr 05 20:52:52.000 [notice] Interrupt: exiting cleanly.
 Apr 05 20:52:52.000 [warn] Error replacing "/home/ahf/.tor/state":
 Function not implemented
 Apr 05 20:52:52.000 [warn] Unable to write state to file
 "/home/ahf/.tor/state"; will try again later
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24454#comment:16>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list