[tor-bugs] #7799 [Tor]: Tor seems to build+timeout circuits for hours when offline/idle

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 30 14:39:02 UTC 2012


#7799: Tor seems to build+timeout circuits for hours when offline/idle
--------------------+-------------------------------------------------------
 Reporter:  mr-4    |          Owner:                    
     Type:  defect  |         Status:  new               
 Priority:  normal  |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor     |        Version:  Tor: 0.2.4.7-alpha
 Keywords:          |         Parent:                    
   Points:          |   Actualpoints:                    
--------------------+-------------------------------------------------------

Comment(by mr-4):

 Nick's time-limiting patch fails to apply against .7-alpha so I had to
 modify it a bit. I am going to attach the modified patch at the end.

 Even with the modified patch I couldn't build tor as I was getting the
 following error during compilation:

 src/or/circuituse.c: In function 'circuit_expire_building':
 src/or/circuituse.c:484: error: too many arguments to function
 'num_live_entry_guards'
 make[1]: *** [src/or/circuituse.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: Leaving directory `/builddir/build/BUILD/tor-0.2.4.7-alpha'
 make: *** [all] Error 2
 error: Bad exit status from /var/tmp/rpm-tmp.5zPBZe (%build)

 It seems the problem was with "num_live_entry_guards" which in .7-alpha
 doesn't take any arguments, but in Nick's patch it is executed as
 "num_live_entry_guards(0)". I did change that as well.

 After rebuilding tor with bufferevents disabled, the situation is much
 more manageable - I am attaching a short log, covering the overnight
 period. There are no Bug #7472 messages in the log either (understandable,
 since bufferevents has been disabled). If you need anything else from me
 let me know...

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


More information about the tor-bugs mailing list