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.

Fwd: core dump on curl function call

From: treesa fairy joseph via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 4 Oct 2021 12:04:29 +0530

Thank you very much. Will check my code based on these inputs

regards,
Treesa
---------- Forwarded message ---------
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, Oct 1, 2021 at 8:29 PM
Subject: Re: core dump on curl function call
To: treesa fairy joseph <treesafj_at_gmail.com>
Cc: treesa fairy joseph via curl-library <curl-library_at_lists.haxx.se>


On Fri, 1 Oct 2021, treesa fairy joseph wrote:

> #0 0x00000000005377c4 in Curl_hash_clean_with_criterium
(h=0xffff7c0a4d50,
> user=0xffff8b28d970,
> comp=0x4ba604 <hostcache_timestamp_remove>) at hash.c:243
> 243 hash.c: No such file or directory.
> (gdb) bt
> #0 0x00000000005377c4 in Curl_hash_clean_with_criterium
(h=0xffff7c0a4d50,
> user=0xffff8b28d970,
> comp=0x4ba604 <hostcache_timestamp_remove>) at hash.c:243

This issue shows the typical signs of a threading problem. Make sure that
your application and threading follow the advice here:

  https://curl.se/libcurl/c/threadsafe.html

In particular the dont-use-the-same-handle-twice rule.

If that doesn't help, then I'd advice you to start trying to create a
separate
stand-alone example code that reproduces the problem that you can share
with
us.

-- 
  / 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-04