-
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
[CERT-TEST-FAILURE] Chip-tool crashes in interactive mode #29275
Comments
Assertion stack:
|
Simpler way to reproduce:
When a command times out in chip-tool, it will try to do cleanup on the non-Matter thread, which will trigger the asserts we see here. We clearly need better asserts higher up the stack, though: the fact that we had to get to timers and MRP before an assert triggered is silly. |
Oh, and in non-interactive mode the cleanup happens after platform manager shutdown, so this assert can't get hit there. |
Since the Matter event loop is still running in interacive mode, we need to do the command cleanup on that event loop. * Fixes project-chip#29275 * Fixes project-chip#27535
…roject-chip#29277) * Fix chip-tool threading asserts if an interactive command times out. Since the Matter event loop is still running in interacive mode, we need to do the command cleanup on that event loop. * Fixes project-chip#29275 * Fixes project-chip#27535 * Address review comment.
Feature Area
Other
Test Case
Chip-tool Interactive Mode
Reproduction steps
ToT (d4cbdbc),
./scripts/examples/gn_build_example.sh examples/chip-tool out/chip-tool 'chip_mdns="platform" chip_inet_config_enable_ipv4=false'
./scripts/examples/gn_build_example.sh examples/all-clusters-app/linux examples/all-clusters-app/linux/out/all-cluster-app chip_inet_config_enable_ipv4=false chip_enable_icd_server=true
./examples/all-clusters-app/linux/out/all-cluster-app/chip-all-clusters-app --KVS ~/storge.json
./out/chip-tool/chip-tool pairing code 50 MT:-24J042C00KA0648G00
basicinformation read vendor-name 50 0
Bug prevalence
every time
GitHub hash of the SDK that was being used
d4cbdbc
Platform
darwin
Anything else?
Same issue happens on linux as well.
The text was updated successfully, but these errors were encountered: