[tor-bugs] #24977 [- Select a component]: Non-fatal assertion !(tor_mem_is_zero((const char*)node->hsdir_index->fetch, DIGEST256_LEN))

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 23 14:00:00 UTC 2018


#24977: Non-fatal assertion !(tor_mem_is_zero((const
char*)node->hsdir_index->fetch, DIGEST256_LEN))
--------------------------------------+--------------------------------
     Reporter:  asn                   |      Owner:  (none)
         Type:  defect                |     Status:  new
     Priority:  Medium                |  Milestone:  Tor: 0.3.3.x-final
    Component:  - Select a component  |    Version:  Tor: 0.3.2.1-alpha
     Severity:  Normal                |   Keywords:  tor-hs prop224
Actual Points:                        |  Parent ID:
       Points:  1                     |   Reviewer:
      Sponsor:                        |
--------------------------------------+--------------------------------
 This one is back, since pre-release days of hsv3. Something makes it such
 that the hsdir index is not well set for some relays.

 I got this to happen on my hsv3 service a few weeks ago. I got it a few
 times on the same second for the same node, and then it got fixed... There
 were no other references to that node (or its fpr) before that.

 {{{
 Jan 04 21:30:54.000 [warn] tor_bug_occurred_(): Bug:
 src/or/hs_common.:1277: node_has_hsdir_index: Non-fatal assertion
 !(tor_mem_is_zero((const char*)node->hsdir_index->fetch, DIGEST256_LEN))
 failed. (on Tor 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug: Non-fatal assertion
 !(tor_mem_is_zero((const char*)node->hsdir_index->fetch, DIGEST256_LEN))
 failed in node_has_hsdir_index at src/or/hs_common.c:1277. Stack trace:
 (on Tor 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:     ./tor/src/or/tor(log_backtrace+0x42)
 [0x7f6079a21db2] (on Tor 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:
 ./tor/src/or/tor(tor_bug_occurred_+0xb7) [0x7f6079a3cc57] (on Tor 0.3.2.6
 -alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:
 ./tor/src/or/tor(hs_get_responsible_hsdirs+0x4f9) [0x7f6079a046c9] (on Tor
 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:
 ./tor/src/or/tor(hs_service_run_scheduled_events+0x1a5b) [0x7f6079a11c5b]
 (on Tor 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:     ./tor/src/or/tor(+0x4b9f1)
 [0x7f60798ed9f1] (on Tor 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:     ./tor/src/or/tor(+0x6b4f0)
 [0x7f607990d4f0] (on Tor 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:     /usr/lib/x86_64-linux-
 gnu/libevent-2.0.so.5(event_base_loop+0x7fc) [0x7f6078f253dc] (on Tor
 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:     ./tor/src/or/tor(do_main_loop+0x244)
 [0x7f60798f0eb4] (on Tor 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:     ./tor/src/or/tor(tor_main+0x1c25)
 [0x7f60798f46f5] (on Tor 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:     ./tor/src/or/tor(main+0x19)
 [0x7f60798ec629] (on Tor 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:     /lib/x86_64-linux-
 gnu/libc.so.6(__libc_start_main+0xf1) [0x7f60781182b1] (on Tor 0.3.2.6
 -alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [warn] Bug:     ./tor/src/or/tor(_start+0x2a)
 [0x7f60798ec67a] (on Tor 0.3.2.6-alpha-dev b6fd78ea301bd089)
 Jan 04 21:30:55.000 [info] hs_get_responsible_hsdirs(): Node
 $EEC47B34F9403AA7F765D070BB3011E50A373C21~ivanmk2 at 185.22.173.162 was
 found without hsdir index.
 Jan 04 21:30:55.000 [info] run_upload_descriptor_event(): Initiating
 upload for hidden service current descriptor for service onion with 3/3
 introduction points.
 }}}

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


More information about the tor-bugs mailing list