cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl segfault in curl_free()

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 13 Feb 2006 14:33:44 -0800

On Mon, Feb 13, 2006 at 02:28:08PM -0700, Steve Webb wrote:
> Hello.
>
> I've got a multi-threaded app that uses curl in each thread. The core of
> the thread is here:

Are you calling curl_global_init() before you spawn your threads?

> How to reproduce:
>
> cd /tmp
> wget http://badcheese.com/~steve/crawler.tar.gz

There's a typo in this line. It should be:

curl -O http://badcheese.com/~steve/crawler.tar.gz

:^)

> tar xzvf crawler.tar.gz
> cd crawl
> make
> ./crawl
>
> Any help would be greatly appreciated!

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-02-13