TritonDataCenter / manta-thoth

Thoth is a Manta-based system for core and crash dump management
16 stars 7 forks source link

64bit node binaries are not debuggable by mdb when a 32bit node binary is in PATH #156

Closed richardkiene closed 6 years ago

richardkiene commented 6 years ago

Currently when you thoth debug <thothid> on a 64bit core, mdb will load whatever node binary is in $PATH. If the node binary in $PATH is 32bit and the core is from a 64bit node process then mdb will not be able to make sense of the core. It turns out that mdb does not need a node binary to properly load a core and you can prevent it from loading node from $PATH by setting LIBPROC_INCORE_ELF=1.