Mailing List Archive

#1780: Missing errorhandling code in HSH_Purge()
#1780: Missing errorhandling code in HSH_Purge()
---------------------------+----------------------
Reporter: llavaud | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: 4.1.0-TP1 | Severity: normal
Keywords: errorhandling |
---------------------------+----------------------
{{{
Child (675522) Panic message: Missing errorhandling code in HSH_Purge(),
cache_hash.c line 557:
Condition(spc >= sizeof *ocp) not true.errno = 32 (Broken pipe)
thread = (cache-worker)
ident =
Linux,3.2.0-4-amd64,x86_64,-sfile,-sfile,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x432205: /usr/sbin/varnishd() [0x432205]
0x42bc9c: /usr/sbin/varnishd(HSH_Purge+0x4ac) [0x42bc9c]
0x7f4224d445c5: ./vcl.5ETuLgy3.so(VGC_function_vcl_miss+0x6f)
[0x7f4224d445c5]
0x439418: /usr/sbin/varnishd(VCL_miss_method+0x48) [0x439418]
0x41805a: /usr/sbin/varnishd() [0x41805a]
0x41a7a5: /usr/sbin/varnishd(CNT_Session+0x9b5) [0x41a7a5]
0x433f79: /usr/sbin/varnishd() [0x433f79]
0x7f5c98026b50: /lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)
[0x7f5c98026b50]
0x7f5c97d7095d: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
[0x7f5c97d7095d]
sp = 0x7f3f87002008 {
fd = 595, id = 595, xid = 1110637145,
client = 10.114.7.45 40555,
step = STP_MISS,
handling = deliver,
restarts = 0, esi_level = 0
flags =
bodystatus = 4
ws = 0x7f3f87002080 {
id = "sess",
{s,f,r,e} = {0x7f3f87002c78,+304,(nil),+524288},
},
http[req] = {
ws = 0x7f3f87002080[sess]
"XPURGE",
"my_uri",
"HTTP/1.1",
"Accept: */*",
"Host: my_host",
"Surrogate-Capability: abc=ESI/1.0",
},
worker = 0x7f41c7313b30 {
ws = 0x7f41c7313d68 {
id = "wrk",
{s,f,r,e} = {0x7f41c72f3a70,+24,+65536,+65536},
},
http[bereq] = {
ws = 0x7f41c7313d68[wrk]
"GET",
"my_uri",
"HTTP/1.1",
"Accept: */*",
"Host: my_host",
"Surrogate-Capability: abc=ESI/1.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1780>
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: #1780: Missing errorhandling code in HSH_Purge() [ In reply to ]
#1780: Missing errorhandling code in HSH_Purge()
---------------------------+------------------------
Reporter: llavaud | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: 4.1.0-TP1
Severity: normal | Resolution: invalid
Keywords: errorhandling |
---------------------------+------------------------
Changes (by fgsch):

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


Comment:

You are running out of workspace_thread:

{{{
{s,f,r,e} = {0x7f41c72f3a70,+24,+65536,+65536},
}}}

Only 24 bytes left which is not enough.

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