-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
ObjectPool leaks in GroupDataProviderImpl #12503
Labels
leak
Memory leak bug
Comments
kpschoedel
added a commit
to kpschoedel/connectedhomeip
that referenced
this issue
Dec 7, 2021
#### Problem The `ObjectPool` leak reported in project-chip#12503 _ObjectPool leaks in GroupDataProviderImpl_ #### Change overview Remove the ‘allow leaks’ flag from `GroupDataProviderImpl::mKeySetIterators`. #### Testing CI.
kpschoedel
added a commit
to kpschoedel/connectedhomeip
that referenced
this issue
Dec 7, 2021
#### Problem The `ObjectPool` leak reported in project-chip#12503 _ObjectPool leaks in GroupDataProviderImpl_ is no longer reproducable; possibly fixed by d25a3ef. #### Change overview Remove the ‘allow leaks’ flag from `GroupDataProviderImpl::mKeySetIterators`. #### Testing CI.
kpschoedel
added a commit
to kpschoedel/connectedhomeip
that referenced
this issue
Dec 8, 2021
#### Problem The `ObjectPool` leak reported in project-chip#12503 _ObjectPool leaks in GroupDataProviderImpl_ is no longer reproducable; possibly fixed by d25a3ef. #### Change overview Remove the ‘allow leaks’ flag from `GroupDataProviderImpl::mKeySetIterators`. #### Testing CI.
kpschoedel
added a commit
to kpschoedel/connectedhomeip
that referenced
this issue
Dec 8, 2021
#### Problem The `ObjectPool` leak reported in project-chip#12503 _ObjectPool leaks in GroupDataProviderImpl_ is no longer reproducable; possibly fixed by d25a3ef. #### Change overview Remove the ‘allow leaks’ flag from `GroupDataProviderImpl::mKeySetIterators`. #### Testing CI.
Closed by #12734 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
GroupDataProviderImpl::mKeySetIterators
had live objects on destruction, in aTestGroupDataProvider
unit test.(Replacing issue #11880 Possible use of destroyed pool objects with specific issues for the few remaining instances.)
Proposed Solution
Someone with domain knowledge should decide where/whether remaining pool objects should be released (e.g. calling
ReleaseAll()
in the enclosing class's destructor), or whether some other action should be taken (e.g. extending the lifetime of the enclosing class instances).The text was updated successfully, but these errors were encountered: