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: Stefan Eissing via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 26 Sep 2024 09:02:35 +0200
> Am 26.09.2024 um 09:00 schrieb Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>:
>
> 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.
The stacktrace would certainly tell a tale.
>
> --
>
> / 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.html
Date: Thu, 26 Sep 2024 09:02:35 +0200
> Am 26.09.2024 um 09:00 schrieb Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>:
>
> 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.
The stacktrace would certainly tell a tale.
>
> --
>
> / 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.html
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2024-09-26