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

'ninja run_tests' fails due to memory leak #1941

Open
ashman-p opened this issue Sep 29, 2024 · 0 comments · May be fixed by #1942
Open

'ninja run_tests' fails due to memory leak #1941

ashman-p opened this issue Sep 29, 2024 · 0 comments · May be fixed by #1942

Comments

@ashman-p
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.
'ninja run_tests' fails due to memory leak

To Reproduce
Steps to reproduce the behavior:

  1. build liboqs with OQS_USE_OPENSSL and OQS_USE_PTHREADS set to ON.
  2. run 'ninja run_tests'
  3. See error
    Snapshot:-
    [ 80%] FAILED tests/test_leaks.py::test_kem_leak[ML-KEM-512
    [ 88%] FAILED tests/test_leaks.py::test_sig_leak[ML-DSA-87]

Expected behavior
A clear and concise description of what you expected to happen.
Tests normally pass.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. Ubuntu 20]
  • OpenSSL version [e.g., 3.0.2] 3.3.3
  • Compiler version used [e.g., clang 9.0.0] GCC 9.4.0
  • Build variables used [e.g., "-DOQS_ALGS_ENABLED=STD"] OQS_ALGS_ENABLED=STD
  • liboqs version [e.g. 0.7.2 or main branch] 0.10.2-dev

Additional context
Add any other context about the problem here.
This test runs fine with OQS_USE_OPENSSL ON and OQS_USE_PTHREADS OFF

@ashman-p ashman-p linked a pull request Sep 29, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

1 participant