/dev/zero?

Jason Heirtzler jdh at bu-it.bu.edu
Sun May 7 03:28:01 AEST 1989


>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



More information about the Comp.sys.sun mailing list