dump stack to log on segfault
Pull request ID:
Should be doable if we trap SIGSEG?
One thing to keep in mind is that the common/assert.cc code currently deliberately does a segfault to induce a core dump. There is probably a better way to go about it.