[tor-bugs] #21027 [Core Tor/Tor]: tor_bug_occurred_(): Bug: src/or/entrynodes.c:816: entry_guard_add_to_sample_impl: Non-fatal assertion !(have_sampled_guard_with_id(gs, rsa_id_digest)) failed. (on Tor 0.3.0.0-alpha-dev 8b75261b6dc341de)

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 18 21:21:08 UTC 2016


#21027: tor_bug_occurred_(): Bug: src/or/entrynodes.c:816:
entry_guard_add_to_sample_impl: Non-fatal assertion
!(have_sampled_guard_with_id(gs, rsa_id_digest)) failed. (on Tor 0.3.0.0
-alpha-dev 8b75261b6dc341de)
------------------------------+------------------------------------------
     Reporter:  asn           |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.0.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-guard, tor-guards-revamp
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------------------
 Hey,

 I've been running an oldish version of the guard branch on my tor browser.
 Top commit is `2767ae18064a879218` plus some extra logging code of mine.

 I used Tor with guards and in my logs the following appeared:
 {{{
 Dec 18 01:10:04.000 [warn] tor_bug_occurred_(): Bug:
 src/or/entrynodes.c:816: entry_guard_add_to_sample_impl: Non-fatal
 assertion !(have_sampled_guard_with_id(gs, rsa_id_digest)) failed. (on Tor
 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug: Non-fatal assertion
 !(have_sampled_guard_with_id(gs, rsa_id_digest)) failed in
 entry_guard_add_to_sample_impl at src/or/entrynodes.c:816. Stack trace:
 (on Tor 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /usr/lib/x86_64-linux-
 gnu/libasan.so.1(backtrace+0x3a) [0x7f0cde5be48a] (on Tor 0.3.0.0-alpha-
 dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(log_backtrace+0x46) [0x7f0cdff74dc6] (on Tor
 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(tor_bug_occurred_+0x12f) [0x7f0cdffc4c1f]
 (on Tor 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x8a249a) [0x7f0cdff2f49a] (on Tor 0.3.0.0
 -alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x8a3b5c) [0x7f0cdff30b5c] (on Tor 0.3.0.0
 -alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x8a500f) [0x7f0cdff3200f] (on Tor 0.3.0.0
 -alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(entry_guards_update_all+0x10f0)
 [0x7f0cdff379e0] (on Tor 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(guards_update_all+0x83) [0x7f0cdff43cc3] (on
 Tor 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(set_options+0x62af) [0x7f0cdfe2521f] (on Tor
 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(options_trial_assign+0xb3) [0x7f0cdfe28693]
 (on Tor 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x803aff) [0x7f0cdfe90aff] (on Tor 0.3.0.0
 -alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(connection_control_process_inbuf+0xdcd)
 [0x7f0cdfe9df9d] (on Tor 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x7cb938) [0x7f0cdfe58938] (on Tor 0.3.0.0
 -alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x56f716) [0x7f0cdfbfc716] (on Tor 0.3.0.0
 -alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/libevent-2.0.so.5(event_base_loop+0x937)
 [0x7f0cdde408d7] (on Tor 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(do_main_loop+0x385) [0x7f0cdfbfe535] (on Tor
 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(tor_main+0x1385) [0x7f0cdfc03385] (on Tor
 0.3.0.0-alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(main+0x1c) [0x7f0cdfbf16dc] (on Tor 0.3.0.0
 -alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /lib/x86_64-linux-
 gnu/libc.so.6(__libc_start_main+0xf5) [0x7f0cdc098b45] (on Tor 0.3.0.0
 -alpha-dev 8b75261b6dc341de)
 Dec 18 01:10:04.000 [warn] Bug:     /home/f/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x56665b) [0x7f0cdfbf365b] (on Tor 0.3.0.0
 -alpha-dev 8b75261b6dc341de)
 }}}

 I've since restarted Tor to use git master, will update the ticket
 accordingly. Perhaps the above traceback is enough to identify the issue
 anyway.

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


More information about the tor-bugs mailing list