From: curl-library <curl-library-boun...@cool.haxx.se> On Behalf Of AdriƔn Gimeno Balaguer via curl-library Sent: Mittwoch, 10. Februar 2021 13:36 To: curl-library@cool.haxx.se > > The program crashes after 5-10 minutes since startup (provided the periodic > check always sends files) at curl_easy_perform() with the following stack > trace: > > Program terminated with signal 11, Segmentation fault. > #0 0x00007ff9f8cddaec in free () from /lib64/libc.so.6 > (gdb) bt > #0 0x00007ff9f8cddaec in free () from /lib64/libc.so.6 > #1 0x00007ff9f984e3a1 in pthread_create@@GLIBC_2.2.5 () from > /lib64/libpthread.so.0 > #2 0x00000000004b315c in Curl_thread_create ()
Crashes in `free` usually mean there's heap corruption. And with heap corruptions, the stack-trace of the crash often has nothing to do with the actual bug. The most likely reasons for heap corruptions are out-of-bounds writes and use of dangling pointers. Daniel's suggestion to use valgrind/ASAN is a good one - those tools should help you find the cause. Count yourself lucky that you can repro the problem by just running the program for 5-10 minutes š The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. Dynatrace Austria GmbH (registration number FN 91482h) is a company registered in Linz whose registered office is at 4020 Linz, Austria, Am Fünfundzwanziger Turm 20 ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html