-
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
[Build] Darwin tsan failure in chip-tool #27535
Comments
In the https://github.com/project-chip/connectedhomeip/actions/runs/5441510163/jobs/9908339747?pr=25311 run I've seen also something like that:
I'm not familiar with Darwin platform, though, so I don't know whether malloc failure is fatal in that case... |
It's not a failure in anything that matters: malloc is still succeeding. |
OK, so I think the TSAN failure is more or less a red herring. It's showing that we don't handle a command timing out correctly, but I think the real issue here is that the WaitForCommissionee times out. From https://github.com/project-chip/connectedhomeip/actions/runs/5401576138/jobs/9811580025:
That's running a command with a 10-second timeout, right? https://github.com/project-chip/connectedhomeip/actions/runs/5441510163/jobs/9908339747?pr=25311 seems unrelated to this issue. |
@bzbarsky-apple The TSAN failure is real right? |
It is. My point above is that if I understand the situation correctly and we just fixed the TSAN failure (which is highlighting that command timeout handling in chip-tool is kind of broken), the job would still have failed because the command in fact timed 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
#29277 moves the shutdown-after-timeout to the Matter queue when in interactive mode, which should solve the threading issue here. |
…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.
Build issue(s)
https://github.com/project-chip/connectedhomeip/actions/runs/5401576138/jobs/9811580025
Platform
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: