guthery@cs.utexas.edu (Scott Guthery) (04/22/89)
If I set the stacksize limit to anything other than its default value, "limit stacksize 500k" for example, and then run a program which exits normally and then do anything ("ls" or "pwd", for example) I get the message ld.so: map heap error (22) for /dev/zero and I have to kill the process since that's all it will do. We're talking 4.0.1 on a Sun-4. Any ideas? Thanks, Scott
jdh@bu-it.bu.edu (Jason Heirtzler) (05/07/89)
>If I set the stacksize limit to anything other than its default value, >"limit stacksize 500k" for example, and then run a program which exits >normally and then do anything ("ls" or "pwd", for example) I get the >message > > ld.so: map heap error (22) for /dev/zero Yes, apparently because of some bug, if it's dynamically linked it must be page-aligned. It's Sun bug ref # 1012204 % limit stack 500k % ls ld.so: map heap error (22) for /dev/zero % pagesize 8192 % limit stack 512k % ls foo bar ---Jason Heirtzler Boston University