🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #12588

Re: /dev/zero?

#12588
From: Jason Heirtzler
Date: Sat, 06 May 1989 17:28
21 lines
1049 bytes
>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
Technical Details
Message-ID: <8904241842.AA18245@bu-it.BU.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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