[tor-bugs] #26948 [Core Tor/Tor]: tor_run_main crashes when called a second time with --version

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 26 14:39:03 UTC 2018


#26948: tor_run_main crashes when called a second time with --version
------------------------------+--------------------
     Reporter:  hellais       |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:  #25510
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 I wrote a testing harness that uses python and cffi, to implement some
 basic smoke tests for libtor. This can be found here:
 ​https://gist.github.com/hellais/b56043d57eb5be885958e80b3665bfe2 (to run
 it do pip install cffi and change the LIB_PATH to the correct path).

 In particular by adding the command line flag --version and starting tor,
 I am unable to re-start it due to the exception listed in the above gist.

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


More information about the tor-bugs mailing list