diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-10-21 09:46:42 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-10-21 10:20:55 -0700 |
commit | fa07f9dc4b4d101a49fba5dbbf35c88cdfec4433 (patch) | |
tree | ccc5f7ec35452c6fe2a736f79ba520e6a3bbf393 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | c741dd48385a84161c23d7a2684e06cbfc7646a8 (diff) |
logd: mLastWorstPidOFSystem crash
mLastWorstPidOfSystem is filled with iterator references
that are not from AID_SYSTEM to aid the performance. But
we only clear entries from the list during erase if they
are from AID_SYSTEM. Remove the filter check in erase so
the stale references will be removed.
The conditions that caused this failure are difficult to
reproduce and are rare.
Test: gTests logd-unit-tests, liblog-unit-tests and logcat-unit-tests
Bug: 32247044
Bug: 31237377
Change-Id: Ie405dd643203b816cac15eef5c97600551cee450
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions