-
Notifications
You must be signed in to change notification settings - Fork 508
Process is terminating due to StackOverflowException #6372
Comments
This looks like generic recursion. It was discussed in #6052 and fixed by factoring things differently in Npgsql. @YohDeadfall do you know if latest NuGet packages of Npgsql have the fix? |
It wasn't included to version 4.0.3 because of my mistake (just forgot about it), but it is included into the next patch. For now you can use 4.1.0-ci.1338+sha.c362e1c99 from our unstable NuGet feed. @frankzye Could you try to use it and report the result? |
I still got the same error after I install new packages |
Opened npgsql/efcore.pg#653 to track the issue. |
Just got this one: Generating compatible native code. To optimize for size or speed, visit https://aka.ms/OptimizeCoreRT Process is terminating due to StackOverflowException. |
Any reason why this was closed? I've just encountered this. |
Same issue, just happened with latest version of CoreRT. |
I came an error Unhandled Exception: System.InvalidOperationException: A suitable constructor for type 'Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategyFactory' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor. so
I added the following line to RD.xml,
<Assembly Name="Npgsql.EntityFrameworkCore.PostgreSQL"> <Type Name="Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategyFactory" Dynamic="Required All"/> </Assembly>
, but when I compile, it throw an error "Process is terminating due to StackOverflowException", microsoft.dotnet.ilcompiler\1.0.0-alpha-26919-01\build\Microsoft.NETCore.Native.targets(200,5): error MSB3073 xxx runtime.win-x64.microsoft.dotnet.ilcompiler\1.0.0-alpha-26919-01\tools\ilc" @"obj\release\netcoreapp2.1\win-x64\native\DataExplorer.ilc.rsp exit.The text was updated successfully, but these errors were encountered: