Document macOS PKG installer createdump executable bit regression #10149
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The .NET 10.0 macOS PKG installers install
createdumpwithout the executable bit, breaking dump collection scenarios (test hang collectors,dotnet-dump collect, crash handlers).Changes
release-notes/10.0/known-issues.mddocumenting the regressionchmod +x shared/Microsoft.NETCore.App/10.0.0/createdumpor use tarball installations instead of PKG installersContext
Fixed upstream in dotnet/arcade#16271, but .NET 10.0 RTM ships with the regression. This documents the issue and workarounds for users until servicing releases.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
api0.prismacloud.io/usr/bin/python3 /home/REDACTED/.local/bin/checkov --config-file .checkov.yml --directory . --quiet(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This section details on the original issue you should resolve
<issue_title>createdump lacking exec bit on macOS PKG installers</issue_title>
<issue_description>### Description
Regressed in the installer:
That same bit is present in tar install of runtime or SDK.
Reproduction Steps
Install runtime from https://dot.net/downloads
Expected behavior
Crashes and
dotnet-dump collectshould work.Actual behavior
createdump fails to execute.
Regression?
Yes, from 9.0
Known Workarounds
Add exec bit manually.
Configuration
Any macOS 10.0 PKG installed runtime
Other information
No response</issue_description>
<agent_instructions>Look at my last comment - add such a not to the known issue markdown.</agent_instructions>
Comments on the Issue (you are @copilot in this section)
@hoyosjs Looks like `Target Name="PublishToDisk"` isn't finding createdump as part of its find. @hoyosjs In https://github.com/dotnet/arcade/blob/d8816877a6b0e6cb39cb57d92557ad4952715a2e/src/Microsoft.DotNet.SharedFramework.Sdk/targets/sharedfx.targets#L621-L624The dylibs are also not getting exec perms. Oddly enough this goes as far back as 20250816.5 on VMR 10.0 - but VMR main is OK. I have a feeling this is related to the way signing is handling pkgs. </comment_new>
<comment_new>@hoyosjs
dotnet/dotnet#2491this wasn't a fix for this case. </comment_new><comment_new>@hoyosjs
@am11 - not saying it needs them. But rather that something stripped it.
It seems like it was signing indeed.</comment_new><comment_new>@hoyosjs
This regression also affects the in-box pkg apphost and SF host (cc: @agocke @mmitche )</comment_new>
<comment_new>@agocke
Host should be OK, we chmod in the writer: https://github.com/dotnet/runtime/blob/9f1cab7b875fe7c04d7b25c67555e8dadab2b600/src/installer/managed/Microsoft.NET.HostModel/AppHost/HostWriter.cs#L182</comment_new>
<comment_new>@mmitche
Did you eliminate signing as the culprit here?</comment_new>
<comment_new>@hoyosjs
next 10.0 build will have dotnet/arcade#16271
We'll need a note of known issues for 10.0.0 @steveisok </comment_new>
<comment_new...
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.