At the moment, we get a nice C stack trace whenever we have a core file. For a Python test, we can often deduce where we came from in the python test, but we're not always sure. But, aha there is a package "pystack" that allows us to show the Python stack as well, intermingled with the C stack as appropriate. https://bloomberg.github.io/pystack/overview.html
We should look into running this as part of our post-crash analysis.