[tor-bugs] #2917 [Tor Relay]: SIGNAL DUMP fails on FreeBSD

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Apr 15 02:56:00 UTC 2011


#2917: SIGNAL DUMP fails on FreeBSD
-----------------------+----------------------------------------------------
 Reporter:  rransom    |          Owner:  rransom           
     Type:  defect     |         Status:  new               
 Priority:  minor      |      Milestone:  Tor: 0.2.1.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
 On FreeBSD 8.2, the control port command `SIGNAL DUMP` fails:
 {{{
 signal dump
 250 OK
 650 WARN control_signal_act(): Bug: Unrecognized signal number 30.
 }}}

 This occurs because we use the platform's definition of `SIGUSR1` (in this
 case, `30`) in `handle_control_signal` in src/or/control.c, but
 `control_signal_act` in src/or/main.c expects the Linux-specific value
 `10`.  (This problem doesn't appear on Windows because src/or/or.h defines
 the signal values we use if the platform header files do not.)

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


More information about the tor-bugs mailing list