[tor-bugs] #11516 [Onionoo]: Invalid dates in relays_published and bridges_published fields

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 17 09:04:10 UTC 2014


#11516: Invalid dates in relays_published and bridges_published fields
-------------------------+---------------------
     Reporter:  karsten  |      Owner:  karsten
         Type:  defect   |     Status:  new
     Priority:  major    |  Milestone:
    Component:  Onionoo  |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+---------------------

Comment (by karsten):

 This was difficult to debug, but I think I found the bug: we're now using
 a single `SimpleDateFormat` instance per date pattern, but it turns out
 that `SimpleDateFormat` is not thread-safe.  Changed to creating a new
 `SimpleDateFormat` instance for each usage and re-deployed.  Let's see if
 this fixes the problem.

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


More information about the tor-bugs mailing list