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

[tor-bugs] #26414 [Core Tor/Tor]: Assertion onionkey failed in get_onion_key



#26414: Assertion onionkey failed in get_onion_key
------------------------------+--------------------------------
     Reporter:  dgoulet       |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  regression
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 The following assert() happened when I made a tor client become also a
 relay (testing in chutney).

 Originally, as a client, only the `SocksPort` was set. Then I changed the
 torrc to have the `ORPort` and `DirPort` including the `ExitRelay 1`
 option. Upon the HUP of the process, this stacktrace appeared.

 {{{
 Jun 19 12:09:27.618 [err] tor_assertion_failed_(): Bug:
 src/or/router.c:202: get_onion_key: Assertion onionkey failed; aborting.
 (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug: Assertion onionkey failed in get_onion_key
 at src/or/router.c:202. Stack trace: (on Tor 0.3.5.0-alpha-dev
 f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     /usr/lib/x86_64-linux-
 gnu/libasan.so.4(+0x558c0) [0x7efeb074c8c0] (on Tor 0.3.5.0-alpha-dev
 f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(log_backtrace+0x45)
 [0x561dacedcca5] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:
 ../tor/src/or/tor(tor_assertion_failed_+0x103) [0x561dacf41873] (on Tor
 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(+0x787a36)
 [0x561dacb3ca36] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:
 ../tor/src/or/tor(router_build_fresh_descriptor+0x1d7a) [0x561dacb4c95a]
 (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:
 ../tor/src/or/tor(router_rebuild_descriptor+0x14f) [0x561dacb4dabf] (on
 Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:
 ../tor/src/or/tor(router_get_my_routerinfo_with_err+0x197)
 [0x561dacb4ddf7] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:
 ../tor/src/or/tor(check_descriptor_bandwidth_changed+0x26)
 [0x561dacb51646] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(+0x68fc1c)
 [0x561daca44c1c] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(+0x6f6a6a)
 [0x561dacaaba6a] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:
 ../tor/src/or/tor(rescan_periodic_events+0x1f9) [0x561daca4de29] (on Tor
 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:
 ../tor/src/or/tor(rend_service_prune_list+0xde0) [0x561dacb064d0] (on Tor
 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:
 ../tor/src/or/tor(hs_config_service_all+0x1fe5) [0x561dace68545] (on Tor
 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(set_options+0x5402)
 [0x561daccf8522] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:
 ../tor/src/or/tor(options_init_from_string+0x1206) [0x561daccffb56] (on
 Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:
 ../tor/src/or/tor(options_init_from_torrc+0x9cb) [0x561dacd00b8b] (on Tor
 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(+0x69a769)
 [0x561daca4f769] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     /usr/lib/x86_64-linux-
 gnu/libevent-2.1.so.6(+0x1e97a) [0x7efeaff0997a] (on Tor 0.3.5.0-alpha-dev
 f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     /usr/lib/x86_64-linux-
 gnu/libevent-2.1.so.6(event_base_loop+0x53f) [0x7efeaff0a33f] (on Tor
 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(do_main_loop+0x3fc)
 [0x561daca5120c] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(tor_run_main+0x535)
 [0x561daca54185] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(tor_main+0x86)
 [0x561daca40536] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(main+0x1c)
 [0x561daca3d2dc] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     /lib/x86_64-linux-
 gnu/libc.so.6(__libc_start_main+0xe7) [0x7efeade88b97] (on Tor 0.3.5.0
 -alpha-dev f3267741e45c7944)
 Jun 19 12:09:27.619 [err] Bug:     ../tor/src/or/tor(_start+0x2a)
 [0x561daca401ea] (on Tor 0.3.5.0-alpha-dev f3267741e45c7944)
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26414>
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