I recently lost all my Windows data. I tried running Photorec and I was able to recover some 18 GB of data back. Photorec threw an error after recovering 18 GB stating "Segmentation Fault". Was it because my windows drive was hardly ever defragged? If so, what routines/precautions I can take to make sure if something like this happens again on Windows or Linux side, Photorec wont throw the "Segmentation Fault" error.(Of course one precaution being backing up data regularly :-) )
A Segmentation Fault is usually a programming error. There's nothing you can do about but always upgrade to the newest version and sending a bug report to the developer.