Hello,
This is the error description for the AIX 7.1 TL3 SP1/SP2 bug:
This bug is fixed in AIX 7.1 TL3 SP3.
IV56118: AT 7.1 TL 3, CALLING LONGJMP CAUSES SIGINT TO
BE BLOCKED APPLIES TO AIX 7100-03 14/06/02 PTF PECHANGE
APAR status
Closed as program error.
Error description
If a program calls setjmp/longjmp, it will not be possible to
use Ctl-C to exit the program any more, since SIGINT will be blocked.
Local fix
Using _setjmp and _longjmp can avoid the issue.
Problem summary
****************************************************************
* USERS AFFECTED:
* Systems running the 7100-03 Technology Level with the
* bos.rte.libc fileset below the 7.1.3.15 level.
****************************************************************
* PROBLEM DESCRIPTION:
* If a program calls setjmp/longjmp, it will not be
* possible to use Ctl-C to exit the program any more, since
* SIGINT will be blocked.
****************************************************************
* RECOMMENDATION:
* Install APAR IV56118.
****************************************************************
Problem conclusion
longjmp() and siglongjmp() restore the signal mask correctly.
Bye
Rainer