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

We should call flint_cleanup_master() before exiting Nemo #1425

Open
thofma opened this issue Mar 20, 2023 · 2 comments
Open

We should call flint_cleanup_master() before exiting Nemo #1425

thofma opened this issue Mar 20, 2023 · 2 comments

Comments

@thofma
Copy link
Member

thofma commented Mar 20, 2023

Don't use atexit, since it runs before all objects finalizers.

@fingolfin
Copy link
Member

What does "existing Nemo" mean? Isn't this only happening when exiting Julia? But then all processes resources (like memory allocations) are freed automatically anyway. So what does flint_cleanup_master do that's not covered by this?

@thofma
Copy link
Member Author

thofma commented Dec 5, 2024

To get no false positives for valgrind. I once suspected leaks in some julia program, but without flint_cleanup_master there are too many false positives. See https://github.com/flintlib/flint/issues/1163 and the discussion there.

P.S.: I think it is impossible to do it with the current state of julia.

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