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

Segfault occurs if output text files can't be opened #33

Open
jakelangham opened this issue Sep 12, 2024 · 0 comments
Open

Segfault occurs if output text files can't be opened #33

jakelangham opened this issue Sep 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jakelangham
Copy link
Owner

Since there is no error handling in OutputSolutionData_txt, the program can segfault if it's unable to open a file.

It seems better to exit gracefully with an appropriate error message, so we should add this.

I don't believe the same thing will happen when outputting NetCDF since there's plenty of error handling in those routines.

@jakelangham jakelangham self-assigned this Sep 12, 2024
@jakelangham jakelangham added the bug Something isn't working label Sep 12, 2024
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

1 participant