Duplicated Segmentation Error

See the answer in this topic: