Mailing List Archive

#1732: Assert error in SES_Close()
#1732: Assert error in SES_Close()
--------------------------------+----------------------
Reporter: llavaud | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: trunk | Severity: major
Keywords: panic assert error |
--------------------------------+----------------------
{{{
May 6 11:02:33 webcache14 varnishd[502993]: Child (503012) died signal=6
May 6 11:02:33 webcache14 varnishd[502993]: Child (503012) Panic message:
Assert error in SES_Close(), cache/cache_session.c line 530:
Condition(sp->fd >= 0) not true.
errno = 104 (Connection reset by peer)
thread = (cache-worker)
version = varnish-trunk revision 668be11
ident = Linux,3.2.0-4-amd64,x86_64,-junix,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x433044: pan_ic+0x134
0x43bc7c: SES_Close+0x24c
0x43a14b: vrg_range_bytes+0xdb
0x41af0f: VDP_close+0x4f
0x44bbb7: V1D_Deliver+0x1f7
0x437189: CNT_Request+0x389
0x44c88b: HTTP1_Session+0x12b
0x43a901: SES_Proto_Req+0x61
0x4354f8: Pool_Work_Thread+0x3c8
0x448053: WRK_Thread+0x103
req = 0x7eefee046020 {
sp = 0x7eeffcdfc420, vxid = 10424451, step = R_STP_DELIVER,
req_body = R_BODY_NONE,
restarts = 0, esi_level = 0,
sp = 0x7eeffcdfc420 {
fd = -1, vxid = 68247,
client = 194.51.87.86 40367,
step = S_STP_H1PROC,
},
worker = 0x7eeff928ac30 {
stack = {0x7eeff928b000 -> 0x7eeff927f000}
ws = 0x7eeff928ae38 {
id = "wrk",
{s,f,r,e} = {0x7eeff928a420,0x7eeff928a420,(nil),+2040},
},
VCL::method = DELIVER,
VCL::return = deliver,
VCL::methods = {RECV, HASH, MISS, DELIVER},
},
ws = 0x7eefee046208 {
id = "req",
{s,f,r,e} = {0x7eefee048028,+3360,(nil),+253904},
},
http[req] = {
ws = 0x7eefee046208[req]
"GET",
"myuri",
"HTTP/1.1",
"Connection: keep-alive",
"Accept: image/webp,*/*;q=0.8",
"User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36",}}}

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1732>
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: #1732: Assert error in SES_Close() [ In reply to ]
#1732: Assert error in SES_Close()
--------------------------------+--------------------
Reporter: llavaud | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: major | Resolution:
Keywords: panic assert error |
--------------------------------+--------------------

Comment (by llavaud):

seems to be introduced by the commit
f6d71499cccfb75ac4d709d66841ac80628239c0 dated Tue May 5 08:58:39 2015
+0000

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1732#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: #1732: Assert error in SES_Close() [ In reply to ]
#1732: Assert error in SES_Close()
--------------------------------+----------------------------------------
Reporter: llavaud | Owner: Poul-Henning Kamp <phk@…>
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: major | Resolution: fixed
Keywords: panic assert error |
--------------------------------+----------------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

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


Comment:

In [8c0af33385c8045cea0574af26418f5480c13e50]:
{{{
#!CommitTicketReference repository=""
revision="8c0af33385c8045cea0574af26418f5480c13e50"
Fix an attempt to double close a session.

In future versions of HTTP requests can be terminated abnormally
without ditching the entire session, and this change starts the
transition to that logic.

Fixes: #1732
}}}

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1732#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