[Varnish] #548: Sig 11 crash in trunk 4199

Varnish varnish-bugs at projects.linpro.no
Thu Oct 15 10:34:28 CEST 2009


#548: Sig 11 crash in trunk 4199
---------------------------------------------+------------------------------
 Reporter:  anders                           |        Owner:  phk                
     Type:  defect                           |       Status:  new                
 Priority:  normal                           |    Milestone:  Varnish 2.1 release
Component:  varnishd                         |      Version:  trunk              
 Severity:  normal                           |   Resolution:                     
 Keywords:  sig 11 segmentation fault trunk  |  
---------------------------------------------+------------------------------
Comment (by anders):

 This is still happening (using 4199):

 {{{
 (gdb) bt
 #0  0x0000000800899d8f in getframeaddr (level=Variable "level" is not
 available.
 ) at execinfo.c:324
 #1  0x00000008008a022f in backtrace (buffer=Variable "buffer" is not
 available.
 ) at execinfo.c:65
 #2  0x0000000000420305 in pan_backtrace () at cache_panic.c:273
 #3  0x00000000004206b7 in pan_ic (func=Variable "func" is not available.
 ) at cache_panic.c:327
 #4  0x000000000041b2b5 in HSH_Lookup (sp=0x15ae766008, poh=0x7fffb61ac1e0)
     at cache_hash.c:506
 #5  0x0000000000410c22 in cnt_lookup (sp=0x15ae766008) at
 cache_center.c:739
 #6  0x0000000000412c83 in CNT_Session (sp=0x15ae766008) at steps.h:38
 #7  0x0000000000422391 in wrk_do_cnt_sess (w=0x7fffb61b22c0, priv=Variable
 "priv" is not available.
 )
     at cache_pool.c:281
 #8  0x0000000000421687 in wrk_thread_real (qp=0x80100f920,
 shm_workspace=Variable "shm_workspace" is not available.
 )
     at cache_pool.c:176
 #9  0x0000000800ac14d1 in pthread_getprio () from /lib/libthr.so.3
 #10 0x00007fffb5fb3000 in ?? ()
 Cannot access memory at address 0x7fffb61b3000
 (gdb) frame 4
 #4  0x000000000041b2b5 in HSH_Lookup (sp=0x15ae766008, poh=0x7fffb61ac1e0)
     at cache_hash.c:506
 506                     CHECK_OBJ_NOTNULL(o, OBJECT_MAGIC);
 (gdb) print *sp
 $1 = {magic = 741317722, fd = 1811, id = 1811, xid = 1054315730, restarts
 = 0,
   esis = 0, disable_esi = 0, wrk = 0x7fffb61b22c0, sockaddrlen = 16,
   mysockaddrlen = 128, sockaddr = 0x15ae766708, mysockaddr = 0x15ae766788,
   mylsock = 0x80101bb50, addr = 0x15ae766808 "195.139.16.34",
   port = 0x15ae766816 "2764", doclose = 0x0, http = 0x15ae766250,
   http0 = 0x15ae7664a0, ws = {{magic = 905626964, id = 0x443828 "sess",
       s = 0x15ae766808 "195.139.16.34", f = 0x15ae766b99 "", r = 0x0,
       e = 0x15ae76a808 '¥' <repeats 200 times>..., overflow = 0}},
   ws_ses = 0x15ae76681b "GET", ws_req = 0x15ae766b99 "", htc = {{
       magic = 1041886673, fd = 1811, ws = 0x15ae766078, rxbuf = {
         b = 0x15ae76681b "GET", e = 0x15ae766b99 ""}, pipeline = {b = 0x0,
         e = 0x0}}}, t_open = 1255526111.390008, t_req =
 1255526111.7456758,
   t_resp = nan(0x8000000000000), t_end = 1255526111.390008,
   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 = 0,
   err_reason = 0x0, list = {vtqe_next = 0x80c4d4008, vtqe_prev =
 0x80ffde150},
   director = 0x80baedf18, vbe = 0x0, obj = 0x0, objcore = 0x0, objhead =
 0x0,
   vcl = 0x80baf2108, mem = 0x15ae766000, workreq = {list = {vtqe_next =
 0x0,
       vtqe_prev = 0x0}, func = 0x4222d0 <wrk_do_cnt_sess>,
     priv = 0x15ae766008}, acct = {first = 1255526110.9361067, sess = 0,
     req = 0, pipe = 0, pass = 0, fetch = 0, hdrbytes = 0, bodybytes = 0},
   acct_req = {first = 0, sess = 1, req = 3, pipe = 0, pass = 0, fetch = 0,
     hdrbytes = 674, bodybytes = 56959}, nhashptr = 0, ihashptr = 0,
   lhashptr = 0, hashptr = 0x0}
 (gdb)  print *oc
 $2 = {magic = 1294996226, obj = 0x0, objhead = 0x920f9d800,
   timer_when = 1255893350.928561, flags = 0 '\0', timer_idx = 0, list = {
     vtqe_next = 0x0, vtqe_prev = 0x920f9d818}, lru_list = {
     vtqe_next = 0x169d48bc40, vtqe_prev = 0x80104b0c8}, smp_seg = 0x0,
   ban = 0x0}
 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/548#comment:4>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list