Crash on set.fini()
Panic:
Assert error in vmod_set__fini(), vmod_selector.c line 226:
Condition((entry)->magic == 0x733dbe63) not true.
version = varnish-6.1.1 revision efc2f6c1536cf2272e471f5cff5f145239b19460, vrt api = 8.0
ident = Linux,4.15.0,x86_64,-junix,-smalloc,-sdefault,-hcritbit,epoll
now = 16123.466507 (mono), 1548341446.001477 (real)
Backtrace:
0x43ac6b: /usr/sbin/varnishd() [0x43ac6b]
0x49b0e2: /usr/sbin/varnishd(VAS_Fail+0x42) [0x49b0e2]
0x7f3b5944de90: ./vmod_cache/_vmod_selector.a93b849f67b78d802d023018a91708dbbebf71e6ec589dceab4beb1a8ba2b49e(vmod_set__fini+0x2e0) [0x7f3b5944de90]
0x7f3b586c3e54: vcl_vk8s_ing_default_cafe_ingress_varnish_49121336_1fd9_11e9_bdba_080027b7a967_2e83d92a407d8222.1548341443.817471743/vgc.so(+0x3e54) [0x7f3b586c3e54]
0x4492c4: /usr/sbin/varnishd() [0x4492c4]
0x449d84: /usr/sbin/varnishd() [0x449d84]
0x44abdf: /usr/sbin/varnishd() [0x44abdf]
0x49d17a: /usr/sbin/varnishd() [0x49d17a]
0x49d61d: /usr/sbin/varnishd(VCLS_Poll+0x35d) [0x49d61d]
0x4207f4: /usr/sbin/varnishd(CLI_Run+0x54) [0x4207f4]
thread = (cache-main)
thr.req = (nil) {
},
thr.busyobj = (nil) {
}, Panic at 172.17.0.16:6081: Panic at: Thu, 24 Jan 2019 14:50:46 GMT
Assert error in vmod_set__fini(), vmod_selector.c line 226:
Condition((entry)->magic == 0x733dbe63) not true.
version = varnish-6.1.1 revision efc2f6c1536cf2272e471f5cff5f145239b19460, vrt api = 8.0
ident = Linux,4.15.0,x86_64,-junix,-smalloc,-sdefault,-hcritbit,epoll
now = 16123.466507 (mono), 1548341446.001477 (real)
Backtrace:
0x43ac6b: /usr/sbin/varnishd() [0x43ac6b]
0x49b0e2: /usr/sbin/varnishd(VAS_Fail+0x42) [0x49b0e2]
0x7f3b5944de90: ./vmod_cache/_vmod_selector.a93b849f67b78d802d023018a91708dbbebf71e6ec589dceab4beb1a8ba2b49e(vmod_set__fini+0x2e0) [0x7f3b5944de90]
0x7f3b586c3e54: vcl_vk8s_ing_default_cafe_ingress_varnish_49121336_1fd9_11e9_bdba_080027b7a967_2e83d92a407d8222.1548341443.817471743/vgc.so(+0x3e54) [0x7f3b586c3e54]
0x4492c4: /usr/sbin/varnishd() [0x4492c4]
0x449d84: /usr/sbin/varnishd() [0x449d84]
0x44abdf: /usr/sbin/varnishd() [0x44abdf]
0x49d17a: /usr/sbin/varnishd() [0x49d17a]
0x49d61d: /usr/sbin/varnishd(VCLS_Poll+0x35d) [0x49d61d]
0x4207f4: /usr/sbin/varnishd(CLI_Run+0x54) [0x4207f4]
thread = (cache-main)
thr.req = (nil) {
},
thr.busyobj = (nil) {
},
This happens in vmod_set__fini()
where strings and regexen that may have been saved for a set entry are freed. Evidently an entry is encountered where the magic number is not set to ``VMOD_SELECTOR_ENTRY_MAGIC```.