Source: wget Version: 1.21-1+deb11u1 wget -r -np seems to call twice free():
free(): double free detected in tcache 2 Program received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007ffff7a9c537 in __GI_abort () at abort.c:79 #2 0x00007ffff7af5768 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7c03e2d "%s\n") at ../sysdeps/posix/libc_fatal.c:155 #3 0x00007ffff7afca5a in malloc_printerr (str=str@entry=0x7ffff7c06170 "free(): double free detected in tcache 2") at malloc.c:5347 #4 0x00007ffff7afe055 in _int_free (av=0x7ffff7c35b80 <main_arena>, p=0x555555601560, have_lock=0) at malloc.c:4201 #5 0x00005555555a0cba in rpl_free (p=0x555555601570) at ../../lib/free.c:31 #6 0x000055555556a8b8 in freefileinfo (f=0x555555606a30) at ../../src/ftp.c:2892 #7 ftp_retrieve_glob (u=u@entry=0x5555556014d0, original_url=original_url@entry=0x5555556014d0, con=con@entry=0x7fffffffd8e0, action=<optimized out>) at ../../src/ftp.c:2754 #8 0x000055555556b0df in ftp_loop (u=u@entry=0x5555556014d0, original_url=original_url@entry=0x5555556014d0, local_file=local_file@entry=0x7fffffffda80, dt=dt@entry=0x7fffffffdb30, proxy=proxy@entry=0x0, recursive=<optimized out>, glob=true) at ../../src/ftp.c:2842 #9 0x00005555555894c9 in retrieve_url (orig_parsed=orig_parsed@entry=0x5555556014d0, origurl=origurl@entry=0x7fffffffe0a0 "ftp://medical.nema.org//MEDICAL/Private/Dicom/WORKGRPS/Wg06/", file=file@entry=0x7fffffffdb38, newloc=newloc@entry=0x7fffffffdb40, refurl=refurl@entry=0x0, dt=dt@entry=0x7fffffffdb30, recursive=true, iri=0x555555601390, register_status=true) at ../../src/retr.c:999 #10 0x0000555555560e81 in main (argc=<optimized out>, argv=0x7fffffffdd28) at ../../src/main.c:2167