www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/02/15/07:57:17

Subject: Stack Fault in a Dos Box
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Wed, 15 Feb 1995 11:37:07 +0000 (GMT)
From: "B.S.Runnacles" <B DOT S DOT Runnacles AT soton DOT ac DOT uk>

Dear all

I have a heavily recursive pixel grouping algorithm which I have *successfully*
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 
reveals that the stack is fairly(!) large.  

The code is neccessarily recursive and could have a stack as deep as the 
number of pixels for some planes.  I reported this problem earlier this year, 
and DJ suggested increasing the minimum stack size using stubedit, I cranked 
this up to 4Mb to no avail (I have 16Mb).

Any thoughts?, I am running a 486DX2-66 with WFW 3.11 and MS-DOS 6.22.

Yours 

Ben Runnacles
Vision Speech and Signal Processing Group
University of Southampton, UK.

PS I quite like windows as a development environment, so replies along the 
lines of 'don't use windoze(ha!!!), it's crap' would not be entirely helpful.
 

- Raw text -


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