🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Murray Peterson Sun, 02 Mar 2003 06:20
Re: (Xnews) - A 'Fetch' might crash Xnews?
#121097
Author: Murray Peterson
Date: Sun, 02 Mar 2003 06:20
20 lines
1791 bytes
Tom <Tom@invalid.com> wrote in 
news:Xns9331DFC7D405Tominvalidcom@216.168.3.44:

> [snip]
> What is a Stack Overflow?

If you aren't a programmer, the answer won't make too much sense, no matter 
how carefully explained.  Think of it as Xnews running out of memory, only 
the available memory pool is a special one that is smaller than the amount 
of RAM you have.

In general, if you are getting a stack overflow error when performing large 
operations, then you should endeavor to perform smaller operations.  i.e. 
"If it hurts when you do that, then don't do that".

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Re: (Xnews) - A 'Fetch' might crash Xnews?
#121118
Author: Murray Peterson
Date: Sun, 02 Mar 2003 16:44
24 lines
2236 bytes
Tom <Tom@invalid.com> wrote in 
news:Xns9331ED3C12298Tominvalidcom@216.168.3.44:

> [snip]
> On a Windows based PC, I have no idea how this is done. If it is 
> something that can only be setup within the program itself, or whether 
> there is some sort of general stack adjustment for the entire system 
> which sets the stack for the different tasks or processes with or 
> without a default base stack. Hell, I am not even sure if any of this 
> even applies anymore or even makes sense. :) 

On any modern machine (and OS) that uses hardware memory management, stack 
size limits are usually not an issue, since the MMU automatically adjusts 
the memory space automatically.  However, the code emitted by the compiler 
may be an issue -- some have been known to use stack indexing instructions 
limited to a 16-bit value for offsets from the stack pointer.  I have no 
idea if this is an issue with Xnews, since I don't have access to the 
source code.

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads