Subject: Bug: exiting on signal 11: Try again (still in Beta 6)

From: Yanming PENG <[email-masked]>
Date: Fri, 20 Oct 95 11:05:57 WETDST

I occasionally receive some error messages in syslog, such like:
... ftpd[8288]: exiting on signal 11: Try again
The ftp client was disconnected while uploading many files:
421 Service not available, remote server has closed connection

I make some experiments about it on Beta 4, Beta 6 and the old standard
release on Linux 1.2.3, 1.2.8, 1.2.13.
Results show that you can't upload more than 57 files!
57 is the number of uploading limit. If you upload one more file,
the ftp client receives:
421 Service not available, remote server has closed connection
and the server:
ftpd[18296]: exiting on signal 11: Try again

Then, I log debug msg to syslog and I get:
Oct 20 09:40:00 pc095 <31>Oct 20 09:39:57 ftpd[18209]: command: STOR ./debugreg.h^M 
Oct 20 09:40:00 pc095 <31>Oct 20 09:39:58 ftpd[18209]: command: STOR ./dirent.h^M 
Oct 20 09:40:06 pc095 <31>Oct 20 09:40:04 ftpd[18209]: command: PORT 134,58,24,98,5,236^M 
Oct 20 09:40:10 pc095 ftpd[18209]: exiting on signal 11: Try again

Oct 20 09:57:00 pc095 <30>Oct 20 09:56:57 ftpd[18296]: STOR ./dlfcn.h
Oct 20 09:57:02 pc095 <30>Oct 20 09:56:59 ftpd[18296]: STOR ./fpu_control.h
Oct 20 09:57:06 pc095 <30>Oct 20 09:57:02 ftpd[18296]: STOR ./ieee854.h
Oct 20 09:57:11 pc095 <31>Oct 20 09:57:09 ftpd[18296]: command: STOR ./obstack.h^M 
Oct 20 09:57:25 pc095 ftpd[18296]: exiting on signal 11: Try again

Looks like kind of buffer overflow. Any fix?

--
Yanming PENG  [email-masked]  http://peng.mech.kuleuven.ac.be or
http://www.mech.kuleuven.ac.be/pma/people/peng/index.html
-- The trouble with doing something right the first time is that nobody --
-- appreciates how difficult it was. --