cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: segfault in hash.c

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 Sep 2003 23:38:50 +0200 (CEST)

On Tue, 9 Sep 2003, Jeff Pohlmeyer wrote:

> > Does this match your results?
>
> Yes, I get the same results exactly, unless I build with ares and without
> debug, then the crash is in : Curl_readwrite() at transfer.c:611

Yeah, this is some kind of memory problem and it can of course different
results on different builds.

To experiement a little, I tried to simply #ifdef out the actual free in
memdebug.c:curl_dofree() and when I do that I no longer get any crashes...

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-09