02.04.2013 17:06, Amos Jeffries пишет:
>
> Right now I'm interested in the back trace / stack trace of what code is leading up to the assertion.
>
# gdb /usr/local/sbin/squid ./squid.core.0
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...
Core was generated by `squid'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libgssapi.so.10...done.
Loaded symbols for /usr/lib/libgssapi.so.10
Reading symbols from /usr/lib/libheimntlm.so.10...done.
Loaded symbols for /usr/lib/libheimntlm.so.10
Reading symbols from /usr/lib/libkrb5.so.10...done.
Loaded symbols for /usr/lib/libkrb5.so.10
Reading symbols from /usr/lib/libhx509.so.10...done.
Loaded symbols for /usr/lib/libhx509.so.10
Reading symbols from /usr/lib/libcom_err.so.5...done.
Loaded symbols for /usr/lib/libcom_err.so.5
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/lib/libasn1.so.10...done.
Loaded symbols for /usr/lib/libasn1.so.10
Reading symbols from /usr/lib/libroken.so.10...done.
Loaded symbols for /usr/lib/libroken.so.10
Reading symbols from /lib/libcrypt.so.5...done.
Loaded symbols for /lib/libcrypt.so.5
Reading symbols from /usr/local/lib/libltdl.so.7...done.
Loaded symbols for /usr/local/lib/libltdl.so.7
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/nss_winbind.so.1...done.
Loaded symbols for /usr/local/lib/nss_winbind.so.1
Reading symbols from /usr/local/lib/nss_wins.so.1...done.
Loaded symbols for /usr/local/lib/nss_wins.so.1
Reading symbols from /usr/local/lib/libldap-2.4.so.8...done.
Loaded symbols for /usr/local/lib/libldap-2.4.so.8
Reading symbols from /usr/local/lib/liblber-2.4.so.8...done.
Loaded symbols for /usr/local/lib/liblber-2.4.so.8
Reading symbols from /usr/local/lib/libexecinfo.so.1...done.
Loaded symbols for /usr/local/lib/libexecinfo.so.1
Reading symbols from /lib/libmd.so.5...done.
Loaded symbols for /lib/libmd.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libtalloc.so.2...done.
Loaded symbols for /usr/local/lib/libtalloc.so.2
Reading symbols from /usr/local/lib/libtdb.so.1...done.
Loaded symbols for /usr/local/lib/libtdb.so.1
Reading symbols from /lib/libz.so.6...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /usr/local/lib/libsasl2.so.3...done.
Loaded symbols for /usr/local/lib/libsasl2.so.3
Reading symbols from /usr/lib/libssl.so.6...done.
Loaded symbols for /usr/lib/libssl.so.6
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x0000000802f6bbbc in thr_kill () from /lib/libc.so.7
[New Thread 803407400 (LWP 101256/squid)]
(gdb) backtrace
#0 0x0000000802f6bbbc in thr_kill () from /lib/libc.so.7
#1 0x0000000803008e7b in abort () from /lib/libc.so.7
#2 0x00000000005452ad in xassert (msg=0x773577 "c->locks > 0", file=0x773529 "cbdata.cc", line=463)
at debug.cc:567
#3 0x000000000050bbc6 in cbdataInternalUnlockDbg (p=0x8034a5158, file=0x7ae0b0 "Checklist.cc", line=273)
at cbdata.cc:463
#4 0x00000000006b6829 in ~ACLChecklist (this=0x7fffffffd4f0) at Checklist.cc:273
#5 0x0000000000671b56 in ~ACLFilledChecklist (this=0x7fffffffd4f0) at FilledChecklist.cc:101
#6 0x000000000051dcfb in httpAccept (params=@0x8034a0978) at client_side.cc:3279
#7 0x00000000006cc01e in CommAcceptCbPtrFun::dial (this=0x8034a0970) at CommCalls.cc:136
#8 0x0000000000529109 in CommCbFunPtrCallT<CommAcceptCbPtrFun>::fire (this=0x8034a0940) at CommCalls.h:381
#9 0x00000000006b8294 in AsyncCall::make (this=0x8034a0940) at AsyncCall.cc:36
#10 0x00000000006bc67c in AsyncCallQueue::fireNext (this=0x8034298d0) at AsyncCallQueue.cc:54
#11 0x00000000006bc7df in AsyncCallQueue::fire (this=0x8034298d0) at AsyncCallQueue.cc:40
#12 0x00000000005699e9 in EventLoop::dispatchCalls (this=0x7fffffffd960) at EventLoop.cc:154
#13 0x0000000000569d52 in EventLoop::runOnce (this=0x7fffffffd960) at EventLoop.cc:131
#14 0x0000000000569e9e in EventLoop::run (this=0x7fffffffd960) at EventLoop.cc:95
#15 0x00000000005dc7ac in SquidMain (argc=3, argv=0x7fffffffdb10) at main.cc:1501
#16 0x00000000005dc8ec in SquidMainSafe (argc=3, argv=0x7fffffffdb10) at main.cc:1216
#17 0x00000000005dcaeb in main (argc=3, argv=0x7fffffffdb10) at main.cc:1208
(gdb)
-- Best regards, PavelReceived on Wed Apr 03 2013 - 09:55:40 MDT
This archive was generated by hypermail 2.2.0 : Wed Apr 03 2013 - 12:00:13 MDT