Description
Describe the bug
We experienced a strange behavior where our docker container all of a sudden would crash, without emitting any logs or reason why. We boiled it down to being related calling any function in ActiveLogin.Identity.Swedish.TestData
, like .GetRandom()
.
It works fine locally (where I run WIndows) and on our Unit Tests (where we run Ubuntu), but we deploy the site using mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim
which is based on Debian 10.
I/we have two theories:
- The issue is related to usage of some function not available in .NET on Debian 10. Might be something with the
Random
function we are using. - The issue is related to memory, and that the TestData functions are leaking memory and therefore crashes the container.
What area is it related to
- ActiveLogin.Identity.Swedish.TestData
To Reproduce
Steps to reproduce the behavior:
- Call any function in ActiveLogin.Identity.Swedish.TestData.PersonalIdentityNumberTestData
Expected behavior
The functions should return expected values.
Actual behavior
The container crashes without any logs or other info.
Screenshots
N/A
NuGet package version
1.0.0
Runtime version
.NET Core 3.1 on mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim
Additional context
We were running in Kuberentes. Will try to replicate locally and get back with more info.