commit | 83b247891cea88347b759d638814cea61995d2ca | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Thu Aug 11 16:07:10 2016 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Thu Aug 11 16:13:01 2016 -0700 |
tree | 8f59d4fe32b05c76314e2bb0a41799f933960f55 | |
parent | 07f14c9cdde718bface371d075ccc7f8bf16f098 [diff] |
logd: klogd crash (part deux) LogBuffer::pidToUid(pid_t pid) { return stats.pidToUid(pid); } needs to have LogBuffer::lock()/unlock() to prevent unordered_map data corruption. This can lead to multiple symptoms, crashes and continuous spins on corrupted iterators. Bug: 30688716 Bug: 30050636 Bug: 30614675 Bug: 25620123 Bug: 30792935 Change-Id: I1d8fec8e5fda98c6a08645e7456b081507696b3c