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

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 11 12:53:58 UTC 2017


#22879: Tor fails to start (assert)
---------------------------------+------------------------------------
 Reporter:  ram                  |          Owner:
     Type:  defect               |         Status:  new
 Priority:  Medium               |      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):

 * cc: dgoulet (removed)


Old description:

> Compiled tor from source, tried both the Gitlab and the tarball from this
> site, both 0.3.0.9.  When I try to run tor it exits at ~80% with the
> following error message
>
> Machine : Linux t1 2.6.32-042stab120.5 #1 SMP Tue Oct 25 22:31:12 MSK
> 2016 x86_64 x86_64 x86_64 GNU/Linux
>
> OpenSSL: tor-0.3.0.9# openssl version
> OpenSSL 1.0.1f 6 Jan 2014
>

>
> Jul 11 02:59:45.000 [err] tor_assertion_failed_(): Bug:
> src/or/shared_random.c:922: sr_generate_our_commit: Assertion my_rsa_cert
> failed; aborting. (on Tor 0.3.0.9 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug: Assertion my_rsa_cert failed in
> sr_generate_our_commit at src/or/shared_random.c:922. Stack trace: (on
> Tor 0.3.0.9 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug:     tor(log_backtrace+0x42)
> [0x7f1b32ea7d02] (on Tor 0.3.0.9 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug:     tor(tor_assertion_failed_+0x94)
> [0x7f1b32ebf4b4] (on Tor 0.3.0.9 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug:     tor(sr_generate_our_commit+0x40e)
> [0x7f1b32db013e] (on Tor 0.3.0.9 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug:     tor(sr_state_update+0x245)
> [0x7f1b32db2c55] (on Tor 0.3.0.9 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug:     tor(sr_state_init+0x8c)
> [0x7f1b32db310c] (on Tor 0.3.0.9 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug:     tor(do_main_loop+0x312)
> [0x7f1b32d9b832] (on Tor 0.3.0.9 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug:     tor(tor_main+0x1c25) [0x7f1b32d9ee05]
> (on Tor 0.3.0.9 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug:     tor(main+0x19) [0x7f1b32d97299] (on
> Tor 0.3.0.9 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug:     /lib/x86_64-linux-
> gnu/libc.so.6(__libc_start_main+0xf5) [0x7f1b317c8f45] (on Tor 0.3.0.9
> 22b3bf094e327093)
> Jul 11 02:59:45.000 [err] Bug:     tor(+0x462eb) [0x7f1b32d972eb] (on Tor
> 0.3.0.9 22b3bf094e327093)

New description:

 Compiled tor from source, tried both the Gitlab and the tarball from this
 site, both 0.3.0.9.  When I try to run tor it exits at ~80% with the
 following error message

 Machine : Linux t1 2.6.32-042stab120.5 #1 SMP Tue Oct 25 22:31:12 MSK 2016
 x86_64 x86_64 x86_64 GNU/Linux

 OpenSSL: tor-0.3.0.9# openssl version
 OpenSSL 1.0.1f 6 Jan 2014

 {{{
 Jul 11 02:59:45.000 [err] tor_assertion_failed_(): Bug:
 src/or/shared_random.c:922: sr_generate_our_commit: Assertion my_rsa_cert
 failed; aborting. (on Tor 0.3.0.9 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug: Assertion my_rsa_cert failed in
 sr_generate_our_commit at src/or/shared_random.c:922. Stack trace: (on Tor
 0.3.0.9 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug:     tor(log_backtrace+0x42)
 [0x7f1b32ea7d02] (on Tor 0.3.0.9 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug:     tor(tor_assertion_failed_+0x94)
 [0x7f1b32ebf4b4] (on Tor 0.3.0.9 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug:     tor(sr_generate_our_commit+0x40e)
 [0x7f1b32db013e] (on Tor 0.3.0.9 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug:     tor(sr_state_update+0x245)
 [0x7f1b32db2c55] (on Tor 0.3.0.9 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug:     tor(sr_state_init+0x8c)
 [0x7f1b32db310c] (on Tor 0.3.0.9 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug:     tor(do_main_loop+0x312)
 [0x7f1b32d9b832] (on Tor 0.3.0.9 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug:     tor(tor_main+0x1c25) [0x7f1b32d9ee05]
 (on Tor 0.3.0.9 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug:     tor(main+0x19) [0x7f1b32d97299] (on Tor
 0.3.0.9 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug:     /lib/x86_64-linux-
 gnu/libc.so.6(__libc_start_main+0xf5) [0x7f1b317c8f45] (on Tor 0.3.0.9
 22b3bf094e327093)
 Jul 11 02:59:45.000 [err] Bug:     tor(+0x462eb) [0x7f1b32d972eb] (on Tor
 0.3.0.9 22b3bf094e327093)
 }}}

--

Comment:

 (Small change in the description so we can read the stacktrace properly)

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


More information about the tor-bugs mailing list