liboqs icon indicating copy to clipboard operation
liboqs copied to clipboard

'ninja run_tests' fails due to memory leak

Open ashman-p opened this issue 4 months ago • 3 comments

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 avatar Sep 29 '24 04:09 ashman-p