[tor-bugs] #31810 [Core Tor]: Bug: ../src/lib/process/process_unix.c:265: process_unix_exec: Assertion line should be unreached failed; aborting.

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 20 01:33:15 UTC 2019


#31810: Bug: ../src/lib/process/process_unix.c:265: process_unix_exec: Assertion
line should be unreached failed; aborting.
--------------------------------------+------------------------------------
 Reporter:  Parckwart                 |          Owner:  ahf
     Type:  defect                    |         Status:  assigned
 Priority:  Medium                    |      Milestone:  Tor: 0.4.2.x-final
Component:  Core Tor                  |        Version:  Tor: 0.4.1.5
 Severity:  Normal                    |     Resolution:
 Keywords:  042-must, 041-regression  |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+------------------------------------

Comment (by Parckwart):

 Sorry, I wasn't aware of 0.4.1.6 beacause it's not yet on
 deb.torproject.org.

 I don't know how to trigger this bug and I wasn't able to reproduce it
 with 0.4.1.6 (manually compiled), however I was able to reproduce with the
 current git version:


 {{{
 Sep 20 03:08:47 jennis Tor[30798]: Tor 0.4.2.1-alpha-dev (git-
 e6c5b248aea3e70e) running on Linux with Libevent 2.1.8-stable, OpenSSL
 1.1.1c, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
 Sep 20 03:08:47 jennis Tor[30798]: Tor can't help you if you use it wrong!
 Learn how to be safe at
 https://www.torproject.org/download/download#warning
 Sep 20 03:08:47 jennis Tor[30798]: This version is not a stable Tor
 release. Expect more bugs than usual.
 Sep 20 03:08:47 jennis Tor[30798]: Read configuration file "/usr/share/tor
 /tor-service-defaults-torrc".
 Sep 20 03:08:47 jennis Tor[30798]: Read configuration file
 "/etc/tor/torrc".
 Sep 20 03:08:47 jennis Tor[30798]: Opening Socks listener on
 127.0.0.1:9050
 Sep 20 03:08:47 jennis Tor[30798]: Opened Socks listener on 127.0.0.1:9050
 Sep 20 03:08:47 jennis Tor[30798]: Opening DNS listener on 127.0.0.1:53
 Sep 20 03:08:47 jennis Tor[30798]: Opened DNS listener on 127.0.0.1:53
 Sep 20 03:08:47 jennis Tor[30798]: Opening DNS listener on [::1]:53
 Sep 20 03:08:47 jennis Tor[30798]: Opened DNS listener on [::1]:53
 Sep 20 03:08:47 jennis Tor[30798]: Opening Transparent pf/netfilter
 listener on 127.0.0.1:9040
 Sep 20 03:08:47 jennis Tor[30798]: Opened Transparent pf/netfilter
 listener on 127.0.0.1:9040
 Sep 20 03:08:47 jennis Tor[30798]: Opening Transparent pf/netfilter
 listener on [::1]:9040
 Sep 20 03:08:47 jennis Tor[30798]: Opened Transparent pf/netfilter
 listener on [::1]:9040
 Sep 20 03:08:47 jennis Tor[30798]: Opening Control listener on
 127.0.0.1:9051
 Sep 20 03:08:47 jennis Tor[30798]: Opened Control listener on
 127.0.0.1:9051
 Sep 20 03:08:47 jennis Tor[30799]: tor_assertion_failed_(): Bug:
 src/lib/process/process_unix.c:265: process_unix_exec: Assertion line
 should be unreached failed; aborting. (on Tor 0.4.2.1-alpha-dev
 e6c5b248aea3e
 Sep 20 03:08:47 jennis Tor[30799]: Bug: Tor 0.4.2.1-alpha-dev (git-
 e6c5b248aea3e70e): Assertion line should be unreached failed in
 process_unix_exec at src/lib/process/process_unix.c:265: . Stack trace:
 (on Tor 0
 Sep 20 03:08:47 jennis Tor[30799]: Bug:
 /usr/bin/tor(log_backtrace_impl+0x46) [0x55e4ed462846] (on Tor 0.4.2.1
 -alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:
 /usr/bin/tor(tor_assertion_failed_+0x147) [0x55e4ed45d967] (on Tor 0.4.2.1
 -alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:
 /usr/bin/tor(process_unix_exec+0x274) [0x55e4ed437104] (on Tor 0.4.2.1
 -alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:
 /usr/bin/tor(process_exec+0x5b) [0x55e4ed4354bb] (on Tor 0.4.2.1-alpha-dev
 e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:
 /usr/bin/tor(pt_configure_remaining_proxies+0x563) [0x55e4ed327fc3] (on
 Tor 0.4.2.1-alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:
 /usr/bin/tor(set_options+0x17d2) [0x55e4ed3dcdb2] (on Tor 0.4.2.1-alpha-
 dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:
 /usr/bin/tor(options_init_from_string+0x17d) [0x55e4ed3dddcd] (on Tor
 0.4.2.1-alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:
 /usr/bin/tor(options_init_from_torrc+0x404) [0x55e4ed3de464] (on Tor
 0.4.2.1-alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:     /usr/bin/tor(tor_init+0x3c7)
 [0x55e4ed2af157] (on Tor 0.4.2.1-alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:
 /usr/bin/tor(tor_run_main+0xb4) [0x55e4ed2af9a4] (on Tor 0.4.2.1-alpha-dev
 e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:     /usr/bin/tor(tor_main+0x3a)
 [0x55e4ed2adfaa] (on Tor 0.4.2.1-alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:     /usr/bin/tor(main+0x19)
 [0x55e4ed2adb69] (on Tor 0.4.2.1-alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:     /lib/x86_64-linux-
 gnu/libc.so.6(__libc_start_main+0xeb) [0x7ff3fa56f09b] (on Tor 0.4.2.1
 -alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30799]: Bug:     /usr/bin/tor(_start+0x2a)
 [0x55e4ed2adbba] (on Tor 0.4.2.1-alpha-dev e6c5b248aea3e70e)
 Sep 20 03:08:47 jennis Tor[30798]: Bootstrapped 0% (starting): Starting
 Sep 20 03:08:47 jennis Tor[30798]: Starting with guard context "default"
 Sep 20 03:08:47 jennis Tor[30798]: Pluggable Transport process terminated
 with status code 6
 }}}

 afh's guess is correct: There is indeed this line in my torrc:


 {{{
 ClientTransportPlugin meek exec /opt/meek/meek-client/meek-client
 }}}

 I copied the torrc file from another machine not noticing, that on this
 machine I don't have meek-client installed.

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


More information about the tor-bugs mailing list