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: Fri, 1 Oct 2021 16:59:31 +0200 (CEST)

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-01