This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Blindfreddy
Recipients Blindfreddy
Date 2019-09-26.11:19:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569496743.5.0.75731685223.issue38284@roundup.psfhosted.org>
In-reply-to
Content
On debian, signal.sigwait/sigwaitinfo/sigtimedwait do not properly handle the below signals (NOK).

Steps to reproduce

1. start python and type:
>>> import signal
>>> signal.sigwait([<any of the below signals with NOK])
2. send corresponding signal to the python process

Signal Name	Signal Number	Result	Description / Output
SIGHUP	1	NOK	Process terminates with 'HANGUP'
SIGINT	2	OK	
SIGQUIT	3	NOK	Process terminates with 'QUIT'
SIGILL	4	OK	
SIGTRAP	5	NOK	Process terminates with 'Trace/breakpoint trap'
SIGABRT	6	OK	
SIGEMT	7	NOK	Process terminates with 'Bus error'
SIGFPE	8	OK	
SIGKILL	9	OK	cannot be caught by design
SIGBUS	10	NOK	Process terminates with 'User defined signal 1'
SIGSEGV	11	OK	
SIGSYS	12	NOK	Process terminates with 'User defined signal 2'
SIGPIPE	13	NOK	signal not handled
SIGALRM	14	NOK	Process terminates with 'Alarm clock'
SIGTERM	15	NOK	Process terminates with 'Terminated'
SIGURG	16	NOK	Process terminates with 'Stack fault'
SIGSTOP	17	NOK	signal not handled
SIGCHLD	20	OK	
SIGUSR1	30	NOK	Process terminates with 'Power failure''
SIGUSR2	31	OK
History
Date User Action Args
2019-09-26 11:19:03Blindfreddysetrecipients: + Blindfreddy
2019-09-26 11:19:03Blindfreddysetmessageid: <1569496743.5.0.75731685223.issue38284@roundup.psfhosted.org>
2019-09-26 11:19:03Blindfreddylinkissue38284 messages
2019-09-26 11:19:03Blindfreddycreate