Still trying to identify the path of the seg fault