This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Possible problem with recent waitid changes


Hi

Roland, this change is causing the bash-3.0 test suite to fail for me:

2004-09-01  Roland McGrath  <roland@redhat.com>

	* sysdeps/unix/sysv/linux/bits/waitflags.h
	(WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros.
	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
	New macro.
	* sysdeps/unix/sysv/linux/waitid.c: New file.  Use new syscall when
	available, or fall back to the waitpid-based generic code.


I configured with `--enable-kernel=2.6.0' so the fall back code should be
applicable. I built with gcc-3.4.2 on i686-pc-linux-gnu and the running
kernel is stock 2.6.8.1 on SMP.

Sorry, I haven't filed this in BZ as I haven't been able to produce a
self-contained test case and don't really know if the problem is with bash
or elsewhere. If you'd like to investigate and try to reproduce, just grab
bash-3.0 from ftp.gnu.org and `./configure; make; make tests'. When it gets
to `run-jobs', bash spins infinitely and hogs all cpu until I kill it. This
is 100% reproducible for me.

Thanks for any insight.
Greg
--
http://www.diy-linux.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]