delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/06/14:01:18

Message-Id: <m0xIBey-000S1oC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: Dim Zegebart <zager AT post DOT comstar DOT ru>, djgpp AT delorie DOT com
Date: Mon, 6 Oct 1997 14:59:58 +0000
MIME-Version: 1.0
Subject: Re: Strange problem

Dim Zegebart <zager AT post DOT comstar DOT ru> wrote:

> I'm writing a relatively large project and after some momment past week
> I'v
> got a very strange behaviour of my code - it runs perfect ... if it
> successfully
> pass the 'magic' place at my code at the very first time. This function
> is called
> many times after that and if it pass the first time it'll pass next
> times too.
> Here is output from symify -o txt xfault.exe
> 
> eax=000001fc ebx=00000006 ecx=fffffffc edx=000006ef esi=000001e4
> edi=00009784
> ebp=000a79ec esp=000a79e4
> cs: sel=00a7  base=10000000  limit=0012ffff
> ds: sel=00af  base=10000000  limit=0012ffff
> es: sel=00af  base=10000000  limit=0012ffff
> fs: sel=00c7  base=000b8000  limit=0000ffff
> gs: sel=00bf  base=00000000  limit=ffffffff
> ss: sel=00af  base=10000000  limit=0012ffff
> 
> Call frame traceback EIPs:
>   0x00034ba8   _malloc+192
>   0x0000f6c6   _add_report_description+22, line 508 of xfault.c
>   0x00009873   _EqFlt_handler+239, line 24 of eq_flt.c
>   0x0000a225   _device_write_events_send+33, line 362 of events.c
>   0x0000a1d8   _events_send+212, line 347 of events.c
>   0x0000a0d6   _events_dispatch+78, line 309 of events.c
>   0x0000efc0   _main+624, line 336 of xfault.c
>   0x0003470a   ___crt1_startup+138
> 
> Have you any ideas ?
> Thank you.
I saw these crashes when I corrupt the heap, malloc fails some times. I don't 
remmember what exactly I corrupted, but the code ramdomly generated a GPF in 
malloc. Take a look to out-of bounds writes.

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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