|
From: | Paul Eggert |
Subject: | Re: rcs configure hang |
Date: | Thu, 5 Nov 2020 09:57:15 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 10/27/20 8:36 AM, Kelly Wang (kellythw) wrote:
You are right, after remove confdir3, rerun strace hang. Checked tr output, it stopped at bunch of mkdir and chdir and no further steps after that. mkdir("confdir3", 0700) = 0 chdir("confdir3") = 0
How many chdir("confdir3") calls were there, exactly? On my platform there were 1367.
My guess is that the getcwd system call hung on your platform, which suggests a kernel or filesystem bug somewhere.
What happens if you run the attached conftest.c instead? It's the same as before, except with an 'alarm (10)' call. As before, run it like this in your development directory:
rm -fr conftest3 gcc conftest.c strace -o tr ./a.out and see how 'tr' ends if it hangs (which I hope it doesn't).
conftest.c
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |