delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/04/21:17:04

Message-ID: <38729762.6F966CF7@netcom.ca>
From: MM <mm AT netcom DOT ca>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Array crashes my program!
Lines: 16
Date: Tue, 04 Jan 2000 19:59:14 -0500
NNTP-Posting-Host: 216.123.36.65
X-Complaints-To: abuse AT netcom DOT ca
X-Trace: tor-nn1.netcom.ca 947033766 216.123.36.65 (Tue, 04 Jan 2000 19:56:06 EDT)
NNTP-Posting-Date: Tue, 04 Jan 2000 19:56:06 EDT
Organization: Netcom Canada
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

A simple program of the form
 int main (void)
{
   int array[1000000];
   return (0);
}

continually crashes my program.  The symified error message complains
about something called
the __djgpp_exceptional_table.
If I decrease the size of the array it doesn't crash but leaving it as
is or making it bigger makes it crash
and I know I have enough ram to address that much memory.
Dynamically allocating that amount works fine.  Anyone know what's
wrong?

- Raw text -


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