Re: fork or exec thingy.

Clemens Huebner (spamtrap@att.net)
Sun, 25 Jul 1999 05:30:21 -0700


Maybe not connected, but:

open("/lib/libc.so.5.3.12", O_RDONLY) = 3

>From the libc Changelog:
Wed Apr 24 22:05:14 1996 H.J. Lu (hjl@gnu.ai.mit.edu)

* version 5.3.12 is released.

If you are using a libc wich is over 3 years old, what are the versions
of bash etc?

Clemens

Terje Malmedal wrote:
>
> [Borislav Deianov]
>
> > Can you try to reproduce the error while capturing the output of
> > strace? What are the exact versions of bash and libc? Which
> > distribution? (So far I cannot reproduce it.)
>
> OK, stracing this script:
> #!/bin/bash
> echo -n "Starting at "
> date
> while true ; do
> if ! /usr/bin/test `expr 2 + 2` -gt 3 ; then
> echo -n "Error at "
> date
> exit
> fi
> done
>
> On this run libc version is 5.3.12 and bash version is 1.14, kernel is
> 2.2.10ac10 note that the error also occurs with bash version 2.03 and
> glibc-2.0
>
> stdout:
> Starting at Sun Jul 25 18:19:33 MET DST 1999
> expr.sh: Can't reopen pipe to command substitution (fd 5): No child processes
> /usr/bin/test: argument expected
> Error at Sun Jul 25 22:50:57 MET DST 1999
>
> Here are the 1000 last lines from strace:
>
> http://www.uio.no/~malmedal/expr.log.1000
>
> If you have a fast link, here is the entire output from
> strace(66Megabytes):
>
> http://www.uio.no/~malmedal/expr.log.gz
>
> --
> - Terje
> malmedal@usit.uio.no
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/