cURL / Mailing Lists / curl-library / Single Mail


Re: segfault in curl_easy_perform

From: Dave S <>
Date: Thu, 22 Oct 2015 15:38:21 -0700

On Thu, Oct 22, 2015 at 1:36 PM, Daniel Stenberg <> wrote:
> On Thu, 22 Oct 2015, Dave S wrote:
>> I get a sigsegv in curl_easy_perform() for certain URLs. I'm trying to
>> access a local server on port 7070, and as I tweak the URL to try get it
>> right, some of the combinations give me a coredump (which abrt_server takes
>> away, not trusting me). System is a Centos 7 setup. What should I be doing
>> to avoid the coredump?
> Can you tell us more details on exactly what URLs you use to cause the
> crashes? It is not meant to ever crash given valid input.

I'm accessing a server running on another machine on the local network
(if it matters, both are VMs, but with different hosts).
The server is running Centos 6.6. IIRC, leaving the port (":7070" out
the URL caused a crash, presumably because the default HTTP port was
refusing a connenction.

Currently, I am using

which reaches the server, but it 400's the request. The server's logs show

2015-10-22 14:09:55,339 WARN badMessage: 400 Illegal character for

in the application log, and - - [22/Oct/2015:20:43:03 +0000] "POST /request
HTTP/1.1" 400 - 107

in the access log.
(dot-45 is the system with the client, where the segfault occurs).

Note that does not segfault when it
gets a 401 error.

(but the 401 doesn't the return status non-zero)



test signature -- please apply at front gate on Tuesdays only.
List admin:
Received on 2015-10-23