[Varnish] #1554: Panic Message - current master V1F_Setup_Fetch(), cache/cache_http1_fetch.c line 180

Varnish varnish-bugs at varnish-cache.org
Thu Jul 24 13:26:30 CEST 2014


#1554: Panic Message - current master V1F_Setup_Fetch(), cache/cache_http1_fetch.c
line 180
------------------------+--------------------
 Reporter:  hjanuschka  |       Owner:
     Type:  defect      |      Status:  new
 Priority:  normal      |   Milestone:
Component:  build       |     Version:  trunk
 Severity:  normal      |  Resolution:
 Keywords:              |
------------------------+--------------------
Description changed by lkarsten:

Old description:

> i am on 2b9d23d
>
> every once in a while i get following panic's in logfile.
>
> {{{
> Panic message:#012Assert error in V1F_Setup_Fetch(),
> cache/cache_http1_fetch.c line 180:#012  Condition(bo->content_length ==
> -1) not true.#012thread = (cache-worker)#012ident =
> Linux,3.2.0-4-amd64,x86_64,-smalloc,-smalloc,-hcritbit,epoll#012Backtrace:#012
> 0x434c45: pan_ic+0xc5#012  0x42cd5e: V1F_Setup_Fetch+0x23e#012  0x421c34:
> vbf_fetch_thread+0x1544#012  0x437b00: Pool_Work_Thread+0x370#012
> 0x44a3ae: wrk_thread_real+0xae#012  0x7f919d528b50: /lib/x86_64-linux-
> gnu/libpthread.so.0(+0x6b50) [0x7f919d528b50]#012  0x7f919d27320d:
> /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f919d27320d]#012  busyobj
> = 0x6fcd890 {#012    ws = 0x6fcd948 {#012      id = "bo",#012
> {s,f,r,e} = {0x6fcf840,+1808,(nil),+57424},#012    },#012  refcnt = 2#012
> retries = 1#012  failed = 0#012  state = 1#012    is_do_stream#012
> is_is_gunzip#012    bodystatus = 2 (chunked),#012    },#012
> http[bereq] = {#012      ws = 0x6fcd948[bo]#012        "GET",#012
> "/krone/kmcnt/oewa_info.hbs?output_type=json&domain=tablet.krone.at&url=/28/Startseite",#012
> "HTTP/1.1",#012        "X-Akamai-CONFIG-LOG-DETAIL: true",#012
> "Akamai-Origin-Hop: 1",#012        "Via: 1.0 akamai.net(ghost)
> (AkamaiGHost)",#012        "True-Client-IP: 213.164.6.215",#012
> "Host: www.krone.at",#012        "Pragma: no-cache",#012        "Accept-
> Encoding: gzip",#012        "X-Forwarded-For: 213.164.6.215, 23.14.92.78,
> 23.14.92.78",#012        "X-passthrough-headers: no",#012        "X
> -Varnish-TTL: 0",#012        "X-Varnish-Cache: MISS",#012
> "X-Varnish: 6520952",#012    },#012    http[beresp] = {#012      ws =
> 0x6fcd948[bo]#012        "HTTP/1.1",#012        "200",#012
> "OK",#012        "Date: Thu, 24 Jul 2014 04:58:23 GMT",#012
> "Server: Apache",#012        "Content-Type:
> application/x-javascript",#012        "Cache-Control: max-
> age=2592000",#012        "Expires: Sat, 23 Aug 2014 04:58:23 GMT",#012
> "Transfer-Encoding: chunked",#012        "X-Varnish-BE:
> hps_director",#012
> }}}

New description:

 i am on 2b9d23d

 every once in a while i get following panic's in logfile.

 {{{
 Panic message:
 Assert error in V1F_Setup_Fetch(), cache/cache_http1_fetch.c line 180:
   Condition(bo->content_length == -1) not true.
 thread = (cache-worker)
 ident = Linux,3.2.0-4-amd64,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x434c45: pan_ic+0xc5
   0x42cd5e: V1F_Setup_Fetch+0x23e
   0x421c34: vbf_fetch_thread+0x1544
   0x437b00: Pool_Work_Thread+0x370
   0x44a3ae: wrk_thread_real+0xae
   0x7f919d528b50: /lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)
 [0x7f919d528b50]
   0x7f919d27320d: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
 [0x7f919d27320d]
   busyobj = 0x6fcd890 {
     ws = 0x6fcd948 {
       id = "bo",
       {s,f,r,e} = {0x6fcf840,+1808,(nil),+57424},
     },
   refcnt = 2
   retries = 1
   failed = 0
   state = 1
     is_do_stream
     is_is_gunzip
     bodystatus = 2 (chunked),
     },
     http[bereq] = {
       ws = 0x6fcd948[bo]
         "GET",
 "/krone/kmcnt/oewa_info.hbs?output_type=json&domain=tablet.krone.at&url=/28/Startseite",
         "HTTP/1.1",
         "X-Akamai-CONFIG-LOG-DETAIL: true",
         "Akamai-Origin-Hop: 1",
         "Via: 1.0 akamai.net(ghost) (AkamaiGHost)",
         "True-Client-IP: 213.164.6.215",
         "Host: www.krone.at",
         "Pragma: no-cache",
         "Accept-Encoding: gzip",
         "X-Forwarded-For: 213.164.6.215, 23.14.92.78, 23.14.92.78",
         "X-passthrough-headers: no",
         "X-Varnish-TTL: 0",
         "X-Varnish-Cache: MISS",
         "X-Varnish: 6520952",
     },
     http[beresp] = {
       ws = 0x6fcd948[bo]
         "HTTP/1.1",
         "200",
         "OK",
         "Date: Thu, 24 Jul 2014 04:58:23 GMT",
         "Server: Apache",
         "Content-Type: application/x-javascript",
         "Cache-Control: max-age=2592000",
         "Expires: Sat, 23 Aug 2014 04:58:23 GMT",
         "Transfer-Encoding: chunked",
         "X-Varnish-BE: hps_director",
 }}}

--

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1554#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list