delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/07/16/15:05:49

Message-ID: <3F159AC9.4010402@student.kuleuven.ac.be>
Date: Wed, 16 Jul 2003 20:34:49 +0200
From: Peter Claessens <peter DOT claessens AT student DOT kuleuven DOT ac DOT be>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: nl-BE,en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: malloc/free blues
References: <3F156434 DOT 3000508 AT psy DOT kuleuven DOT ac DOT be> <uu19m75gm DOT fsf AT elta DOT co DOT il>
X-Virus-Scanned: by KULeuven Antivirus Cluster

Here's one.
Sorry about the possibly messed up layout.
That 0x0001a04e adress, which is obviously rather crucial, refers to
line 117 of the code snippet, which is:
116       if (fixpage!=NULL) {
117         destroy_bitmap(fixpage);  fixpage=NULL;
118       };
For the record, I'm running this in dos box under win98 on a pentium III
computer with 132 MB ram.

Thanks!
Peter.

Page fault at eip=000c0df0, error=0006
eax=001c2028 ebx=003f501c ecx=003f501c edx=00161298 esi=0043702c
edi=00000013
ebp=003a1038 esp=003a102c program=C:\SRC\DOTS2002\DOTREAD.EXE
cs: sel=00af  base=839b6000  limit=ffffafff
ds: sel=00b7  base=839b6000  limit=ffffafff
es: sel=00b7  base=839b6000  limit=ffffafff
fs: sel=00c7  base=00000000  limit=0010ffff
gs: sel=00c7  base=00000000  limit=0010ffff
ss: sel=00b7  base=839b6000  limit=ffffafff
App stack: [003a2000..002a2000]  Exceptn stack: [00167318..001653d8]

Call frame traceback EIPs:
    0x000c0df0 free+168, file malloc.c
    0x0006cf6e destroy_bitmap+370, file c:/djgpp/allegro/src/graphics.c,
line 1165
    0x0001a04e sequence_trial2(trial*)+3626, file
c:/src/dots2002/sequencetrial.cp
    0x0005f9d0 .debug_pubnames+42891, file c:/src/dots2002/exp.cpp, line 731
    0x00033809 .debug_info+613, file c:/src/dots2002/irpreter.cpp, line 1006
    0x00024d51 .debug_line+847, file c:/src/dots2002/irpreter.cpp, line 211
    0x00023d59 interprete(std::string)+391, file
c:/src/dots2002/irpreter.cpp, lin
    0x0002366a cl()+250, file c:/src/dots2002/irface.cpp, line 74
    0x0002323e irface(int)+62, file c:/src/dots2002/irface.cpp, line 22
    0x0006869a main+4576, file c:/src/dots2002/dotread.cpp, line 157
    0x000bc3b8 __crt1_startup+176, file crt1.c

C:\src\dots2002>bfdsymify -o bfdsym.out dotread.exe




Eli Zaretskii wrote:
 >>From: Peter Claessens <peter DOT claessens AT psy DOT kuleuven DOT ac DOT be>
 >>Newsgroups: comp.os.msdos.djgpp
 >>Date: Wed, 16 Jul 2003 16:41:56 +0200
 >>
 >>The program code is way too big to paste here, but at the bottom of this
 >>mail you will find a stripped-down version of the function that the
 >>program crashes in, without the actual drawing functions.
 >
 >
 > It would be more useful if you post one or more of the crash
 > messages, after running bfdsymify on them.
 >


- Raw text -


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