What about CuteMouse? (DOSX)
> Japheth wrote (IIRC, something like, in old, now deleted forum):
>
> > The main benefit of running a DPMI application in Ring3 rather than Ring0
> > is, that if a dead loop with decreasing stack pointer occurs (very stupid
> > and very popular bug), in Ring0 it unavoidably runs into a TripleFault,
> > while with application in in Ring3 the DPMI host easily can clean up the trouble.
But that's YOUR typical style ...
> I found a very interesting (critical/criminal) BUG in Ladsoft's
> INFOPAD , occurring if an external DOS based DPMI host on "raw" is
> present. CWSDPMI raises a PageFault - see shot:
[snip]
> With HDPMI32, the bug becomes even more mallicious :
[snip]
> Seems that something (damaging HDPMI code in low memory ?) pushes HDPMI
> into such a self-destructive activity
[snip]
> Any ideas what could be the reason of the bug ? Low memory corruption ?
A crash in a real-mode callback (RMCB) is always somewhat dangerous, because the InDOS flag might be set, making a proper termination "impossible".
However, the most stupid contributor to the unrecoverable crash possibly is a "known" bug in CuteMouse. It doesn't "allow" an application to crash inside a mouse event proc. Did you also test without/another mouse driver? For example the very good one from Microsoft?
---
MS-DOS forever!
Complete thread:
- [BUG] ESP=0 | push | TripleFault | BOOM! | inside HDPMI32 ? - DOS386, 10.01.2008, 01:51 (DOSX)
- What about CuteMouse? - Japheth, 10.01.2008, 07:01
- TripleFault HDPMI32 | CuteMouse is INNOCENT (exceptionally) - DOS386, 12.01.2008, 02:38
- TripleFault HDPMI32 | CuteMouse is INNOCENT (exceptionally) - jaybur, 12.01.2008, 07:59
- No (Cute)Mouse problem, No "raw" mode problem - Japheth, 13.01.2008, 08:51
- SET HDPMI=1 should help - Japheth, 14.01.2008, 03:26
- bug in ??? fixed ??? - DOS386, 14.01.2008, 10:18
- HDPMI=1 did help Ladsoft also | DOS/32A is "paranoid" :-( - DOS386, 14.01.2008, 11:06
- SET HDPMI=1 should help - Japheth, 14.01.2008, 03:26
- TripleFault HDPMI32 | CuteMouse is INNOCENT (exceptionally) - DOS386, 12.01.2008, 02:38
- What about CuteMouse? - Japheth, 10.01.2008, 07:01