[tor-bugs] #22879 [Core Tor/Tor]: Tor fails to start (assert)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 11 13:05:02 UTC 2017


#22879: Tor fails to start (assert)
---------------------------------+------------------------------------
 Reporter:  ram                  |          Owner:
     Type:  defect               |         Status:  needs_information
 Priority:  High                 |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor         |        Version:  Tor: 0.3.0.9
 Severity:  Normal               |     Resolution:
 Keywords:  030-backport tor-sr  |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+------------------------------------
Changes (by dgoulet):

 * status:  new => needs_information
 * priority:  Medium => High


Comment:

 The `sr_state_init()` can *NOT* be reached without `AuthoritativeDirectory
 1` and `V3AuthoritativeDirectory 1`.

 Furthermore, the assert() we are seeing here means that
 `get_my_v3_authority_cert()` sent back NULL meaning
 `authority_key_certificate = NULL`. This is set in `init_keys()` where we
 need `authdir_mode_v3()` to be true which is the same exact safeguard
 before the `sr_init()` call in main.c.

 I've tried those two options with tor and I do get this warning and tor
 exits as it is suppose to do.

 {{{
 Jul 11 09:02:07.000 [err] We're configured as a V3 authority, but we were
 unable to load our v3 authority keys and certificate! Use tor-gencert to
 generate them. Dying.
 }}}

 So yeah two things, your torrc options would be very important to have and
 then if you can any prior logging.

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


More information about the tor-bugs mailing list