Re: HTChunk_delete crash

Richard Atterer <[email protected]>
Newsgroups gmane.comp.lib.libwww
Message-ID <[email protected]>
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
  ¯ '` ¯
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.