howardwu / libsnark-tutorial

A zkSNARK tutorial and development environment
Other
405 stars 88 forks source link

when execute ./main ,there come's an error #5

Open seasonouc opened 6 years ago

seasonouc commented 6 years ago

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;

mark-t-conrad commented 5 years ago

-- I am also getting this error when running the app ~/lib_snark/libsnark-tutorial/build# ./src/main