Mail Archives: djgpp/1999/09/28/03:36:45
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 -