Skip to content
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

s390x: set DOTNET_EnableWriteXorExecute=0 #61

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

theihor
Copy link
Contributor

@theihor theihor commented Nov 28, 2024

Github Actions Runner.Listener x86_64 binary version 2.321.0 has been crashing with segfault on startup when emulated on s390x [1].

Ilya pointed out, that the root cause of this crash is most likely a qemu issue [2].

.NET 8 turns on "write xor execute" feature [3] by default. And GH actions runner 2.320.0->2.321.0 update includes an upgrade to .NET 8 [4].

Ilya suggested opting out of this feature in our environment to mitigate the failure.

I tested this with manually built runner immage on one for s390x BPF CI hosts: the runner doesn't crash.

[1] actions/runner#3583
[2] https://gitlab.com/qemu-project/qemu/-/issues/2600 [3]
https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-7/#runtime:-w^x-(write-xor-execute)-support-for-all-platforms-and-architectures [4] actions/runner#3500

Suggested-by: Ilya Leoshkevich [email protected]

Github Actions Runner.Listener x86_64 binary version 2.321.0 has been
crashing with segfault on startup when emulated on s390x [1].

Ilya pointed out, that the root cause of this crash is most likely a
qemu issue [2].

.NET 8 turns on "write xor execute" feature [3] by default.
And GH actions runner 2.320.0->2.321.0 update includes an upgrade to
.NET 8 [4].

Ilya suggested opting out of this feature in our environment to
mitigate the failure.

I tested this with manually built runner immage on one for s390x BPF
CI hosts: the runner doesn't crash.

[1] actions/runner#3583
[2] https://gitlab.com/qemu-project/qemu/-/issues/2600
[3]
https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-7/#runtime:-w^x-(write-xor-execute)-support-for-all-platforms-and-architectures
[4] actions/runner#3500

Suggested-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Ihor Solodrai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant