d5ab883ef90a reproducibly leads to segmentation faults in either line 999 or 1002 of hcache.c. At that point, h->db is a NULL pointer which is dereferenced. Backing out d5ab883ef90a cures that. To reproduce the problem, run tip with the header_cache variable set. Regards -- Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>