occam-ra / occam

OCCAM Reconstructability Analysis Tools
Other
20 stars 14 forks source link

Fix memory errors (segmentation fault) in state-based .py files. #12

Open gdcutting opened 5 years ago

gdcutting commented 5 years ago

sbfit.py and sbsearch.py give segmentation faults, at least for some (large) data files. If a fix is not realistic (might be tough to track down), at least improve error handling so the user doesn't see 'core dump'. Also check to see if this issue is present in web version (weboccam.py)

gdcutting commented 5 years ago

Looking back through the older commit history (older than a few weeks) pointed me to this helpful discussion: https://stackoverflow.com/questions/77005/how-to-automatically-generate-a-stacktrace-when-my-program-crashes

This will be useful in addressing this issue.