[Varnish] #1391: Condition(!VTAILQ_EMPTY(&bo->fetch_obj->store)) not true

Varnish varnish-bugs at varnish-cache.org
Sun Dec 15 18:32:04 CET 2013


#1391: Condition(!VTAILQ_EMPTY(&bo->fetch_obj->store)) not true
----------------------+-----------------------------
 Reporter:  lkarsten  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:  Varnish 4.0-TP1
Component:  varnishd  |    Version:  unknown
 Severity:  normal    |   Keywords:
----------------------+-----------------------------
 While serving a big mpeg file that is being pass-ed, client abort and
 retry (assumed: while backend fetch is going on) crashes varnishd
 consistently.

 Varnishd version is latest git master as of 2013-12-15.

 {{{
 Last panic at: Sun, 15 Dec 2013 17:24:11 GMT
 Assert error in VFP_Fetch_Body(), cache/cache_fetch_proc.c line 221:
   Condition(!VTAILQ_EMPTY(&bo->fetch_obj->store)) not true.
 thread = (cache-worker)
 ident = Linux,3.2.0-4-amd64,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x4394b0: pan_backtrace+0x19
   0x4397ba: pan_ic+0x1e9
   0x426823: VFP_Fetch_Body+0x331
   0x42486c: vbf_stp_fetch+0xcbf
   0x425628: vbf_fetch_thread+0x2fb
   0x43af7a: Pool_Work_Thread+0x442
   0x453bff: wrk_thread_real+0x152
   0x453d28: WRK_thread+0x27
   0x7fe1de812b50: /lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)
 [0x7fe1de812b50]
   0x7fe1de55ca7d: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
 [0x7fe1de55ca7d]
   busyobj = 0x1daa2c0 {
     ws = 0x1daa398 {
       id = "bo",
       {s,f,r,e} = {0x1dac2a8,+32784,(nil),+57368},
     },
     is_gunzip
     do_stream
     bodystatus = 3 (length),
     },
     http[bereq] = {
       ws = 0x1daa398[bo]
         "",
         "",
         "",
         "",
         "",
         "",
         "",
         "",
         "",
         "",
         "",
         "X-Varnish: 3",
     },
     http[beresp] = {
       ws = 0x1daa398[bo]
         "HTTP/1.1",
         "200",
         "OK",
         "Server: nginx/1.4.1 (Ubuntu)",
         "Date: Sun, 15 Dec 2013 17:24:09 GMT",
         "Content-Type: audio/mpeg",
         "Content-Length: 165686005",
         "Last-Modified: Sun, 15 Dec 2013 15:07:54 GMT",
         "Connection: keep-alive",
         "ETag: "52adc5ca-9e02af5"",
         "Accept-Ranges: bytes",
     },
     ws = 0x1daa530 {
       id = "obj",
       {s,f,r,e} = {0x1dba608,+264,(nil),+272},
     },
   }

 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1391>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list