diff options
author | Tej Singh <singhtejinder@google.com> | 2020-05-01 17:30:00 -0700 |
---|---|---|
committer | Tej Singh <singhtejinder@google.com> | 2020-05-05 14:51:57 -0700 |
commit | baed5257ad4d64bfd441d9cbacf13d4216b97cad (patch) | |
tree | 77475b99afcc3ab77ee551aa862793994493d82b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5a619092757bde794992793bd4ff07d372fc9fe9 (diff) |
Fix statsd NPE on setPullAtomCallback
Suspected root cause: if a process crashes right after calling
setPullAtomCallback, it's possible that oneway binder calls can queue
but do not execute before the process crashes. Then, when the process
crashes, nothing has a strong reference to the IPullAtomCallback, so
it gets deallocated. Then, when the oneway call actually executes, the
callback is null. This is being followed up in b/155793159
Regardless, statsd should handle null input properly.
Test: GTS test in ag/11348719 now passes
Test: atest GtsStatsdHostTestCases
Bug: 153822941
Change-Id: Ic6d415e10eca8d133290de80cb61e1634590ca6a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions