Skip to content
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

Segmentation fault #11

Open
christoph-maurer opened this issue Mar 1, 2022 · 1 comment
Open

Segmentation fault #11

christoph-maurer opened this issue Mar 1, 2022 · 1 comment

Comments

@christoph-maurer
Copy link

Hello, I have cloned the repository and executed cmake CMakeLists.txt. When I run WinCalc/bin$ ./wincalc-test, I get the error message Segmentation fault (core dumped). How can I reproduce one of the tests? Thanks!

@christoph-maurer
Copy link
Author

We have created the following docker file. Maybe it helps to reproduce the segmentation fault.

FROM ubuntu:20.04

RUN \
apt-get update && \
DEBIAN_FRONTEND=noninteractive \
apt-get install --assume-yes --no-install-recommends \
build-essential \
ca-certificates \
cmake \
git \
make \
tini && \
apt-get autoremove --assume-yes && \
apt-get clean && \
rm --recursive --force /var/lib/apt/lists/*

ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["/bin/bash"]

The following commands can be used to reproduce the error message:

docker build --tag wincalc .
docker run -it -v (pwd):/app wincalc
cd /app
cmake .
cmake --build .
/app/bin/wincalc-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant