bug-bash
[Top][All Lists]
Advanced

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

Re: Bash 3.0 compiled and linked with glibc 2.3.3 hungs when executing s


From: Peter Prohaska
Subject: Re: Bash 3.0 compiled and linked with glibc 2.3.3 hungs when executing simple disk command
Date: Sun, 3 Oct 2004 14:46:19 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Chet Ramey <chet.ramey <at> case.edu> writes:

> 
> Sergey Zalogin wrote:
> >     call. After I removed
> >     "WCONTINUED" from options passed to waitpid the problem was dissapeared.
> >     Is this a bug?
> 
> It's a bug in glibc.  glibc defines WCONTINUED even when running on
> kernels whose waitpid(2) implementations reject it.  I will look at
> ways to work around it -- I have at least one mechanism submitted
> as a patch by Red Hat.
> 
> Chet
> 

I came to the same conclusion. It seems that the problem was introduced
in glibc file sysdeps/unix/sysv/linux/bits/waitflags.h(1.6) .
It unconditionally defines "WCONTINUED". In all other places i found it
"WCONTINUED" it is checked with "#if !defined()" constructs or alike.
My quick fix approach was to revert to waitflags.h(1.5) but i'm not sure
if that would have any sideeffects.

Is this discussed somewhere on else like glibc.bugs yet?
bash.bugs seems to be the wrong place.

Any hint if one can find the mentioned patch somewhere public? Chet?

Cheers, peter.





reply via email to

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