delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/01/20:46:38

From: "Marcus" <mesthlm AT hem DOT passagen DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Prevent crash on free()
Date: Wed, 1 Mar 2000 15:23:03 +0100
Organization: Telenordia
Lines: 16
Message-ID: <89j9h7$fbp$2@zingo.tninet.se>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000301120339 DOT 12637E-100000 AT is>
NNTP-Posting-Host: 193.150.200.251
X-Trace: zingo.tninet.se 951920999 15737 193.150.200.251 (1 Mar 2000 14:29:59 GMT)
X-Complaints-To: abuse AT algo DOT net
NNTP-Posting-Date: 1 Mar 2000 14:29:59 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote:
> You can install a handler for the signal SIGSEGV.  If that handler
> longjmp's, then it will indeed work.  But if it returns to the same
> place where the problem happened, the progarm will still crash.

A nice function. Thank you...
Can I catch all types of crashes with one call?

--
/regards Marcus

Hi, I'm a signature virus. plz set me as your signature and help me spread
:)



- Raw text -


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