-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Describe the bug
After upgrading from version 5.1.0 to 5.1.1, we get a TypeInitializationException
and our service refuses to start.
To Reproduce
Create new .NET 8.0 project with Unleash client 5.1.1 package and initialize the client. Publish it as a Docker image based on mcr.microsoft.com/dotnet/aspnet:8.0-alpine
. Run the image and see that it fails during initialization of Unleash.
Log output
System.TypeInitializationException: The type initializer for 'Yggdrasil.FFI' threw an exception.
---> System.IO.FileNotFoundException: Embedded resource libyggdrasilffi_x86_64-musl.so not found.
at NativeLibLoader.LoadNativeLibrary()
at Yggdrasil.FFI..cctor()
--- End of inner exception stack trace ---
at Yggdrasil.FFI.NewEngine()
at Yggdrasil.YggdrasilEngine..ctor(List`1 strategies)
at Unleash.UnleashServices..ctor(UnleashSettings settings, EventCallbackConfig eventConfig, List`1 strategies)
at Unleash.DefaultUnleash..ctor(UnleashSettings settings, IStrategy[] strategies)
at ***
at Program.<Main>$(String[] args)
Desktop (please complete the following information):
- OS: Alpine Linux 3.21.3
mnbuhl
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done