Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
my parent.config
eg :
dest_domain=. secondary_parent="192.168.104.229:80|1.0; 192.168.104.182:80|1.0" round_robin=consistent_hash
the crash place is :
DEBUG: <ParentConsistentHash.cc:167 (selectParent)> (parent_select) wrap_around[PRIMARY]: 1, wrap_around[SECONDARY]: 0
traffic_server: Segmentation fault (Address not mapped to object [0x10])
ParentConsistentHash.cc:167 code:
Debug("parent_select", "Selected parent %s is not available, looking up another parent.", pRec->hostname);
Fix the code like
Debug("parent_select", "Selected parent %s is not available, looking up another parent.", pRec ? pRec->hostname:"[NULL]");