I use gdb find out where the error came :
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./main'.
Program terminated with signal SIGFPE, Arithmetic exception.
0 0x000055bfcef18cf9 in Xbyak::util::Cpu::setCacheHierarchy (this=0x55bfcf157f60 ) at /root/libsnark-tutorial/depends/libsnark/depends/xbyak/xbyak/xbyak_util.h:134
error : Floating point exception (core dumped)
I use gdb find out where the error came : Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `./main'. Program terminated with signal SIGFPE, Arithmetic exception.
0 0x000055bfcef18cf9 in Xbyak::util::Cpu::setCacheHierarchy (this=0x55bfcf157f60) at /root/libsnark-tutorial/depends/libsnark/depends/xbyak/xbyak/xbyak_util.h:134
134 if (cacheType == DATA_CACHE && smt_width == 0) smt_width = nb_logical_cores;