[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: |
Mats Erik Andersson |
Subject: |
Re: [bug-inetutils] inetutils 1.9.1-4: ftp "get" command occasionally dumps core, |
Date: |
Sun, 1 Sep 2013 00:03:04 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
lördag den 31 augusti 2013 klockan 03:59 skrev Mats Erik Andersson detta:
> 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?
> Could vsftpd fail at update its timer?
>
> 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.
I can add that the segmentation fault I observe
is happening at
/* ftp/domacro.c: 112 */
strcpy (cp2, argv[j + 2]);
The interpretation is that the book keeping of
`line', `line2', `cp1', and `cp2' is so mediocre
that a lost connection positions cp2 beyond its
allocated storage. I am right now working on an
analysis and an attempt at cleaning this mess.
Regards,
Mats E A