delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/22/22:15:14

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> <h6Wg7.8$Cf3 DOT 3054724 AT news DOT netcarrier DOT net> <cPWg7.10380$3q DOT 336761 AT news010 DOT worldonline DOT dk>
X-Newsreader: TIN [version 1.2 PL2]
Lines: 81
Message-ID: <FdZg7.9$7q3.3559472@news.netcarrier.net>
Date: Thu, 23 Aug 2001 01:44:05 GMT
NNTP-Posting-Host: 207.207.192.13
X-Complaints-To: news AT netcarrier DOT com
X-Trace: news.netcarrier.net 998531045 207.207.192.13 (Wed, 22 Aug 2001 21:44:05 EDT)
NNTP-Posting-Date: Wed, 22 Aug 2001 21:44:05 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 <cPWg7.10380$3q DOT 336761 AT news010 DOT worldonline DOT dk>, Jesper Lund
(jl1204 AT worldonline DOT dk) wrote:

:You don't have the GNU file utilities (including ls) installed. I guess
:that any program compiled with DJGPP will do for this test, try 'symify'
:instead of 'ls' and post the results.

I feel like a big dummy, but symify doesn't seem to do much since the
MS-DOS box is closed immediately after the crash.  Reading the FAQ, it
looks like it's more geared toward debugging a crashed exe file compiled
by DJGPP to discover the cause.  But I'll put the results below.  Symify
doesn't crash the MS-DOS prompt, at least.

Note that typing "gxx" without any arguments/input files will cause the
exact same crash as "gxx test1.cpp -o test1.exe" or ALT-F9 (compile) in
rhide.  Typing "gcc" with no arguments says "gcc.exe: No input files", but
if I type "gcc test2.c -o test2.exe", it will crash, giving the same
dialog box and fault address as gxx.  Compiling C programs crashes rhide,
too, with the same fault address.  Note that the fault address is
different depending on whether I compile from rhide or outside of rhide,
but it is the same two addresses every time (0028:65742F65 in rhide,
0028:5332334F when using the command from DOS, for both C and C++).

I think I'm in over my head here!  I just wanted to play around and learn
a little programming.  I haven't programmed since I was much younger, back
when my computer was 6502-based and things seemed a lot simpler :).  
Please be patient with me -- I'm willing to provide whatever info and try
whatever I need to help.  I really want to get DJGPP up and running!

Here is more information...

=============================================
typing "set > environ.txt" creates this file:
=============================================
TMP=c:\windows\TEMP
TEMP=C:\windows\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
CTSYN=C:\WINDOWS
QTJAVA=C:\WINDOWS\SYSTEM\QTJava.zip
CLASSPATH=C:\WINDOWS\SYSTEM\QTJava.zip;
PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND
DJGPP=C:\DJGPP\DJGPP.ENV
windir=C:\WINDOWS
BLASTER=A220 I5 D1 H5 P330 T6

====================================================
typing "go32-v2" (I probably ran this incorrectly?):
====================================================
go32/v2 version 2.0 built Dec 24 1999 17:46:57
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries
as well as v1 binaries (old makefiles).  Put ahead of the old go32 in your
PATH but do not delete your old go32 - leave it in the PATH after this
one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.

DPMI memory available: 280067 Kb
DPMI swap space available: 109597 Kb

====================================================
"symify" (the dump.txt file, I doubt this helps :( )
(I had to open a new DOS window b/c the crash closed
 the old window)
====================================================
Microsoft(R) Windows 98
   (C)Copyright Microsoft Corp 1981-1999.
 
C:\WINDOWS>cd ..
 
C:\>symify -o dump.txt test1.exe
test1.exe: No such file or directory (ENOENT)
 
C:\>symify -o dump.txt test1.cpp

[end of dump.txt]

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

- Raw text -


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