-
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
Crash when accessory reboots during pairing #21106
Comments
Steps to reproduce, which work on both that SHA and one from yesterday (94f8974):
The crash happens because we have the following sequence of events:
So a few things:
|
Filed #21120 on some other issues I discovered while debugging this. |
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this issue
Jul 22, 2022
Several changes here: 1. Fix ReleaseCommissioneeDevice so it does not leave mDeviceBeingCommissioned dangling. 2. Ensure that we have null-checks for mDeviceBeingCommissioned before all uses, in case it got nulled out by StopPairing or the like while some async operation was in flight. This changes: * DeviceCommissioner::DisarmDone * DeviceCommissioner::OnDeviceAttestationInformationVerification 3. Remove kSessionEstablishmentTimeout so we don't have a random hardcoded timeout partway through commissioning. Fixes project-chip#21106 Fixes project-chip#14650
woody-apple
pushed a commit
that referenced
this issue
Jul 25, 2022
Several changes here: 1. Fix ReleaseCommissioneeDevice so it does not leave mDeviceBeingCommissioned dangling. 2. Ensure that we have null-checks for mDeviceBeingCommissioned before all uses, in case it got nulled out by StopPairing or the like while some async operation was in flight. This changes: * DeviceCommissioner::DisarmDone * DeviceCommissioner::OnDeviceAttestationInformationVerification 3. Remove kSessionEstablishmentTimeout so we don't have a random hardcoded timeout partway through commissioning. Fixes #21106 Fixes #14650
github-actions bot
pushed a commit
that referenced
this issue
Jul 25, 2022
Several changes here: 1. Fix ReleaseCommissioneeDevice so it does not leave mDeviceBeingCommissioned dangling. 2. Ensure that we have null-checks for mDeviceBeingCommissioned before all uses, in case it got nulled out by StopPairing or the like while some async operation was in flight. This changes: * DeviceCommissioner::DisarmDone * DeviceCommissioner::OnDeviceAttestationInformationVerification 3. Remove kSessionEstablishmentTimeout so we don't have a random hardcoded timeout partway through commissioning. Fixes #21106 Fixes #14650
woody-apple
added a commit
that referenced
this issue
Jul 25, 2022
…21167) Several changes here: 1. Fix ReleaseCommissioneeDevice so it does not leave mDeviceBeingCommissioned dangling. 2. Ensure that we have null-checks for mDeviceBeingCommissioned before all uses, in case it got nulled out by StopPairing or the like while some async operation was in flight. This changes: * DeviceCommissioner::DisarmDone * DeviceCommissioner::OnDeviceAttestationInformationVerification 3. Remove kSessionEstablishmentTimeout so we don't have a random hardcoded timeout partway through commissioning. Fixes #21106 Fixes #14650 Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
isiu-apple
pushed a commit
to isiu-apple/connectedhomeip
that referenced
this issue
Sep 16, 2022
…chip#21121) Several changes here: 1. Fix ReleaseCommissioneeDevice so it does not leave mDeviceBeingCommissioned dangling. 2. Ensure that we have null-checks for mDeviceBeingCommissioned before all uses, in case it got nulled out by StopPairing or the like while some async operation was in flight. This changes: * DeviceCommissioner::DisarmDone * DeviceCommissioner::OnDeviceAttestationInformationVerification 3. Remove kSessionEstablishmentTimeout so we don't have a random hardcoded timeout partway through commissioning. Fixes project-chip#21106 Fixes project-chip#14650
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Controller crashes when accessory was rebooted during pairing.
Steps to repro:
Configuration:
SHA 5d8599d
Backtrace is as follows:
The text was updated successfully, but these errors were encountered: