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 (core dumped) when running test.py #6

Open
shenliyan opened this issue Feb 27, 2019 · 4 comments
Open

Segmentation fault (core dumped) when running test.py #6

shenliyan opened this issue Feb 27, 2019 · 4 comments

Comments

@shenliyan
Copy link

Hi,
when i input "python3 test.py", I got an error. I have modified cfg['parallel'] = False.

[root@localhost lib]# python3 test.py
........
g++ -pthread -shared -B /root/miniconda3/compiler_compat -L/root/miniconda3/lib -Wl,-rpath=/root/miniconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/tmpn14w7ygm/home/sly/minionn/lib/minionnMath.o /tmp/tmpn14w7ygm/home/sly/minionn/lib/minionnCrypto.o /tmp/tmpn14w7ygm/home/sly/minionn/lib/minionnABY.o /tmp/tmpn14w7ygm/home/sly/minionn/lib/.rendered.minionn.o -lseal bin/libaby.a -lssl -lcrypto -lgmp -lgmpxx -lpthread -o /tmp/tmpn14w7ygm/minionn.cpython-37m-x86_64-linux-gnu.so
copying /tmp/tmpn14w7ygm/minionn.cpython-37m-x86_64-linux-gnu.so -> /home/sly/minionn/lib
Segmentation fault (core dumped)

What's going on? Thanks!

@fritzalder
Copy link
Contributor

That is a little bit tricky, I don't know what is going on there. Maybe try to test SEAL and ABY independently. E.g. take some elements out of the minionn.cpp and only test minionnMath for example. If that works, add minionnCrypto etc.
That way you at least see if the error is with Python, C++, SEAL, or ABY (or anything else).

@Cestlaviez
Copy link

Hi @shenliyan
I think you might need to update SEAL to the latest updated version.
Since when I ran this program, the problem is from the SEAL.

@LiuJingjinga
Copy link

@shenliyan Hello, I have the same problem.
How did you solve it?

@fritzalder
Copy link
Contributor

If you solve this, I am happy to accept pull requests. I am not actively supporting this code anymore but I am willing to put in some effort to keep the code usable.

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

4 participants