Mail Archives: djgpp/1997/05/26/01:34:53
On Sun, 25 May 1997, Larry Ellis wrote:
> The original problem occured with a little directory compare utility I
> wrote. But it also occurs with the GNU DIFF utility.
Please post the crash traceback that is printed when Ctrl-Break causes
a SIGSEGV (not SIGINT, as it should) in GNU Diff. How frequently does
this happen? Does this happen in Diff when you run it from a command
line, or when it is run by another DJGPP program?
Also, try to compile your program with unixy sbrk algorithm (the FAQ
explains how in section 3.3) and see if that helps.
> I don't think it is a simple as being a bug in the NT DMPI host, though,
> because when I compile my program under Watcom C and use DOS4GW as
> distributed w/ Watcom, the problem does not occur.
Different compilers/libraries use DPMI in different ways and reveal
different NT bugs. DOS4GW uses an entirely different approach: it's a
full-fledged DOS extender, not a simple DPMI client like DJGPP
programs are, which means it probably relies on the NT DPMI host much
less than DJGPP.
- Raw text -