Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: jdh@bu-it.bu.edu (Jason Heirtzler) Newsgroups: comp.sys.sun Subject: Re: /dev/zero? Keywords: SunOS Message-ID: <8904241842.AA18245@bu-it.BU.EDU> Date: 6 May 89 17:28:01 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 21 Approved: Sun-Spots@rice.edu Original-Date: Mon, 24 Apr 89 14:42:23 EDT X-Sun-Spots-Digest: Volume 7, Issue 273, message 6 of 23 >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