[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: running "latest" version of wget2 gives a core file.

From: Tim Rühsen
Subject: Re: running "latest" version of wget2 gives a core file.
Date: Mon, 17 Feb 2020 10:38:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2


I can't reproduce here. Using your command line gives the expected

Failed to resolve wget (Name or service not known)
Failed to connect: General error

Since 'wget' is not resolvable, the code path shown by gdb should not
have been traversed.

To track this down I need your help.
- have a look if any old libwget and/or wget2 are lying around (remove
old ones)

- try to reduce the options, e.g. leave away -A ... and so on., to find
out which options don't combine.

- add '--d -oout.txt', send us out.txt and your config.log. if there is
private information included, remove it and/or send the files to me

Regards, Tim

On 2/17/20 8:26 AM, George R Goffe wrote:
> Hi,
> This just in from the "latest" wget2.
> wget2 wget -l 99 -r --no-parent -w 1 -A 
> ASF,AVI,BMP,GIF,JPEG,JPG,MOV,MPEG,MPG,TXT,WAV,WMV,ZIP,asf,avi,bmp,gif,jpeg,jpg,mov,mpeg,mpg,txt,wav,wmv,zip
>  causes a corefile. NOTE the extra wget. Purely an accident BUT the presence 
> of a syntax error or other user screwup should NOT BE a corefile. Yes?
> Here's the trace from the corefile:
> gdb /usr/lsd/bin/wget2 
> core.wget2.0.8399e2a84c704d0080f85bb635ca3aea.54918.1581923066000000000000GNU 
> gdb (GDB) Fedora 9.1-3.fc33
> Copyright (C) 2020 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /usr/lsd/bin/wget2...
> [New LWP 54923]
> [New LWP 54920]
> [New LWP 54922]
> [New LWP 54919]
> [New LWP 54918]
> [New LWP 54921]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/usr/lib64/libthread_db.so.1".
> Core was generated by `/usr/lsd/bin/wget2 --robots=off -c -t 0 
> --read-timeout=15 wget -l 99 -r --no-pa'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  get_header (resp=0x7f6254652c80, context=0x7f625462dc80) at wget.c:3531
> 3531                            bar_slot_begin(ctx->progress_slot, name, 0, 
> resp->header->length);
> [Current thread is 1 (Thread 0x7f625919a700 (LWP 54923))]
> (gdb) where
> #0  get_header (resp=0x7f6254652c80, context=0x7f625462dc80) at wget.c:3531
> #1  0x00007f626ad6577a in wget_http_get_response_cb (conn=0x7f6254000b60) at 
> http.c:992
> #2  0x0000000000425f3f in http_receive_response (conn=0x7f6254000b60) at 
> wget.c:4001
> #3  0x000000000041d6e2 in downloader_thread (p=0x1fde030) at wget.c:2312
> #4  0x00007f626a749432 in start_thread (arg=<optimized out>) at 
> pthread_create.c:477
> #5  0x00007f626a677833 in clone () at 
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:95Hi,

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]