www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/01/00:38:29

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Page Faults
Date: Sat, 30 Nov 1996 20:31:26 -0800
Organization: Alcyone Systems
Lines: 20
Message-ID: <32A10A1E.7FCFF6FC@alcyone.com>
References: <19961129 DOT 012507 DOT 8439 DOT 1 DOT aclemmer AT juno DOT com>
<329e2296 DOT 22687782 AT news DOT ox DOT ac DOT uk> <19961201 DOT 003702 DOT 10791 DOT 1 DOT aclemmer AT juno DOT com>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Aaron M Clemmer wrote:

> //  I think I managed to isolate the problem, but this is really weird...
> I have all the real // code commented out, and have just one of the below
> lines uncommmented...
> //      result->y = m[1][3];  // this will cause a page fault
> //      result->x = m[1][3];  // but this won't
> // It seems totally illogical that trying to access an element of the
> matrix with one // // variable works, but with the other causes a page
> fault.

It sounds like you're sending in an invalid pointer into result.  We'd have
to see the "driver" code to tell you more.

-- 
                             Erik Max Francis | max AT alcyone DOT com
                              Alcyone Systems | http://www.alcyone.com/max/
                         San Jose, California | 37 20 07 N 121 53 38 W
                                 &tSftDotIotE | R^4: the 4th R is respect
         "But since when can wounded eyes see | If we weren't who we were"

- Raw text -


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