curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Curl segfault in curl_multi_perform

From: Richard W.M. Jones via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 31 Jul 2023 11:09:17 +0100

On Mon, Jul 31, 2023 at 11:48:20AM +0200, Daniel Stenberg wrote:
> On Mon, 31 Jul 2023, Richard W.M. Jones wrote:
>
> >Looking at the core dump, it seems there are 117 easy handles on
> >the multi when it crashes:
>
> I noticed that you do HTTP/2 upgrade for plain a HTTP:// URL in the
> crash case. Is this the case for all URLs you use or is this
> special?
>
> Do you avoid the crash if you avoid the upgrade?
>
> (Could help pinpoint the root cause)

I'm not sure that I understand the question (as I'm not very familiar
with HTTP/2). But ...

There's only ever a single URL for the run. It is set, always to the
same value, using CURLOPT_URL on every easy handle.

I'm running a local instance of Apache back-to-back through a 1Gbps
switch. The version of Apache is
httpd-2.4.37-61.module+el8.9.0+19455+fc43937a.x86_64

We're setting CURLOPT_HTTP_VERSION == CURL_HTTP_VERSION_2_0 on every
handle.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-07-31