commit | 7e73f7a7b43bc2548909feecdcb8671502fc8f54 | [log] [tgz] |
---|---|---|
author | Shibin George <shibing@codeaurora.org> | Fri Oct 05 18:02:54 2018 +0530 |
committer | Shibin George <shibing@codeaurora.org> | Tue Oct 09 06:21:03 2018 +0530 |
tree | 560b8e3ce1d2f36674a9ff0f8daa9800e06342cd | |
parent | 10fc92d2763967e3fa0ced4c9a5337a3225ad230 [diff] |
Prevent "index out of range" crash when addr2line aborts in between addr2line may abort and "result" may be incomplete. This leads to "index out of range" exceptions. Enclose this in a try & except block and on exception, default to function:location = ---:--- Test: "python native_heapdump_viewer_tests.py" (after CL:780974) passes. BUG: 117306194 Change-Id: I4fd5c784949f279550aec95b68045df4a671da74