cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Callback memory error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 28 Apr 2003 16:14:14 +0200 (CEST)

On Fri, 25 Apr 2003, Naved Khan wrote:

> From my client application, But when I call Post followed by Get, it
> crashes in the callback as the data becomes invalid and mem->size shows
> garbage value(3435973836) . So it fails in realloc. But If I call Get and
> then Put it works fine. (sounds insane...just writing what is happening and
> hoping for some clue).

So if this is repeatable, why not just set a break-point there, re-run your
program and single-step through the code until it dumps?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-28