Yet to detect the cause of segmentation fault.