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: core dump on curl function call

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 18 Oct 2021 09:50:19 +0200 (CEST)

On Mon, 18 Oct 2021, treesa fairy joseph wrote:

> My issue still there. I could not proceed much.

I would propose three different things that can help you go forward.

1. build with debug enabled and debug-symbols present so that when you get a
crash, you can view arguments and local variables. It helps diagnosing. And
when you show us stack traces, we can tell a lot more about what was going on.

2. switch back to a simpler logic and code (that works) as a test and then
work yourself forward again as then when/if you get a crash again you know
what introduced the crash. You should be able to get a working libcurl using
function for simple things almost based entirely on provided examples.

3. if these two steps fail, or perhaps in parallel, create a separate
application that is not tied to your real application that works similar as
your real application but is a separate thing that you write to work with a
public URL and that once it reproduces the problem, you can share with us and
we can help assist in the debugging.

Also: make sure you're not working with an ancient libcurl version.

-- 
  / 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/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2021-10-18