Add a logging handler on timeout.

If the signal handler doesn't fire in the given time when trying to unwind
a thread, put on a logging handler. This prevents crashes if the signal
does eventually fire.

Bug: 23783762

(cherry picked from commit d7226f9a1485ba19f714369fd7f8b444d66feb61)

Change-Id: Ib990a06733cc93717752ab4998f4ae26afd7e249
1 file changed