Re: lftp does not wait for "221 Goodbye" message before closing control connection

"Alexander V. Lukyanov" <[email protected]>
Newsgroups gmane.network.lftp.user
Message-ID <[email protected]>
On Mon, Sep 29, 2014 at 08:57:23PM -0400, Stephen Powell wrote:
> > 
> > I cannot reproduce it. Please use strace on the lftp process, also use
> > "pstack PID" on it and send me the output.
> 
> I can reproduce the problem if I run the lftp command directly at a
> shell prompt, but if I run the lftp command under strace, I cannot
> reproduce it.  How aggravating!  Perhaps this is a timing problem, and
> running the command under strace introduces just enough delay to eliminate
> the problem.  Also, I cannot use pstack because pstack is not available
> for the machine architecture that I am running on.

You can use gdb instead of pstack:

	$ gdb lftp PID
	...attached...
	(gdb) bt

-- 
   Alexander.
_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.