Opened 4 weeks ago

Last modified 4 weeks ago

#30916 new defect

assert in dimap_add_entry()

Reported by: dgoulet Owned by:
Priority: Medium Milestone: Tor: 0.4.2.x-final
Component: Core Tor/Tor Version: Tor:
Severity: Normal Keywords: crash
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


From tor-relays@:

The stack trace is:

Jun 18 13:33:31.000 [notice] Bootstrapped 0%: Starting
Jun 18 13:33:32.000 [notice] Starting with guard context "default"

============================================================ T= 1560854012
INTERNAL ERROR: Raw assertion failed at ../src/lib/ctime/di_ops.c:179: ! 
Jun 18 13:33:33.000 [notice] Tor opening log file.

It appears that tor tried to add the same value in the di_digest256_map_t twice.

Logs indicate

Child Tickets

Change History (1)

comment:1 Changed 4 weeks ago by nickm

I think this is probably caused by having an ntor key stored as the "old ntor key" before it is removed as the "current ntor key". For a workaround, removing secret_onion_key_ntor.old should be sufficient.

Note: See TracTickets for help on using tickets.