www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/02/15/10:51:12

To: "B.S.Runnacles" <B DOT S DOT Runnacles AT soton DOT ac DOT uk>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Stack Fault in a Dos Box
Date: Wed, 15 Feb 95 16:46:20 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>

> implemented using DJGPP.  THe code runs fine under plain old DOS, but when 
> I run it on any images > ~50*50 in a DOS box under WFW3.11, the code falls 
> over complaining of a stack fault.  A symify on the accompanying stack dump 

Did you maybe use the -fomit-frame-pointer on the compilation
command line?  This could cause the program to only crash in
the DPMI mode which is used under Windows.
Another thing to try is to run it under a different DPMI server,
like QDPMI or CWSDPMI, and see what happens then.  This could
separate the Windows effect from the DPMI effect.

- Raw text -


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