Mail Archives: djgpp/1999/09/28/03:28:26
From: | Nate Eldredge <neldredge AT hmc DOT edu>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: DPMI Crash Program
|
Date: | Mon, 27 Sep 1999 21:36:51 -0700
|
Organization: | Harvey Mudd College
|
Lines: | 33
|
Message-ID: | <37F045E3.29ECB541@hmc.edu>
|
References: | <7spe65$du7$1 AT nnrp1 DOT deja DOT com>
|
NNTP-Posting-Host: | mercury.st.hmc.edu
|
Mime-Version: | 1.0
|
X-Trace: | nntp1.interworld.net 938493447 69039 134.173.45.219 (28 Sep 1999 04:37:27 GMT)
|
X-Complaints-To: | usenet AT nntp1 DOT interworld DOT net
|
NNTP-Posting-Date: | 28 Sep 1999 04:37:27 GMT
|
X-Mailer: | Mozilla 4.61 [en] (X11; U; Linux 2.2.13pre12 i586)
|
X-Accept-Language: | en
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
hank_heng AT hotmail DOT com wrote:
>
> Hi,
>
> I compile my source with DJGPP, then when I try to run it under true
> DOS mode, even with the CWSDPMI installed, it will not run the program
> but saying something like :
>
> Exiting due to signal SIGSEGV
> Page fault ........
> (some more lines of numbers)
>
> But the problem doesn't exist when I run the program in Windows95's
> DOS box, so I think it might cause by the DPMI manager, I try it on
> diffrent PC with diffrent configuration, but my program still does'n
> run under TRUE DOS MODE.
>
> So... How do I fix the problem so that my program will work in TRUE
> DOS MODE and Windows95's DOS box ? Do I need to use some other DPMI
> manager other then CWSDPMI ?
It's probably a bug in your program, most likely a NULL dereference.
Windows can't catch them but DPMI will. See FAQ section 9.1.
> Oh, one more thing, how do you link DPMI into my program in order it
> to run without need to shiping the DPMI manager every time I pass up my
> assignment ?
Not terribly easily. See FAQ section 9.5.
--
Nate Eldredge
neldredge AT hmc DOT edu
- Raw text -