delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/02/16:44:22

From: "Avi Berkovich" <berkovic AT netvision DOT net DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Help: RHIDE + Far Pointers
Date: Wed, 3 May 2000 00:00:11 +0300
Organization: NetVision Israel
Lines: 19
Message-ID: <8enfdd$c2g$1@news.netvision.net.il>
NNTP-Posting-Host: ppp205.ort.org.il
X-Trace: news.netvision.net.il 957300973 12368 62.0.195.214 (2 May 2000 20:56:13 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 2 May 2000 20:56:13 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Well

I have isolated the problem and discovered that only after I access a "far
pointer" using _farpoke or assmebly code, I get a SIGSEGV Page Fault Error
6.
It seems that after I first run the program through RHIDE, when trying to
run it again the __dpmi_physical_address_mapping(__dpmi_meminfo *) function
fails, though I do free the LFB at the end of the prog using
__dpmi_free_physical_address_mapping(__dpmi_seginfo *) whichfails to free
it, but when I run the prog in dos though it fails to free the LFB at the
end, the program runs again with no trouble.
I just played around with RHIDE and it seems that sometime when I debug that
error eccours and sometimes it doesn't.

Can this be a BUG in RHIDE?




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019