azure-webjobs-sdk
azure-webjobs-sdk copied to clipboard
Job failed due to exit code -1073741571
Please provide a succinct description of the issue.
I am getting Stack Overflow error on my latest build of webjobs. Need help in diagnosing the error. I am getting the following logs in the WebJob
[06/29/2023 11:09:12 6d30d9: INFO] Completed Processing Request 49424588!!
[06/29/2023 11:09:21 6d30d9: ERR ] Stack overflow.
[06/29/2023 11:09:21 6d30d9: SYS ERR ] Job failed due to exit code -1073741571
[06/29/2023 11:09:21 6d30d9: SYS INFO] Process went down, waiting for 60 seconds
[06/29/2023 11:09:21 6d30d9: SYS INFO] Status changed to PendingRestart
Repro steps
Provide the steps required to reproduce the problem
Create a webjob targeting netcoreapp3.1. Relevant project file snippet below -
<Project Sdk="Microsoft.NET.Sdk;Microsoft.NET.Sdk.Publish">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>latest</LangVersion>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Webjobs" Version="3.0.37" />
<PackageReference Include="Microsoft.Azure.Webjobs.Extensions" Version="3.0.6" />
<PackageReference Include="Microsoft.Azure.Webjobs.Extensions.Storage" Version="3.0.11" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Reporting.WebJob.Core\Reporting.WebJob.Core.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="appsettings.ManageTesting.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="appsettings.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="firebase.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Settings.job">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
Expected behavior
Should be running without any issues.
Actual behavior
Webjob stops and get stuck in the state of pending restart.
Known workarounds
¯_(ツ)_/¯
Related information
Provide any related information
- Package version
- Links to source