Skip to content

csc.exe x86 fails with "error Out of memory." #82378

@nietras

Description

@nietras

After updating to .NET SDK 10.0.103 we see problems on a specific CI machine, with csc.exe for x86 .NET crashing as part of compiling a WPF app. Specifically, on a temp WPF project. With an error like:

WpfApp_z5p04kao_wpftmp net10.0-windows failed with 1 error(s) (3.0s)
    D:\agent\_work\_tool\dotnet(x86)\sdk\10.0.103\Roslyn\Microsoft.CSharp.Core.targets(84,5): error Out of memory.  

We run this as part of x86 (32-bit) testing.

Version Used:
.NET SDK 10.0.103 x86

Faulting application name: csc.exe, version: 5.0.26.7603, time stamp: 0x69760000
Faulting module name: KERNELBASE.dll, version: 10.0.26100.7824, time stamp: 0xc6990cfb
Exception code: 0xe0434352
Fault offset: 0x00162ca4
Faulting process id: 0x5CC
Faulting application start time: 0x1DC9C0A4868EE9F
Faulting application path: D:\agent\_work\_tool\dotnet(x86)\sdk\10.0.103\Roslyn\bincore\csc.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: eb0b5e9b-6af4-4242-baef-4d2154c0a697
Faulting package full name: 
Faulting package-relative application ID: 

Steps to Reproduce:
Sorry, can't provide steps to reproduce.

Expected Behavior:
Does not crash with OOM.

Actual Behavior:
Crashes with OOM.

Unfortunately, I cannot provide more here for reproducing so hoping someone can pinpoint or tell what specific extra info would be interesting if any.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions