Description
(writing up a quick summary so I don't forget about this)
@jclulow reported to me that a hung nextest process didn't show its symbols in pstack
. It turned out that was because the build process we were using within nextest was stripping all symbols.
I tried switching to strip = "debuginfo"
but that didn't seem to help. The only thing that caused stacks to show up in pstack
was strip = "none"
.
In nextest-rs/nextest@d4f982b#commitcomment-140289873, Taiki believes that this is a bug (there was apparently a similar bug in MSVC as well.) I tried setting up a small project to investigate:
https://github.com/sunshowers/pstack-test
but found that even with the strip-symbols
profile (which activates strip = "symbols"
), pstack
could show function symbols. Not quite clear why that would be happening though!