Varnish 1.1.2, still core dumps
Anders Nordby
anders at fupp.net
Wed Jan 2 11:42:24 CET 2008
This is ticket #142 biting me again, now with Varnish 1.1.2:
(gdb) bt
#0 0x0000000000408a90 in vbe_sock_conn (ai=0x0) at cache_backend.c:162
#1 0x0000000000408b98 in vbe_conn_try (bp=0xaf1b80, pai=0x7ffffd1e7838)
at cache_backend.c:190
#2 0x0000000000408d14 in vbe_connect (sp=0xc15008, bp=0xaf1b80)
at cache_backend.c:228
#3 0x000000000040912e in vbe_nextfd (sp=0xc15008) at
cache_backend.c:299
#4 0x0000000000409372 in VBE_GetFd (sp=0xc15008) at cache_backend.c:336
#5 0x000000000040cafa in Fetch (sp=0xc15008) at cache_fetch.c:278
#6 0x000000000040a124 in cnt_fetch (sp=0xc15008) at cache_center.c:300
#7 0x000000000040b18d in CNT_Session (sp=0xc15008) at steps.h:40
#8 0x0000000000412cf8 in wrk_do_one (w=0x7ffffd1e7ad0) at
cache_pool.c:194
#9 0x00000000004131f3 in wrk_thread (priv=0x8562e0) at cache_pool.c:248
#10 0x000000080098755b in pthread_create () from /usr/lib/libthr.so.2
#11 0x00007ffffcfea000 in ?? ()
Cannot access memory at address 0x7ffffd1ea000
(gdb) frame 5
#5 0x000000000040cafa in Fetch (sp=0xc15008) at cache_fetch.c:278
278 cache_fetch.c: No such file or directory.
in cache_fetch.c
(gdb) print *sp
$1 = {magic = 741317722, fd = 65, id = 65, xid = 652152521,
wrk = 0x7ffffd1e7ad0, sockaddrlen = 16, mysockaddrlen = 128,
sockaddr = 0xc15410, mysockaddr = 0xc15490,
addr = "84.211.134.255", '\0' <repeats 49 times>,
port = "16051\000\000\000\000\000\000\000\000\000\000", srcaddr =
0x28cbf00,
doclose = 0x0, http = 0xc15180, t_open = 1199268349.6441126,
t_req = 1199268349.9035521, t_resp = nan(0x8000000000000),
t_end = 1199268349.6441126, step = STP_FETCH, handling = 32,
wantbody = 1 '\001', err_code = 0, err_reason = 0x0, list = {
vtqe_next = 0xd07008, vtqe_prev = 0xbb50d8}, backend = 0xaf1b80,
bereq = 0xbbb000, obj = 0x2c33800, vcl = 0x2d816c49c0, mem = 0xc15000,
workreq = {list = {vtqe_next = 0x0, vtqe_prev = 0x0}, sess =
0xc15008},
acct = {first = 1199268348.5672638, sess = 1, req = 3, pipe = 0, pass
= 0,
fetch = 3, hdrbytes = 1024, bodybytes = 26656}, nhashptr = 10,
ihashptr = 4, lhashptr = 69, hashptr = 0xc15798}
(gdb) print sp
$2 = (struct sess *) 0xc15008
(gdb) print *hp
$3 = {magic = 1680389577, ws = {{s = 0xbbb2a0 "X-Varnish: 652152521",
e = 0xbbd2a0 "",
f = 0xbbb2d5 "\nServer: Apache/2.2.3 (Debian) Resin/3.1.3", r =
0x0}},
rx_s = 0x0, rx_e = 0x0, pl_s = 0x0, pl_e = 0x0, conds = 0 '\0',
logtag = HTTP_Tx, hd = {{b = 0x42a3e2 "GET", e = 0x42a3e5 ""}, {
b = 0xc15514 "/dynamic/tms.jsp/1.0.0/finnvector/14/1660/1653.png",
e = 0xc15546 ""}, {b = 0x42a11a "HTTP/1.1", e = 0x42a122 ""}, {b =
0x0,
e = 0x0}, {b = 0x0, e = 0x0}, {b = 0xc15551 "Accept: */*",
e = 0xc1555c ""}, {
b = 0xc1555e "Referer:
http://finn.no/finn/mappopup?finnkode=11172143&utmx=249915&utmy=6825202&mapTitle=Skotten+Seter,++FÃ¥vang&airPossible=1",
e = 0xc155dd ""}, {b = 0xc155df "Accept-Language: no", e =
0xc155f2 ""},
{b = 0xc155f4 "UA-CPU: x86", e = 0xc155ff ""}, {
b = 0xc15601 "Accept-Encoding: gzip, deflate", e = 0xc1561f ""}, {
b = 0xc15621 "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0;
Windows NT 5.1; .NET CLR 1.1.4322)", e = 0xc15672 ""}, {
b = 0xc15674 "Host: maptiles2.finn.no", e = 0xc1568b ""}, {
b = 0xc156a5 "Cookie: finn_ld=aeb69f3baeb69f34baeebabd;
JSESSIONID=cbapacpyQ6ArR95jm95Cr; RMID=54d386ff477b6170;
WT_FPC=id=2a8d6d3b7025c46a8bc1199268218640:lv=1199268345093:ss=1199268218640;
IADVISITOR=406416167; f"...,
e = 0xc1578d ""}, {b = 0xbbb2a0 "X-Varnish: 652152521",
e = 0xbbb2b4 ""}, {b = 0xbbb2b5 "X-Forwarded-for: 84.211.134.255",
e = 0xbbb2d4 ""}, {b = 0x0, e = 0x0} <repeats 17 times>},
hdf = '\0' <repeats 31 times>, nhd = 15}
Bye,
--
Anders.
More information about the varnish-misc
mailing list