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

Dead Kernel when passing an empty array to get_subset function #405

Open
hurricane642 opened this issue Apr 11, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@hurricane642
Copy link

Hello everyone!
Attempting to use get_subset function for rascal.neighbourlist.structure_manager.AtomsList with argument equal to [] causes Dead Kernel.
Need to check the input data for this function

@max-veit
Copy link
Contributor

The segmentation fault probably comes from #400 (or something closely related) after get_subset(), which does no bounds checking, passes through an empty selection.

@max-veit max-veit added the bug Something isn't working label Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants