dotnet / dotnet/efcore

Segmentation Fault when using Microsoft.Data.Sqlite v6.0.4 in ASP.Net Core 3.1 in official Alpine 3.15

Open
#27,892 2 comments 0 reactions 0 assignees View on GitHub
area-adonet-sqlite customer-reported
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Segmentation Fault when using Microsoft.Data.Sqlite v6.0.4 in ASP.Net Core 3.1 in official Alpine 3.15 runtime docker image from microsoft. Downgrading the Alpine to 3.14 works. What dependencies do we need to install?

ASP.Net Core 3.1
Alpine 3.15
Microsoft.Data.Sqlite v6.0.4

```
docker run -it mcr.microsoft.com/dotnet/sdk:3.1-alpine3.15 dotnet --info

.NET Core SDK (reflecting any global.json):
Version: 3.1.418
Commit: 91fae0d634

Runtime Environment:
OS Name: alpine
OS Version: 3.15
OS Platform: Linux
RID: linux-musl-x64
Base Path: /usr/share/dotnet/sdk/3.1.418/

Host (useful for support):
Version: 3.1.24
Commit: 3b38386083

.NET Core SDKs installed:
3.1.418 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.24 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.24 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
```

Working Alpine version
```
docker run -it mcr.microsoft.com/dotnet/sdk:3.1-alpine3.14 dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 3.1.418
Commit: 91fae0d634

Runtime Environment:
OS Name: alpine
OS Version: 3.14
OS Platform: Linux
RID: alpine.3.14-x64
Base Path: /usr/share/dotnet/sdk/3.1.418/

Host (useful for support):
Version: 3.1.24
Commit: 3b38386083

.NET Core SDKs installed:
3.1.418 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.24 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.24 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.