Message-ID: <38729762.6F966CF7@netcom.ca> From: MM 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! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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?