Can you check if moving the PR38977 fix to special_function_p (handling plain fork there) fixes it? What is the contents of thread.c?
Can you check if moving the PR38977 fix to special_function_p (handling
plain fork there) fixes it? What is the contents of thread.c?