Open jorgenpt opened 7 months ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
This appears to be a native crash, given it exits immediately after 'Determining Projects to Restore...' without any output. Maybe this is a seg fault. Not sure what the -10 is for either, MS Build would only file 0 or 1.
@agocke Do you think this would be improved in later versions, and is there anything the customer can do to collect a dump for this the next time it occurs?
No great ideas. The Mac Console might give you more info on the error. Otherwise you’ll need to setup core dumps.
Describe the bug
As a part of our build pipeline, we build a dotnet project on macOS using a vendored dotnet 6.0.302 installation (from Unreal Engine 5.2). Intermittently (maybe 1 out of 150 builds), when there are no changes to any part of the project, when doing an incremental
dotnet publish
on the project, it fails with error code -10 and no error messages.To Reproduce
Seemingly, run a
dotnet publish --self-contained /p:PublishSingleFile:true
repeatedly on macOS on M2 (happens less than 1% of the time).Exceptions (if any)
We run this same command with the same frequency on Windows and Linux, and have not seemingly encountered it there.
Further technical details
Command output:
dotnet --info
: