[tor-bugs] #17701 [metrics-lib]: ExitList descriptor chokes on getUnrecognizedLines()

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 30 17:29:49 UTC 2015


#17701: ExitList descriptor chokes on getUnrecognizedLines()
-------------------------+-------------------------
 Reporter:  tomlurge     |          Owner:  karsten
     Type:  defect       |         Status:  new
 Priority:  Medium       |      Milestone:
Component:  metrics-lib  |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+-------------------------

Comment (by tomlurge):

 Changed error handler to {{{
 descriptorFile.getException().printStackTrace();}}} but to no avail.
 Just started my first foray into using a real debugger: what I can see and
 hopefully describe correctly is that for every other type of descriptors
 the code walks through every step of the {{{if (descriptor instanceof
 <someDescriptorType>)}}} switching logic _but_ for tordnsel descriptors it
 jumps from {{{for (Descriptor descriptor :
 descriptorFile.getDescriptors())}}} (line 75) straight to the line line
 befor {{{bw.close}}}. Just like that... That's "strange".

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


More information about the tor-bugs mailing list