From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <9911021624.AA14638@clio.rice.edu> Subject: Re: Problem with DOS and DPMI To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) Date: Tue, 2 Nov 1999 10:24:26 -0600 (CST) Cc: djgpp AT delorie DOT com In-Reply-To: from "Eli Zaretskii" at Nov 2, 99 11:12:20 am X-Mailer: ELM [version 2.4 PL20] Content-Type: text Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > > > > Page Fault cr2=10000000 at eip=e75; flags=6 > > > > > eax=00000030 ebx=00000000 ecx=0000000c edx=00000000 > > > > > esi=0001a44a edi=00000000 ebp=00000000 esp=00002672 > > > > > cs=18 ds=38 es=af fs=0 gs=0 ss=20 error=0002 > What exactly in the above data tells that it is a NULL pointer? cr2 is the address which caused the page fault; 0x10000000 is the base of the DPMI memory space. So someone referenced address 0. This is one of those cases that CWSDPMI has more information than it is allowed to pass back to the client by the DPMI 0.9 specs. The DPMI 1.0 specs provide for a method to return this info.