Re: [SQU] Squid 2.4 Head FATAL: Received Segment Violation...dying

From: Sonny Franslay <sonnyfranslay@dont-contact.us>
Date: Thu, 8 Mar 2001 16:06:55 +0800 (Singapore Standard Time)

Hi Henrik,

I finnaly got the stack trace...

GNU gdb
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-unknown-bsdi4.1"...
(gdb) r -CNd1
Starting program: /usr/local/squid/bin/squid -CNd1
2001/03/08 15:50:17| Starting Squid Cache version 2.4.PRE-STABLE for
i386-pc-bsdi4.1...
2001/03/08 15:50:17| Process ID 10854
2001/03/08 15:50:17| With 13196 file descriptors available
2001/03/08 15:50:17| Performing DNS Tests...
2001/03/08 15:50:17| Successful DNS name lookup tests...
2001/03/08 15:50:17| DNS Socket created on FD 7
2001/03/08 15:50:17| Adding nameserver 192.168.50.44 from /etc/resolv.conf
2001/03/08 15:50:17| Unlinkd pipe opened on FD 12
2001/03/08 15:50:17| Swap maxSize 62914560 KB, estimated 4839581 objects
2001/03/08 15:50:17| Target number of buckets: 241979
2001/03/08 15:50:17| Using 262144 Store buckets
2001/03/08 15:50:17| Max Mem size: 32768 KB
2001/03/08 15:50:17| Max Swap size: 62914560 KB
2001/03/08 15:50:17| Local cache digest enabled; rebuild/rewrite every
1800/3600 sec
2001/03/08 15:50:17| Store logging disabled
2001/03/08 15:50:17| Rebuilding storage in /usr/local/squid/cache2 (DIRTY)
2001/03/08 15:50:17| Rebuilding storage in /usr/local/squid/cache3 (DIRTY)
2001/03/08 15:50:17| Rebuilding storage in /usr/local/squid/cache4 (DIRTY)
2001/03/08 15:50:17| Rebuilding storage in /usr/local/squid/cache5 (DIRTY)
2001/03/08 15:50:17| Rebuilding storage in /usr/local/squid/cache6 (DIRTY)
2001/03/08 15:50:17| Rebuilding storage in /usr/local/squid/cache7 (DIRTY)
2001/03/08 15:50:17| Rebuilding storage in /usr/local/squid/cache8 (DIRTY)
2001/03/08 15:50:17| Rebuilding storage in /usr/local/squid/cache9 (DIRTY)
2001/03/08 15:50:17| Rebuilding storage in /usr/local/squid/cache10
(DIRTY)
2001/03/08 15:50:17| Rebuilding storage in /usr/local/squid/cache11
(DIRTY)
2001/03/08 15:50:17| Using Least Load store dir selection
2001/03/08 15:50:17| Set Current Directory to /usr/local/squid/cache2
2001/03/08 15:50:17| Loaded Icons.
2001/03/08 15:50:17| Accepting HTTP connections at 0.0.0.0, port 8080, FD
31.
2001/03/08 15:50:17| WCCP Disabled.
2001/03/08 15:50:17| Ready to serve requests.
2001/03/08 15:50:18| Store rebuilding is 1.5% complete
2001/03/08 15:50:24| WARNING: Forwarding loop detected for:
GET
/scripts/cms/CmsInit.ASP?ID=6491353&D2=~aOACO@?A_???&AW=167&LV=2045&CU=22222704
HTTP/1.0
User-Agent: Mozilla/4.01 [en] (WinNT; I)
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8
Via: 1.0 prox12.foo.net.sg:8080 (Squid/2.4.PRE-STABLE), 1.0
prox11.foo.net.sg:8080 (Squid/2.4.PRE-STABLE), 1.0
prox8.foo.net.sg:8080 (Squid/2.4.PRE-STABLE), 1.0
prox13.foo.net.sg:8080 (Squid/2.4.PRE-STABLE), 1.0
prox7.foo.net.sg:8080 (Squid/2.4.PRE-STABLE), 1.0
prox2.foo.net.sg:8080 (Squid/2.4.PRE-STABLE), 1.0
prox1.foo.net.sg:8080 (Squid/2.4.PRE-STABLE), 1.0
prox5.foo.net.sg:8080 (Squid/2.4.PRE-STABLE)
X-Forwarded-For: 192.169.41.239, 192.169.41.44, 192.169.41.43,
192.169.41.40, 192.169.41.45, 192.169.41.39, 192.169.41.34, 192.169.41.33
Host: proxy.foo.net.sg:8080
Cache-Control: max-age=0
Connection: keep-alive

2001/03/08 15:50:31| urlParse: Illegal character in hostname
'proxy.foo.net.sg:8080proxy.foo.net.sg'
2001/03/08 15:50:32| urlParse: Illegal character in hostname
'proxy.foo.net.sg:8080proxy.foo.net.sg'
2001/03/08 15:50:34| Store rebuilding is 18.2% complete
2001/03/08 15:50:34| WARNING: Forwarding loop detected for:
GET
/scripts/cms/CmsInit.ASP?ID=1&D2=k`OCCS@?A?@??&AW=167&LV=2045&CU=29296850
HTTP/1.0
User-Agent: Mozilla/4.01 [en] (WinNT; I)
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8
Via: 1.0 prox13.foo.net.sg:8080 (Squid/2.4.PRE-STABLE), 1.0
prox7.foo.net.sg:8080 (Squid/2.4.PRE-STABLE), 1.0
prox4.foo.net.sg:8080 (Squid/2.4.PRE-STABLE), 1.0
prox8.foo.net.sg:8080 (Squid/2.4.PRE-STABLE)
X-Forwarded-For: 192.168.1.238, 192.168.1.45, 192.168.1.39,
192.168.1.36
Host: proxy.foo.net.sg:8080
Cache-Control: max-age=0
Connection: keep-alive

Program received signal SIGPIPE, Broken pipe.
0x28103911 in _syscall_sys_write ()
(gdb) bt
#0 0x28103911 in _syscall_sys_write ()
#1 0x805dc8f in commHandleWrite (fd=813, data=0xb8d47e0) at comm.c:817
#2 0x805ec89 in comm_select (msec=0) at comm_select.c:842
#3 0x8076bd9 in main (argc=2, argv=0x8047c14) at main.c:722
#4 0x804a437 in __start ()

Squid fails to start while rebuiling the storage. At the moment the
workaround I employed is to shudwon squid, remove all the swap.state file
and restart squid.

We are using cache digest with two other siblings, forming a
triangle. Clients point to a common name proxy.foo.net and dns round robin
will then direct the client to a specific cache server.

No diskd is used. We also notice there is a lot of forwarding loop error
reported by the log. Any reason why this is so?

I hope this info will help.

Thanks and looking forward to you reply....

regards,

Sonny I. Franslay
--------------------

On Mon, 19 Feb 2001, Henrik Nordstrom wrote:

> How are you peering?
>
> ICP/HTCP/digest/manual?
>
> parent or sibling relations?
>
> --
> Henrik Nordstrom
> Squid hacker
>
>
> Sonny Franslay wrote:
> >
> > Hi,
> >
> > We are not using diskd and still waiting for squid to produce this kind of
> > error again so have yet to obtained the strack trace.
> >
> > But we notice that there are a lot of forwarding loop encountered. Is
> > there any changes in the way the Pre-stable version catches forwarding
> > loop compared to the Dev4 version?
> >
> > > >
> > > > ->2001/02/13 23:04:03| WARNING: Forwarding loop detected for:
> > > > ->GET
> > > > ->/scripts/cms/CmsInit.ASP?ID=1&D2=l?OACC@??????&AW=167&LV=2045&CU=51312796
> > > > ->HTTP/1.0
> > > > ->User-Agent: Mozilla/4.01 [en] (WinNT; I)
> > > > ->Pragma: no-cache
> > > > ->Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> > > > ->Accept-Language: en
> > > > ->Accept-Charset: iso-8859-1,*,utf-8
> > > > ->Via: 1.0 proxy1.foo.com:8080 (Squid/2.4.PRE-STABLE), 1.0
> > > > ->proxy11.foo.com:8080 (Squid/2.4.PRE-STABLE
> > > > ->), 1.0 proxy2.foo.com:8080 (Squid/2.4.PRE-STABLE), 1.0
> > > > ->prpxy12.foo.com:8080 (Squid/2.4.PRE-STABLE)
> > > > ->X-Forwarded-For: 192.168.41.38, 192.168.41.43, 192.168.41.34
> > > > ->Host: proxy.foo.com:8080
> > > > ->Cache-Control: max-age=0
> > > > ->Connection: keep-alive
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Mar 08 2001 - 01:08:58 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:34 MST