From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP! "invalid page exception"?? Date: Thu, 16 Sep 1999 13:12:17 +0200 Organization: NetVision Israel Lines: 36 Message-ID: References: <37D534CD DOT 9FE72805 AT this DOT newsgroup> <37D6B63A DOT 68278B19 AT this DOT newsgroup> <37D7B0BD DOT DE998100 AT this DOT newsgroup> <37DF937D DOT 28220E2D AT this DOT newsgroup> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.netvision.net.il 937480266 11079 199.203.121.2 (16 Sep 1999 11:11:06 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 16 Sep 1999 11:11:06 GMT X-Sender: eliz AT is In-Reply-To: <37DF937D.28220E2D@this.newsgroup> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 15 Sep 1999, Tony Welsh wrote: > > Do you see the temporary file (c:/djgpp/tmp\ccnTHF0i.i in this > > case) on disk after the crash? > > Yes, and it is blank, size 0 bytes. This is expected if cpp and gcc are aborted by Windows. > C:\djgpp\src>c:\djgpp\lib\gcc-lib\djgpp\2.95\cpp -lang-c -isystem > C:/djgpp/include > chap01_1.c c:/djgpp/tmp\cc3CiKyf.i > (a file from this morning that crashed as normal with an option 'c') > > both execute without errors or for that matter any error messages, it just > returns to the prompt after execution. So the problem only happens when cpp is invoked from GCC, or from another DJGPP program... Hmmm... Please try the same invocation of cpp, but this time from go32-v2. That is, prepend "go32-v2" to the above command line when you type it at the prompt. Does this work or does it crash? > I notice that after these are > executed, the temporary file mentioned is filled with what looks like the > original source code but without any non-executable lines... (see > cc3CiKyf.i and chap01_1.c attached). > Which is I assume preprocessing Yes, this is how the preprocessor should work. Btw, did you edit your djgpp.env file in any way? Also, what version of the specs file (in the DJGPP's lib subdirectory) are you using--the one from djdev202.zip or the one from gcc295b.zip?