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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs