libsnark-tutorial
libsnark-tutorial copied to clipboard
when execute ./main ,there come's an error
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 <s_cpu>) 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;
-- I am also getting this error when running the app ~/lib_snark/libsnark-tutorial/build# ./src/main