Mailing List Archive

#1807: Assert error in cnt_deliver()
#1807: Assert error in cnt_deliver()
--------------------------+----------------------
Reporter: llavaud | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: 4.1.0-TP1 | Severity: normal
Keywords: Assert error |
--------------------------+----------------------
{{{
webcache12:~# varnishadm panic.show
Last panic at: Wed, 21 Oct 2015 18:17:05 GMT
Assert error in cnt_deliver(), cache/cache_req_fsm.c line 119:
Condition((HTTP_Decode(req->resp, ObjGetattr(req->wrk, req->objcore,
OA_HEADERS, ((void *)0)))) == 0) not true.
thread = (cache-worker)
version = varnish-4.1.0-tp1 revision 0e4e1bc
ident = Linux,3.2.0-4-amd64,x86_64,-junix,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x4343a4: pan_ic+0x134
0x43938b: CNT_Request+0x23cb
0x44eba3: HTTP1_Session+0x133
0x43a841: SES_Proto_Req+0x61
0x44947a: WRK_Thread+0x48a
0x4499eb: pool_thread+0x2b
0x7f02e6346b50: libpthread.so.0(+0x6b50) [0x7f02e6346b50]
0x7f02e609095d: libc.so.6(clone+0x6d) [0x7f02e609095d]
req = 0x7ee940406020 {
sp = 0x7ee905224d20, vxid = 862409941, step = R_STP_DELIVER,
req_body = R_BODY_TAKEN,
restarts = 0, esi_level = 0,
sp = 0x7ee905224d20 {
fd = 804, vxid = 862409940,
client = xxx.xxx.xxx.xxx 11623,
step = S_STP_H1PROC,
},
worker = 0x7ee9cb336c30 {
stack = {0x7ee9cb337000 -> 0x7ee9cb32b000}
ws = 0x7ee9cb336e30 {
id = "wrk",
{s,f,r,e} = {0x7ee9cb335bd0,0x7ee9cb335bd0,(nil),+4088},
},
VCL::method = PASS,
VCL::return = fetch,
VCL::methods = {RECV, PASS, HASH},
},
ws = 0x7ee940406220 {
id = "req",
{s,f,r,e} = {0x7ee940408028,+11816,(nil),+253904},
},
http[req] = {
ws = 0x7ee940406220[req]
"POST",
"/action/login",
"HTTP/1.1",
"Connection: keep-alive",
"Content-Length: 260",
"Accept: application/json, text/javascript, */*",
"Origin: http://replay.gulli.fr",
"X-Requested-With: XMLHttpRequest",
"User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36",
"Content-Type: application/x-www-form-urlencoded",
"Referer:
http://replay.gulli.fr/action/login?ReturnUrl=http://replay.gulli.fr/recherche/replay?searchText=Chica+vampiro?return_modal=http://replay.gulli.fr/layout/set/ajax/replay/favori/(prog)/chica_vampiro",
"Accept-Encoding: gzip, deflate",
"Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4",
"X-Forwarded-For: xxx.xxx.xxx.xxx",
"Host: replay.gulli.fr",
"Surrogate-Capability: abc=ESI/1.0",
"Cookie: my_cookies",
},
http[resp] = {
ws = 0x7ee940406220[req]
},
vcl = {
srcname = {
"input",
"Builtin",
"/etc/varnish/backends/probe.vcl",
"/etc/varnish/backends/webssi.vcl",
"/etc/varnish/backends/webdyn.vcl",
"/etc/varnish/backends/webservice.vcl",
"/etc/varnish/backends/bograph.vcl",
"/etc/varnish/acl.vcl",
"/etc/varnish/rules/init.vcl",
"/etc/varnish/rules/recv.vcl",
"/etc/varnish/rules/hash.vcl",
"/etc/varnish/rules/hit.vcl",
"/etc/varnish/rules/miss.vcl",
"/etc/varnish/rules/backend_fetch.vcl",
"/etc/varnish/rules/backend_response.vcl",
"/etc/varnish/rules/backend_error.vcl",
"/etc/varnish/rules/deliver.vcl",
"/etc/varnish/rules/synth.vcl",
"/etc/varnish/rules/pipe.vcl",
},
},
objcore (REQ) = 0x7ee9b3b2c840 {
refcnt = 1
flags = 0x104
objhead = 0x7f02e54ee500
stevedore = 0x7f02e54eb240 (malloc Transient)
}
flags = {
wantbody,
}
},

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1807: Assert error in cnt_deliver() [ In reply to ]
#1807: Assert error in cnt_deliver()
--------------------------+------------------------
Reporter: llavaud | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 4.1.0-TP1
Severity: normal | Resolution:
Keywords: Assert error |
--------------------------+------------------------

Comment (by phk):

Did you by any chance decrease the http_max_hdr parameter while running ?

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1807: Assert error in cnt_deliver() [ In reply to ]
#1807: Assert error in cnt_deliver()
--------------------------+------------------------
Reporter: llavaud | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 4.1.0-TP1
Severity: normal | Resolution:
Keywords: Assert error |
--------------------------+------------------------

Comment (by llavaud):

no i never touch this one but i have this parameters for startup:

{{{
NFILES=262144
MEMLOCK=164000

DAEMON_OPTS="-a :80 \
-T 0.0.0.0:6083 \
-S /etc/varnish/secret \
-f /etc/varnish/varnish.vcl \
-p thread_pool_max=5000 \
-p thread_pool_min=1300 \
-p feature=+esi_disable_xml_check \
-p http_req_hdr_len=16k \
-p http_resp_hdr_len=16k \
-p workspace_backend=256k \
-p workspace_client=256k \
-p workspace_session=768 \
-p workspace_thread=4k \
-l 160m \
-s file,/srv/faststorage/varnish/storage.bin,100G"

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1807: Assert error in cnt_deliver() [ In reply to ]
#1807: Assert error in cnt_deliver()
--------------------------+----------------------------------------
Reporter: llavaud | Owner: Poul-Henning Kamp <phk@…>
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 4.1.0-TP1
Severity: normal | Resolution: fixed
Keywords: Assert error |
--------------------------+----------------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

* owner: => Poul-Henning Kamp <phk@…>
* status: new => closed
* resolution: => fixed


Comment:

In [91755a001a9691b3ce12c20ea1402164685c7ed9]:
{{{
#!CommitTicketReference repository=""
revision="91755a001a9691b3ce12c20ea1402164685c7ed9"
Return 500 if we cannot decode the stored object into the resp.*
This can happen in a number of obscure corner-cases, which do not
warrant a panic.

Fixes: #1807
}}}

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1807: Assert error in cnt_deliver() [ In reply to ]
#1807: Assert error in cnt_deliver()
--------------------------+----------------------------------------
Reporter: llavaud | Owner: Poul-Henning Kamp <phk@…>
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 4.1.0-TP1
Severity: normal | Resolution: fixed
Keywords: Assert error |
--------------------------+----------------------------------------

Comment (by Lasse Karstensen <lkarsten@…>):

In [2dc7d093e3533008c333db9717bc0eac8050a005]:
{{{
#!CommitTicketReference repository=""
revision="2dc7d093e3533008c333db9717bc0eac8050a005"
Return 500 if we cannot decode the stored object into the resp.*
This can happen in a number of obscure corner-cases, which do not
warrant a panic.

Fixes: #1807
}}}

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

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