bug-wget
[Top][All Lists]
Advanced

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

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


From: George R Goffe
Subject: Re: running "latest" version of wget2 gives a core file.
Date: Mon, 17 Feb 2020 07:26:09 +0000 (UTC)

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,






reply via email to

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