Subject: Re: limit stacksize problem
To: None <johnh@david.wheaton.edu>
From: Kenneth Stailey <kstailey@owl.dol-esa.gov>
List: current-users
Date: 09/04/1995 11:15:34
>   I am running NetBSD 1.0 on i386.  When I change limit stacksize I get
>
>johnh.wheaton.edu:~ [5] 5:53pm> ps
>IOT trap
>
>    for all loaded programs (shell commands like limit still seem to work).
>I set the limit up to 1024k for stack size and even if I reset it down to
>512k (default) I still have the same problem.
>     Has this been fixed in current?
>

Works fine when using GNU bash "ulimit -s 1024".  Blows up using tcsh
"limit stack 1024" with IOT trap, blows up using csh "limit stack
1024" with Abort trap.  "/bin/sh" "ulimit -a" produces nonsense "qd"
values:

$ ulimit -a
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         qd
stack(kbytes)        qd
coredump(blocks)     unlimited
memory(kbytes)       qd
locked memory(kbytes) qd
process(processes)   qd
nofiles(descriptors) qd
$ 

Which smells like "[f|s]printf(..., "%qd", ...)" bug.

Have fun doing all the work to duplicate what was done in GNU bash
correctly already, boys.  I'm not going to send-pr anything on this in
protest to anti-GPL, anti-FSF sentiments.  Yes, I using without
contributing but so are you.

~Ken