summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src/MultiDexBadInit.java
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-03-06 14:02:55 -0800
committerChristopher Ferris <cferris@google.com>2018-03-07 13:34:49 -0800
commit5e074ed2a999047db9d5adea0bbadb00fce1221d (patch)
treeafce43f650a45ca9ed112afc6c0c09f7790e0bb3 /test/008-exceptions/src/MultiDexBadInit.java
parentdf29be4d63c4187a7eb35b8f473ad9fad1fc439a (diff)
Change Addr2line to use poll.
Moving from select to poll avoids any problems with the fd being too large for the call to FD_SET. It also slightly simplifies the code. Make sure that the call to read only ever occurs if there is really data to be read. There was a case with the previous use of the select call where the read would be called when there was no data to be read which caused the process to hang forever. Bug: 74349704 Test: Ran the 137 test forcing a crash and verified the addr2line Test: information is correct. Test: Ran the 141 test forcing a crash and verifying that when more than Test: two lines are returned by addr2line, it still display them all. Test: Modified the Addr2line call to pass in an emptry string for the Test: executable and verified there are no hangs. Change-Id: I3d750e7796d0c70122686aad1eb40856157c9770 (cherry picked from commit 453e0e557d608d82012a49fedd1b9c83bb54daee)
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInit.java')
0 files changed, 0 insertions, 0 deletions