Mail Archives: djgpp/2001/02/26/01:48:21
On Sun, 25 Feb 2001, Michael Allison wrote:
> Since so far it is only djgpp programs exhibiting the behaviour, there is
> some hesitation to do so. Is anyone aware of any non-djgpp programs having
> the same problem?
What other widely used DPMI environment do we have? The problem is
probably unique to DPMI programs.
> I also suspect that once the cause is fully understood, it will be
> possible to patch around it at the djgpp side, since you're unlikely
> to be able to patch ntvdm to work around djgpp)
If you look at the report produced by Dr Watson, you will clearly see
that it's NTVDM's own code which crashes, and it looks like it is
using the application's stack to do something when it crashes. Using
an application's stack is an absolute no-no for system-level software,
because that stack might be invalid at any given moment.
Since NTVDM's source is not freely available to study, it is unlikely
that we will ever fully understand what happens. We might have some
educated guess, given enough data and poking around, but that's about
all we can hope for.
- Raw text -