minionn
minionn copied to clipboard
Segmentation fault (core dumped) when running test.py
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!
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).
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.
@shenliyan Hello, I have the same problem. How did you solve it?
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.