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.

curl_multi_perform creates new thread

From: Anass Meskini via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 20 Sep 2023 21:11:32 -0400

Hello,

I compiled curl from the github repository with --with-openssl then I
compiled multi-app.c.
When I run the program in gdb and add a breakpoint for pthread_create I see:

> gdb) bt
> #0 __pthread_create_2_1 (newthread=0x555555590d50, attr=0x0,
> start_routine=0x7ffff7f61d20, arg=0x555555590fe0) at pthread_create.c:625
> #1 0x00007ffff7f61da6 in ?? () from /lib/x86_64-linux-gnu/libcurl.so.4
> #2 0x00007ffff7f65224 in ?? () from /lib/x86_64-linux-gnu/libcurl.so.4
> #3 0x00007ffff7f29875 in ?? () from /lib/x86_64-linux-gnu/libcurl.so.4
> #4 0x00007ffff7f3f2ce in ?? () from /lib/x86_64-linux-gnu/libcurl.so.4
> #5 0x00007ffff7f5125f in ?? () from /lib/x86_64-linux-gnu/libcurl.so.4
> #6 0x00007ffff7f520c1 in curl_multi_perform () from
> /lib/x86_64-linux-gnu/libcurl.so.4
> #7 0x00005555555554ec in main () at main.c:45
>

Is this expected?

Thanks


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-09-21