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.html