Opened 8 years ago

Closed 4 years ago

#4832 closed defect (worksforme)

Assertion server_mode(get_options()) failed

Reported by: arma Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: 0.2.2.35
Severity: Keywords: tor-relay
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Tor 0.2.2.35 running on Ubuntu, configured by Vidalia to be a relay (but it couldn't save the torrc since it's owned by root), gets hupped and reverts to its default torrc file. Shortly after, it triggers an assert:

1 05 07:56:50.367 [Notice] Received reload signal (hup). Reloading config and resetting internal state.
1 05 07:56:50.447 [Notice] Closing no-longer-configured OR listener on 0.0.0.0:9001
1 05 07:56:50.448 [Notice] Closing no-longer-configured Directory listener on 0.0.0.0:9030
1 05 07:56:50.448 [Notice] Closing old OR listener on 0.0.0.0:9001
1 05 07:56:50.448 [Notice] Closing old Directory listener on 0.0.0.0:9030
1 05 07:57:20.759 [Error] get_server_identity_key(): Bug: router.c:164: get_server_identity_key: Assertion server_mode(get_options()) failed; aborting.

This reminds me of #2235 but apparently it's different.

Reported by 'Davis' on #tor. I've asked him to set up his tor for cores, and get us a bt when it happens again.

Child Tickets

Change History (6)

comment:1 Changed 8 years ago by arma

See #4833 for the corresponding Vidalia bug, which is that Vidalia doesn't tell Tor that sighup shouldn't overwrite the changes it made but couldn't save.

comment:2 Changed 7 years ago by nickm

Status: newneeds_information

Calling this "needs_information" ; it'll need clever investigation, or a core.

comment:3 Changed 7 years ago by nickm

Milestone: Tor: 0.2.2.x-finalTor: unspecified

comment:4 Changed 7 years ago by nickm

Keywords: tor-relay added

comment:5 Changed 7 years ago by nickm

Component: Tor RelayTor

comment:6 Changed 4 years ago by nickm

Resolution: worksforme
Status: needs_informationclosed

Haven't been reported in 3 years.

Note: See TracTickets for help on using tickets.