[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #32033 [Core Tor/Tor]: process_unix_exec assertion failure when ServerTransportPlugin refers to nonexistent file



#32033: process_unix_exec assertion failure when ServerTransportPlugin refers to
nonexistent file
------------------------------+--------------------------------
     Reporter:  dcf           |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:  Tor: 0.4.2.2-alpha
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 I'm using commit 0d82a8be77ae8d7fb06c8702bfbf1ebbaf370c94.

 Create a file called torrc.nonexistent:
 {{{
 PublishServerDescriptor 0
 AssumeReachable
 SOCKSPort 0

 ORPort auto
 ServerTransportPlugin nonexistent exec /usr/bin/nonexistent
 Bridge nonexistent 127.0.0.1:9999
 }}}

 Run `tor -f torrc.nonexistent` and observe the following assertion failure
 (which occurs in a subprocess and doesn't bring down the main tor
 process):

 {{{
 Oct 10 16:08:13.000 [notice] Starting with guard context "default"
 Oct 10 16:08:13.000 [notice] Unknown line received by managed proxy (Oct
 10 16:08:09.000 [err] 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.2-alpha-dev
 0d82a8be77ae8d7f)).
 Oct 10 16:08:13.000 [notice] Unknown line received by managed proxy (Oct
 10 16:08:09.000 [err] Bug: Tor 0.4.2.2-alpha-dev (git-0d82a8be77ae8d7f):
 Assertion line should be unreached failed in process_unix_exec at
 src/lib/process/process_unix.c:265: . Stack trace: (on Tor 0.4.2.2-alpha-
 dev 0d82a8be77ae8d7f)).
 Oct 10 16:08:13.000 [notice] Unknown line received by managed proxy (Oct
 10 16:08:09.000 [err] Bug:     ./src/app/tor(log_backtrace_impl+0x56)
 [0x5568c162baa6] (on Tor 0.4.2.2-alpha-dev 0d82a8be77ae8d7f)).
 Oct 10 16:08:13.000 [notice] Unknown line received by managed proxy (Oct
 10 16:08:09.000 [err] Bug:     ./src/app/tor(tor_assertion_failed_+0x147)
 [0x5568c1626b27] (on Tor 0.4.2.2-alpha-dev 0d82a8be77ae8d7f)).
 Oct 10 16:08:13.000 [notice] Unknown line received by managed proxy (Oct
 10 16:08:09.000 [err] Bug:     ./src/app/tor(process_unix_exec+0x274)
 [0x5568c15fca24] (on Tor 0.4.2.2-alpha-dev 0d82a8be77ae8d7f)).
 Oct 10 16:08:13.000 [notice] Unknown line received by managed proxy (Oct
 10 16:08:09.000 [err] Bug:     ./src/app/tor(process_exec+0x5b)
 [0x5568c15faddb] (on Tor 0.4.2.2-alpha-dev 0d82a8be77ae8d7f)).
 Oct 10 16:08:13.000 [warn] Pluggable Transport process terminated with
 status code 6
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32033>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs