Mailing List Archive

#1865: Panic accessing beresp.backend.ip in vcl_backend_error{}
#1865: Panic accessing beresp.backend.ip in vcl_backend_error{}
----------------------+-------------------
Reporter: fgsch | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-------------------
{{{
*** v1 4.9 debug| Error: Child (29918) died signal=6 (core dumped)\n
*** v1 4.9 debug| Error: Child (29918) Panic at: Wed, 02 Mar 2016
16:51:44 GMT\n
*** v1 4.9 debug| "Assert error in vbe_dir_getip(),
cache/cache_backend.c line 262:\n
*** v1 4.9 debug| Condition((bo->htc) != NULL) not true.\n
*** v1 4.9 debug| errno = 110 (Connection timed out)\n
*** v1 4.9 debug| thread = (cache-worker)\n
*** v1 4.9 debug| version = varnish-trunk revision 67f2e57\n
*** v1 4.9 debug| ident =
Linux,4.3.0-1-amd64,x86_64,-jnone,-smalloc,-smalloc,-hcritbit,epoll\n
*** v1 4.9 debug| Backtrace:\n
*** v1 4.9 debug| 0x43bd41: pan_backtrace+0x1d\n
*** v1 4.9 debug| 0x43c149: pan_ic+0x2bc\n
*** v1 4.9 debug| 0x41213a: vbe_dir_getip+0x155\n
*** v1 4.9 debug| 0x41d21e: VDI_GetIP+0x18a\n
*** v1 4.9 debug| 0x453cff: VRT_r_beresp_backend_ip+0xe9\n
*** v1 4.9 debug| 0x7ffb239fbaf4:
vgc.so(VGC_function_vcl_backend_error+0x34) [0x7ffb239fbaf4]\n
*** v1 4.9 debug| 0x44bf8d: vcl_call_method+0x527\n
*** v1 4.9 debug| 0x44c18c: VCL_backend_error_method+0x164\n
*** v1 4.9 debug| 0x428a64: vbf_stp_error+0x3c2\n
*** v1 4.9 debug| 0x42932e: vbf_fetch_thread+0x3d0\n
...
}}}

Testcase attached.

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1865>
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: #1865: Panic accessing beresp.backend.ip in vcl_backend_error{} [ In reply to ]
#1865: Panic accessing beresp.backend.ip in vcl_backend_error{}
----------------------+--------------------
Reporter: fgsch | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------+--------------------
Description changed by fgsch:

Old description:

> {{{
> *** v1 4.9 debug| Error: Child (29918) died signal=6 (core dumped)\n
> *** v1 4.9 debug| Error: Child (29918) Panic at: Wed, 02 Mar 2016
> 16:51:44 GMT\n
> *** v1 4.9 debug| "Assert error in vbe_dir_getip(),
> cache/cache_backend.c line 262:\n
> *** v1 4.9 debug| Condition((bo->htc) != NULL) not true.\n
> *** v1 4.9 debug| errno = 110 (Connection timed out)\n
> *** v1 4.9 debug| thread = (cache-worker)\n
> *** v1 4.9 debug| version = varnish-trunk revision 67f2e57\n
> *** v1 4.9 debug| ident =
> Linux,4.3.0-1-amd64,x86_64,-jnone,-smalloc,-smalloc,-hcritbit,epoll\n
> *** v1 4.9 debug| Backtrace:\n
> *** v1 4.9 debug| 0x43bd41: pan_backtrace+0x1d\n
> *** v1 4.9 debug| 0x43c149: pan_ic+0x2bc\n
> *** v1 4.9 debug| 0x41213a: vbe_dir_getip+0x155\n
> *** v1 4.9 debug| 0x41d21e: VDI_GetIP+0x18a\n
> *** v1 4.9 debug| 0x453cff: VRT_r_beresp_backend_ip+0xe9\n
> *** v1 4.9 debug| 0x7ffb239fbaf4:
> vgc.so(VGC_function_vcl_backend_error+0x34) [0x7ffb239fbaf4]\n
> *** v1 4.9 debug| 0x44bf8d: vcl_call_method+0x527\n
> *** v1 4.9 debug| 0x44c18c: VCL_backend_error_method+0x164\n
> *** v1 4.9 debug| 0x428a64: vbf_stp_error+0x3c2\n
> *** v1 4.9 debug| 0x42932e: vbf_fetch_thread+0x3d0\n
> ...
> }}}
>
> Testcase attached.

New description:

{{{
*** v1 4.9 debug| Error: Child (28106) died signal=6 (core dumped)\n
*** v1 4.9 debug| Error: Child (28106) Panic at: Wed, 02 Mar 2016
19:03:50 GMT\n
*** v1 4.9 debug| "Assert error in VDI_GetIP(), cache/cache_director.c
line 122:\n
*** v1 4.9 debug| Condition(bo->director_state == DIR_S_HDRS ||
bo->director_state == DIR_S_BODY) not true.\n
*** v1 4.9 debug| errno = 110 (Connection timed out)\n
*** v1 4.9 debug| thread = (cache-worker)\n
*** v1 4.9 debug| version = varnish-trunk revision 51e92b4\n
*** v1 4.9 debug| ident =
Linux,4.3.0-1-amd64,x86_64,-jnone,-smalloc,-smalloc,-hcritbit,epoll\n
*** v1 4.9 debug| Backtrace:\n
*** v1 4.9 debug| 0x43bdc7: pan_backtrace+0x1d\n
*** v1 4.9 debug| 0x43c1cf: pan_ic+0x2bc\n
*** v1 4.9 debug| 0x41d202: VDI_GetIP+0x16e\n
*** v1 4.9 debug| 0x453d85: VRT_r_beresp_backend_ip+0xe9\n
*** v1 4.9 debug| 0x7fbb955fba0d:
vgc.so(VGC_function_vcl_backend_error+0x2d) [0x7fbb955fba0d]\n
*** v1 4.9 debug| 0x44c013: vcl_call_method+0x527\n
*** v1 4.9 debug| 0x44c212: VCL_backend_error_method+0x164\n
*** v1 4.9 debug| 0x428aa5: vbf_stp_error+0x3c2\n
*** v1 4.9 debug| 0x42936f: vbf_fetch_thread+0x3d0\n
*** v1 4.9 debug| 0x458b2e: Pool_Work_Thread+0x512\n
...
}}}

Testcase attached.

--

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1865#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: #1865: Panic accessing beresp.backend.ip in vcl_backend_error{} [ In reply to ]
#1865: Panic accessing beresp.backend.ip in vcl_backend_error{}
----------------------+--------------------
Reporter: fgsch | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------+--------------------

Comment (by fgsch):

OTOH beresp.backend.name is perfectly available.

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