Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#2235 closed defect (fixed)

Assertion server_identitykey failed

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


I'm running Tor (git-1988927edecce4c7), installed as Debian package from Tor's repository. My torrc looks like:

ORPort 443
Nickname AsThisIsABridgeIDonTMentionIt
RelayBandwidthRate 40 KB
RelayBandwidthBurst 100 KB
AccountingMax 342 GB
AccountingStart month 3 15:00
ContactInfo Jens Kubieziel <>
BridgeRelay 1
ExitPolicy reject *:*
mapaddress  p4fsi4ockecnea7l.onion

Now I set additionally ClientOnly 1 and restarted the Tor software and got the following message:

Dec 03 16:52:04.237 [notice] Tor (git-1988927edecce4c7) opening log file.
Dec 03 16:52:04.245 [notice] Based on 630 circuit times, it looks like we don't need to wait so long for circuits to finish. We will now assume a circuit is too slow to use after waiting 18 seconds.
Dec 03 16:52:04.276 [notice] OpenSSL OpenSSL 0.9.8g 19 Oct 2007 [90807f] looks like it's older than 0.9.8l, but some vendors have backported 0.9.8l's renegotiation code to earlier versions, and some have backported the code from 0.9.8m or 0.9.8n.  I'll set both SSL3_FLAGS and SSL_OP just to be safe.
Dec 03 16:52:04.335 [err] get_server_identity_key(): Bug: router.c:164: get_server_identity_key: Assertion server_identitykey failed; aborting.

plus some core file in /var/lib/tor.

Everytime when I restart the software the same message is printed. If I remove the ClientOnly entry Tor as I would expect.

Child Tickets

Change History (8)

comment:1 Changed 10 years ago by qbi

The last sentence should read: "… Tor starts as …"

comment:2 Changed 10 years ago by nickm

Any backtrace from that core file?

comment:3 Changed 10 years ago by nickm

(boboper on IRC says, "accounting_set_wakeup_time() is hero of 2235. isn't?". Worth investigating)

comment:4 Changed 10 years ago by qbi

only that unuseful stuff:

# gdb tor core
(no debugging symbols found)

warning: Lowest section in system-supplied DSO at 0xffffe000 is .hash at ffffe0b4
(no debugging symbols found)
Core was generated by `/usr/sbin/tor'.
Program terminated with signal 6, Aborted.
[New process 6122]
#0  0xf7c99556 in ?? ()
(gdb) bt
#0  0xf7c99556 in ?? ()

comment:5 Changed 10 years ago by nickm

Hm. Is there a debugging symbols library you need to install to get a backtrace out of the tor file? tor-debug or tor-dbg or something, maybe?

comment:6 Changed 10 years ago by nickm

Resolution: fixed
Status: newclosed

Okay; I think there's a fix now. c0f1517d87d0c858b should fix it. Please let us know if it doesn't.

comment:7 Changed 8 years ago by nickm

Keywords: tor-relay added

comment:8 Changed 8 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.