[tor-bugs] #7164 [Core Tor/Tor]: microdesc.c:378: Bug: microdesc_free() called, but md was still referenced 1 node(s); held_by_nodes == 1

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 13 21:57:39 UTC 2016


#7164: microdesc.c:378: Bug: microdesc_free() called, but md was still referenced
1 node(s); held_by_nodes == 1
-------------------------------------------------+-------------------------
 Reporter:  jaj123                               |          Owner:
     Type:  defect                               |         Status:
 Priority:  High                                 |  needs_revision
Component:  Core Tor/Tor                         |      Milestone:  Tor:
 Severity:  Normal                               |  0.2.???
 Keywords:  tor-client 025-backport nickm-       |        Version:  Tor:
  should-review                                  |  0.2.4.19
Parent ID:                                       |     Resolution:
 Reviewer:                                       |  Actual Points:
                                                 |         Points:
                                                 |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by nickm):

 whoo, just hit this in 0.2.8, when starting up with a very old data
 directory.  It said:
 {{{
 Jul 13 11:46:43.000 [notice] Bootstrapped 100%: Done
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug: Microdescriptor
 seemed very old (last listed 1056 hours ago vs 168 hour cutoff), but is
 still marked as being held by 1 node(s). I found 1 node(s) holding it.
 Current networkstatus is 1 hours old. Hashtable badness is 0. (on Tor
 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug:   [0]:
 ID=3EFB929FA15E084A5F53C9C7A058C593A97DFD57. md=0x55b7d50ae050,
 rs=0x55b7d5443610, ri=(nil). Microdesc digest in RS matches. RS okay in
 networkstatus. (on Tor 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug: Microdescriptor
 seemed very old (last listed 1056 hours ago vs 168 hour cutoff), but is
 still marked as being held by 1 node(s). I found 1 node(s) holding it.
 Current networkstatus is 1 hours old. Hashtable badness is 0. (on Tor
 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug:   [0]:
 ID=179B10784BF8955C73313CCB195904AE133E5F53. md=0x55b7d50adc20,
 rs=0x55b7d5412f20, ri=(nil). Microdesc digest in RS matches. RS okay in
 networkstatus. (on Tor 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug: Microdescriptor
 seemed very old (last listed 1056 hours ago vs 168 hour cutoff), but is
 still marked as being held by 1 node(s). I found 1 node(s) holding it.
 Current networkstatus is 1 hours old. Hashtable badness is 0. (on Tor
 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug:   [0]:
 ID=1EA3292F7D9EB3A9CEBA0DE4C0C19895C7C449C5. md=0x55b7d5152820,
 rs=0x55b7d541af00, ri=(nil). Microdesc digest in RS matches. RS okay in
 networkstatus. (on Tor 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug: Microdescriptor
 seemed very old (last listed 1056 hours ago vs 168 hour cutoff), but is
 still marked as being held by 1 node(s). I found 1 node(s) holding it.
 Current networkstatus is 1 hours old. Hashtable badness is 0. (on Tor
 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug:   [0]:
 ID=7C0AA4E3B73E407E9F5FEB1912F8BE26D8AA124D. md=0x55b7d4f91a30,
 rs=0x55b7d548cde0, ri=(nil). Microdesc digest in RS matches. RS okay in
 networkstatus. (on Tor 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug: Microdescriptor
 seemed very old (last listed 1056 hours ago vs 168 hour cutoff), but is
 still marked as being held by 1 node(s). I found 1 node(s) holding it.
 Current networkstatus is 1 hours old. Hashtable badness is 0. (on Tor
 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug:   [0]:
 ID=E79699F226A6ED3B1D13B0F6B983D40779B8693E. md=0x55b7d50a9e90,
 rs=0x55b7d5513e50, ri=(nil). Microdesc digest in RS matches. RS okay in
 networkstatus. (on Tor 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug: Microdescriptor
 seemed very old (last listed 1056 hours ago vs 168 hour cutoff), but is
 still marked as being held by 1 node(s). I found 1 node(s) holding it.
 Current networkstatus is 1 hours old. Hashtable badness is 0. (on Tor
 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug:   [0]:
 ID=F378A4DD858B6B7BBB79C6EAB1CE6912AC0FF8BC. md=0x55b7d51523b0,
 rs=0x55b7d5522a20, ri=(nil). Microdesc digest in RS matches. RS okay in
 networkstatus. (on Tor 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug: Microdescriptor
 seemed very old (last listed 1056 hours ago vs 168 hour cutoff), but is
 still marked as being held by 1 node(s). I found 1 node(s) holding it.
 Current networkstatus is 1 hours old. Hashtable badness is 0. (on Tor
 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug:   [0]:
 ID=2679B51C906158F3DF4C59AFD73E2B1FDA6535E1. md=0x55b7d50aa890,
 rs=0x55b7d540d340, ri=(nil). Microdesc digest in RS matches. RS okay in
 networkstatus. (on Tor 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug: Microdescriptor
 seemed very old (last listed 1056 hours ago vs 168 hour cutoff), but is
 still marked as being held by 1 node(s). I found 1 node(s) holding it.
 Current networkstatus is 1 hours old. Hashtable badness is 0. (on Tor
 0.2.8.5-rc-dev )
 Jul 13 12:16:38.000 [warn] microdesc_cache_clean(): Bug:   [0]:
 ID=B870A9F8085D9D63541CA1C73C82C5D2827919F1. md=0x55b7d50ac210,
 rs=0x55b7d54daeb0, ri=(nil). Microdesc digest in RS matches. RS okay in
 networkstatus. (on Tor 0.2.8.5-rc-dev )
 Jul 13 17:46:38.000 [notice] Heartbeat: Tor's uptime is 5:59 hours, with 0
 circuits open. I've sent 527 kB and received 4.90 MB.
 }}}

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


More information about the tor-bugs mailing list