[tor-bugs] #14071 [metrics-lib]: BlockingIteratorImpl.hasNext waits forever

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 4 09:26:08 UTC 2015


#14071: BlockingIteratorImpl.hasNext waits forever
-----------------------------+----------------------
     Reporter:  iwakeh       |      Owner:  karsten
         Type:  defect       |     Status:  accepted
     Priority:  blocker      |  Milestone:
    Component:  metrics-lib  |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+----------------------

Comment (by iwakeh):

 It is not necessary to use the "new" Main class.

 I reproduced the problem using the old version on master.
 Just run the background app starting from scratch.
 And at some point there seems to be a data situation that
 the initial wait() in hasNext() is called, but no notifyAll() or notify()
 can occur later.

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


More information about the tor-bugs mailing list