ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/13/14:27:05

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Sat, 13 Apr 2002 21:19:33 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Bernd Becker <munin AT munin DOT inka DOT de>
Message-Id: <7680-Sat13Apr2002211933+0300-eliz@is.elta.co.il>
X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <n33gbug7s08o8lh8chokjrv4rtjv7849rq@4ax.com> (message from Bernd
Becker on Sat, 13 Apr 2002 19:20:34 +0200)
Subject: Re: GPP 3.04: unknown (to me) error in crash log
References: <n33gbug7s08o8lh8chokjrv4rtjv7849rq AT 4ax DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Bernd Becker <munin AT munin DOT inka DOT de>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 13 Apr 2002 19:20:34 +0200
> General Protection Fault at eip=000594a5
> eax=8816e2e2 ebx=8816e2da ecx=8816e2da edx=00000000 esi=007a5310
> edi=8816e2e2
> ebp=001085c8 esp=001085bc program=C:\PROJECTS\GUI\TEST.EXE
> cs: sel=00a7  base=10000000  limit=007bffff
> ds: sel=00af  base=10000000  limit=007bffff
> es: sel=00af  base=10000000  limit=007bffff
> fs: sel=00bf  base=00000000  limit=0010ffff
> gs: sel=00bf  base=00000000  limit=0010ffff
> ss: sel=00af  base=10000000  limit=007bffff
> App stack: [0010884c..0008884c]  Exceptn stack: [000887a4..00086864]
> Call frame traceback EIPs:
>   0x000594a5 _free+77
>   0x0001d9ac _destroy_bitmap+140

Crashes inside the library function `free' usually mean that some
previous code overruns the end of an allocated buffer.  Look for a bug
along those lines, preferably by using some malloc-debugging tool,
such as YAMD or MSS.

Section 12.2 of the DJGPP FAQ list has more information about
interpreting crash messages like the one above, and some advice about
debugging such problems.

> Note (to myself): My program didn't crash when I was using GCC/GPP
> 2.95.X and Allegro 3.9.XX. Could this be a problem with the newer
> versions of the compiler/libraries ??

Probably not.

- Raw text -

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