cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Segmentation fault

From: Manuel ArgŁelles <manuel.arguelles_at_gmail.com>
Date: Sat, 21 Aug 2010 02:10:56 -0500

I think I found the problem, possible when setting the URL with
curl_easy_setopt CURLOPT_URL.

The documentation says:
"The string given to CURLOPT_URL must be url-encoded and follow RFC 2396
(http://curl.haxx.se/rfc/rfc2396.txt)."

This means the whole string or just the path part? (I suppose
curl_easy_escape() should be used here?)

Regards

On Friday 20 August 2010 22:35:51 Dan Fandrich wrote:
> On Fri, Aug 20, 2010 at 09:52:54PM -0500, Manuel Arg√ľelles wrote:
> > Hello all,
> >
> > I'm having a segmentation fault while using libcurl with the easy
> > interface, it is a multithread application.
> >
> > First curl_global_init is called, before starting any thread, then
> > there's a function that calls curl_easy_init, some curl_easy_setopt,
> > curl_easy_perform and finally curl_easy_cleanup.
> >
> > The function is called from different threads.
>
> Are you sharing the same easy handles in different threads? That's a no-no.
> Which resolver are you using, on which platform?
>
> >>> Dan
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-21