Skip to content

dotnet binaries sometimes crash with ASLR enabled on 13.2-RELEASE amd64 #21

@Partmedia

Description

@Partmedia

I recently updated my amd64 machine to 13.2-RELEASE, which enables ASLR by default for 64-bit binaries.

With ASLR enabled, running the binaries produced by dotnet occasionally (maybe 50%) of the time result in a SIGSEGV in the CLR.

I have not troubleshooted in depth, but as a workaround, it appears that disabling ASLR for the binary fixes the problem:

$ elfctl -e +noaslr binary 

This must be done for all binaries produced by dotnet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions