Caffe segmentation fault in make runtest

74 views
Skip to first unread message

Antonio La Marra

unread,
Mar 14, 2017, 9:17:38 AM3/14/17
to Caffe Users
Hello, 
I run caffe on Ubuntu 16.10 with Nvidia gtx 1050 ti. Everything works fine until I run 'make runtest'. At this stage in fact, I get segmentation fault error. The error happens at different times and with different tests (also in different functions). 

Log example: 

*** Aborted at 1489495956 (unix time) try "date -d @1489495956" if you are using GNU date ***
PC: @     0x7f5018ada0ba (unknown)
*** SIGSEGV (@0xfffffffffffffff7) received by PID 1842 (TID 0x7f4fe6c38700) from PID 18446744073709551607; stack trace: ***
   @     0x7f5019fc1630 (unknown)
   @     0x7f5018ada0ba (unknown)
   @     0x7f5018ada18b (unknown)
   @     0x7f5018adbce8 (unknown)
   @     0x7f5018ada692 (unknown)
   @     0x7f5018ad5020 (unknown)
   @     0x7f5018ad3165 tbb::internal::allocate_root_with_context_proxy::allocate()
   @     0x7f501c82be22 cv::parallel_for_()
   @     0x7f501c112b2a (unknown)
   @     0x7f501c10fbb7 cv::resize()
   @     0x7f501ab5ed71 caffe::ReadImageToCVMat()
   @     0x7f501aaee6b0 caffe::ImageDataLayer<>::load_batch()
   @     0x7f501aa748c9 caffe::BasePrefetchingDataLayer<>::InternalThreadEntry()
   @     0x7f501aa6b66e caffe::InternalThread::entry()
   @     0x7f501aa6ea68 boost::_mfi::mf6<>::operator()()
   @     0x7f501aa6e936 boost::_bi::list7<>::operator()<>()
   @     0x7f501aa6e74a boost::_bi::bind_t<>::operator()()
   @     0x7f501aa6e5ea boost::detail::thread_data<>::run()
   @     0x7f501bdd311d thread_proxy
   @     0x7f5019fb76ca start_thread
   @     0x7f5019cf10af clone
   @                0x0 (unknown)
Makefile:532: receipe for target "runtest" failed 
make: *** [runtest] Segmentation fault (code dump created)

To solve the issue I tried the following: download the Nvidia drivers directly from the Nvidia website, installing also Cuda from Cuda website and install boost libraries by hand, however nothing solved the issue. 
Can you please help me?
Thanks in advance
Antonio 
Reply all
Reply to author
Forward
0 new messages