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: curl_easy_cleanup( ) causes segmentation fault
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 26 Sep 2024 09:00:55 +0200 (CEST)
On Wed, 25 Sep 2024, Chris V via curl-library wrote:
> I compile it with
> gcc -o Beispiel beispiel.c -lcurl
>
> Starting it I am getting a segfault. As soon as I remove the
> curl_easy_cleanup() call it runs fine.
>
> System is running on a Raspberry with Debian:
> libcurl 7.64.0-4+deb10u9
>
> Any ideas what I did wrong?
Nope. I can't spot any problem and that code runs fine on my tests - but I
only tested with recent libcurl versions and not on a raspberry.
But such a basic example has not been reported to fail in the past either.
Date: Thu, 26 Sep 2024 09:00:55 +0200 (CEST)
On Wed, 25 Sep 2024, Chris V via curl-library wrote:
> I compile it with
> gcc -o Beispiel beispiel.c -lcurl
>
> Starting it I am getting a segfault. As soon as I remove the
> curl_easy_cleanup() call it runs fine.
>
> System is running on a Raspberry with Debian:
> libcurl 7.64.0-4+deb10u9
>
> Any ideas what I did wrong?
Nope. I can't spot any problem and that code runs fine on my tests - but I
only tested with recent libcurl versions and not on a raspberry.
But such a basic example has not been reported to fail in the past either.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2024-09-26