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

Worker Thread Leak Memory #4526

Open
1 of 4 tasks
y11en opened this issue Sep 2, 2024 · 0 comments
Open
1 of 4 tasks

Worker Thread Leak Memory #4526

y11en opened this issue Sep 2, 2024 · 0 comments
Labels
Bug: Platform A code bug in platform/TLS specific code. external Proposed by non-MSFT TLS: OpenSSL
Milestone

Comments

@y11en
Copy link

y11en commented Sep 2, 2024

Describe the bug

OpenSSL thread local allocation without cleanup worker thread

Affected OS

  • Windows
  • Linux
  • macOS
  • Other (specify below)

Additional OS information

I Only tested on windows.

MsQuic version

main

Steps taken to reproduce bug

image

Looping to call the MsQuic interface

image

It's clear that there are a lot of memory leaks in OpenSSL

image

When I try to call the OpenSSL cleanup thread local cleanup function, the memory leak seems to disappear

image

If you don't do this, it will obviously increase the memory.

Expected behavior

No memory continues to grow

Actual outcome

No OpenSSL memory leak

Additional details

fix it before workerthread exit.

@nibanks nibanks modified the milestones: Future, Release 2.5 Sep 3, 2024
@nibanks nibanks added TLS: OpenSSL external Proposed by non-MSFT Bug: Platform A code bug in platform/TLS specific code. labels Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Platform A code bug in platform/TLS specific code. external Proposed by non-MSFT TLS: OpenSSL
Projects
None yet
Development

No branches or pull requests

2 participants