Bridge authority crashes on SIGHUP
Tonga has crashed twice, once on January 31, again when it was restarted on February 16: > Feb 16 06:25:01.238 [notice] Tor 0.2.2.22-alpha (git-21b3de6cf37d4e60) opening new log file. > Feb 16 06:25:01.327 [err] Unable to add own descriptor to directory: Skipping router descriptor: not in consensus. > Feb 16 06:25:01.327 [warn] options_act(): Bug: Error initializing keys; exiting > Feb 16 06:25:01.327 [err] set_options(): Bug: Acting on config options left us in a broken state. Dying. Both crashes were at the same time of day, and with identical log messages. Tonga is now running 0.2.1.29 again as a stopgap measure, but we need to find and fix this problem. The "Skipping router descriptor: not in consensus." message came from [src/or/routerlist.c line 3313](https://gitweb.torproject.org/tor.git/blob/refs/tags/tor-0.2.2.22-alpha:/src/or/routerlist.c#l3313), in router_add_to_routerlist. The only changes 'git blame' turned up earlier in that function that are present in 0.2.2.22-alpha and not in 0.2.1.29 were made in [9ca311f6 (Allow using regular relays as bridges)](https://gitweb.torproject.org/tor.git/commit/9ca311f6220cd52a0f8fcb3bc072cd9569bd1c6e).
issue