-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLite segfaults in Alpine 3.12 Docker container #21232
Comments
Related to Alpine 3.12: dotnet/core#4750 |
@ericsink This looks like an incompatibility between the Alpine docker image and the native SQLite image. Is this something you have seen before? @rbhanda @richlander Any ideas on this? |
I haven't seen anything related to sqlite/alpine in quite a while. There was an issue with sqlite/alpine quite some time ago, probably over a year, but IIRC, it got resolved without my involvement. |
The previous Alpine/SQLite issue (if it helps with diagnosing this) was #14504. |
Ping @rbhanda @richlander again. Any ideas on how to help here or where to direct this issue? |
@MichaelSimons - this is similar to #14504 |
@rbhanda - running the scenario it does show The open question I have is where the breakdown in process occurred that signed off on Alpine 3.12 support being in place. cc @dleeapho, @richlander |
Thanks @MichaelSimons. Closing this as external. |
This bug is similar to #14504.
When using the Alpine-3.12-based image (e.g.,
mcr.microsoft.com/dotnet/core/sdk:3.1-alpine3.12
), SQLite segfaults when it's used.To Reproduce
Create a Docker container based on
mcr.microsoft.com/dotnet/core/sdk:3.1-alpine3.12
.Run a
netcoreapp3.1
project (that usesMicrosoft.Data.Sqlite
) with code similar to the following:It segfaults when executing the
create table
command. This doesn't happen when usingmcr.microsoft.com/dotnet/core/sdk:3.1-alpine3.11
.A GitHub repo with a Dockerfile that reproduces the problem is: https://github.com/bgrainger/SqliteAlpine
Additional context
Microsoft.Data.Sqlite version: 3.1.5
Target framework: netcoreapp3.1
Operating system: Alpine 3.12
The text was updated successfully, but these errors were encountered: