To: "B.S.Runnacles" 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" > 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.