Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault 11 #89

Closed
tyler-foxworthy opened this issue Jan 30, 2020 · 1 comment
Closed

Segmentation fault 11 #89

tyler-foxworthy opened this issue Jan 30, 2020 · 1 comment

Comments

@tyler-foxworthy
Copy link

Thank you for putting together and maintaining this excellent library. It is wonderfully documented and up until now I've had no issues with it.

I recently ran into an issue when calling ripser(dX,distance_matrix=True) in a loop for a dynamical systems analysis where the application crashes due to a segmentation fault 11 error. I'm admittedly not super knowledgable about diagnosing the root cause of this type of error, but I was not able to reproduce it just by replicating the same input (30x30) matrix. The error only pops up after long runs (e.g. greater than 200 iterations).

@bdice
Copy link
Collaborator

bdice commented Jan 31, 2020

Debugging segfaults can be tough. Try running import faulthandler; faulthandler.enable() at the top of your script to get just a bit more info from segfaults. I am not a maintainer or expert on the C++ internals of this package but that may be helpful for identifying the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants