commit | 2d5d46ca85889743055e748a9545f7009b92bb4a | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Tue May 24 17:08:33 2022 -0700 |
committer | Christopher Ferris <cferris@google.com> | Tue May 24 21:31:03 2022 -0700 |
tree | 1a2f30dc86eacb98df4233e71caca251638a8c9f | |
parent | b8620599722589d5c9a898dff909804295c4097f [diff] |
Fix check for thread unwind. If a process requires executing fallback unwinder and the thread crashing is not the main thread, the wrong unwinder is used. Fix this case, and add a new unit test that causes an abort in the non main thread. Bug: 233721755 Test: New unit test passes with fix and fails without. Test: Ran debuggerd on swcodec process and it still dumps all threads. Change-Id: I70fffc5d680256ce867e7a1d427593b584259160