🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.uucp
Article #583

Re: stack overflow with Usenet under Xenix/286

#583
From: John Little
Date: Thu, 03 Apr 1986 08:12
14 lines
1332 bytes
I had similar problems with IBM XENIX on the AT with large model
programs.  The linker tried to glue the data and stack segments together,
and frequently ran out of room.  I worked around the problem by making
many of my data structures very large (close to 64 K) so that there
was no room to put the stack in with the data.  For example, 1K arrays
became 62K arrays.  When the linker merges enough items to fill a 64K
segment, it starts a new one.  By making as many objects as large as possible,
you increase the chance of having enough space for the stack.
Of course, this only works if you have lots of memory.
Looking at the map is slightly useful, but expect lots of trial and
error until you link everything together and it all works.

John Little
sun!portal!jel
Technical Details
Message-ID: <114@portal.uucp>
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!decwrl!glacier!oliveb!hplabs!qantel!lll-lcc!vecpyr!atari!portal!jel
References: <348@IMT3B2.UUCP> <320@omen.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!decwrl!glacier!oliveb!hplabs!qantel!lll-lcc!vecpyr!atari!portal!jel
From: jel@portal.uucp (John Little)
Newsgroups: net.bugs.uucp,net.micro.pc
Subject: Re: stack overflow with Usenet under Xenix/286
Message-ID: <114@portal.uucp>
Date: Thu, 3-Apr-86 03:12:30 EST
Article-I.D.: portal.114
Posted: Thu Apr  3 03:12:30 1986
Date-Received: Sat, 5-Apr-86 07:30:41 EST
References: <348@IMT3B2.UUCP> <320@omen.UUCP>
Organization: Portal Communications
Lines: 14