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

[BUG]: 'static object' caused memory leak shown in asan & valgrind results. #5125

Open
2 of 3 tasks
seulchanson opened this issue May 8, 2024 · 1 comment
Open
2 of 3 tasks
Labels
triage New bug, unverified

Comments

@seulchanson
Copy link

Required prerequisites

What version (or hash if on master) of pybind11 are you using?

pybind headonly 2.11.1

Problem description

image
Uploading image.png…

image
image

Reproducible example code

No response

Is this a regression? Put the last known working version here if it is.

Not a regression

@seulchanson seulchanson added the triage New bug, unverified label May 8, 2024
@seulchanson
Copy link
Author

If the function is executed and exits without doing anything, a memory leak will also occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage New bug, unverified
Projects
None yet
Development

No branches or pull requests

1 participant