Txfax segmentation fault

when ever we send a fax it is giving the segmentaion fault and asterisk server his carshing. we are using asterisk 1-2-10,spandsp-0.0.2.