SIGINT, longjmp
Kurt Roeckx
kurt at roeckx.be
Tue Jan 26 21:19:07 UTC 2016
On Tue, Jan 26, 2016 at 01:07:04PM -0800, Hal Murray wrote:
>
> The problem is that somebody is masking off SIGINT. It works if I replace
> setjmp+longjmp with sigsetjmp+siglongjmp.
>
> The SIGINT handler was getting called with SIGINT masked off. That seems a
> bit strange. It was coming from deep within getnameinfo.
>
> I haven't figured out if this is a bug in getnameinfo or if longjmp-ing is
> basically evil.
It's not clear to me when this longjmp() is called. But if
changing to siglongjmp() fixed it, it seems the signal handling
got changed in between?
Kurt
More information about the devel
mailing list