minionn icon indicating copy to clipboard operation
minionn copied to clipboard

Segmentation fault (core dumped) when running test.py

Open shenliyan opened this issue 6 years ago • 4 comments

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!

shenliyan avatar Feb 27 '19 09:02 shenliyan

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).

fritzalder avatar Feb 27 '19 10:02 fritzalder

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.

Cestlaviez avatar Mar 19 '19 23:03 Cestlaviez

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

LiuJingjinga avatar May 11 '20 15:05 LiuJingjinga

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.

fritzalder avatar May 11 '20 15:05 fritzalder