[squid-users] Squid Session causing segmentation Fault

From: Rino M Nur <rino_at_melsa.net.id>
Date: Fri, 23 Sep 2011 09:28:51 +0700

Hi,

we configuring our proxy to popup a windows using squid_session, when
activated the squid process is terminated abnormally and log say
externalAclLookup: 'session' queue overload (ch=0x866af10)

squid -v
Squid Cache: Version 3.1.4
configure options: �'--build=x86_64-unknown-linux-gnu'
'--host=x86_64-unknown-linux-gnu' '--target=x86_64-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib64' '--libexecdir=/usr/libexec'
'--sharedstatedir=/var/lib' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--exec_prefix=/usr'
'--libexecdir=/usr/lib64/squid' '--localstatedir=/var'
'--datadir=/usr/share/squid' '--sysconfdir=/etc/squid'
'--with-logdir=$(localstatedir)/log/squid'
'--with-pidfile=$(localstatedir)/run/squid.pid'
'--disable-dependency-tracking' '--enable-arp-acl'
'--enable-follow-x-forwarded-for'
'--enable-auth=basic,digest,ntlm,negotiate'
'--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL,DB,POP3,squid_radius_auth'
'--enable-ntlm-auth-helpers=smb_lm,no_check,fakeauth'
'--enable-digest-auth-helpers=password,ldap,eDirectory'
'--enable-negotiate-auth-helpers=squid_kerb_auth'
'--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group'
'--enable-cache-digests' '--enable-cachemgr-hostname=localhost'
'--enable-delay-pools' '--enable-epoll' '--enable-icap-client'
'--enable-ident-lookups' '--enable-linux-netfilter'
'--enable-referer-log' '--enable-removal-policies=heap,lru'
'--enable-snmp' '--enable-ssl' '--enable-storeio=aufs,diskd,ufs'
'--enable-useragent-log' '--enable-wccpv2' '--enable-esi' '--with-aio'
'--with-default-user=squid' '--with-filedescriptors=16384' '--with-dl'
'--with-openssl' '--with-pthreads'
'build_alias=x86_64-unknown-linux-gnu'
'host_alias=x86_64-unknown-linux-gnu'
'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -fpie' 'LDFLAGS=-pie'
'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpie'
'FFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-I/usr/lib64/gfortran/modules'
--with-squid=/builddir/build/BUILD/squid-3.1.4
--enable-ltdl-convenience

squid,conf :
#POP UP MESSAGE OR BANNER
external_acl_type session ttl=60 %SRC /usr/lib64/squid/squid_session
-t 7200 -b /etc/squid/session.db
acl new_users external session
deny_info http://someserver/server.html new_users
http_access deny !new_users

LOG :
2011/09/22 13:44:10| aclMatchExternal: 'session' queue overload.
Request rejected '10.150.5.153'.
2011/09/22 13:44:10| aclMatchExternal: 'session' queue overload.
Request rejected '10.150.5.153'.
2011/09/22 13:44:10| aclMatchExternal: 'session' queue overload.
Request rejected '10.150.5.153'.
2011/09/22 13:44:10| aclMatchExternal: 'session' queue overload.
Request rejected '10.150.5.153'.
2011/09/22 13:44:10| WARNING: session #2 (FD 21) exited
2011/09/22 13:44:10| WARNING: session #1 (FD 19) exited

STRACE :
mmap(NULL, 212992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x7fad6341b000
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7fad6345b000
read(0,
"\n", 1024) � � � � � � � � � � = 1
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

Is this a bug ?

Thanks
Received on Fri Sep 23 2011 - 02:28:58 MDT

This archive was generated by hypermail 2.2.0 : Sat Sep 24 2011 - 12:00:03 MDT