wget segfaults, as does Alt-F Package Manager web interface
GoogleCodeExporter opened this issue · comments
Unfortunately, it looks like wget segfaults when trying to access the dropbox
link that the packages are hosted on. This happens when using the web
interface, and also when I ssh in to the dns-323 and call the command manually:
$ wget --passive-ftp -q -P /tmp/ipkg-KbPWx2
http://dl.dropbox.com/u/1555717/DNS-323/Alt-F/pkgs/unstable/Packages
Segmentation fault
Here is the output I get (in my browser) when trying to use the web interface
to install packages with Alt-F:
Segmentation fault
HTTP/1.0 200 OK
Content-Type: text/html; charset=UTF-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title></head><body>
<script type=text/javascript>
alert("Downloading http://dl.dropbox.com/u/1555717/DNS-323/Alt-F/pkgs/stable/Packages\nUpdated list of available packages in /usr/lib/ipkg/lists/Alt-F-stable\nDownloading http://dl.dropbox.com/u/1555717/DNS-323/Alt-F/pkgs/unstable/Packages\nAn error ocurred, return value: 1.\nCollected errors:\nipkg_download: ERROR: Command failed with return value 139: `wget --passive-ftp -q -P /tmp/ipkg-KbPWx2 http://dl.dropbox.com/u/1555717/DNS-323/Alt-F/pkgs/unstable/Packages'\n")
window.location.assign(document.referrer)
</script>
</body></html>
What version of the product are you using? On what operating system?
Alt-F-0.1RC1, installed on a DNS-323. I formerly had ffp running
(successfully). Alt-f is working in all other ways (and is a great project, by
the way!).
Original issue reported on code.google.com by sambayl...@gmail.com
on 12 Jan 2012 at 6:37
Oh, actually my nameserver was misconfigured in /etc/resolv.conf
That was, among other things, causing nslookup to also segfault.
Looks like everything is working now that I've fixed that.
Original comment by sambayl...@gmail.com
on 12 Jan 2012 at 7:59
I can't reproduce this in my current sources.
Can you please provide a misconfigured /etc/resolv.conf so I can try to
reproduce the problem?
Original comment by whoami.j...@gmail.com
on 15 Jan 2012 at 7:52
I'm under the impression that the misconfigured resolv.conf was left over from
when I was running ffp, and hence not in anyway the fault of alt-f. So unless
I'm wrong about that, I think you can mark the issue fixed/closed.
But for the record, the nameserver in /etc/resolv.conf was set to my router, eg:
nameserver 192.168.1.1
So I swapped in Googles nameservers:
nameserver 8.8.8.8
nameserver 8.8.4.4
And everything worked fine after that.
The fact that wget and nslookup were segfaulting rather than returning a useful
error message was less than optimal.
Original comment by sambayl...@gmail.com
on 15 Jan 2012 at 8:37
> The fact that wget and nslookup were segfaulting rather than returning a
useful error message was less than optimal.
That was the problem I wanted to diagnose.
On my current sources, supplying a wrong nameserver makes the web page display
a (cryptic) error message, so I'm closing this issue.
Thanks
Original comment by whoami.j...@gmail.com
on 16 Jan 2012 at 5:40
- Changed state: Invalid