[tor-bugs] #26412 [Core Tor/Stem]: KeyError in can_exit_to caused by lru_cache

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 20 19:39:02 UTC 2018


#26412: KeyError in can_exit_to caused by lru_cache
---------------------------+------------------------
 Reporter:  juga           |          Owner:  atagar
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:  tor-bwauth     |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------

Comment (by pastly):

 I'm running a little toy script that kinda sorta behaves like sbws in
 hopes that I can reproduce this. I have been doing so for 24 hours or so
 now.

 I'm also running sbws 0.4.2-dev through a very limited Tor client with
 `BandwidthRate 500 KBytes` set, and have been doing so for 24 hours.

 I'm doing all of this with Python 3.4.8, 3.5.3, and 3.6.5.

 I will do this for a few more days. If I don't get these errors, I will
 switch sbws to the version it was at when these KeyErrors were happening.
 Of note, at that time we were getting exit policies from micro descriptors
 but now we get them from server descriptors.

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


More information about the tor-bugs mailing list