-
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
Check and fix System::Layer shutdown sequencing #9247
Merged
mspang
merged 1 commit into
project-chip:master
from
kpschoedel:x7725-system-event-6-init
Aug 31, 2021
Merged
Check and fix System::Layer shutdown sequencing #9247
mspang
merged 1 commit into
project-chip:master
from
kpschoedel:x7725-system-event-6-init
Aug 31, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Problem There have been multiple instances of code using a `System::Layer` object after it has been shut down or destroyed, some previously fixed in project-chip#8865. (In the ancestral code, `System::Layer` was fully static.) #### Change overview - More thoroughly track and check `System::Layer` object state. - Spin out state tracking into `lib/support/ObjectLifeCycle.h` - Fix several sequencing issues. #### Testing CI; no change to visible functionality intended.
(#6668): Some exchange has leak, shutting down ExchangeManager will cause a assert fail.connectedhomeip/src/controller/CHIPDeviceController.cpp Lines 267 to 277 in aa6e189
This comment was generated by todo based on a
|
boring-cyborg
bot
added
app
controller
examples
inet
lib
platform
system
transport
labels
Aug 25, 2021
pullapprove
bot
requested review from
chrisdecenzo,
jelderton,
jmartinez-silabs,
LuDuda,
mspang,
pan-apple,
saurabhst,
selissia and
woody-apple
August 25, 2021 21:07
Size increase report for "gn_qpg-example-build" from d05f16f
Full report output
|
Size increase report for "esp32-example-build" from d05f16f
Full report output
|
Size increase report for "nrfconnect-example-build" from d05f16f
Full report output
|
woody-apple
approved these changes
Aug 25, 2021
andy31415
approved these changes
Aug 26, 2021
jmartinez-silabs
approved these changes
Aug 30, 2021
mkardous-silabs
pushed a commit
to mkardous-silabs/connectedhomeip
that referenced
this pull request
Sep 24, 2021
#### Problem There have been multiple instances of code using a `System::Layer` object after it has been shut down or destroyed, some previously fixed in project-chip#8865. (In the ancestral code, `System::Layer` was fully static.) #### Change overview - More thoroughly track and check `System::Layer` object state. - Spin out state tracking into `lib/support/ObjectLifeCycle.h` - Fix several sequencing issues. #### Testing CI; no change to visible functionality intended.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
There have been multiple instances of code using a
System::Layer
object after it has been shut down or destroyed, some previously
fixed in #8865. (In the ancestral code,
System::Layer
was fullystatic.)
Change overview
System::Layer
object state.lib/support/ObjectLifeCycle.h
Testing
CI; no change to visible functionality intended.