curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. 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 Daniel himself.

Re: crash in Curl_getaddrinfo_ex using libcurl 8.11.1

From: Vadim Grinshpun via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 26 Mar 2025 11:44:10 -0400

On 3/21/25 8:38 PM, Vadim Grinshpun wrote:
> Hi,
> A program that has been happily using libcurl for years
> started crashing when we upgraded libcurl from 8.10.1 to 8.11.1.
>
> I was hoping the good folks here might be able
> to point me in the right direction; the crash is within a libcurl
> getaddrinfo call.
> A sample gdb stack trace is at the end of the email.
>
> - the OS is Ubuntu 22.04.5 LTS.
> - there were no code changes in the program, just dependency updates
> - the program is multi-threaded
>
> Based on the fact that 'getaddrinfo' is mentioned in the stack trace, I
> wonder if this is somehow related
> to a PR that was merged into 8.11.0:
> https://github.com/curl/curl/pull/15475
>
> Thanks for any help! And let me know if any other information would be
> useful.
>
> -Vadim
>
To follow up: updating to 8.12.1 seems to have resolved the issue.
(we think this was an instance of the fixed issue
https://github.com/curl/curl/issues/15725)


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-03-26