Skip to content

.Net 5.0 Application using NAudio libraries crashes without any error message #54132

@TheRealLenon

Description

@TheRealLenon

Description

Hey Guys,

It seems something on .NET 5 made NAudio (master-branch) crashing without any error message.

There is also an open Issue open on the NAudio´s GitHub.

After discussions i found out, that the runtime tries to access memory it does not own so Windows kills the process with Access Violation.

Configuration

It happens on Windows 20H2 with ANY .NET 5.X.X version.

Related information

Based on the issue from NAudio, it was referred, that .NET Core 3.1 is working. I only could verify it for .NET 5.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions