[Varnish] #174: Varnish dies on assert error in http_FilterFields

Varnish varnish-bugs at projects.linpro.no
Mon Oct 29 12:28:13 CET 2007


#174: Varnish dies on assert error in http_FilterFields
--------------------------------------------------+-------------------------
 Reporter:  anders                                |        Owner:  phk  
     Type:  defect                                |       Status:  new  
 Priority:  high                                  |    Milestone:       
Component:  varnishd                              |      Version:  trunk
 Severity:  major                                 |   Resolution:       
 Keywords:  varnishd core dump http_FilterFields  |  
--------------------------------------------------+-------------------------
Comment (by anders):

 PHK wanted this additional information from the backtrace:

 {{{
 (gdb) frame 1
 #1  0x00000000004130e7 in HSH_Compare (sp=0x148394e008, obj=0x1485141b80)
     at cache_hash.c:142
 142             WSP(sp, SLT_Debug, "Hash Match: %s", obj->hash);
 (gdb) print *sp
 $1 = {magic = 741317722, fd = 1634, id = 1634, xid = 0, restarts = 0,
   esis = 0, wrk = 0x0, sockaddrlen = 16, mysockaddrlen = 128,
   sockaddr = 0x148394e668, mysockaddr = 0x148394e6e8,
   addr = 0x148394e768 "212.20.204.21", port = 0x148394e776 "9800",
   srcaddr = 0x148343e3d0, doclose = 0x0, http = 0x148394e1c0,
   http0 = 0x148394e408, ws = {{id = 0x434860 "sess",
       s = 0x148394e768 "212.20.204.21", f = 0x148394e77b "",
       r = 0x148395077b "", e = 0x1483952768 ""}}, ws_ses = 0x148394e77b
 "",
   ws_req = 0x148394eafe "", htc = {{magic = 1041886673, fd = 1634,
       ws = 0x148394e070, rxbuf = {b = 0x148394e77b "", e = 0x148394e77b
 ""},
       pipeline = {b = 0x0, e = 0x0}}}, t_open = 1193656797.1890242,
   t_req = nan(0x8000000000000), t_resp = nan(0x8000000000000),
   t_end = 1193656797.1890242, step = STP_DONE, cur_method = 0, handling =
 128,
   wantbody = 1 '\001', err_code = 0, err_reason = 0x0, list = {
     vtqe_next = 0x1483eee008, vtqe_prev = 0x1482b0b118}, backend = 0x0,
   bereq = 0x0, obj = 0x0, vcl = 0x0, mem = 0x148394e000, workreq = {list =
 {
       vtqe_next = 0x0, vtqe_prev = 0x0}, sess = 0x148394e008}, acct = {
     first = 1193656797.1888804, sess = 1, req = 1, pipe = 0, pass = 0,
     fetch = 0, hdrbytes = 384, bodybytes = 1870}, nhashptr = 6, ihashptr =
 4,
   lhashptr = 150, hashptr = 0x148394eb00}
 }}}

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


More information about the varnish-bugs mailing list