[tor-bugs] #33668 [Core Tor/Tor]: --disable-module-relay yields to a Bug:

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 19 18:50:31 UTC 2020


#33668: --disable-module-relay yields to a Bug:
--------------------------------+------------------------------
 Reporter:  toralf              |          Owner:  (none)
     Type:  defect              |         Status:  new
 Priority:  Medium              |      Component:  Core Tor/Tor
  Version:  Tor: 0.4.3.3-alpha  |       Severity:  Normal
 Keywords:                      |  Actual Points:
Parent ID:                      |         Points:
 Reviewer:                      |        Sponsor:
--------------------------------+------------------------------
 At a hardened Gentoo Linux the configure option yields to a
 {{{
 # tor --verify-config
 Mar 19 19:44:35.839 [notice] Tor 0.4.3.3-alpha running on Linux with
 Libevent 2.1.8-stable, OpenSSL LibreSSL 3.0.2, Zlib 1.2.11, Liblzma 5.2.4,
 and Libzstd N/A.
 Mar 19 19:44:35.840 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Mar 19 19:44:35.840 [notice] This version is not a stable Tor release.
 Expect more bugs than usual.
 Mar 19 19:44:35.840 [notice] Read configuration file "/etc/tor/torrc".
 Mar 19 19:44:35.843 [err] tor_assertion_failed_(): Bug:
 src/app/config/config.c:1473: options_switch_id: Assertion have_low_ports
 != -1 failed; aborting. (on Tor 0.4.3.3-alpha )
 Mar 19 19:44:35.844 [err] Bug: Tor 0.4.3.3-alpha: Assertion have_low_ports
 != -1 failed in options_switch_id at src/app/config/config.c:1473: . Stack
 trace: (on Tor 0.4.3.3-alpha )
 Mar 19 19:44:35.845 [err] Bug:     tor(log_backtrace_impl+0x59)
 [0x5564677d3ab9] (on Tor 0.4.3.3-alpha )
 Mar 19 19:44:35.845 [err] Bug:     tor(tor_assertion_failed_+0x150)
 [0x5564677cecb0] (on Tor 0.4.3.3-alpha )
 Mar 19 19:44:35.845 [err] Bug:     tor(set_options+0x404) [0x5564677535d4]
 (on Tor 0.4.3.3-alpha )
 Mar 19 19:44:35.845 [err] Bug:     tor(+0x1648a0) [0x5564677548a0] (on Tor
 0.4.3.3-alpha )
 Mar 19 19:44:35.845 [err] Bug:     tor(options_init_from_string+0x119)
 [0x556467754af9] (on Tor 0.4.3.3-alpha )
 Mar 19 19:44:35.845 [err] Bug:     tor(options_init_from_torrc+0x359)
 [0x5564677550f9] (on Tor 0.4.3.3-alpha )
 Mar 19 19:44:35.845 [err] Bug:     tor(tor_init+0x1c7) [0x55646764ade7]
 (on Tor 0.4.3.3-alpha )
 Mar 19 19:44:35.846 [err] Bug:     tor(tor_run_main+0x71) [0x55646764b4e1]
 (on Tor 0.4.3.3-alpha )
 Mar 19 19:44:35.846 [err] Bug:     tor(tor_main+0x46) [0x55646764a006] (on
 Tor 0.4.3.3-alpha )
 Mar 19 19:44:35.846 [err] Bug:     tor(main+0x19) [0x556467649bd9] (on Tor
 0.4.3.3-alpha )
 Mar 19 19:44:35.846 [err] Bug:
 /lib64/libc.so.6(__libc_start_main+0xeb) [0x7ff9817b8f1b] (on Tor
 0.4.3.3-alpha )
 Mar 19 19:44:35.846 [err] Bug:     tor(_start+0x2a) [0x556467649c2a] (on
 Tor 0.4.3.3-alpha )
 Aborted
 }}}
 The same tarball at the same system works fine with that option being
 enabled.
 The config is
 {{{
 cat /etc/tor/torrc
 User tor
 PIDFile /var/run/tor/tor.pid
 Log notice file /tmp/notice.log
 DataDirectory /var/lib/tor/data

 CookieAuthentication 1
 ControlPort 9051

 SocksPort 9050

 SandBox 1
 }}}

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


More information about the tor-bugs mailing list