hello, i have a question about cache-scan. i want to query a single url cache information by modify cache-scan plugin in trafficserver-6.2.1/example. i think only change TSCacheScan args 0 to TSCacheKey .it will can work. but it coredump below.
coredump: (gdb) bt #0 0x000000000072241a in CacheHostMatcher::Match (this=0x0, rdata=0x18b8fd0 "10.210.136.53", rlen=13, result=0x2b5664301c20) at CacheHosting.cc:106 #1 0x00000000007228c2 in CacheHostTable::Match (this=0x2b5680000920, rdata=0x18b8fd0 "10.210.136.53", rlen=13, result=0x2b5664301c20) at CacheHosting.cc:229 #2 0x0000000000732859 in CacheVC::scanVol (this=0x1966bb0) at CacheVol.cc:62 #3 0x0000000000508e34 in Continuation::handleEvent (this=0x1966bb0, event=2, data=0x2b56801d07a0) at ../iocore/eventsystem/I_Continuation.h:153 #4 0x000000000078ed20 in EThread::process_event (this=0x2b565f01c010, e=0x2b56801d07a0, calling_code=2) at UnixEThread.cc:148 #5 0x000000000078f048 in EThread::execute (this=0x2b565f01c010) at UnixEThread.cc:230 #6 0x000000000078e36d in spawn_thread_internal (a=0x14674c0) at Thread.cc:86 #7 0x00002b565e66aaa1 in start_thread () from /lib64/libpthread.so.0 #8 0x0000003078ae8bcd in clone () from /lib64/libc.so.6 frame 1, CacheHostTable's member hostMatch is null ,so it coredump.