TexasSolver icon indicating copy to clipboard operation
TexasSolver copied to clipboard

Floating point exception (core dumped)

Open dfgckpsk opened this issue 2 years ago • 4 comments

I'm trying to run console_solver in a Docker container. Image created from ubuntu. It runs, takes 500MB RAM and utilized all given threads, and then crashes. Log looks:

EXEC FROM FILE [##################################################] 100% <<<START SOLVING>>> Using 4 threads Iter: 0 player 0 exploitability 20.712248 player 1 exploitability 14.561801 Total exploitability 35.274048 precent Floating point exception (core dumped)

dfgckpsk avatar Mar 31 '22 23:03 dfgckpsk

What config file did you use? Can you post it here?

bupticybee avatar Apr 01 '22 03:04 bupticybee

Dockerfile

FROM ubuntu:20.04

ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1

RUN apt-get update &&
apt-get install -y --no-install-recommends git &&
apt-get install -y --no-install-recommends build-essential &&
apt-get purge -y --auto-remove &&
apt-get install -y python3-pip &&
pip3 install -U pip --no-cache-dir &&
pip3 install --no-cache-dir wheel

ENV LC_ALL=en_CA.UTF-8 ENV LANG=en_CA.UTF-8 ENV LANGUAGE=en_CA.UTF-8

I attach to the built container and run it manually like

./console_solver -i input.txt

dfgckpsk avatar Apr 01 '22 10:04 dfgckpsk

Honestly, now I get the same error without Docker on my linux machine

dfgckpsk avatar Apr 01 '22 19:04 dfgckpsk

Honestly, now I get the same error without Docker on my linux machine

This is very wired. Can you provide the input config file?

bupticybee avatar Apr 02 '22 23:04 bupticybee