delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/08/10:37:26

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP! "invalid page exception"??
Date: Wed, 8 Sep 1999 10:32:12 +0200
Organization: NetVision Israel
Lines: 47
Message-ID: <Pine.SUN.3.91.990908103147.21899I-100000@is>
References: <37D534CD DOT 9FE72805 AT this DOT newsgroup>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 936779460 1164 199.203.121.2 (8 Sep 1999 08:31:00 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 8 Sep 1999 08:31:00 GMT
X-Sender: eliz AT is
In-Reply-To: <37D534CD.9FE72805@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

On Tue, 7 Sep 1999, Tony Welsh wrote:

> but whenever I try to use gcc or gpp the dos box dissappears and I get an
> error similiar to this in a windows popup telling me the program has performed
> an illegal operation and will be terminated, with only "ok" and "details"
> buttons on the popup:
> 
> === (popup for GCC/GPP error)
> 
> The program encountered an invalid page exception.
> 
> Fault location:       0028:49504D4F  (for command "GCC -c chap01_1.c")
> Fault location:       0028:454C4C4F  (for command "GPP -c chap01_1.c")

FWIW, the offsets of the fault location seem like parts of ASCII text
(the first one is "IPMO", the second "ELLO").

> v2gnu/gcc295b.zip    Basic GCC compiler            1.7 mb
> v2gnu/gpp295b.zip    C++ compiler                  1.6 mb
> v2gnu/lgp2811b.zip   C++ libraries                 583 kb

This is a mistake: you need lgpp295b.zip.  lgp2811b.zip does not
belong to GCC 2.95, it's from an older version of the compiler.
Mixing versions generally means trouble.  (But I don't think it is the
reason for the crashes.)

> ===my C:\Autoexec.bat looks as follows;

AUTOEXEC.BAT seems to be okay.  Are you sure this is the correct
AUTOEXEC.BAT?  On Windows 98 it can be tricky to find the right one.
The instructions of the zip-picker tell you how to find it; please
make sure this is the file whose contents you post.

Please post CONFIG.SYS as well.

> RHIDE works okay until I try to get it do do something like compile then the
> same error occurs, obviously because it is calling one of these (or another)
> .EXE at that point.

What about other DJGPP programs--do they run or crash?  What does
go32-v2 print when invoked with no arguments?  Does info.exe work
normally (just type "info" at the command prompt and see if it
displays a menu and if you can move around with the cursor keys)?

Also, did you try to invoke gcc with other source files?  If so, did
it also crash?  What happens if you just type "gcc" and press [Enter]?

- Raw text -


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