[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #21128 [Core Tor/Tor]: Bug: src/or/entrynodes.c:2266: entry_guard_failed: Non-fatal assertion !(*guard_state_p == NULL) failed. (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)



#21128: Bug: src/or/entrynodes.c:2266: entry_guard_failed: Non-fatal assertion
!(*guard_state_p == NULL) failed. (on Tor 0.3.0.0-alpha-dev
5a97a46e60c95b6f)
--------------------------+------------------------------------
 Reporter:  asn           |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.0.1-alpha
 Severity:  Normal        |     Resolution:
 Keywords:  tor-guard     |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Description changed by asn:

Old description:

> I was messing around with my state file to simulate various guard
> scenarios, and I ended up getting the following non-fatal assert. This
> happened when I replaced `confirmed_on=2016` with `confirmed_on=2014` in
> my state file, so that I test guard expiry:
>
> {{{
> Jan 03 14:09:42.000 [warn] Tried connecting to router at
> 91.219.236.222:443, but RSA identity key was not as expected: wanted
> EC413181CEB1C8EDC17608BBB177CD5FD8535E99 + no ed25519 key but got
> 20704E7DD51501DC303FA51B738D7B7E61397CF6 + no ed25519 key.
> Jan 03 14:09:42.000 [warn] tor_bug_occurred_(): Bug:
> src/or/entrynodes.c:2266: entry_guard_failed: Non-fatal assertion
> !(*guard_state_p == NULL) failed. (on Tor 0.3.0.0-alpha-dev
> 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug: Non-fatal assertion !(*guard_state_p ==
> NULL) failed in entry_guard_failed at src/or/entrynodes.c:2266. Stack
> trace: (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /usr/lib/x86_64-linux-
> gnu/libasan.so.1(backtrace+0x3a) [0x7f8a4383a48a] (on Tor 0.3.0.0-alpha-
> dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(log_backtrace+0x46) [0x7f8a451fa806] (on
> Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(tor_bug_occurred_+0x12f) [0x7f8a4524a6df]
> (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(entry_guard_chan_failed+0x1f3)
> [0x7f8a451bac43] (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(connection_or_client_learned_peer_id+0x8d7)
> [0x7f8a4510b3f7] (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(channel_tls_handle_var_cell+0x613b)
> [0x7f8a45015d3b] (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(+0x7faa0f) [0x7f8a45103a0f] (on Tor 0.3.0.0
> -alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(+0x7dc2f8) [0x7f8a450e52f8] (on Tor 0.3.0.0
> -alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(+0x57df56) [0x7f8a44e86f56] (on Tor 0.3.0.0
> -alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/libevent-2.0.so.5(event_base_loop+0x937)
> [0x7f8a430bc8d7] (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(do_main_loop+0x385) [0x7f8a44e88d75] (on
> Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(tor_main+0x1385) [0x7f8a44e8dbc5] (on Tor
> 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(main+0x1c) [0x7f8a44e7bddc] (on Tor 0.3.0.0
> -alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /lib/x86_64-linux-
> gnu/libc.so.6(__libc_start_main+0xf5) [0x7f8a41314b45] (on Tor 0.3.0.0
> -alpha-dev 5a97a46e60c95b6f)
> Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
> US/Browser/TorBrowser/Tor/tor(+0x574e9b) [0x7f8a44e7de9b] (on Tor 0.3.0.0
> -alpha-dev 5a97a46e60c95b6f)
> }}}
>
> The error message with the RSA identity key has nothing to do with
> `confirmed_on` so that was a bit surprising.

New description:

 I was messing around with my state file to simulate various guard
 scenarios, and I ended up getting the following non-fatal assert. This
 happened when I replaced `confirmed_on=2016` with `confirmed_on=2014` in
 my state file, so that I test guard expiry:

 {{{
 Jan 03 14:09:42.000 [warn] Tried connecting to router at
 91.219.236.222:443, but RSA identity key was not as expected: wanted
 EC413181CEB1C8EDC17608BBB177CD5FD8535E99 + no ed25519 key but got
 20704E7DD51501DC303FA51B738D7B7E61397CF6 + no ed25519 key.
 Jan 03 14:09:42.000 [warn] tor_bug_occurred_(): Bug:
 src/or/entrynodes.c:2266: entry_guard_failed: Non-fatal assertion
 !(*guard_state_p == NULL) failed. (on Tor 0.3.0.0-alpha-dev
 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug: Non-fatal assertion !(*guard_state_p ==
 NULL) failed in entry_guard_failed at src/or/entrynodes.c:2266. Stack
 trace: (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /usr/lib/x86_64-linux-
 gnu/libasan.so.1(backtrace+0x3a) [0x7f8a4383a48a] (on Tor 0.3.0.0-alpha-
 dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(log_backtrace+0x46) [0x7f8a451fa806] (on Tor
 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(tor_bug_occurred_+0x12f) [0x7f8a4524a6df]
 (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(entry_guard_chan_failed+0x1f3)
 [0x7f8a451bac43] (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(connection_or_client_learned_peer_id+0x8d7)
 [0x7f8a4510b3f7] (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(channel_tls_handle_var_cell+0x613b)
 [0x7f8a45015d3b] (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x7faa0f) [0x7f8a45103a0f] (on Tor 0.3.0.0
 -alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x7dc2f8) [0x7f8a450e52f8] (on Tor 0.3.0.0
 -alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x57df56) [0x7f8a44e86f56] (on Tor 0.3.0.0
 -alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/libevent-2.0.so.5(event_base_loop+0x937)
 [0x7f8a430bc8d7] (on Tor 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(do_main_loop+0x385) [0x7f8a44e88d75] (on Tor
 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(tor_main+0x1385) [0x7f8a44e8dbc5] (on Tor
 0.3.0.0-alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(main+0x1c) [0x7f8a44e7bddc] (on Tor 0.3.0.0
 -alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /lib/x86_64-linux-
 gnu/libc.so.6(__libc_start_main+0xf5) [0x7f8a41314b45] (on Tor 0.3.0.0
 -alpha-dev 5a97a46e60c95b6f)
 Jan 03 14:09:42.000 [warn] Bug:     /home/user/tor-browser_en-
 US/Browser/TorBrowser/Tor/tor(+0x574e9b) [0x7f8a44e7de9b] (on Tor 0.3.0.0
 -alpha-dev 5a97a46e60c95b6f)
 }}}

 This error message appeared on startup and the RSA identity key error
 message has nothing to do with `confirmed_on` so that was a bit
 surprising.

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21128#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs