www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/19/10:07:18

Date: Sun, 19 Jan 1997 16:54:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Tan <j_tan AT sympatico DOT bc DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: General Protection Fault After 2000 movedata();
In-Reply-To: <01bc0384$26a2c860$8713c2cf@586>
Message-ID: <Pine.SUN.3.91.970119165119.23317C-100000@is>
MIME-Version: 1.0

On 17 Jan 1997, Tan wrote:

> Call frame traceback EIPs:
>   0x0000a161
>   0x00001e60
>   0x00002fd9
>   0x00003766

FYI, it is always better to post the traceback after running `symify', so 
that others could see where exactly did your program crash.

>         for (i=0; i<height; i++)
>         {
>           movedata(s_BMP.segment, s_offset, d_BMP.segment, d_offset,
> length);
>           s_offset = s_offset + s_BMP.x2 * bytes_per_pixel; <<<<<<<<
>           d_offset = d_offset + d_BMP.x2 * bytes_per_pixel; <<<<<<<<

If this is an *exact* copy of your source, these should be 
s_BMP.bytes_per_pixel and d_BMP.bytes_per_pixel, right?

- Raw text -


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