bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Configure hangs at 'checking whether getcwd handles long file names


From: Qingchuan Wang (qingcwan)
Subject: RE: Configure hangs at 'checking whether getcwd handles long file names properly...'
Date: Fri, 1 Nov 2019 07:27:59 +0000

Thanks for your info.
The final 'mkdir' hangs at 'wait' and I have to 'kill -9 ' to stop it.

736 [00000034d04db527] mkdir("confdir3", 0700 [wait(0x0009) = 3982] 
WIFSIGNALED,sig=SIGKILL

$ cat /proc/3982/status 
Name:   a.out
State:  D (disk sleep)
Tgid:   3982
Pid:    3982
PPid:   3978
TracerPid:      3978


BR
Wang Qingchuan

-----Original Message-----
From: Paul Eggert <address@hidden> 
Sent: 2019年11月1日 4:05
To: Qingchuan Wang (qingcwan) <address@hidden>
Cc: address@hidden; Gnulib bugs <address@hidden>
Subject: Re: Configure hangs at 'checking whether getcwd handles long file 
names properly...'

In <https://lists.gnu.org/r/bug-tar/2019-10/msg00001.html>, Qingchuan Wang 
(qingcwan) wrote:

> It hangs when ‘./configure’, I tried 1.29, 1.31 and 1.32, all same.
> 
> The ‘mkdir’ didn’t return peeking by /strace./

If mkdir did not return, that sounds like a significant bug in your kernel or 
filer or network. I could not reproduce the problem on a system similar to 
yours (RHEL 6.10, Linux kernel 2.6.32-754.23.1.el6.x86_64, in an NFS file 
system served by a Netapp filer on a local area network).

To help you diagnose the problem, I suggest running the the attached program in 
your file system. This program is derived from the 'tar' 
configure script. I ran the program on my system and got the attached strace 
output. If you get similar output, then the bug is in how 'configure' runs its 
program somehow. If you get output where the 'mkdir' syscall hangs, you'll have 
a simple test program that you can send to your sysadmins and help them find 
the bug with their setup.

I'll CC: this to bug-gnulib since the symptoms arise in Gnulib-derived code.

Attachment: getcwd-test.wqc.trace.1.gz
Description: getcwd-test.wqc.trace.1.gz

Attachment: getcwd-test.wqc.trace.2.gz
Description: getcwd-test.wqc.trace.2.gz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]