I am having problems with both wget 1.6 and wget 1.7.  I have a working wget
1.5.3 that I use a quite a lot.


When I compile wget 1.6 or 1.7, using either the -O2 (default) or -O1
parameters on gcc 2.95.2, I get segmentation faults as follows:

# wget -m -nd
ftp://ftp.slackware.com/pub/slackware/alpha/slackware-current/slakware/n1/wg
et*
--13:06:27--
ftp://ftp.slackware.com/pub/slackware/alpha/slackware-current/slakware/n1/wg
et*
           => `.listing'
Connecting to ftp.slackware.com:21... connected!
Logging in as anonymous ... Logged in!
==> TYPE I ... done.  ==> CWD
pub/slackware/alpha/slackware-current/slakware/n1 ... done.
==> PORT ... done.    ==> LIST ... done.

    0K -> ...

13:06:39 (417.44 B/s) - `.listing' saved [4025]

Segmentation fault




When I compile wget with -O0 to turn off optimization, wget works, but I get
some garbage in the output as follows:
# wget -m -nd
ftp://ftp.slackware.com/pub/slackware/alpha/slackware-current/slakware/n1/wg
et*
--13:01:08--
ftp://ftp.slackware.com/pub/slackware/alpha/slackware-current/slakware/n1/wg
et*
           => `.listing'
Connecting to ftp.slackware.com:21... connected!
Logging in as anonymous ... Logged in!
==> TYPE I ... done.  ==> CWD
pub/slackware/alpha/slackware-current/slakware/n1 ... done.
==> PORT ... done.    ==> LIST ... done.

    0K -> ...

13:01:11 (3.10 KB/s) - `.listing' saved [4025]

--@woeÿâ8Àt¸EUR@b¸EUR@fOEÿâ8--
   => `'
==> CWD not required.
==> PORT ... done.    ==> RETR wget-1.6-alpha-1.tgz ... done.
Length: 274,854

    0K -> .......... .......... .......... .......... .......... [ 18%]
   50K -> .......... .......... .......... .......... .......... [ 37%]
  100K -> .......... .......... .......... .......... .......... [ 55%]
  150K -> .......... .......... .......... .......... .......... [ 74%]
  200K -> .......... .......... .......... .......... .......... [ 93%]
  250K -> .......... ........                                    [100%]

13:01:22 (25.12 KB/s) - `wget-1.6-alpha-1.tgz' saved [274854]


FINISHED --13:01:22--
Downloaded: 278,879 bytes in 2 files




What other documentation would you need from me on this problem?  Please be
specific on how to get it, also, since I am very unfamiliar with gdb, etc.

Mark Post

Reply via email to