Description of problem: I was running this command to download some legacy RedHat Linux ISOs: wget -c http://archive.download.redhat.com/pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc1.iso http://archive.download.redhat.com/pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc2.iso http://archive.download.redhat.com/pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc3.iso --2021-10-03 10:57:52-- http://archive.download.redhat.com/pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc1.iso Resolving archive.download.redhat.com (archive.download.redhat.com)... 209.132.183.65 Connecting to archive.download.redhat.com (archive.download.redhat.com)|209.132.183.65|:80... connected. HTTP request sent, awaiting response... 302 Found Location: ftp://legacy.redhat.com//pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc1.iso [following] --2021-10-03 10:57:52-- ftp://legacy.redhat.com//pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc1.iso => ‘valhalla-i386-disc1.iso’ Resolving legacy.redhat.com (legacy.redhat.com)... 209.132.183.65 Connecting to legacy.redhat.com (legacy.redhat.com)|209.132.183.65|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/redhat/linux/7.3/en/iso/i386 ... done. ==> SIZE valhalla-i386-disc1.iso ... 668499968 File has already been retrieved. 2021-10-03 10:57:54 (0,00 B/s) - ‘valhalla-i386-disc1.iso’ saved [668499968] --2021-10-03 10:57:54-- http://archive.download.redhat.com/pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc2.iso Connecting to archive.download.redhat.com (archive.download.redhat.com)|209.132.183.65|:80... connected. HTTP request sent, awaiting response... 302 Found Location: ftp://legacy.redhat.com//pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc2.iso [following] --2021-10-03 10:57:54-- ftp://legacy.redhat.com//pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc2.iso => ‘valhalla-i386-disc2.iso’ Connecting to legacy.redhat.com (legacy.redhat.com)|209.132.183.65|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/redhat/linux/7.3/en/iso/i386 ... done. ==> SIZE valhalla-i386-disc2.iso ... 669319168 File has already been retrieved. Segmentation fault (core dumped) Version-Release number of selected component: wget-1.21.1-2.fc33 Additional info: reporter: libreport-2.15.2 backtrace_rating: 4 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-a32c2d63-8476-4214-9ecb-4d3f427024cb.scope cmdline: wget -c http://archive.download.redhat.com/pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc1.iso http://archive.download.redhat.com/pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc2.iso http://archive.download.redhat.com/pub/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc3.iso crash_function: find_cell executable: /usr/bin/wget journald_cursor: s=2a74addf844b4ee9991027589954950e;i=12d2536;b=9d04212e091b4a32a131efe767c66367;m=a61ccc96;t=5cd6e1229796a;x=c26c82bf85b8894a kernel: 5.13.19-100.fc33.x86_64 rootdir: / runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (6 frames) #0 find_cell at hash.c:321 #1 hash_table_get at hash.c:340 #2 downloaded_file at convert.c:1129 #4 ftp_loop_internal at ftp.c:2037 #5 ftp_loop at ftp.c:2847 #6 retrieve_url at retr.c:999
Created attachment 1828562 [details] File: backtrace
Created attachment 1828563 [details] File: core_backtrace
Created attachment 1828564 [details] File: cpuinfo
Created attachment 1828565 [details] File: dso_list
Created attachment 1828566 [details] File: environ
Created attachment 1828567 [details] File: exploitable
Created attachment 1828568 [details] File: limits
Created attachment 1828569 [details] File: maps
Created attachment 1828570 [details] File: mountinfo
Created attachment 1828571 [details] File: open_fds
Created attachment 1828572 [details] File: proc_pid_status
Hi Silviu, thanks for filing this. This is quite interesting. If you don't use the -c, you get a completely different segfault: #0 __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:45 #1 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at pthread_kill.c:62 #2 0x00007f6a9d1e56b6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007f6a9d1cf7d3 in __GI_abort () at abort.c:79 #4 0x00007f6a9d226a27 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f6a9d3625f9 "%s\n") at ../sysdeps/posix/libc_fatal.c:155 #5 0x00007f6a9d23c74c in malloc_printerr (str=str@entry=0x7f6a9d3650f0 "free(): double free detected in tcache 2") at malloc.c:5543 #6 0x00007f6a9d23e67f in _int_free (av=0x7f6a9d39caa0 <main_arena>, p=0x55c3febfd220, have_lock=0) at malloc.c:4360 #7 0x00007f6a9d240ae5 in __GI___libc_free (mem=<optimized out>) at malloc.c:3278 #8 0x000055c3fcd26406 in main (argc=<optimized out>, argv=0x7fffecda52b8) at /usr/src/debug/wget-1.21.1-4.fc35.x86_64/src/main.c:2179 (gdb) f 8 #8 0x000055c3fcd26406 in main (argc=<optimized out>, argv=0x7fffecda52b8) at /usr/src/debug/wget-1.21.1-4.fc35.x86_64/src/main.c:2179 In this case the reused filename is garbled after retrieve_url function. Looking into this.
FEDORA-2021-952213f5f8 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-952213f5f8
FEDORA-2021-25d5612d53 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-25d5612d53
FEDORA-2021-a5bed798c8 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a5bed798c8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a5bed798c8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-25d5612d53 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-25d5612d53` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-25d5612d53 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-952213f5f8 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-952213f5f8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-952213f5f8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-87a28cef21 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-87a28cef21` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-87a28cef21 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-32d0a39c1a has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-32d0a39c1a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-32d0a39c1a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-a4a7e596f8 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a4a7e596f8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a4a7e596f8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-87a28cef21 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-32d0a39c1a has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-a4a7e596f8 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.