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: Stefan Eissing via curl-library <>
Date: Mon, 31 Jul 2023 13:38:46 +0200


thanks for the testing and adding more debug output. I added test cases here to try to reproduce your scenario in curl parallel transfers with an Apache, but everything works fine here so far.

What would be helpful in analysing is the Connection and Transfer ID we introduced in curl 8.2. If you add those to your debug output/crash dump, it it easier to see which transfer is affected and what it had been doing before. For an example to get these IDs, please see:

Hope this helps,

> Am 31.07.2023 um 13:29 schrieb Richard W.M. Jones via curl-library <>:
> I enabled the debug build of curl to get some more information. I
> also added some of my own debug messages to show when the
> H2_STREAM_LCTX macro sets or clears the stream pointer. This is all
> with the latest curl (git commit 92ac5a8d594).
> There's now a GOAWAY message sent by my server (which I didn't see in
> the previous output), just before the crash.
> The stack trace of the crash from this build is the same as before.
> I'm not any closer to understanding what's going on here, but still
> looking ... If you have any suggestions for what to try, I can do that.
> Rich.
> --
> Richard Jones, Virtualization Group, Red Hat
> Read my programming and virtualization blog:
> virt-p2v converts physical machines to virtual machines. Boot with a
> live CD or over the network (PXE) and turn machines into KVM guests.
> --
> Unsubscribe:
> Etiquette:

Received on 2023-07-31