cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl crash

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 22 Mar 2002 09:14:13 +0100 (MET)

On Thu, 21 Mar 2002, Anurag Singh wrote:

> My C program on SCO Unix crashed during calling the curl_easy_perform()
> with saving the file in the memory. It happened randomly and usually after
> a couple of successful calls.

Can you provide us with a stack trace (docs/BUGS explains how to do one) ?

> I'm wondering if I set the options correctly for the curl handle.

Hm, it looks pretty good.

Does your realloc() function work as a malloc() when you pass a NULL in the
first argument? I can't recall if that is "universal" or just the most common
behavior.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-22