Message-ID: <37D71D7D.A31105CD@uswest.net> From: Josh Reed X-Mailer: Mozilla 4.04 [en] (Win95; U) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Program Crash Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 22 Date: Wed, 08 Sep 1999 21:37:49 -0500 NNTP-Posting-Host: 209.180.50.70 X-Trace: news.uswest.net 936844295 209.180.50.70 (Wed, 08 Sep 1999 21:31:35 CDT) NNTP-Posting-Date: Wed, 08 Sep 1999 21:31:35 CDT Organization: U S WEST Interprise To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have a program that I compiled with DJGPP that dies half-way through execution. I used gdb on it and here is what it said: Program recieved signal SIGILL, Illegal instruction. 0x1600 in scan (path=Cannot access memory at address 0x2a2e2a64.) at audit.cpp:43 Line 43 in Audit.cpp: if (((DTA.ff_attrib >= 16) && (DTA.ff_attrib <= 31)) || (DTA.ff_attrib >= 48)) Any help will be appreciated. Josh PS Tell me if you want me to post the whole function. It is a recursive function that is suppose to find any file matching the search string specified and display the filename and path to the screen. Line 43 is testing whether the file found is a directory that it can look in.