cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: Seg fault in curl_perform stack trace

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Tue, 10 Nov 2009 16:32:08 +0100

On Tue November 10 2009 15:33:22 Kevin Baughman wrote:
> I was able to reproduce it under valgrind and there were a couple of
> invalid writes and an invalid free that happened before the core dump.
> these may help.

Great! I am almost sure it's a PEM reader problem. Could you please add all
necessary certs and keys into the NSS database and recompile libcurl without
HAVE_PK11_CREATEGENERICOBJECT defined? It should exclude any other
possibilities...

If the problem disappears, we need to fix the PEM reader module. It looks to
me like its code is somehow not thread-safe. In the meantime I'll look at
suspicious places around the code triggering the errors. It can be caused by
the recently implemented memory management. I'll fill a ticket at our
bugzilla since the problem seems to be specific to Fedora only.

Thanks for providing the info we were missing for months!

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-10

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET