Messages in this thread | | | Date | Mon, 26 Jul 1999 11:52:15 +0200 (MET DST) | From | Terje Malmedal <> | Subject | Re: fork or exec thingy. |
| |
[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/
| |