Segmentation fault at Off-line test