[tor-bugs] #30012 [Core Tor/Stem]: When stem receives a signal, log useful information

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 4 03:16:32 UTC 2019


#30012: When stem receives a signal, log useful information
-------------------------------+--------------------
     Reporter:  teor           |      Owner:  atagar
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Stem  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:  #29437
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 In #30011, when stem hangs in Tor's CI, we kill it.

 But that doesn't give us much information. To fix #29437, we need stem to
 log a backtrace when it receives a signal. (Or switch into debug mode, or
 something.)

 You can pick any signal you like: maybe SIGUSR2 for debug logs, and
 SIGABRT for a stacktrace? (If you want stem to be like tor.)

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


More information about the tor-bugs mailing list