-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSX PR build artifacts are missing symbols #99456
Comments
Tagging subscribers to this area: @hoyosjs |
@BruceForstall Are you aware of this issue? |
I'm wasn't. It looks like this behavior was introduced by #81387 (cc @kunalspathak @agocke ). The build job, but only for PR builds, sets a flag to skip the "strip_symbols" step: runtime/eng/pipelines/coreclr/templates/build-job.yml Lines 101 to 105 in 40ac297
this ends up setting It appears this is ok for Linux, which apparently collect their debug symbols in the built executable. It is not ok for Mac, where the built executable only contains a link to the object files that contain the debug symbols. (The So, on Mac, we need to always "strip" symbols. "strip" is a bit of a misnomer in this case: it's more like "collect" symbols, to put them into a single .dwarf file (or, preferably, a .dSYM bundle). A simple fix would be to not do pass I presume the stack trace stuff has never worked on Mac? Related: #92911 |
We haven't notices because macOS queues have largely been unable to collect dumps until recently and even after that, the queues in Helix don't have the symbolizer. dotnet/arcade#11631 |
Instead of symbolizer, macOS has
|
They claim it's installed. I'd have to see if it works. Currently the infrastructure is such that it parses the output of that tool. Given this issue I expect it not to work since we don't have any logic to locate symbols. In the case of atos, it may be dsym-bundling aware which would help, but it's likely work. cc @JulieLeeMSFT |
Repro
CoreCLRProduct__osx_x64
artifacts from PR build (e.g. https://dev.azure.com/dnceng-public/_apis/resources/Containers/40000142/CoreCLRProduct__osx_x64_release?itemPath=CoreCLRProduct__osx_x64_release%2FCoreCLRProduct__osx_x64_release.tar.gz)Result
No *.dwarf or *.dbg files present in the archive.
This makes is impossible to debug OSX crash dumps created by PR test runs.
The text was updated successfully, but these errors were encountered: