[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #4505 [TorDNSEL/TorBEL]: Torbel gets new stream event but no test currently running for that router



#4505: Torbel gets new stream event but no test currently running for that router
-----------------------------+----------------------------------------------
 Reporter:  Sebastian        |          Owner:     
     Type:  defect           |         Status:  new
 Priority:  normal           |      Milestone:     
Component:  TorDNSEL/TorBEL  |        Version:     
 Keywords:                   |         Parent:     
   Points:                   |   Actualpoints:     
-----------------------------+----------------------------------------------

Comment(by aagbsn):

 I encountered what I believe to be the same bug, but it manifested
 slightly differently. It also looks like there are 2 Tracebacks in
 different threads.

 {{{
 Traceback (most recent call last):
   File "/home/torbel/tor/TorCtl/TorCtl.py", line 712, in _eventLoop
     self._handleFn(timestamp, reply)
   File "/home/torbel/tor/TorCtl/TorCtl.py", line 1337, in _handle1
     self._map1.get(event.event_name, self.unknown_event)(event)
   File "/home/torbel/tor/torbel/controller.py", line 782, in
 stream_status_event
     event.strm_id, router.current_test.circ_id)
 AttributeError: 'NoneType' object has no attribute 'circ_id'
 Unhandled Error
 Traceback (most recent call last):
   File "/home/torbel/.virtualenvs/torbel/lib/python2.6/site-
 packages/twisted/python/log.py", line 84, in callWithLogger
     return callWithContext({"system": lp}, func, *args, **kw)
   File "/home/torbel/.virtualenvs/torbel/lib/python2.6/site-
 packages/twisted/python/log.py", line 69, in callWithContext
     return context.call({ILogContext: newCtx}, func, *args, **kw)
   File "/home/torbel/.virtualenvs/torbel/lib/python2.6/site-
 packages/twisted/python/context.py", line 118, in callWithContext
     return self.currentContext().callWithContext(ctx, func, *args, **kw)
   File "/home/torbel/.virtualenvs/torbel/lib/python2.6/site-
 packages/twisted/python/context.py", line 81, in callWithContext
     return func(*args,**kw)
 --- <exception caught here> ---
   File "/home/torbel/.virtualenvs/torbel/lib/python2.6/site-
 packages/twisted/internet/epollreactor.py", line 217, in _doReadOrWrite
     why = selectable.doRead()
   File "/home/torbel/.virtualenvs/torbel/lib/python2.6/site-
 packages/twisted/internet/tcp.py", line 460, in doRead
     rval = self.protocol.dataReceived(data)
   File "/home/torbel/tor/torbel/network.py", line 23, in dataReceived
     self.factory.handleTestData(self.transport, self.data)
   File "/home/torbel/tor/torbel/network.py", line 84, in handleTestData
     self.controller.passed(router, host.port)
   File "/home/torbel/tor/torbel/controller.py", line 348, in passed
     self.end_test(router)
   File "/home/torbel/tor/torbel/controller.py", line 327, in end_test
     self.test_cleanup(router)
   File "/home/torbel/tor/torbel/controller.py", line 411, in test_cleanup
     self.conn.close_circuit(test.circ_id, reason = "Test complete")
   File "/home/torbel/tor/TorCtl/TorCtl.py", line 1201, in close_circuit
     %(circid, reason, "".join(flags)))
   File "/home/torbel/tor/TorCtl/TorCtl.py", line 862, in sendAndRecv
     lines = self._sendImpl(self._doSend, msg)
   File "/home/torbel/tor/TorCtl/TorCtl.py", line 729, in _sendImpl
     raise self._closedEx
 exceptions.AttributeError: 'NoneType' object has no attribute 'circ_id'
 [Nov 17 13:15:14] torbel.network DEBUGVV  Connection from
 69.73.223.177:5190 lost: reason [Failure instance: Traceback (failure with
 no frames): <type 'exceptions.AttributeError'>: 'NoneType' object has no
 attribute 'circ_id'
 ].
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4505#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs