当我尝试安装Caffe时,执行以下步骤后一切都很好:
make clean
make -j32
make test -j32
但是,当我尝试时:
make runtest -j32
我遇到了以下问题:
*** Aborted at 1556439150 (unix time) try "date -d @1556439150" if you are using GNU date *** PC: @ 0x7fa260b2f87d H5C_protect
*** SIGSEGV (@0x60) received by PID 100029 (TID 0x7fa1e17fe700) from PID 96; stack trace: ***
@ 0x7fa244fbc6d0 (unknown)
@ 0x7fa260b2f87d H5C_protect
@ 0x7fa260b14690 H5AC_protect
@ 0x7fa260be9047 H5O_protect
@ 0x7fa260c108ef H5O_msg_exists
@ 0x7fa260ba144f H5G_open
@ 0x7fa260ba18fa H5G__open_name
@ 0x7fa260ba1ec2 H5G_iterate
@ 0x7fa260bdc7a3 H5Literate
@ 0x7fa245892c47 caffe::hdf5_load_nd_dataset_helper<>()
@ 0x7fa245891369 caffe::hdf5_load_nd_dataset<>()
@ 0x7fa2459bedf4 caffe::HDF5DataLayer<>::LoadHDF5FileData()
@ 0x7fa2459bdbf8 caffe::HDF5DataLayer<>::LayerSetUp()
@ 0x7fa2458ab3dc caffe::Net<>::Init()
@ 0x7fa2458ad032 caffe::Net<>::Net()
@ 0x7fa2459fa496 caffe::Solver<>::InitTrainNet()
@ 0x7fa2459fb4f3 caffe::Solver<>::Init()
@ 0x7fa2459fb7cf caffe::Solver<>::Solver()
@ 0x7fa2459f1df4 caffe::Creator_RMSPropSolver<>()
@ 0x7fa2458b432e caffe::SolverRegistry<>::CreateSolver()
@ 0x7fa2458b4e3c caffe::Worker<>::InternalThreadEntry()
@ 0x7fa2458ce250 caffe::InternalThread::entry()
@ 0x7fa2458ceb86 boost::detail::thread_data<>::run()
@ 0x7fa25fdbb24a (unknown)
@ 0x7fa244fb4e25 start_thread
@ 0x7fa244cdebad __clone make: *** [runtest] Segmentation fault
截屏: enter image description here
谁能告诉我如何解决? 预先谢谢你。
答案 0 :(得分:0)
在同事的帮助下,我发现问题出在我叫多线程。因此,删除“ -j32 ”并仅运行“ make runtest ”将解决此问题。