lkml.org 
[lkml]   [1999]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.063 / U:12.592 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site