Skip to content

Buffer overrun on unhandled exception in nativeaot #48308

@OwnageIsMagic

Description

@OwnageIsMagic

Description

Reproduction Steps

dotnet new console --aot
echo 'throw new Exception();' > Program.cs
dotnet publish -o out
out/*.exe

Expected behavior

Regular crash dialog.

Actual behavior

The system detected an overrun of a stack-based buffer in this application. This overrun could potentially....

Regression?

yes

Known Workarounds

No response

Configuration

.NET SDK:
 Version:           9.0.100-preview.5.24307.3
 Commit:            35b2c21ea6
 Workload version:  9.0.100-manifests.6407b7e4
 MSBuild version:   17.11.0-preview-24279-02+b963c24ef

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19045
 OS Platform: Windows
 RID:         win-x64

Other information

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions