W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2003

Re: HTChunk_delete crash

From: Richard Atterer <richard@list03.atterer.net>
Date: Thu, 22 May 2003 22:09:20 +0200
To: www-lib@w3.org
Message-ID: <20030522200920.GA2527@nenya.lan>

On Thu, May 22, 2003 at 06:48:29PM +0200, Paul Accosta wrote:
> Ok Ive been working on my memory problem. I was thinking since I never
> delete the chunk that this could be my problem. But when I add the
> command HTChunk_delete(mychunk) the program crashes every time right
> there. Any help this time?

You should use a memory error debugging tool to find the problem. My
favourites are valgrind and memprof - they allow you to trace invalid 
accesses to memory, double frees, memory leaks etc.

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  CS student at the Technische  |  GnuPG key:
  | \/¯|  http://atterer.net  |  Universität München, Germany  |  0x888354F7
  ¯ '` ¯
Received on Thursday, 22 May 2003 16:09:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:43 GMT