Harden failure signal handler in the face of memory corruptions
Summary:
@mhorowitz got
*** Aborted at
1393267847 (Unix time, try 'date -d @
1393267847') ***
*** Signal 11 (SIGSEGV) (0x0) received by PID 12652 (TID 0x7f59cbfff700), stack trace: ***
pure virtual method called
terminate called without an active exception
Entered fatal signal handler recursively. We're in trouble.
in a test, and no stack trace.
The first time we enter recursively (ie. the second time overall), try to dump
without symbolization. The next time, give up.
Test Plan: folly/experimental/symbolizer/test, ran crash with a modified dumpStackTrace to force it to enter recursively
Reviewed By: lucian@fb.com
FB internal diff:
D1187942