- User Since
- Mar 5 2019, 9:31 AM (73 w, 6 d)
Jun 8 2020
Ok then. I'll drop this patch. Is there a way to close the diff?
Jun 5 2020
Updated the patch to build on master. The previous one did not apply cleanly to trunk.
I added @vsk as a reviewer, because he's the one who accepted the patch set that introduced the code that causes the bug.
Mar 6 2019
if you deliver another signal after unregistering all of them, you get the behavior you observed? I'm not sure whether we care about clang-as-a-library being loaded / unloaded in the same program. If not, we could limit signal registration to be a one-time thing.
But now I'm puzzled by this check.
// If the handlers are already registered, we're done. if (NumRegisteredSignals.load() != 0) return;
Is the mutex wrong? It should ensure that the alt stack is only ever set up once.