delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/14/10:45:07

From: "Lars O. Hansen" <lars DOT o DOT hansen AT gmx DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problem with malloc and free
Date: Sat, 14 Dec 2002 16:30:55 +0100
Organization: 1&1 Internet AG
Lines: 21
Message-ID: <atfirg$1j4$1@news.online.de>
References: <000001c2a37a$59f41060$186a10ac AT citechbd DOT com> <atfimi$1fk$1 AT news DOT online DOT de>
NNTP-Posting-Host: p508383b2.dip0.t-ipconnect.de
X-Trace: news.online.de 1039879856 1636 80.131.131.178 (14 Dec 2002 15:30:56 GMT)
X-Complaints-To: abuse AT online DOT de
NNTP-Posting-Date: 14 Dec 2002 15:30:56 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> my oversight; there should be no freeall() in main; I added it "last second" befor posting,
beacuse
> I had a "blackout" and wondered where my freeall was. Of course it's set by atexit.
> The program still crashes. Here's the new traceback:
>
> Call frame traceback EIPs:
>   0x00003825 _free+77
>   0x000018bb _freeall+99
>   0x0000353f _exit+31
>   0x0000171f _main+31
>   0x00003138 ___crt1_startup+176
>
>


also as you can see in the traceback in Re to Richard, it crashed in the first free. So free is
somehow the problem.

But you recognized that good. thanks.


- Raw text -


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