Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Bugs

#994: Assert error in http_GetHdr(), cache_http.c

 

 

Varnish bugs RSS feed   Index | Next | Previous | View Threaded


varnish-bugs at varnish-cache

Aug 29, 2011, 5:33 AM

Post #1 of 8 (384 views)
Permalink
#994: Assert error in http_GetHdr(), cache_http.c

#994: Assert error in http_GetHdr(), cache_http.c
---------------------+------------------------------------------------------
Reporter: pmialon | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: blocker
Keywords: |
---------------------+------------------------------------------------------
From Git af353a6b6a45e2a47e17aa84389950a1c65854ec

With the debian package varnish 3.0.0 this bug didn't appear, it seems
that this is a regression.

This bugs is hit frequently, on our servers varnish never reaches one hour
of uptime.

{{{
Aug 29 14:24:34 cloud3 varnishd[3495]: Child (19452) Panic message: Assert
error in http_GetHdr(), cache_http.c line 266:
Condition(l == strlen(hdr + 1)) not true.
thread = (cache-worker)
ident = Linux,2.6.32-5-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x42e4c8: /usr/sbin/varnishd() [0x42e4c8]
0x429c08: /usr/sbin/varnishd(http_GetHdr+0x68) [0x429c08]
0x433c47: /usr/sbin/varnishd(VRY_Match+0xf7) [0x433c47]
0x427e86: /usr/sbin/varnishd(HSH_Lookup+0x2a6) [0x427e86]
0x415a3b: /usr/sbin/varnishd() [0x415a3b]
0x418fc5: /usr/sbin/varnishd(CNT_Session+0x675) [0x418fc5]
0x430c78: /usr/sbin/varnishd() [0x430c78]
0x42fe49: /usr/sbin/varnishd() [0x42fe49]
0x7ffff6ab48ba: /lib/libpthread.so.0(+0x68ba) [0x7ffff6ab48ba]
0x7ffff681c02d: /lib/libc.so.6(clone+0x6d) [0x7ffff681c02d]
sp = 0x7ec790b21008 {
fd = 53, id = 53, xid = 2071385764,
client = 127.0.0.1 11364,
step = STP_LOOKUP,
handling = hash,
restarts = 0, esi_level = 0
flags =
bodystatus = 4
ws = 0x7ec790b21080 {
id = "sess",
{s,f,r,e} = {0x7ec790b21cc8,+3344,+65536,+65536},
},
http[req] = {
ws = 0x7ec790b21080[sess]
"GET",
"/searchkw/xml/?_q%5B0%5D=%28suzuki%7Bw%3D1%7D+115%7Bw%3D1%7D%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D4&_q%5B1%5D=%28suzuki%7Bw%3D1%7D%29+OPT%28115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B2%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B3%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AES+%28category%3Amiscellaneous%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=IT&_cc%5B1%5D=IT&_cc%5B2%5D=IT&_cc%5B3%5D=ES&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1",
"HTTP/1.1",
"Connection: Close",
"X-URL:
/searchkw/xml/?_q%5B0%5D=%28suzuki%7Bw%3D1%7D+115%7Bw%3D1%7D%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D4&_q%5B1%5D=%28suzuki%7Bw%3D1%7D%29+OPT%28115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B2%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B3%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AES+%28category%3Amiscellaneous%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=IT&_cc%5B1%5D=IT&_cc%5B2%5D=IT&_cc%5B3%5D=ES&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1&ttls=672",
},
worker = 0x7ec7616f8b90 {
ws = 0x7ec7616f8d38 {
id = "wrk",
{s,f,r,e} = {0x7ec7616e6b20,0x7ec7616e6b20,(nil),+65536},
},
},
vcl = {
srcname = {
"input",
"Default",
},
},
},

}}}

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Aug 30, 2011, 12:28 AM

Post #2 of 8 (372 views)
Permalink
Re: #994: Assert error in http_GetHdr(), cache_http.c [In reply to]

#994: Assert error in http_GetHdr(), cache_http.c
---------------------+------------------------------------------------------
Reporter: pmialon | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: blocker
Keywords: |
---------------------+------------------------------------------------------

Old description:

> From Git af353a6b6a45e2a47e17aa84389950a1c65854ec
>
> With the debian package varnish 3.0.0 this bug didn't appear, it seems
> that this is a regression.
>
> This bugs is hit frequently, on our servers varnish never reaches one
> hour of uptime.
>
> {{{
> Aug 29 14:24:34 cloud3 varnishd[3495]: Child (19452) Panic message:
> Assert error in http_GetHdr(), cache_http.c line 266:
> Condition(l == strlen(hdr + 1)) not true.
> thread = (cache-worker)
> ident = Linux,2.6.32-5-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll
> Backtrace:
> 0x42e4c8: /usr/sbin/varnishd() [0x42e4c8]
> 0x429c08: /usr/sbin/varnishd(http_GetHdr+0x68) [0x429c08]
> 0x433c47: /usr/sbin/varnishd(VRY_Match+0xf7) [0x433c47]
> 0x427e86: /usr/sbin/varnishd(HSH_Lookup+0x2a6) [0x427e86]
> 0x415a3b: /usr/sbin/varnishd() [0x415a3b]
> 0x418fc5: /usr/sbin/varnishd(CNT_Session+0x675) [0x418fc5]
> 0x430c78: /usr/sbin/varnishd() [0x430c78]
> 0x42fe49: /usr/sbin/varnishd() [0x42fe49]
> 0x7ffff6ab48ba: /lib/libpthread.so.0(+0x68ba) [0x7ffff6ab48ba]
> 0x7ffff681c02d: /lib/libc.so.6(clone+0x6d) [0x7ffff681c02d]
> sp = 0x7ec790b21008 {
> fd = 53, id = 53, xid = 2071385764,
> client = 127.0.0.1 11364,
> step = STP_LOOKUP,
> handling = hash,
> restarts = 0, esi_level = 0
> flags =
> bodystatus = 4
> ws = 0x7ec790b21080 {
> id = "sess",
> {s,f,r,e} = {0x7ec790b21cc8,+3344,+65536,+65536},
> },
> http[req] = {
> ws = 0x7ec790b21080[sess]
> "GET",
> "/searchkw/xml/?_q%5B0%5D=%28suzuki%7Bw%3D1%7D+115%7Bw%3D1%7D%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D4&_q%5B1%5D=%28suzuki%7Bw%3D1%7D%29+OPT%28115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B2%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B3%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AES+%28category%3Amiscellaneous%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=IT&_cc%5B1%5D=IT&_cc%5B2%5D=IT&_cc%5B3%5D=ES&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1",
> "HTTP/1.1",
> "Connection: Close",
> "X-URL:
> /searchkw/xml/?_q%5B0%5D=%28suzuki%7Bw%3D1%7D+115%7Bw%3D1%7D%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D4&_q%5B1%5D=%28suzuki%7Bw%3D1%7D%29+OPT%28115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B2%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B3%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AES+%28category%3Amiscellaneous%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=IT&_cc%5B1%5D=IT&_cc%5B2%5D=IT&_cc%5B3%5D=ES&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1&ttls=672",
> },
> worker = 0x7ec7616f8b90 {
> ws = 0x7ec7616f8d38 {
> id = "wrk",
> {s,f,r,e} = {0x7ec7616e6b20,0x7ec7616e6b20,(nil),+65536},
> },
> },
> vcl = {
> srcname = {
> "input",
> "Default",
> },
> },
> },
>
> }}}

New description:

From Git af353a6b6a45e2a47e17aa84389950a1c65854ec

With the debian package varnish 3.0.0 this bug didn't appear, it seems
that this is a regression.

This bugs is hit frequently, on our servers varnish never reaches one hour
of uptime.

{{{
Aug 29 14:24:34 cloud3 varnishd[3495]: Child (19452)
Panic message:
Assert error in http_GetHdr(), cache_http.c line 266:
Condition(l == strlen(hdr + 1)) not true.
thread = (cache-worker)
ident = Linux,2.6.32-5-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x42e4c8: /usr/sbin/varnishd() [0x42e4c8]
0x429c08: /usr/sbin/varnishd(http_GetHdr+0x68) [0x429c08]
0x433c47: /usr/sbin/varnishd(VRY_Match+0xf7) [0x433c47]
0x427e86: /usr/sbin/varnishd(HSH_Lookup+0x2a6) [0x427e86]
0x415a3b: /usr/sbin/varnishd() [0x415a3b]
0x418fc5: /usr/sbin/varnishd(CNT_Session+0x675) [0x418fc5]
0x430c78: /usr/sbin/varnishd() [0x430c78]
0x42fe49: /usr/sbin/varnishd() [0x42fe49]
0x7ffff6ab48ba: /lib/libpthread.so.0(+0x68ba) [0x7ffff6ab48ba]
0x7ffff681c02d: /lib/libc.so.6(clone+0x6d) [0x7ffff681c02d]
sp = 0x7ec790b21008 {
fd = 53, id = 53, xid = 2071385764,
client = 127.0.0.1 11364,
step = STP_LOOKUP,
handling = hash,
restarts = 0, esi_level = 0
flags =
bodystatus = 4
ws = 0x7ec790b21080 {
id = "sess",
{s,f,r,e} = {0x7ec790b21cc8,+3344,+65536,+65536},
},
http[req] = {
ws = 0x7ec790b21080[sess]
"GET",
"/searchkw/xml/?_q%5B0%5D=%28suzuki%7Bw%3D1%7D+115%7Bw%3D1%7D%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D4&_q%5B1%5D=%28suzuki%7Bw%3D1%7D%29+OPT%28115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B2%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B3%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AES+%28category%3Amiscellaneous%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=IT&_cc%5B1%5D=IT&_cc%5B2%5D=IT&_cc%5B3%5D=ES&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1",
"HTTP/1.1",
"Connection: Close",
"X-URL:
/searchkw/xml/?_q%5B0%5D=%28suzuki%7Bw%3D1%7D+115%7Bw%3D1%7D%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D4&_q%5B1%5D=%28suzuki%7Bw%3D1%7D%29+OPT%28115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B2%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AIT+%28category%3Amiscellaneous%29+querywords%3E%3D2+querywords%3C%3D3&_q%5B3%5D=OPT%28suzuki+OR+115%29+-category%3Aall+country%3AES+%28category%3Amiscellaneous%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=IT&_cc%5B1%5D=IT&_cc%5B2%5D=IT&_cc%5B3%5D=ES&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1&ttls=672",
},
worker = 0x7ec7616f8b90 {
ws = 0x7ec7616f8d38 {
id = "wrk",
{s,f,r,e} = {0x7ec7616e6b20,0x7ec7616e6b20,(nil),+65536},
},
},
vcl = {
srcname = {
"input",
"Default",
},
},
},

}}}

--

Comment(by phk):

I would be very interested in knowing what the Vary: header it was
processing looked like.

You can either find this in varnishlog, if you can identify the object it
is trying to match in the hash, or if the crash results in a core dump, it
can be extracted from there.

Alternatively, if you can simply get me the argument passed to
http_GetHdr() from the coredump that would help too.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Aug 30, 2011, 1:29 AM

Post #3 of 8 (377 views)
Permalink
Re: #994: Assert error in http_GetHdr(), cache_http.c [In reply to]

#994: Assert error in http_GetHdr(), cache_http.c
---------------------+------------------------------------------------------
Reporter: pmialon | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: blocker
Keywords: |
---------------------+------------------------------------------------------

Comment(by pmialon):

We recompiled the package with the debug info, here a panic with correct
references.

Unfortunately we didn't have the coredump. We succeed to produce one but
it was incomplete. Perhaps we need to use less space on our storage to
keep place for the core ? Now we are dedicating 80% of the space to
varnish store file.


We start varnishlog and we will update this ticket with the content of
Vary: header as soon as varnish will crash.


{{{
/usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -t 3600 -T
localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -w
100,4000 -p thread_pools 8 -p listen_depth 4096 -p thread_pool_add_delay 2
-p session_linger 50/100/150 -p sess_workspace 262144 -s
file,/var/lib/varnish/varnish_storage.bin,80%
}}}



{{{
Last panic at: Tue, 30 Aug 2011 08:15:55 GMT
Assert error in http_GetHdr(), cache_http.c line 266:
Condition(l == strlen(hdr + 1)) not true.
thread = (cache-worker)
ident = Linux,2.6.32-5-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x437201: pan_backtrace+19
0x4374d6: pan_ic+1ad
0x430d57: http_GetHdr+67
0x43e69a: VRY_Match+ac
0x42e37d: HSH_Lookup+657
0x41b302: cnt_lookup+230
0x41d11c: CNT_Session+66d
0x4391d8: wrk_do_cnt_sess+130
0x438a40: wrk_thread_real+897
0x438e3a: wrk_thread+12a
sp = 0x7ec5e6102008 {
fd = 56, id = 56, xid = 1001188130,
client = 127.0.0.1 47062,
step = STP_LOOKUP,
handling = hash,
restarts = 0, esi_level = 0
flags =
bodystatus = 4
ws = 0x7ec5e6102080 {
id = "sess",
{s,f,r,e} = {0x7ec5e6102cc8,+3640,+262144,+262144},
},
http[req] = {
ws = 0x7ec5e6102080[sess]
"GET",
"/searchkw/xml/?_q%5B0%5D=%28maison%7Bw%3D1%7D+a%7Bw%3D1%7D+vendre%7Bw%3D1%7D%29+-category%3Aall+%28Croix%7Bw%3D1%7D%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D7&_q%5B1%5D=%28maison%7Bw%3D1%7D+a%7Bw%3D1%7D%29+OPT%28vendre%29+-category%3Aall+OPT%28Croix%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B2%5D=OPT%28maison+OR+a+OR+vendre%29+-category%3Aall+OPT%28Croix%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B3%5D=OPT%28maison+OR+a+OR+vendre%29+-category%3Aall+country%3AUS+%28category%3Ahousing%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=FR&_cc%5B1%5D=FR&_cc%5B2%5D=FR&_cc%5B3%5D=US&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1",
"HTTP/1.1",
"Connection: Close",
"X-URL:
/searchkw/xml/?_q%5B0%5D=%28maison%7Bw%3D1%7D+a%7Bw%3D1%7D+vendre%7Bw%3D1%7D%29+-category%3Aall+%28Croix%7Bw%3D1%7D%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D7&_q%5B1%5D=%28maison%7Bw%3D1%7D+a%7Bw%3D1%7D%29+OPT%28vendre%29+-category%3Aall+OPT%28Croix%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B2%5D=OPT%28maison+OR+a+OR+vendre%29+-category%3Aall+OPT%28Croix%29+country%3AFR+%28category%3Ahousing%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B3%5D=OPT%28maison+OR+a+OR+vendre%29+-category%3Aall+country%3AUS+%28category%3Ahousing%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=FR&_cc%5B1%5D=FR&_cc%5B2%5D=FR&_cc%5B3%5D=US&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1&ttls=672",
},
worker = 0x7ec7319e0b70 {
ws = 0x7ec7319e0d18 {
id = "wrk",
{s,f,r,e} = {0x7ec7319ceac0,0x7ec7319ceac0,(nil),+65536},
},
},
vcl = {
srcname = {
"input",
"Default",
},
},
},

}}}

--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/994#comment:2>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Aug 30, 2011, 7:36 AM

Post #4 of 8 (375 views)
Permalink
Re: #994: Assert error in http_GetHdr(), cache_http.c [In reply to]

#994: Assert error in http_GetHdr(), cache_http.c
---------------------+------------------------------------------------------
Reporter: pmialon | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: blocker
Keywords: |
---------------------+------------------------------------------------------

Comment(by pmialon):

The panic message followed by the relevant varnishlog lines.

{{{
Aug 30 12:56:12 cloud3 varnishd[19294]: Child (19295) Panic message:
Assert error in http_GetHdr(), cache_http.c line 266:
Condition(l == strlen(hdr + 1)) not true.
errno = 32 (Broken pipe)
thread = (cache-worker)
ident = Linux,2.6.32-5-amd64,x86_64,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x437201: pan_backtrace+19
0x4374d6: pan_ic+1ad
0x430d57: http_GetHdr+67
0x43e69a: VRY_Match+ac
0x42e37d: HSH_Lookup+657
0x41b302: cnt_lookup+230
0x41d11c: CNT_Session+66d
0x4391d8: wrk_do_cnt_sess+130
0x438a40: wrk_thread_real+897
0x438e3a: wrk_thread+12a
sp = 0x7ec5fea8a008 {
fd = 4, id = 4, xid = 571229089,
client = 127.0.0.1 27205,
step = STP_LOOKUP,
handling = hash,
restarts = 0, esi_level = 0
flags =
bodystatus = 4
ws = 0x7ec5fea8a080 {
id = "sess",
{s,f,r,e} = {0x7ec5fea8acc8,+3792,+262144,+262144},
},
http[req] = {
ws = 0x7ec5fea8a080[sess]
"GET",
"/searchkw/xml/?_q%5B0%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D+motorcycle%7Bw%3D1%7D+parts%7Bw%3D1%7D%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B1%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D%29+OPT%28motorcycle+OR+parts%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D5&_q%5B2%5D=OPT%28norton+OR+atlas+OR+motorcycle+OR+parts%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D5&_q%5B3%5D=OPT%28norton+OR+atlas+OR+motorcycle+OR+parts%29+-category%3Aall+country%3ACA+%28category%3Amotorbikes%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=US&_cc%5B1%5D=US&_cc%5B2%5D=US&_cc%5B3%5D=CA&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1",
"HTTP/1.1",
"Connection: Close",
"X-URL:
/searchkw/xml/?_q%5B0%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D+motorcycle%7Bw%3D1%7D+parts%7Bw%3D1%7D%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B1%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D%29+OPT%28motorcycle+OR+parts%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D5&_q%5B2%5D=OPT%28norton+OR+atlas+OR+motorcycle+OR+parts%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D5&_q%5B3%5D=OPT%28norton+OR+atlas+OR+motorcycle+OR+parts%29+-category%3Aall+country%3ACA+%28category%3Amotorbikes%29+querywords%3E%3D2&_vn%5B0%5D=defaultkw_new&_vn%5B1%5D=defaultkw_new&_vn%5B2%5D=defaultkw_new&_vn%5B3%5D=seo_keywords_round_new&_cc%5B0%5D=US&_cc%5B1%5D=US&_cc%5B2%5D=US&_cc%5B3%5D=CA&_comp=gzip&_fmt=JSON&_hashq%5B1%5D=1&_hashq%5B2%5D=1&_hashq%5B3%5D=1&_hstart%5B2%5D=1&ttls=672",
},
worker = 0x7ec70f4fbb70 {
ws = 0x7ec70f4fbd18 {
id = "wrk",
{s,f,r,e} = {0x7ec70f4e9ac0,0x7ec70f4e9ac0,(nil),+65536},
},
},
vcl = {
srcname = {
"input",
"Default",
},
},
},

}}}




{{{
4 SessionOpen c 192.168.131.59 33558 :80
4 ReqStart c 192.168.131.59 33558 571229087
4 RxRequest c POST
4 RxURL c
/searchkw/xml/?_q%5B0%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D+motorcycle%7Bw%3D1%7D+parts%7Bw%3D1%7D%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B1%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D%29+OPT%28
4 RxProtocol c HTTP/1.1
4 RxHeader c Host: cloud3
4 RxHeader c Accept: */*
4 RxHeader c Accept-Encoding: identity
4 RxHeader c Content-Length: 0
4 RxHeader c Content-Type: application/x-www-form-urlencoded
4 VCL_call c recv lookup
4 VCL_call c hash
4 Hash c
/searchkw/xml/?_q%5B0%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D+motorcycle%7Bw%3D1%7D+parts%7Bw%3D1%7D%29+-category%3Aall+country%3AUS+%28category%3Amotorbikes%29+querywords%3E%3D2+querywords%3C%3D6&_q%5B1%5D=%28norton%7Bw%3D1%7D+atlas%7Bw%3D1%7D%29+OPT%2
4 VCL_return c hash
4 VCL_call c miss error
4 VCL_call c error deliver
4 VCL_call c deliver deliver
4 TxProtocol c HTTP/1.1
4 TxStatus c 407
4 TxResponse c Delayed fetch
4 TxHeader c Server: Varnish
4 TxHeader c Content-Length: 0
4 TxHeader c Accept-Ranges: bytes
4 TxHeader c Date: Tue, 30 Aug 2011 10:56:11 GMT
4 TxHeader c Connection: close
4 Length c 0
4 ReqEnd c 571229087 1314701771.821617365 1314701771.822000980
0.000048399 0.000356197 0.000027418
4 SessionClose c error
4 StatSess c 192.168.131.59 33558 0 1 1 0 0 0 144 0
}}}

--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/994#comment:3>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Sep 1, 2011, 12:58 AM

Post #5 of 8 (371 views)
Permalink
Re: #994: Assert error in http_GetHdr(), cache_http.c [In reply to]

#994: Assert error in http_GetHdr(), cache_http.c
----------------------+-----------------------------------------------------
Reporter: pmialon | Type: defect
Status: closed | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: blocker
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

* status: new => closed
* resolution: => fixed


Comment:

(In [0d079cc0576fa5bb9c84f34131c61ebb51dcc89c]) Reset the "built vary
spec" (also) if we came back from the waiting
list, otherwise it might turn into garbage.

Fixes #994
Fixes #1001

--
Ticket URL: </ticket/994#comment:4>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Sep 21, 2011, 5:28 AM

Post #6 of 8 (320 views)
Permalink
Re: #994: Assert error in http_GetHdr(), cache_http.c [In reply to]

#994: Assert error in http_GetHdr(), cache_http.c
----------------------+-----------------------------------------------------
Reporter: pmialon | Type: defect
Status: closed | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: blocker
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------

Comment(by Tollef Fog Heen <tfheen@…>):

(In [ec3097a5d70b54fffe594cea7f3267ae7c56063b]) Reset the "built vary
spec" (also) if we came back from the waiting
list, otherwise it might turn into garbage.

Fixes #994
Fixes #1001

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Sep 22, 2011, 11:37 AM

Post #7 of 8 (314 views)
Permalink
Re: #994: Assert error in http_GetHdr(), cache_http.c [In reply to]

#994: Assert error in http_GetHdr(), cache_http.c
----------------------+-----------------------------------------------------
Reporter: pmialon | Type: defect
Status: closed | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: blocker
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------

Comment(by dmp):

I have a very similar problem - using Varnish 3.0.1 - same symptom (Assert
error in http_GetHdr(), cache_http.c), and Vary header sent by the backend
clearly responsible).
I applied the patch from this ticket, but it doesn't fix it.
I can reproduce the problem "reliably".
Should I open a new ticket? Or provide more details here?

Thanks.

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Sep 22, 2011, 11:47 AM

Post #8 of 8 (310 views)
Permalink
Re: #994: Assert error in http_GetHdr(), cache_http.c [In reply to]

#994: Assert error in http_GetHdr(), cache_http.c
----------------------+-----------------------------------------------------
Reporter: pmialon | Type: defect
Status: closed | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: blocker
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------

Comment(by dmp):

Just tried latest from git and I can't reproduce the problem any longer.
Please ignore my previous comment (I'll wait for 3.0.2).

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs

Varnish bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.