[squid-users] WG: squid 3.1.11 --asserts with FTP traffic

From: <Martin.Pichlmaier_at_continental-corporation.com>
Date: Wed, 16 Mar 2011 14:00:13 +0100

Hello list,

I finally upgraded my old squid-3.0.STABLE25 installations to
squid-3.1.10 / 3.1.11 on RedHat AS5.

But now I have some asserts:

2011/03/16 09:47:50| comm_old_accept: FD 2196: (22) Invalid argument
2011/03/16 09:47:50| FTP data connection from unexpected server ([::]),
expecting 65.44.170.164
2011/03/16 09:47:50| assertion failed: comm.cc:1583: "fd >= 0"
2011/03/16 09:47:53| Starting Squid Cache version 3.1.11 for
x86_64-unknown-linux-gnu...
2011/03/16 09:47:53| Process ID 10749
2011/03/16 09:47:53| With 16384 file descriptors available
2011/03/16 09:47:53| Initializing IP Cache...
2011/03/16 09:47:53| DNS Socket created at [::], FD 7
2011/03/16 09:47:53| DNS Socket created at 0.0.0.0, FD 8
.....

I saw this five times today, always with the same "FTP data connection from
unexpected server...",
always the same FTP server IP.
No entry in the access.log, probably because squid crashed before it could
log the connection.
No special logs in cache.log before the assert.
Proxies are configured as forward proxies.
-----------------
# grep assert cache.log
2011/03/16 09:47:24| assertion failed: comm.cc:1583: "fd >= 0"
2011/03/16 09:47:50| assertion failed: comm.cc:1583: "fd >= 0"
2011/03/16 09:48:11| assertion failed: comm.cc:1583: "fd >= 0"
2011/03/16 11:01:54| assertion failed: comm.cc:1583: "fd >= 0"
2011/03/16 11:02:24| assertion failed: comm.cc:1583: "fd >= 0"
-----------------
I checked the old logs, connections to that server 65.44.170.164
(ftp.dspaceinc.com) worked with 3.0,
but always crashed my 3.1.10 and 3.1.11 servers.

Unfortunately I do not yet have a coredump and therefore no gdb backtrace.
As the FTP site does not allow anonymous FTP access I cannot yet reproduce
the error myself
and I have not yet found the user who tried to access this URL.

Has anyone an idea what could cause this?

# squid -v
Squid Cache: Version 3.1.11
configure options: '--prefix=/appl' '--localstate=/var'
'--with-filedescriptors=16384' '--enable-storeio=aufs'
'--enable-auth=ntlm,basic' '--enable-external-acl-helpers=wbinfo_group'
'--enable-icap-client' '--enable-cache-digests'
'--enable-removal-policies=heap,lru'
--with-squid=/home/rootinac/INST/squid-3.1.11 --enable-ltdl-convenience
# uname -a
Linux rbgs241x 2.6.18-194.11.1.0.1.el5 #1 SMP Tue Aug 10 17:22:07 EDT 2010
x86_64 x86_64 x86_64 GNU/Linux

Regards,
Martin
Received on Wed Mar 16 2011 - 13:00:29 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 16 2011 - 12:00:03 MDT