Public bug reported: Binary package hint: wget
The manpage says wget -S should work like normal, but also show headers. I found a bug that causes wget -S to fail; it doesn't happen with HTTP 200 (success) response, but it does for 302 (redirect) or 404 (not found). The error is "wget: realloc: Failed to allocate -2147483648 bytes; memory exhausted.". It causes wget to fail; no file is saved. I have expertise to look at this but as of now I don't want to take longer than filing a report. --- $ wget -S https://www.cs.york.ac.uk/~idb --18:36:17-- https://www.cs.york.ac.uk/~idb => `~idb' Resolving www.cs.york.ac.uk... 144.32.40.18 Connecting to www.cs.york.ac.uk|144.32.40.18|:443... connected. HTTP request sent, awaiting response... HTTP/1.1 404 Not Found Date: Thu, 21 Feb 2008 18:36:17 GMT wget: realloc: Failed to allocate -2147483648 bytes; memory exhausted. $ $ wget -S https://www.cs.york.ac.uk/ --18:34:13-- https://www.cs.york.ac.uk/ => `index.html' Resolving www.cs.york.ac.uk... 144.32.40.18 Connecting to www.cs.york.ac.uk|144.32.40.18|:443... connected. HTTP request sent, awaiting response... HTTP/1.1 302 Moved Temporarily Date: Thu, 21 Feb 2008 18:34:13 GMT wget: realloc: Failed to allocate -2147483648 bytes; memory exhausted. $ $ wget -S https://slashdot.org/ --18:34:36-- https://slashdot.org/ => `index.html.3' Resolving slashdot.org... 66.35.250.150 Connecting to slashdot.org|66.35.250.150|:443... connected. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 21 Feb 2008 18:34:37 GMT Server: Apache/1.3.37 (Unix) mod_perl/1.29 SLASH_LOG_DATA: shtml Location: http://slashdot.org/index.shtml Connection: close Content-Type: text/html; charset=iso-8859-1 Location: http://slashdot.org/index.shtml [following] --18:34:37-- http://slashdot.org/index.shtml => `index.shtml' Connecting to slashdot.org|66.35.250.150|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Thu, 21 Feb 2008 18:34:37 GMT Server: Apache/1.3.37 (Unix) mod_perl/1.29 X-Powered-By: Slash 2.005000 X-Fry: Prepare to be thought at! Cache-Control: private Pragma: private Connection: close Content-Type: text/html; charset=iso-8859-1 Length: unspecified [text/html] [ <=> ] 75,707 68.98K/s 18:34:39 (68.84 KB/s) - `index.shtml' saved [75707] $ ** Affects: wget (Ubuntu) Importance: Undecided Status: Confirmed -- wget -S error where HTTP response not code 200 https://bugs.launchpad.net/bugs/194075 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
