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

Fix segmentation fault in nlEigenSolve_ARPACK #167

Merged
merged 4 commits into from
Jul 19, 2024

Conversation

megawattfs
Copy link

Avoid segmentation fault caused by ARPack incrementing the requested number of eigenvalues in nlEigenSolve_ARPACK. This workaround avoids the invalid access by enforcing that at most the requested number of eigenvalues are copied to the NL context.

See this issue where the manifold_harmonics sample program crashes due to a segmentation fault with certain values of nb_eigens on Windows.

@BrunoLevy BrunoLevy merged commit b9c5c62 into BrunoLevy:main Jul 19, 2024
@BrunoLevy
Copy link
Owner

Thank you very much !

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

Successfully merging this pull request may close these issues.

2 participants