delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/22/18:30:21

From: brk AT mail DOT eclipse DOT net (Brian Kennedy)
Subject: Re: DJGPP Invalid Page Exception in W98SE
Newsgroups: comp.os.msdos.djgpp
References: <CLEg7.2017$o32 DOT 650538084 AT news DOT netcarrier DOT net> <7458-Wed22Aug2001090203+0300-eliz AT is DOT elta DOT co DOT il>
X-Newsreader: TIN [version 1.2 PL2]
Lines: 263
Message-ID: <h6Wg7.8$Cf3.3054724@news.netcarrier.net>
Date: Wed, 22 Aug 2001 22:11:25 GMT
NNTP-Posting-Host: 207.207.192.13
X-Complaints-To: news AT netcarrier DOT com
X-Trace: news.netcarrier.net 998518285 207.207.192.13 (Wed, 22 Aug 2001 18:11:25 EDT)
NNTP-Posting-Date: Wed, 22 Aug 2001 18:11:25 EDT
Organization: NetCarrier Internet Services
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In message <7458-Wed22Aug2001090203+0300-eliz AT is DOT elta DOT co DOT il>, Eli
Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:

:Please post the entire text of the dialog box popped by Windows.  It is
:particularly important to know what is the name of the program Windows
:claims was the one which performed the illegal operation, but other
:details are also important.

[-snip-]

:If it _is_ Windows 98, then perhaps some software installed on your
:system (antivirus?) somehow conflicts with DJGPP.  Do other DJGPP
:programs, besides the compiler, also crash?  What happens if you invoke
:`ls', for example?

I'll attach the full text of the dialog box and also as much pertinent
info as I can find.  I am running W98SE, and am not running antivirus.
Unfortunately, I am a DJGPP newbie, and I don't know how to invoke 'ls'...
sorry I am so ignorant about the program :/.  Is this the same as the UNIX
command 'ls'?  Typing 'ls' at a DOS prompt doesn't do anything ("Bad
command or file name").

Here is a lot of info about my system -- too much info, I know, but in
trying to include helpful information, I wanted to be sure I had the bases
covered.  The first sections are the exact text of the error dialog box,
the rest is info from "properties" or msconfig.  I tried to be case
sensitive throughout...

===================================
Compiling from RHIDE in DOS window:

(in title bar) MS-DOS Prompt (/in title bar)

This program has performed an illegal operation and will be terminated.
Quit all programs, and then restart your computer.

If the program consistently encounters problems, click the Start button,
then select Help, Troubleshooting, and 'If you have trouble running MS-DOS
programs'.

(buttons) [OK] [Details>>] (/buttons)

(after clicking on "Details"):

The program encountered an invalid page exception.

Fault location:  0028:65742F65
Interrupts in service:  None

===================================
Compiling with DOS command "gpp test1.cpp" (without quotes) in DOS window:

(everything the same except...)
Fault location:  0028:5332334F

In both cases, from RHIDE or from the C:\ line, the DOS window closes, so
I don't see any DOS errors.

===================================
My Computer:

Microsoft Windows 98
Second Edition
4.10.2222 A

Dell Dimension T550 (PIII 550)
384.0MB RAM
System Resources: 85% free (at bootup, this is ~92%)
File System: 32-bit
Virtual Memory: 32-bit
Disk Compression:  Not installed
PCMCIA:  No PC Card sockets are installed

FILE SYSTEM
Hard Disk:
- Read-ahead optimization:  Full (slider all the way)
Floppy Disk:
- Search for new floppy disk drives each time your computer starts:
CHECKED
CD-ROM:
- Supplemental cache size:  Large (slider all the way)
- Optimize access pattern for:  Quad-speed or higher
- Windows will use 1238KB of physical memory to optimize CD-ROM
performance during data access
Removable Disk:
- Enable write-behind caching on all removable disk drives:  CHECKED
Troubleshooting:
- (nothing checked)

GRAPHICS
- Hardware acceleration:  Full (slider all the way)

VIRTUAL MEMORY
- Let Windows manage my virtual memory settings:  CHECKED

===================================
config.sys:

DEVICE=C:\WINDOWS\HIHMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE
DEVICE=c:\windows\setver.exe
[COMMON]
DEVICE=C:\DELL\RTC.CLK +R

===================================
autoexec.bat:

SET BLASTER=A220 I5 D1 H5 P330 T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
@ECHO OFF
SET QTJava=C:\WINDOWS\SYSTEM\QTJava.zip
SET CLASSPATH=%QTJava%;
SET PATH=C:\DJGPP\BIN;%PATH%
SET DJGPP=C:\DJGPP\DJGPP.ENV

===================================
startup:

ScanRegistry
LoadPowerProfile
POINTER
Tweak UI
Adaptec DirectCD
winmodem
LoadPowerProfile
Tweak UI
Tablet
EPSON Background Monitor
EPSON Status Monitor 3 Environment Check

===================================
MS-DOS Prompt:

PROGRAM
Cmd line:  C:\WINDOWS\COMMAND.COM
Working:  c:\WINDOWS
Run:  Normal window
Close on exit:  CHECKED
[advanced program settings]
Suggest MS-DOS mode as necessary:  CHECKED
nothing else checked
[/advanced program settings]

MEMORY
Conventional memory
- Total:  Auto
- Initial environment:  Auto
- Protected:  UNCHECKED
Expanded (EMS) memory
- Total:  Auto
Extended (XMS) memory
- Total:  Auto
- Uses HMA:  CHECKED
MS-DOS protected-mode (DPMI) memory
- Total:  Auto

SCREEN
Usage:  Window, 43 lines initial size
Window:  Display toolbar, Restore settings on startup
Performance:  Fast ROM emulation, Dynamic memory allocation
(the above are checked)

MISC
Foreground
- Allow screen saver:  UNCHECKED
Background
- Always suspend:  UNCHECKED
Idle sensitivity:  Medium (slider in middle)
Mouse
- QuickEdit:  CHECKED
- Exclusive mode:  UNCHECKED
Termination
- Warn if still active:  CHECKED
Other
- Fast pasting:  CHECKED
Windows shortcut keys
- all are checked

===================================
programs running according to CTRL-ALT-DEL "close program" dialog:

Explorer
Point32
Mswheel
Wmexe

===================================
ALSO TRIED config.sys:

DEVICE=C:\WINDOWS\HIHMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE

===================================
ALSO TRIED autoexec.bat:

@ECHO OFF
SET BLASTER=A220 I5 D1 H5 P330 T6
SET CTSYN=C:\WINDOWS
C:\PROGRA~1\CREATIVE\SBLIVE\DOSDRV\SBEINIT.COM
SET DJGPP=C:\djgpp\djgpp.env
SET PATH=C:\djgpp\bin\;%PATH%
SET LIBRARY_PATH=C:\DJGPP\LIB

===================================
ALSO TRIED MS-DOS Prompt:

PROGRAM
Cmd line:  C:\WINDOWS\COMMAND.COM
Working:  C:\
Run:  Normal window
Close on exit:  CHECKED
[advanced program settings]
Prevent MS-DOS-based programs from detecting Windows:  CHECKED
nothing else checked
[/advanced program settings]

MEMORY
Conventional memory
- Total:  Auto
- Initial environment:  Auto
- Protected:  CHECKED
Expanded (EMS) memory
- Total:  Auto
Extended (XMS) memory
- Total:  Auto
- Uses HMA:  CHECKED
MS-DOS protected-mode (DPMI) memory
- Total:  Auto

SCREEN
Usage:  Full-screen, Default initial size
Window:  Display toolbar, Restore settings on startup
Performance:  Fast ROM emulation, Dynamic memory allocation
(the above are checked)

MISC
Foreground
- Allow screen saver:  UNCHECKED
Background
- Always suspend:  UNCHECKED
Idle sensitivity:  High (slider all the way over)
Mouse
- QuickEdit:  UNCHECKED
- Exclusive mode:  UNCHECKED
Termination
- Warn if still active:  CHECKED
Other
- Fast pasting:  CHECKED
Windows shortcut keys
- all are checked

===================================
ALSO TRIED startup:

UNCHECK Adaptec DirectCD (CDR program)
UNCHECK Tablet (Wacom USB graphics tablet)
UNCHECK EPSON Background Monitor (printer)
UNCHECK EPSON Status Monitor 3 Environment Check (printer)

--------------------------------------------------------------
Brian Kennedy
brk AT eclipse DOT net 

- Raw text -


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