question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Segmentation Fault in Alpine 3.8

See original GitHub issue

Reproduction steps

Dockerfile:

FROM microsoft/dotnet:2.2.100-sdk-alpine3.8 AS build

COPY .git ./

RUN apk add libcurl &&  \
  dotnet tool install -g minver-cli --version 1.0.0-beta.1 && \
  /root/.dotnet/tools/minver > .version

(minver takes a dependency on libgit2sharp)

Expected behavior

Prints the expected version

Actual behavior

Segmentation Fault

Version of LibGit2Sharp (release number or SHA1)

0.25.3

Operating system(s) tested; .NET runtime tested

microsoft/dotnet:2.2.100-sdk-alpine3.8 docker container

I tried this with the microsoft/dotnet:2.2.100-sdk-stretch container and it worked as expected.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
bordingcommented, Dec 6, 2018

Okay, we’ll need to try using LibGit2Sharp more directly inside the container to see what’s going on, then.

0reactions
viceicecommented, Sep 23, 2019

Seeing the same on mcr.microsoft.com/dotnet/core/sdk:2.2.402-alpine which is alpine 3.9 now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segmentation Fault / Killed when run on Python inside ...
Updated my docker image base to python 3.7.0 and alpine 3.8 but the same error occurs. One important note is that this same...
Read more >
Docker alpine:3 Segmentation Fault
Hi, I have strange problem. I've started write simple app. It runs on debian every time, also in docker containter with debian, ...
Read more >
nodejs - Segmentation fault (#9894) · Issues · alpine / aports
I tried create virtual machine (KVM / VirtualBox) arch x86 (32bit) After installation of package nodejs I cannot run command “node”.
Read more >
Alpine - Docker: returned a non-zero code: 139
After some testing I found that using FROM alpine:3.9 caused it to Seg fault every time, but downgrading my Alpine version to FROM...
Read more >
Alpine fails to run my app - what steps should I take now?
The thing is all I get when run even directly from the container thru sh is Segmentation fault (core dumped) . Just this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found