fprintf(3) to stderr(3) is used throughout to report unexpected errors, such as when we try to sample a non-Python thread. But only certain functions are safe to use in async signal handlers (see: ...