Re: [Bug-wget] Race condition on downloaded files among multiple wget instances

2013-09-10 Thread Giuseppe Scrivano
Tim Ruehsen tim.rueh...@gmx.de writes: And SIGBUS could also occur out of any other reason (e.g. real bugs in Wget). As was already said, replacing mmap by read would not crash (wget_read_file() reads as many bytes as there are without prior checking the length of the file). But without

Re: [Bug-wget] [bug-wget] Segfault when trying to use metalinks

2013-09-10 Thread Darshit Shah
I have debugged this a little further. I bet an assert(i opt.jobs); at multi.c:148 would fail. I'm not sure how this code is supposed to work, but work from there. Even, I'm not very aware of the code, but it does seem like the problem lies there. All the traces point to it. assert (i