delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/02/15:34:12

From: Roman Suzi <nuser AT rsuzi DOT pgu DOT karelia DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: [Q:] How to fight General Protection Faults?
Date: Sat, 01 Nov 97 16:44:30 +0300
Distribution: world
Organization: unknown
Message-ID: <AB-8pMqag7@rsuzi.pgu.karelia.ru>
Sender: news-service AT sampo DOT karelia DOT ru
Reply-To: nuser AT rsuzi DOT pgu DOT karelia DOT ru
Lines: 27
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi, all!

Yet another problem
with DJGPP (or my lack of knowledge, to be precise).

How can I control stack overflow?

For SIGSEGV, SIGFPE, SIGINT, etc.,
no memory (to alloc by new) I've found solutions.

But how to handle General Protection Faults,
caused by stack overflow?  Are there any civilised ways?

(I dont like my programs to have a possibility to crush
without getting control to some customisable routine)


Thank you for advices.


Sincerely, Roman
--
 --               *                            --
--  Roman A. Suzi * Petrozavodsk Karelia Russia --
 --    http://sampo.karelia.ru/~rnd            --


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019