Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

sigint handler isn't working on OS X. #4

samrushing opened this Issue Dec 8, 2011 · 2 comments


None yet
2 participants

samrushing commented Dec 8, 2011

I'm guessing that the kqueue signal capture is failing for some reason?
If I call the sigterm handler manually it exits correctly.
It's possible that kevent() is not seeing the event, because when I attach with gdb after hitting ^C it is sitting in kevent doing nothing.


ehuss commented Dec 8, 2011

Notice in signal_handler.py, someone added:

if UNAME == 'FreeBSD':

That seems like a bad idea.

Also, we may need to check if flags should include EV_ENABLE. Or is that implicit?


samrushing commented Dec 8, 2011

Good catch. Including 'Darwin' in that test fixes the problem.

@samrushing samrushing closed this Dec 8, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment