www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/18/13:08:38

Xref: news2.mv.net comp.os.msdos.djgpp:1221
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Strange Errors
Date: Thu, 15 Feb 1996 18:01:43 CST
Organization: Rice University, Houston, Texas
Lines: 14
Message-ID: <3123c967.sandmann@clio.rice.edu>
References: <Pine DOT SOL DOT 3 DOT 91 DOT 960215143916 DOT 2418A-100000 AT gollum>
Reply-To: sandmann AT clio DOT rice DOT edu
NNTP-Posting-Host: clio.rice.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> I have a strange error to relate. I got a copy of SUSAN (this is a 
> low-level image-processing program). The author claims that it works 
> under DJGPP (didn't specify the version though). I _have_ compiled it 
> with GCC 2.6.3 under Solaris 2.3, and it works as advertised. However, 
> using DJGPP 2.0 and GCC 2.7.2, the strangest errors occur.

The description provided (and the register dumps) lead me to believe you
are getting exceptions inside exceptions, which means the exception 
area itself is corrupted.  I would guess it's a stack sizing problem.
Try to stubedit in a 4Mb stack (or more if you see a lot of big automatic
arrays in the source).

Humm, maybe it's time to break out the stack usage tools for general
consumption (sigh).

- Raw text -


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