[Varnish] #636: Varnish crash in trunk 4492
Varnish
varnish-bugs at projects.linpro.no
Thu Jan 28 13:40:49 CET 2010
#636: Varnish crash in trunk 4492
----------------------+-----------------------------------------------------
Reporter: anders | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
I am running Varnish trunk 4492 in FreeBSD/amd64 7.2-RELEASE. I get this
crash:
Jan 28 01:00:34 cache12 kernel: pid 18726 (varnishd), uid 0: exited on
signal 11 (core dumped)
Backtrace:
{{{
(gdb) bt
#0 0x00000008009d235f in getframeaddr (level=Variable "level" is not
available.
) at execinfo.c:285
#1 0x00000008009d2394 in backtrace (buffer=Variable "buffer" is not
available.
) at execinfo.c:70
#2 0x0000000000422438 in pan_backtrace () at cache_panic.c:273
#3 0x0000000000422815 in pan_ic (func=Variable "func" is not available.
) at cache_panic.c:332
#4 0x000000000041d0d2 in HSH_Lookup (sp=0x80d557008, poh=0x7fffa2d11640)
at cache_hash.c:408
#5 0x0000000000412374 in cnt_lookup (sp=0x80d557008) at
cache_center.c:784
#6 0x00000000004147e6 in CNT_Session (sp=0x80d557008) at steps.h:38
#7 0x0000000000424781 in wrk_do_cnt_sess (w=0x7fffa2d18d30, priv=Variable
"priv" is not available.
)
at cache_pool.c:294
#8 0x0000000000423a7d in wrk_thread_real (qp=0x80110f790,
shm_workspace=Variable "shm_workspace" is not available.
)
at cache_pool.c:183
#9 0x0000000800bf44d1 in pthread_getprio () from /lib/libthr.so.3
#10 0x0000000000000000 in ?? ()
Cannot access memory at address 0x7fffa2d19000
(gdb) frame 4
#4 0x000000000041d0d2 in HSH_Lookup (sp=0x80d557008, poh=0x7fffa2d11640)
at cache_hash.c:408
408 CHECK_OBJ_NOTNULL(o, OBJECT_MAGIC);
(gdb) print *sp
$1 = {magic = 741317722, fd = 569, id = 569, xid = 1860907167, restarts =
0,
esis = 0, disable_esi = 0, wrk = 0x7fffa2d18d30, sockaddrlen = 16,
mysockaddrlen = 128, sockaddr = 0x80d557288, mysockaddr = 0x80d557308,
mylsock = 0x80111c2b0, addr = 0x80d557c98 "85.167.107.115",
port = 0x80d557ca7 "6784", doclose = 0x0, http = 0x80d557388,
http0 = 0x80d557810, ws = {{magic = 905626964, id = 0x4478fd "sess",
s = 0x80d557c98 "85.167.107.115",
f = 0x80d55802c "64622200.1264622200.1;
__utmb=165597608.3.10.1264622200; __utmc=165597608;
__utmz=165597608.1264622200.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);
__lt=13ebbc2518cb1b83f110aa2da87b96057d8406a1d"..., r = 0x0,
e = 0x80d55bc98 '¥' <repeats 200 times>..., overflow = 0}},
ws_ses = 0x80d557cac "GET", ws_req = 0x80d558015 "Accept-Encoding:
gzip",
digest = "M\237¨x DHt:\026\211 w\0163ùAâk\221ÉIbÂ\220¯\2143Ñůh", htc =
{{
magic = 1041886673, fd = 569, ws = 0x80d557078, rxbuf = {
b = 0x80d557cac "GET", e = 0x80d558015 "Accept-Encoding: gzip"},
pipeline = {b = 0x0, e = 0x0}}}, t_open = 1264622324.7004681,
t_req = 1264622324.7194371, t_resp = nan(0x8000000000000),
t_end = 1264622324.7004681, connect_timeout = 0.40000000000000002,
first_byte_timeout = 60, between_bytes_timeout = 60, grace = 300,
step = STP_LOOKUP, cur_method = 0, handling = 3, sendbody = 0 '\0',
wantbody = 1 '\001', err_code = 200, err_reason = 0x0, list = {
vtqe_next = 0x80ef52008, vtqe_prev = 0x550130}, director =
0x80bbebec8,
vbe = 0x0, obj = 0x0, objcore = 0x0, objhead = 0x0, vcl = 0x80bbf20e8,
mem = 0x80d557000, workreq = {list = {vtqe_next = 0x13f69de1b8,
vtqe_prev = 0x80110f530}, func = 0x4246c0 <wrk_do_cnt_sess>,
priv = 0x80d557008}, acct = {first = 1264622324.7004681, sess = 10174,
req = 36504, pipe = 0, pass = 0, fetch = 1395, hdrbytes = 12131383,
bodybytes = 258031616}, acct_req = {first = 0, sess = 1, req = 1,
pipe = 0, pass = 0, fetch = 0, hdrbytes = 0, bodybytes = 0}}
(gdb) print *oc
$2 = {magic = 1294996226, obj = 0x0, objhead = 0x145e38aac0,
timer_when = 1265129819.9851763, flags = 0, timer_idx = 0, list = {
vtqe_next = 0x0, vtqe_prev = 0x145e38aad8}, lru_list = {
vle_next = 0xe507d2ba0, vle_prev = 0x80112c688}, ban_list = {
vtqe_next = 0x1460970ac0, vtqe_prev = 0x1450e1ba68}, smp_seg = 0x0,
ban = 0x0}
}}}
--
Ticket URL: <http://varnish-cache.org/ticket/636>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list