delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/28/03:36:45

Message-ID: <37F06257.8233F55A@pmail.net>
Date: Tue, 28 Sep 1999 08:38:15 +0200
From: Fred Backman <fredrick DOT backman AT pmail DOT net>
X-Mailer: Mozilla 4.6 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: DPMI Crash Program
References: <7spe65$du7$1 AT nnrp1 DOT deja DOT com>
Reply-To: djgpp AT delorie DOT com

I'm no expert when it comes to DPMI but I this crash is happening because there
is a bug in your program, you are probably trying to dereference a null pointer
and the windows DPMI is not as fussy about these while the CWSDPMI is.

I have no idea whether you can get an alternative DPMI for MS-DOS but instead I
would suggest you try to fix the bug in your program instead. Try compiling
using "-g" flag and when it crashed, use "symify program.exe". Or just go
through your source code line by line and try to locate the problem that way....

Hope this helps!

hank_heng AT hotmail DOT com wrote:

>   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.

--
Fred Backman
Lead Wizard
Binary Spells
www.binaryspells.com

- Raw text -


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