You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use a static buffer under the hood which is not thread safe.
We could probably add assertChipStackLockedByCurrentThread to ErrorStr but I suspect that in our current examples there are various places where this is used from the main thread.
Maybe we can just allow to pass an optional application owned buffer to ErrorStr too.
The text was updated successfully, but these errors were encountered:
Problem
While working on #25155 I end up with some Tsan data races when logging errors.
It seems that
connectedhomeip/src/lib/support/ErrorStr.cpp
Line 57 in 61cf6f2
We could probably add
assertChipStackLockedByCurrentThread
toErrorStr
but I suspect that in our current examples there are various places where this is used from the main thread.Maybe we can just allow to pass an optional application owned buffer to
ErrorStr
too.The text was updated successfully, but these errors were encountered: