Re: [squid-users] Segmentation fault on x86_64

From: Michał Margula <alchemyx@dont-contact.us>
Date: Mon, 12 Dec 2005 20:52:27 +0100

Michał Margula napisał(a):
> I am sorry. I don't know why I skipped that. Now I have compiled squid
> with symbols, enabled core dumps and waiting. Funny thing is that it
> didn't fail for last 30 hours (usualy it happens much faster!). I hope I
> am not victim of Murphy Law and it will fail sometime :D.
>

OK. It got sigsegv and I have a ''core'' file. After runing gdb:

faramir tmp # gdb /usr/sbin/squid core
GNU gdb 6.4
Copyright 2005 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 "x86_64-pc-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `(squid) -DYC'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib64/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib64/libssl.so.0.9.7...done.
Loaded symbols for /usr/lib/libssl.so.0.9.7
Reading symbols from /usr/lib64/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.7
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib64/tls/librt.so.1...done.
Loaded symbols for /lib/tls/librt.so.1
Reading symbols from /lib64/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib64/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib64/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib64/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib64/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0 0x00002aaaab798b16 in malloc_usable_size () from /lib/tls/libc.so.6
(gdb) where
#0 0x00002aaaab798b16 in malloc_usable_size () from /lib/tls/libc.so.6
#1 0x00002aaaab799848 in free () from /lib/tls/libc.so.6
#2 0x00002aaaab79add0 in calloc () from /lib/tls/libc.so.6
#3 0x00000000004a1c3c in xcalloc ()
#4 0x00000000004594b6 in memBufGrow ()
#5 0x0000000000446d45 in httpStart ()
#6 0x00000000004369a0 in fwdConnectDone ()
#7 0x00000000004371a1 in fwdConnectStart ()
#8 0x0000000000461c3a in peerSelectFoo ()
#9 0x0000000000436587 in fwdStart ()
#10 0x0000000000429ea6 in clientCacheHit ()
#11 0x000000000047561d in storeClientReadHeader ()
#12 0x0000000000485aa7 in storeDiskdDirCallback ()
#13 0x0000000000477d6d in storeDirCallback ()
#14 0x000000000048a06b in storeDiskdSend ()
#15 0x000000000048a358 in storeDiskdWrite ()
#16 0x0000000000479d37 in storeSwapOut ()
#17 0x0000000000445c2f in httpReadReply ()
#18 0x000000000042e524 in comm_poll ()
#19 0x0000000000456fa5 in main ()

Is it helpful in any way?

-- 
Michał Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]
Received on Mon Dec 12 2005 - 12:52:29 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST