[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [bug-wget] Segfault when trying to use metalinks
From: |
Darshit Shah |
Subject: |
[Bug-wget] [bug-wget] Segfault when trying to use metalinks |
Date: |
Sat, 7 Sep 2013 14:42:45 +0530 |
Hi,
I was trying to work with the parallel-wget branch and found a few issues:
1. Even though the --jobs command is available, it seems like it is only
activated when wget is configured with --enable-metalink. The --jobs
command is also supposed to work with recursive downloading.
2. The console output when using multiple threads needs to be improved.
Atleast with debugging output, we should be able to identify what thread is
doing what.
3. While both manpage and --help output give the command as
--metalink-file, the actual command being used is --metalink. I've attached
a patch fixing that.
4. When trying to use a metalink file, Wget crashes with a SIGSEGV. The
backtrace taken from gdb is as follows:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff654a818 in malloc_consolidate () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff654a818 in malloc_consolidate () from /usr/lib/libc.so.6
#1 0x00007ffff654be07 in _int_malloc () from /usr/lib/libc.so.6
#2 0x00007ffff654dcc0 in malloc () from /usr/lib/libc.so.6
#3 0x000000000044107c in fill_ranges_data (num_of_resources=50,
file_size=4444913664, chunk_size=149946368) at multi.c:151
#4 0x000000000043127b in retrieve_from_file (file=0x685140 "metalink",
html=false, count=0x7fffffffde50) at retr.c:1105
#5 0x0000000000429c35 in main (argc=3, argv=0x7fffffffe068) at main.c:1739
This happens specifically when using the metalink available on Fedora's
website:
http://mirrors.fedoraproject.org/metalink?path=pub/fedora/linux/releases/19/Fedora/x86_64/iso/Fedora-19-x86_64-DVD.iso
The metalink file available on Ubuntu's website seems to work perfectly. SO
I guess, the issue lies in the parsing of the file.
Another message that may be relevance is:
*** Error in `./wget': corrupted double-linked list: 0x0000000000bdbd80 ***
--
Thanking You,
Darshit Shah
0001-Change-commandline-option-to-metalink-file.patch
Description: Binary data
- [Bug-wget] [bug-wget] Segfault when trying to use metalinks,
Darshit Shah <=
- Message not available
- Re: [Bug-wget] [bug-wget] Segfault when trying to use metalinks, Darshit Shah, 2013/09/08
- Re: [Bug-wget] [bug-wget] Segfault when trying to use metalinks, Giuseppe Scrivano, 2013/09/08
- Re: [Bug-wget] [bug-wget] Segfault when trying to use metalinks, Ángel González, 2013/09/08
- Re: [Bug-wget] [bug-wget] Segfault when trying to use metalinks, Darshit Shah, 2013/09/09
- Re: [Bug-wget] [bug-wget] Segfault when trying to use metalinks, Darshit Shah, 2013/09/11
- Re: [Bug-wget] [bug-wget] Segfault when trying to use metalinks, Ángel González, 2013/09/11