[tor-bugs] #8962 [Core Tor/Tor]: pathbias_count_use_attempt strange path state log lines

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 2 19:51:34 UTC 2016


#8962: pathbias_count_use_attempt strange path state log lines
--------------------------+-----------------------------------
 Reporter:  jefnag        |          Owner:
     Type:  defect        |         Status:  needs_information
 Priority:  Medium        |      Milestone:  Tor: 0.2.???
Component:  Core Tor/Tor  |        Version:  Tor: 0.2.5.8-rc
 Severity:  Normal        |     Resolution:
 Keywords:  tor-client    |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+-----------------------------------

Comment (by teor):

 Replying to [comment:10 hira]:
 > I am seeing this exact same message while fetching sites using pycurl
 (with a custom circuit made using stem). I have tor version v0.2.4.27 and
 the message goes something like this:
 >
 >
 > {{{
 > Mar 20 16:15:59.000 [notice] Bootstrapped 100%: Done.
 > Mar 20 16:17:16.000 [notice] New control connection opened.
 > Mar 20 16:17:19.000 [notice] pathbias_count_use_attempt(): Bug: Used
 circuit is in strange path state new. Circuit is a General-purpose client
 currently open.
 > Mar 20 16:17:20.000 [notice] pathbias_mark_use_success(): Bug: Used
 circuit 5 is in strange path state new. Circuit is a General-purpose
 client currently open.
 > Mar 20 16:17:20.000 [notice] pathbias_count_use_attempt(): Bug: Used
 circuit is in strange path state new. Circuit is a General-purpose client
 currently open.
 >
 >
 > }}}
 >
 >

 Custom circuits often trigger this bug, because of
 `__LeaveStreamsUnattached 1` (I think, or it's something else to do with
 control-port based circuit building).
 When I am building paths myself, I set `UseEntryGuards 0` to work around
 this.
 (This disables the pathbias detector.)
 But that doesn't work for the general case.

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


More information about the tor-bugs mailing list