LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Howto fix wget caused segfaultss? (https://www.linuxquestions.org/questions/linux-software-2/howto-fix-wget-caused-segfaultss-371192/)

suguru 10-09-2005 07:58 AM

Howto fix wget caused segfaults?
 
I did wget without enough space in the /home partition.
I got a segmentation fault.
I moved and deleted 2 files and had enough space.
I ran wget -c and still got a segmentation fault.
Why?
Can you please tell me what can I do to correct it?

x@lx:/home/56/linux/suse> sudo wget ftp://suse.mirrors.tds.net/pub/suse/...-x86_64-GM.iso
Password:
--01:38:39-- ftp://suse.mirrors.tds.net/pub/suse/...-x86_64-GM.iso
=> `SUSE-10.0-EvalDVD-x86_64-GM.iso'
Resolving suse.mirrors.tds.net... 216.165.129.140
Connecting to suse.mirrors.tds.net|216.165.129.140|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/suse/i386/10.0/iso ... done.
==> PASV ... done. ==> RETR SUSE-10.0-EvalDVD-x86_64-GM.iso ... done.
Length: 3,687,276,544 (3.4G) (unauthoritative)

77% [===========================================================> ] 2,875,334,656 211.04K/s ETA 26:18

03:12:14 (502.36 KB/s) - Data connection: Connection reset by peer; Segmentation fault
x@lx:/home/getWwget> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 20972152 3327564 17644588 16% /
tmpfs 258004 0 258004 0% /dev/shm
/dev/hda6 37743484 36124856 1618628 96% /home
x@lx:/home/getWwget> cd /home
... I did mv on an iso file to another partition and rm on another.
x@lx:/home> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 20972152 7715080 13257072 37% /
tmpfs 258004 0 258004 0% /dev/shm
/dev/hda6 37743484 29198668 8544816 78% /home
x@lx:/home>
...
x@lx:/home>
x@lx:/home/getWwget> sudo wget -c ftp://suse.mirrors.tds.net/pub/suse/...-x86_64-GM.iso
--06:24:57-- ftp://suse.mirrors.tds.net/pub/suse/...-x86_64-GM.iso
=> `SUSE-10.0-EvalDVD-x86_64-GM.iso'
Resolving suse.mirrors.tds.net... 216.165.129.140
Connecting to suse.mirrors.tds.net|216.165.129.140|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/suse/i386/10.0/iso ... done.
==> SIZE SUSE-10.0-EvalDVD-x86_64-GM.iso ... done.
==> PASV ... done. ==> REST 2875334656 ... done.
==> RETR SUSE-10.0-EvalDVD-x86_64-GM.iso ... done.
Length: 3,687,276,544 (3.4G), 811,941,888 (774M) remaining

100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=================>] 3,687,276,544 503.80K/s ETA 00:00


Segmentation fault
x@lx:/home/getWwget>
x@lx:/home/getWwget> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 20972152 7715080 13257072 37% /
tmpfs 258004 0 258004 0% /dev/shm
/dev/hda6 37743484 30026904 7716580 80% /home
x@lx:/home/getWwget>


Tinkster 10-10-2005 05:28 PM

Have you conisdered the possibility of faulty hardware?
Nothing in your logs suggests that this would be caused
by wget itself, but faulty RAM can make any old app (even
the most robust tools) segfault. That aside, knowing the
distro you're using, knowing which version of wget, and
whether it came with the distro or wgets origin would be
quite handy ...


Cheers,
Tink

suguru 10-12-2005 12:57 PM

Problem showed up Wget with Suse 9.3
 
Thanks Tink for your insight.
I was using the wget that came with the Suse 9.3 that was downloaded.
I finally got a Suse 10 download on another computer. I will probably try
to install it.
I learned that booting knoppix 3.9 or 4.0 and then doing wget on a
DVD is not a good idea. This wrote about 2.4 GB then gave a segfault
every time while using comcast. It seemed like a timer went off that
pulled down from about 500 K/s to 0 K/s then died a minute or two
later.


All times are GMT -5. The time now is 12:59 PM.