[tor-bugs] #7663 [Tor]: tor_pthread_helper_fn recv() infinite loop

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 7 18:49:40 UTC 2012


#7663: tor_pthread_helper_fn recv() infinite loop
-----------------------+----------------------------------------------------
 Reporter:  Safari     |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  normal     |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor        |        Version:  Tor: 0.2.4.5-alpha
 Keywords:  tor-relay  |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by Safari):

 Dec 07 20:39:08.000 [notice] Bootstrapped 90%: Establishing a Tor circuit.
 hangs there.

 Process 2077 attached with 3 threads
 [pid  2080] 20:43:31.606782 recvfrom(15,  <unfinished ...>
 [pid  2079] 20:43:31.606851 recvfrom(13,

 lrwx------ 1 root root 64 2012-12-07 20:43:25.248383201 +0200
 /proc/2077/fd/13 -> socket:[184985]

 # cat /proc/2077/fdinfo/13
 pos:    0
 flags:  02000002

 42e3c04a7a5fb47a97766e54c72885c5c2bf23a9 is the first bad commit
 commit 42e3c04a7a5fb47a97766e54c72885c5c2bf23a9
 Author: Mike Perry <mikeperry-git at fscked.org>
 Date:   Thu Oct 25 17:43:10 2012 -0700

     Bug 3443: Don't count ORconn setup in circuit build time.

     Also, add a hack Roger suggested where we're more patient if no
 circuits are
     opened yet.

 :040000 040000 aff26ec7f144f9434e2d19bf10813325eac18333
 f1f2c7576f1da20113a9c37f65fcfaaedfb84213 M      changes
 :040000 040000 45bdbd7389be2597b6846637a3363a285fe718dc
 438f6fd7f1c6ff5e6b987ebf0a1e778220606445 M      src

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


More information about the tor-bugs mailing list