[tor-bugs] #33781 [Core Tor/Tor]: DocTor chokes on malformed dirreq-stats-end line

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 1 13:03:59 UTC 2020


#33781: DocTor chokes on malformed dirreq-stats-end line
------------------------------+--------------------
     Reporter:  gk            |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 I started to get a bunch of emails going like this:
 {{{
 Unable to retrieve the present extrainfo descriptors...

 source: http://171.25.193.9:443/tor/extra/all
 time: 04/01/2020 11:35
 error: Malformed dirreq-stats-end line: dirreq-stats-end 2020-03-30
 21:23:53 (86400 s)
 }}}
 Upon inspection it turns out that the lines in question contain an `^M` at
 the end which is likely to cause the problem.

 It's not clear to me where the bug exactly is, meaning where it should get
 fixed. I thought maybe `stem` is not lenient enough here and teor
 suggested it's a `tor` bug. Thus, I am filing it here. Attached is the
 extra info descriptor DocTor is choking on. For some reason not all lines
 end on a `^M` which is kind of surprising.

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


More information about the tor-bugs mailing list