Subject: Re: bin/19693: /bin/sh broken on arm
To: None <>
From: David Laight <>
List: netbsd-bugs
Date: 01/05/2003 18:12:18
> >Synopsis:       /bin/sh broken on arm

> I updated my shark to -current the day before. Ever since then /bin/sh fails
> in mysterious ways. It can't execute scripts that are not changed and used to
> work forever. One example is "send-pr", another one is 
> "sh /etc/rc.d/ntpd status", where a -x version outputs
> this (boring defaults at the start left out):

> + eval rc_flags=$ntpd_flags
> eval: Out of space
> Before the last line there is a long pause (so it's not the limits being to
> small, but it's realy doing something recursive or whatever)

Try compiling sh with DEBUG=1, then do 'set -o debug' before running the
script.  This will write a (rather verbose) trace to (IIRC) ./tracefile
(definitely something in .)

This ought to trace something in the recursive loop...


David Laight: