I had trouble reproducing it in a clean environment too, Jason - I made
a plain HTML file that had the include line in it and fetched that
recursively, but like you, just got a 404.

I can't give you a copy of the "bad" stuff, because it's a production
website - database-and-PHP, on Apache, very few actual "files" involved.
I could get you a gdb trace, if you'll give me an example command line
to follow, though.  All I have to do is put the pretty quotes back in,
and I'll get segfaulting wget once more - and I don't mind doing that on
a dev environment.

** Description changed:

  wget on Precise (wget v1.13.4) crashes with segfault when mirroring
  sites.  THIS IS A REGRESSION: the same behavior does not occur in wget
  v1.12 as found on Ubuntu Lucid.
  
  System being tested is fully up to date Ubuntu Precise x64 (Server),
  test machine on Lucid (which does not segfault) is fully up to date
  Ubuntu Lucid x64 (Server).
  
  Sample output:
  
  <pre>
  me@box:/tmp$ wget -m --delete-after http://www.[redacted]/
  
  [several pages of OK output redacted]
  
  Served from: www.[redacted] @ 2012-07-07 11:56:50 -->] done.
  2012-07-07 13:56:50 ERROR 404: Not Found.
  
  Dequeuing http://www.[redacted]/shows-page/ at depth 1
  Queue count 144, maxcount 149.
  --2012-07-07 13:56:50--  http://www.[redacted]/shows-page/
  Disabling further reuse of socket 3.
  Closed fd 3
  Found www.[redacted] in host_name_addresses_map (0x23fd220)
  Segmentation fault
  </pre>
  
  Using wget directly on the page which appears to have been processing
  during the segfault does NOT result in another segfault:
  
  <pre>
  root@www:/tmp# wget --delete-after http://www.[redacted]/shows-page/
  --2012-07-07 14:00:03--  http://www.[redacted]/shows-page/
- Resolving www.gamebreaker.tv (www.[redacted])... 173.193.169.42
- Connecting to www.gamebreaker.tv (www.[redacted])|173.193.169.42|:80... 
connected.
+ Resolving www.[redacted] (www.[redacted])... 173.193.169.42
+ Connecting to www.[redacted] (www.[redacted])|173.193.169.42|:80... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: unspecified [text/html]
  Saving to: `index.html'
  
-     [ <=>
+     [ <=>
  ] 84,289      --.-K/s   in 0s
  
  2012-07-07 14:00:07 (161 MB/s) - `index.html' saved [84289]
  
  Removing index.html.
  </pre>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1022124

Title:
  segfault in wget 1.13.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1022124/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to