connectedhomeip: [BUG] ICD management cluster attributes 0x0000 0x0009 read failure
Reproduction steps
Reproduce step:
- Enable the ICD management cluster in endpoint 0 on chip-all-clusters-app based on Linux.
- Enable the following variables: chip_enable_icd_server, chip_enable_icd_lit, chip_icd_report_on_active_mode, and chip_enable_icd_dsls as true in icd.gni , which automatically sets chip_enable_icd_checkin as true in icd/server/build.gn.
- Modify the main.cpp in chip-all-clusters-app to mimic lit-icd-app main.cpp code.
- Compile with ASAN enabled.
- After pairing with chip-all-clusters-app (node ID: 0x654324), use chip-tool to send the following messages:
./chip-tool any read-by-id 0x0046 0x0009 0x654324 0
./chip-tool any read-by-id 0x0046 0x0000 0x654324 0
Error Received:
[1741208477.262] [3511766:3511766] [TOO] Run command failure: IM Error 0x00000501: General error: 0x01 (FAILURE)
The logs of chip-all-clusters-app and chip-tool are as attached
Note: As mentioned by @Chapoly1305, the lit-icd-app does not experience this problem.
Bug prevalence
each time
GitHub hash of the SDK that was being used
ab3d5ae
Platform
core
Platform Version(s)
No response
Anything else?
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (9 by maintainers)
@bzbarsky-apple Thanks! Now it works! In step 2, I previously used:
but it didn’t work.
Following your instructions, I used:
and this one worked!