Bugzilla – Bug 113682
wget crashes when downloading large files with wildcards
Last modified: 2005-09-06 10:27:29 UTC
This is bug report for Suse 9.3, but as there is no such product in Bugzilla, I am reporting it for 10.0. System is up-to-date with latest patches. Wget crashes during downloading large files with wildcard. The exact command was: wget -c -t0 'ftp://ftp.icm.edu.pl/pub/linux/mandrakelinux/official/iso/10.2/i586/Mandriva-Linux-2005-Limited-Edition-Download-CD*.i586.iso' There are 3 files matching this pattern on server. Each is ~700MB in size. Backtrace created with debuginfo packages installed: Program terminated with signal 11, Segmentation fault. warning: current_sos: Can't read pathname for load map: Błąd wejścia/wyjścia Loaded symbols for /usr/lib/libssl.so.0.9.7 Loaded symbols for /usr/lib/libcrypto.so.0.9.7 Loaded symbols for /lib/libdl.so.2 Loaded symbols for /lib/tls/librt.so.1 Loaded symbols for /lib/tls/libc.so.6 Loaded symbols for /lib/ld-linux.so.2 Loaded symbols for /lib/tls/libpthread.so.0 Loaded symbols for /usr/lib/gconv/ISO8859-2.so #0 0x401c5689 in free () from /lib/tls/libc.so.6 (gdb) bt #0 0x401c5689 in free () from /lib/tls/libc.so.6 #1 0x080515ec in ftp_loop (u=0x23c34600, dt=0x0, proxy=0x69726466) at ftp.c:1720 #2 0x08051d33 in ftp_retrieve_list (u=0x0, f=0xbfffe4d0, con=0x43106472) at ftp.c:1348 #3 0x08052ff2 in ftp_epsv (rbuf=0x8084ec8, addr=0x0, port=0x0, typ=0x0) at ftp-basic.c:426 #4 0x08052681 in ftp_response (rbuf=0x0, line=0x2) at ftp-basic.c:108 #5 0x080527f7 in ftp_size () at ftp-basic.c:860 #6 0x08085556 in ?? () #7 0x0000002f in ?? () #8 0xbfffe798 in ?? () #9 0x401ca656 in strdup () from /lib/tls/libc.so.6 #10 0x080686a0 in slist_free (l=0xbfffe7f0) at utils.c:1228 #11 0x08063e09 in res_get_specs (host=0x4 <Address 0x4 out of bounds>, port=-1073747404) at res.c:527 #12 0x40177e80 in __libc_start_main () from /lib/tls/libc.so.6 #13 0x0804abd1 in acceptport (sock=Cannot access memory at address 0x8 ) at connect.c:397 Previous frame inner to this frame (corrupt stack?) I have core file around in case somebody wants to examine it.
Is this with the wget update provided by YOU? wget version should be 1,10
Yes: krzysiek@athlon:~> wget --version GNU Wget 1.10
Can you reproduce with ftp://ftp.suse.com/pub/people/mmj/wget-1.10.1/ package?
Couldn't reproduce in 6 attempts. Seems solved. I am observing though pretty long time after control connection is closed (message "Zamknięto połączenie sterujące.") but before file is saved - it is 15 minutes. I don't know if it is related: --01:08:33-- ftp://ftp.icm.edu.pl/pub/linux/mandrakelinux/official/iso/10.2/i586/Mandriva-Linux-2005-Limited-Edition-Download-CD3.i586.iso => `Mandriva-Linux-2005-Limited-Edition-Download-CD3.i586.iso' ==> CWD /pub/linux/mandrakelinux/official/iso/10.2/i586 ... zrobiono. ==> PASV ... zrobiono. ==> REST 600000000 ... zrobiono. ==> RETR Mandriva-Linux-2005-Limited-Edition-Download-CD3.i586.iso ... zrobiono. Długość: 729,962,496 (696M), 129,962,496 (124M) remaining 100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++===================>] 729,962,496 121.27K/s ETA 00:00 01:26:13 (119.79 KB/s) - Zamknięto połączenie sterujące. 01:41:12 (119.79 KB/s) - `Mandriva-Linux-2005-Limited-Edition-Download-CD3.i586.iso' saved [729962496]
Submitted.