cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: segfault in curl_easy_perform

From: Dave S <snidely.too_at_gmail.com>
Date: Fri, 23 Oct 2015 16:02:09 -0700

On Fri, Oct 23, 2015 at 12:39 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Thu, 22 Oct 2015, Dave S wrote:
>
>> I fixed that, and promptly got a seg fault. Here's *that* strace output:
>
>
> The strace output doesn't really help us much I think. Any chance you can
> just run this with a debugger and see a backtrace in libcurl when it
> crashes? (Ideally with libcurl built with debug symbols so that we get more
> clues.)
>
> It would also be interesting if you could try out a newer libcurl, at least
> as an experiment, just to see if that crashes or not. We've fixed hundreds
> of bugs since the 7.29 days.

You guys will be happy to know the blame goes to me ... I had the
declaration of the error buffer wrong.

Now behaves properly wih both 7.29 and 7.45.

Dave
/dps
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-10-24