travis: analyze core files resulting from tests
Created by: mdavidsaver
Add core-dumper.py which hooks into the Linux kernel core_pattern facility to redirect core files. The net result is a stack trace of all threads for any test which produces a core (SIGSEGV
or abort()
).
The only added requirement is to have gdb installed. If it isn't, then core-dumper.py is a no-op (as on OSX). The rest is self-contained within build.sh
.