www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/25/16:03:09

Message-ID: <35423FB3.3350@badger1.net>
From: Thrawn <thrawn AT badger1 DOT net>
Reply-To: thrawn AT badger1 DOT net
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Stack Faults
Lines: 25
Date: Sat, 25 Apr 1998 19:55:54 GMT
NNTP-Posting-Host: news.badger1.net
NNTP-Posting-Date: Sat, 25 Apr 1998 15:55:54 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I keep getting stack faults when trying to run my program. The exact
message is al follows:

Stack Fault at eip=0000371f
eax=00003820 ebx=000033f4 ecx=00000000 edx=00000000 esi=00000000
edi=00000000
ebp=0000334c esp=00002fc8 program=D:\PROJECTS\VIDEO\VIDEO.EXE
cs: sel=00a7  base=82a40000  limit=0006ffff
ds: sel=00af  base=82a40000  limit=0006ffff
es: sel=00af  base=82a40000  limit=0006ffff
fs: sel=0087  base=00012280  limit=0000ffff
gs: sel=00bf  base=00000000  limit=ffffffff
ss: sel=00af  base=82a40000  limit=0006ffff

Call frame traceback EIPs:
  0x0000371f

	I've narrowed the problem to the stack size of my program(when I
commented out a very large array, it worked fine). I can't quite break
up the array declarations because they're all private class member
variables, so the instant I inititalize my class, I get the error. I
tried to fix it by setting _stklen to a very large number, but that
didn't work. What the hell is going on here!?!?!

						Thrawn

- Raw text -


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