bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] inetutils 1.9.1-4: ftp "get" command occasionally du


From: Glenn Golden
Subject: Re: [bug-inetutils] inetutils 1.9.1-4: ftp "get" command occasionally dumps core,
Date: Sun, 1 Sep 2013 11:51:43 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

--
Mats Erik Andersson <address@hidden> [2013-09-01 00:03:04 +0200]:
> 
> ftp.archlinux.org is throtteling the connection.  Could it be that your
> macro is taking so long time that the connection times out, and then
> my problem is relevant also to your setting?
>

This seems unlikely, as the time to transfer the file on each "get" is
typically only about 10 seconds.  The execution time for the entire macro
(which in my version comprises four repetitions of the "get") is about 4x
longer, i.e. there are no unusual delays between each "get".

Also: This segfault occurs for me with several servers, not just
ftp.archlinux.org.  In fact, I discovered it using a server on my local network
here, and that server runs each "get" in about 1 second. So any connection
timeout issue seems an unlikely source of the segfault I'm seeing.

I did install your patch to domacro.c, but it has no effect on the segfault that
I observe.

> 
> Positioning of printf-probes could preferable be done close to "c_handler"
> and "connected" as well as loops in their vicinity. This would suggest that
> "ftp/domacro.c" and "ftp/main.c" are the most relevant files.
> 

Unfortunately, I don't have enough knowledge of the context of these functions
to understand exactly where and what you would like to printf.  If you can
provide a bit more info on what you're seeking to display, or even better,
a patchfile with printfs installed, it would be helpful.

>
> Let me boldly say that I appreciate very much your help and interest in
> repairing GNU Inetutils.
>

Glad to help, and your appreciation is appreciated.   It is a sentiment not
heard as often as it could be from often-grouchy developers. :)

Btw, side issue: For some reason, I did not receive a copy of the message from
which the above quotes are drawn, which on the ML is dated

    Sat, 31 Aug 2013 03:59:57 +0200

I received only a later message dated

    Sun, 1 Sep 2013 00:03:04 +0200

Was the 31-Aug message Cc-ed to my email, or sent only to the list?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]