RE: [squid-users] FATAL: Received Segment Violation...dying.

From: sameer khan <khanzadap_at_hotmail.com>
Date: Wed, 26 May 2010 09:19:56 +0000

Hey

there was a permission problem with director where coredump was suppose to be created, but got that fixed following is the coredump, can some one highlight what is wrong ?

squid-1# gdb /usr/local/squid/sbin/squid /usr/local/squid/var/cache/core
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_dns.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
(no debugging symbols found)
Core was generated by `(squid)'.
Program terminated with signal 6, Aborted.
[New process 4412]
[New process 4424]
[New process 4430]
[New process 4431]
[New process 4437]
[New process 4428]
[New process 4425]
[New process 4427]
[New process 4470]
[New process 4475]
[New process 4472]
[New process 4463]
[New process 4464]
[New process 4474]
[New process 4471]
[New process 4436]
[New process 4426]
[New process 4434]
[New process 4450]
[New process 4447]
[New process 4465]
[New process 4429]
[New process 4432]
[New process 4446]
[New process 4433]
[New process 4449]
[New process 4455]
[New process 4458]
[New process 4462]
[New process 4442]
[New process 4439]
[New process 4448]
[New process 4435]
[New process 4456]
[New process 4460]
[New process 4444]
[New process 4445]
[New process 4440]
[New process 4452]
[New process 4438]
[New process 4457]
[New process 4468]
[New process 4466]
[New process 4454]
[New process 4441]
[New process 4453]
[New process 4461]
[New process 4467]
[New process 4443]
[New process 4459]
[New process 4451]
[New process 4469]
[New process 4473]
#0  0x00007f5f94deaed5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007f5f94deaed5 in raise () from /lib/libc.so.6
#1  0x00007f5f94dec3f3 in abort () from /lib/libc.so.6
#2  0x00000000004824ad in ?? ()
#3  <signal handler called>
#4  0x00007f5f94e33a72 in strcmp () from /lib/libc.so.6
#5  0x00000000004268f2 in ?? ()
#6  0x000000000047a1b4 in ?? ()
#7  0x000000000047a4cb in ?? ()
#8  0x000000000041d832 in ?? ()
#9  0x000000000041fbe3 in ?? ()
#10 0x0000000000406ec5 in ?? ()
#11 0x0000000000406ec5 in ?? ()
#12 0x000000000042183b in ?? ()
#13 0x000000000042bbfe in ?? ()
#14 0x0000000000456380 in ?? ()
#15 0x00007f5f94dd71a6 in __libc_start_main () from /lib/libc.so.6
#16 0x0000000000404069 in ?? ()
#17 0x00007fff5f665878 in ?? ()
#18 0x000000000000001c in ?? ()
#19 0x0000000000000001 in ?? ()
#20 0x00007fff5f666e9e in ?? ()
#21 0x0000000000000000 in ?? ()

My settup
 
<*> Squid Cache: Version 2.7.STABLE6
configure options:  '--enable-async-io'
'--enable-icmp' '--enable-snmp'
'--enable-cache-digests' '--enable-follow-x-forwarded-for'
'--enable-storeio=aufs,ufs,null,diskd,coss'
'--enable-removal-policies=heap,lru'
'--with-maxfd=65535' '--disable-ident-lookups'
'--enable-truncate' '--enable-linux-tproxy'
'--enable-linux-netfilter' '--enable-large-cache-files'
 
<*> Kernel 2.6.31.13
 
<*> Debain lenny 5.04
 
machine is setup in bridge mode with tproxy, with ip configured on br0 interface.
 
any help will be much appreciated.
 
thanks in advance
----------------------------------------
> Date: Tue, 25 May 2010 09:29:51 -0700
> From: george.herbert_at_gmail.com
> To: khanzadap_at_hotmail.com
> CC: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] FATAL: Received Segment Violation...dying.
>
> You will have to set up the system to collect a core dump, you need
> that to tell where in the code it seg faulted.
>
>
> On Tue, May 25, 2010 at 5:56 AM, sameer khan wrote:
>>
>>
>> Hey
>>
>> squid is just dying with fatal error:
>>
>> FATAL: Received Segment Violation...dying.
>> 2010/05/25 17:52:52| storeDirWriteCleanLogs: Starting...
>> 2010/05/25 17:52:52| WARNING: Closing open FD 29
>> 2010/05/25 17:52:52| commSetEvents: epoll_ctl(EPOLL_CTL_DEL): failed on fd=29: (1) Operation not permitted
>> 2010/05/25 17:52:52| WARNING: Closing open FD 30
>> 2010/05/25 17:52:52| commSetEvents: epoll_ctl(EPOLL_CTL_DEL): failed on fd=30: (1) Operation not permitted
>> 2010/05/25 17:52:53| 65536 entries written so far.
>> 2010/05/25 17:52:53| 131072 entries written so far.
>> 2010/05/25 17:52:53| 196608 entries written so far.
>> 2010/05/25 17:52:53| 262144 entries written so far.
>> 2010/05/25 17:52:53| 327680 entries written so far.
>> 2010/05/25 17:52:53| 393216 entries written so far.
>> 2010/05/25 17:52:53| 458752 entries written so far.
>> 2010/05/25 17:52:53| 524288 entries written so far.
>> 2010/05/25 17:52:53| 589824 entries written so far.
>> 2010/05/25 17:52:53| 655360 entries written so far.
>> 2010/05/25 17:52:54| 720896 entries written so far.
>> 2010/05/25 17:52:54| 786432 entries written so far.
>> 2010/05/25 17:52:54| 851968 entries written so far.
>> 2010/05/25 17:52:54| 917504 entries written so far.
>> 2010/05/25 17:52:54| 983040 entries written so far.
>> 2010/05/25 17:52:54| 1048576 entries written so far.
>> 2010/05/25 17:52:54| 1114112 entries written so far.
>> 2010/05/25 17:52:54| 1179648 entries written so far.
>> 2010/05/25 17:52:54| 1245184 entries written so far.
>> 2010/05/25 17:52:54| 1310720 entries written so far.
>> 2010/05/25 17:52:55| 1376256 entries written so far.
>> 2010/05/25 17:52:55| 1441792 entries written so far.
>> 2010/05/25 17:52:55| 1507328 entries written so far.
>> 2010/05/25 17:52:55| 1572864 entries written so far.
>> 2010/05/25 17:52:55| 1638400 entries written so far.
>> 2010/05/25 17:52:55| 1703936 entries written so far.
>> 2010/05/25 17:52:55| 1769472 entries written so far.
>> 2010/05/25 17:52:55| 1835008 entries written so far.
>> 2010/05/25 17:52:55| 1900544 entries written so far.
>> 2010/05/25 17:52:55| 1966080 entries written so far.
>> 2010/05/25 17:52:55| 2031616 entries written so far.
>> 2010/05/25 17:52:56| 2097152 entries written so far.
>> 2010/05/25 17:52:56| 2162688 entries written so far.
>> 2010/05/25 17:52:56| 2228224 entries written so far.
>> 2010/05/25 17:52:56| 2293760 entries written so far.
>> 2010/05/25 17:53:03| Finished. Wrote 2338090 entries.
>> 2010/05/25 17:53:03| Took 10.2 seconds (228705.3 entries/sec).
>> CPU Usage: 12716.239 seconds = 6215.796 user + 6500.442 sys
>> Maximum Resident Size: 0 KB
>> Page faults with physical i/o: 17950
>> Memory usage for squid via mallinfo():
>> total space in arena: 580484 KB
>> Ordinary blocks: 579739 KB 287 blks
>> Small blocks: 0 KB 4 blks
>> Holding blocks: 57608 KB 3 blks
>> Free Small blocks: 0 KB
>> Free Ordinary blocks: 745 KB
>> Total in use: 637347 KB 100%
>> Total free: 745 KB 0%
>> 2010/05/25 17:53:07| Starting Squid Cache version 2.7.STABLE6 for x86_64-unknown-linux-gnu...
>> 2010/05/25 17:53:07| Process ID 4412
>> 2010/05/25 17:53:07| With 65535 file descriptors available
>> 2010/05/25 17:53:07| Using epoll for the IO loop
>> 2010/05/25 17:53:07| Performing DNS Tests...
>> 2010/05/25 17:53:07| Successful DNS name lookup tests...
>> 2010/05/25 17:53:07| DNS Socket created at 0.0.0.0, port 26621, FD 6
>> 2010/05/25 17:53:07| Adding nameserver 127.0.0.1 from /etc/resolv.conf
>> 2010/05/25 17:53:07| helperOpenServers: Starting 10 'storeurl.pl' processes
>> 2010/05/25 17:53:07| Unlinkd pipe opened on FD 20
>> 2010/05/25 17:53:07| Swap maxSize 565248000 + 3145728 KB, estimated 43722594 objects
>> 2010/05/25 17:53:07| Target number of buckets: 2186129
>> 2010/05/25 17:53:07| Using 4194304 Store buckets
>> 2010/05/25 17:53:07| Max Mem size: 3145728 KB
>> 2010/05/25 17:53:07| Max Swap size: 565248000 KB
>> 2010/05/25 17:53:07| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
>> 2010/05/25 17:53:07| Store logging disabled
>> 2010/05/25 17:53:07| Rebuilding storage in /usr/local/squid/var/cache/sda1 (CLEAN)
>> 2010/05/25 17:53:07| Rebuilding storage in /usr/local/squid/var/cache/sda2 (CLEAN)
>> 2010/05/25 17:53:07| Rebuilding storage in /usr/local/squid/var/cache/sda3 (CLEAN)
>> 2010/05/25 17:53:07| Rebuilding storage in /usr/local/squid/var/cache/sda4 (CLEAN)
>> 2010/05/25 17:53:07| Rebuilding storage in /usr/local/squid/var/cache/sdb1 (CLEAN)
>> 2010/05/25 17:53:07| Rebuilding storage in /usr/local/squid/var/cache/sdb2 (CLEAN)
>> 2010/05/25 17:53:07| Rebuilding storage in /usr/local/squid/var/cache/sdb3 (CLEAN)
>> 2010/05/25 17:53:07| Rebuilding storage in /usr/local/squid/var/cache/sdb4 (CLEAN)
>> 2010/05/25 17:53:07| Using Least Load store dir selection
>> 2010/05/25 17:53:07| Set Current Directory to /usr/local/squid/var/cache
>> 2010/05/25 17:53:07| Loaded Icons.
>> 2010/05/25 17:53:07| Accepting transparently proxied HTTP connections at 0.0.0.0, port 55555, FD 37.
>> 2010/05/25 17:53:07| Accepting ICP messages at 0.0.0.0, port 3130, FD 38.
>> 2010/05/25 17:53:07| Accepting SNMP messages on port 3401, FD 39.
>> 2010/05/25 17:53:07| WCCP Disabled.
>> 2010/05/25 17:53:07| Pinger socket opened on FD 40
>> 2010/05/25 17:53:07| Ready to serve requests.
>> 2010/05/25 17:53:08| icmpSend: send: (111) Connection refused
>> 2010/05/25 17:53:08| Closing Pinger socket on FD 40
>> 2010/05/25 17:53:08| Store rebuilding is 1.4% complete
>> 2010/05/25 17:53:11| httpReadReply: Excess data from "GET http://webcs.msg.yahoo.com/crossdomain.xml"
>> 2010/05/25 17:53:19| httpReadReply: Excess data from "GET http://webcs.msg.yahoo.com/crossdomain.xml"
>> 2010/05/25 17:53:20| parseHttpRequest: Unsupported method '^F'
>>
>> There is not coredump so i cannt bt it, any have any clue what is causing it to die ?
>>
>> My settup
>>
>> <*> Squid Cache: Version 2.7.STABLE6
>> configure options: '--enable-async-io'
>> '--enable-icmp' '--enable-snmp' '--enable-cache-digests' '--enable-follow-x-forwarded-for'
>> '--enable-storeio=aufs,ufs,null,diskd,coss' '--enable-removal-policies=heap,lru'
>> '--with-maxfd=65535' '--disable-ident-lookups' '--enable-truncate' '--enable-linux-tproxy'
>> '--enable-linux-netfilter' '--enable-large-cache-files'
>>
>> <*> Kernel 2.6.31.13
>>
>> <*> Debain lenny 5.04
>>
>> machine is setup in bridge mode with tproxy transparent, with ip configured on br0 interface.
>>
>> any help will be much appreciated.
>>
>> thanks in advance
>>
>>
>>
>> _________________________________________________________________
>> http://clk.atdmt.com/UKM/go/197222280/direct/01/
>> We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
>
>
>
> --
> -george william herbert
> george.herbert_at_gmail.com
                                               
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
Received on Wed May 26 2010 - 09:20:06 MDT

This archive was generated by hypermail 2.2.0 : Wed May 26 2010 - 12:00:07 MDT