I have a situation where node version 8 crashes when run under Kubernetes in a Docker container based on Alpine 3.6, but not locally. I suspect either some kind of memory corruption or mismatched libraries or something equally strange, since the crash is not reproducible and no logging I have tried has managed to log an issue prior to the crash. I managed to get a core dump generated, but now I cannot find any way to get a stack trace out of the core dump.
- I tried mdb_v8 but it does not support Node.js at versions > 6.x
- I tried llnode on macOS but that fails with "Architecture or OS not supported"
- Alpine 3.6 does not have an
lldbpackage available, so I cannot runllnodeon it - Other options, like
segfault-handlerornode-reportalso do not work because Alpine 3.6 leaves out thebacktraceAPI.
Is there any way I can get a stack trace out of a core dump generated by Node.js version 8 under Alpine 3.6?