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 0x77a9c537 in __GI_abort () at abort.c:79
#2 0x77af5768 in __libc_message
(action=action@entry=do_abort, fmt=fmt@entry=0x77c03e2d "%s\n") at
../sysdeps/posix/libc_fatal.c:155
#3 0x77afca5a in malloc_printerr
(str=str@entry=0x77c06170 "free(): double free detected in tcache
2") at malloc.c:5347
#4 0x77afe055 in _int_free (av=0x77c35b80 ,
p=0x55601560, have_lock=0) at malloc.c:4201
#5 0x555a0cba in rpl_free (p=0x55601570) at ../../lib/free.c:31
#6 0x5556a8b8 in freefileinfo (f=0x55606a30) at
../../src/ftp.c:2892
#7 ftp_retrieve_glob (u=u@entry=0x556014d0,
original_url=original_url@entry=0x556014d0,
con=con@entry=0x7fffd8e0, action=) at
../../src/ftp.c:2754
#8 0x5556b0df in ftp_loop (u=u@entry=0x556014d0,
original_url=original_url@entry=0x556014d0,
local_file=local_file@entry=0x7fffda80,
dt=dt@entry=0x7fffdb30, proxy=proxy@entry=0x0,
recursive=, glob=true) at ../../src/ftp.c:2842
#9 0x555894c9 in retrieve_url
(orig_parsed=orig_parsed@entry=0x556014d0,
origurl=origurl@entry=0x7fffe0a0
"ftp://medical.nema.org//MEDICAL/Private/Dicom/WORKGRPS/Wg06/;,
file=file@entry=0x7fffdb38, newloc=newloc@entry=0x7fffdb40,
refurl=refurl@entry=0x0, dt=dt@entry=0x7fffdb30,
recursive=true, iri=0x55601390, register_status=true) at
../../src/retr.c:999
#10 0x55560e81 in main (argc=,
argv=0x7fffdd28) at ../../src/main.c:2167