Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Threading bug #1471

Closed
baentsch opened this issue May 18, 2023 · 0 comments · Fixed by #1472
Closed

Threading bug #1471

baentsch opened this issue May 18, 2023 · 0 comments · Fixed by #1472

Comments

@baentsch
Copy link
Member

Describe the bug
A seriously multicore machine crashes liboqs with the exit message "5: double free or corruption (!prev)"

To Reproduce
Steps to reproduce the behavior:

  1. Build liboqs main on a fast, multicore machine
  2. Execute oqs-provider ctest

Expected behavior
All tests pass.

Actual behaviour
Error message "5: double free or corruption (!prev)" appears after all tests completed

Environment (please complete the following information):

  • OS: Ubuntu 22
  • OpenSSL version: 3.2.0-dev
  • Compiler version used: gcc-11.3.
  • Build variables used: none
  • liboqs version: main

Additional context
Initial gdb trace seems to indicate error occurring in oqs_free_ossl_objects. Looks like the static pointers need to be NULLed......

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant