I have the following error while running the 'make runtest'. I have tried with cpu flag enabled and disabled both, same error.
----------] 5 tests from ImageDataLayerTest/1, where TypeParam = caffe::CPUDevice<double>
[ RUN ] ImageDataLayerTest/1.TestReshape
[ OK ] ImageDataLayerTest/1.TestReshape (30 ms)
[ RUN ] ImageDataLayerTest/1.TestShuffle
[ OK ] ImageDataLayerTest/1.TestShuffle (113 ms)
[ RUN ] ImageDataLayerTest/1.TestRead
[ OK ] ImageDataLayerTest/1.TestRead (114 ms)
[ RUN ] ImageDataLayerTest/1.TestResize
*** Aborted at 1481237980 (unix time) try "date -d @1481237980" if you are using GNU date ***
PC: @ 0x7ffb7938b0ba (unknown)
*** SIGSEGV (@0xfffffffffffffff7) received by PID 5373 (TID 0x7ffb62eaa700) from PID 18446744073709551607; stack trace: ***
@ 0x7ffb8254d670 (unknown)
@ 0x7ffb7938b0ba (unknown)
@ 0x7ffb7938b18b (unknown)
@ 0x7ffb7938cce8 (unknown)
@ 0x7ffb7938b692 (unknown)
@ 0x7ffb79386020 (unknown)
@ 0x7ffb79384165 tbb::internal::allocate_root_with_context_proxy::allocate()
@ 0x7ffb80db6e22 cv::parallel_for_()
@ 0x7ffb8117ab2a (unknown)
@ 0x7ffb81177bb7 cv::resize()
@ 0x7ffb83061997 caffe::ReadImageToCVMat()
@ 0x7ffb82f708bb caffe::ImageDataLayer<>::load_batch()
@ 0x7ffb82efc906 caffe::BasePrefetchingDataLayer<>::InternalThreadEntry()
@ 0x7ffb82984596 (unknown)
@ 0x7ffb8254370a start_thread
@ 0x7ffb801b40af clone
@ 0x0 (unknown)
Segmentation fault (core dumped)
src/caffe/test/CMakeFiles/runtest.dir/build.make:57: recipe for target 'src/caffe/test/CMakeFiles/runtest' failed
What's your operating system? Ubuntu devel seems to suffer from a similar problem.
I am using kubuntu 16.10
On 16 Dec 2016 02:18, "L. Zhou" notifications@github.com wrote:
What's your operating system? Ubuntu devel seems to suffer from a similar
problem.https://launchpadlibrarian.net/298212926/buildlog_ubuntu-
zesty-amd64.caffe_1.0.0~rc3+20161127-g24d2f67-4_BUILDING.txt.gz
https://launchpadlibrarian.net/298212926/buildlog_ubuntu-zesty-amd64.caffe_1.0.0%7Erc3+20161127-g24d2f67-4_BUILDING.txt.gz—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BVLC/caffe/issues/5077#issuecomment-267492285, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH_dXyuJKIfFjQfHQKQklEM7PubSEYf1ks5rIebQgaJpZM4LIYwD
.
I also have ubuntu 16.10, no cpu.
I have the same issue too, although:
After I set DEBUG=1, and I ran:
protoc src/caffe/proto/caffe.proto --cpp_out=.
mkdir include/caffe/proto
mv src/caffe/proto/caffe.pb.h include/caffe/proto
because I had issues with caffe.pb.h,
runtest fails after a while when running:
make runtest
I get (excluding some needless lines):
.build_debug/tools/caffe
.build_debug/test/test_all.testbin 0 --gtest_shuffle --gtest_filter="-GPU"
Note: Google Test filter = -GPU
Note: Randomizing tests' orders with a seed of 77085 .
Many test pass but then:
[----------] 5 tests from ImageDataLayerTest/1, where TypeParam = caffe::CPUDevice
[ RUN ] ImageDataLayerTest/1.TestRead
[ OK ] ImageDataLayerTest/1.TestRead (84 ms)
[ RUN ] ImageDataLayerTest/1.TestResize
* Aborted at 1481935191 (unix time) try "date -d @1481935191" if you are using GNU date
PC: @ 0x7f14a0c870ba (unknown)
SIGSEGV (@0xfffffffffffffff7) received by PID 16487 (TID 0x7f14871f2700) from PID 18446744073709551607; stack trace: *
@ 0x7f14a2152630 (unknown)
@ 0x7f14a0c870ba (unknown)
@ 0x7f14a0c8718b (unknown)
@ 0x7f14a0c88ce8 (unknown)
@ 0x7f14a0c87692 (unknown)
@ 0x7f14a0c82020 (unknown)
@ 0x7f14a0c80165 tbb::internal::allocate_root_with_context_proxy::allocate()
@ 0x7f14a3e50e22 cv::parallel_for_()
@ 0x7f14a3737b2a (unknown)
@ 0x7f14a3734bb7 cv::resize()
@ 0x7f14a2c093dd caffe::ReadImageToCVMat()
@ 0x7f14a2d0694c caffe::ImageDataLayer<>::load_batch()
@ 0x7f14a2c9037c caffe::BasePrefetchingDataLayer<>::InternalThreadEntry()
@ 0x7f14a2c2e19b caffe::InternalThread::entry()
@ 0x7f14a2c307d1 boost::_mfi::mf5<>::operator()()
@ 0x7f14a2c306a9 boost::_bi::list6<>::operator()<>()
@ 0x7f14a2c3059e boost::_bi::bind_t<>::operator()()
@ 0x7f14a2c30550 boost::detail::thread_data<>::run()
@ 0x7f14a33f7596 (unknown)
@ 0x7f14a21486ca start_thread
@ 0x7f14a1e820af clone
@ 0x0 (unknown)
Segmentation fault (core dumped)
~~~~~~~~~~
My config file:
CPU_ONLY := 1
#USE_OPENCV := 1
#USE_LEVELDB := 1
#USE_LMDB := 0
CUDA_DIR := /usr/local/cuda
CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
-gencode arch=compute_20,code=sm_21 \
-gencode arch=compute_30,code=sm_30 \
-gencode arch=compute_35,code=sm_35 \
-gencode arch=compute_50,code=sm_50 \
-gencode arch=compute_50,code=compute_50
BLAS := atlas
#PYTHON_INCLUDE := /usr/include/python2.7 \
PYTHON_INCLUDE := /home/steliox/anaconda2/include/python2.7 \
/home/steliox/anaconda2/include \
/home/steliox/anaconda2/lib/python2.7/site-packages/numpy/core/include \
# PYTHON_INCLUDE := /usr/include/python3.5m \
PYTHON_LIB := /home/steliox/anaconda2/lib
WITH_PYTHON_LAYER := 1
INCLUDE_DIRS := /usr/local/include /usr/include/hdf5/serial/
LIBRARY_DIRS := /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/hdf5/serial/
pkg-config to specify OpenCV library paths.make cleanBUILD_DIR := build
DISTRIBUTE_DIR := distribute
DEBUG := 1
TEST_GPUID := 0
Q ?= @
Hi,
I would like to know, Is your problem solved? when I run make runset,I have got a same issue on ubuntu 16.04! could you please help me?
@mohammad-py It still fails in the same way exactly as mentioned above...
I just cloned the latest caffe git repo + I have been updating my ubuntu system normally, running v17 now:
I made the same procedure, but....
when I tried
make runtest
the same things happen.
I get Check failed: error == cudaSuccess (35 vs. 0)
CUDA driver version is insufficient for CUDA runtime version
Ubuntu 16.10 (Mint), gcc5, CUDA 8, Driver 378
I installed boost1.58 and added linked library and include path in bashrc.
Then I had an error running ‘make runtest', and finally I found that I made a tiny mistake in bashrc.
The boost lib should be added to LD_LIBRARY, rather than LIBRARY...
Hi Guys,
I started using https://github.com/BVLC/caffe/tree/opencl
and now I am able to successfully execute make runtest. I am using opencl mode. I havent tried CPU only mode but if you have AMD this will work provided you have successfully installed AMD graphic card. I had to downgrade to 14.04 to install AMD graphic card.
From https://github.com/BVLC/caffe/blob/master/CONTRIBUTING.md:
_Please do not post usage, installation, or modeling questions, or other requests for help to Issues._
Use the caffe-users list instead. This helps developers maintain a clear, uncluttered, and efficient view of the state of Caffe.
hello all
i have issued this today, and finally i've solved this by changing libtbb2 version
i'm using Ubuntu 16.04 and it uses libtbb2 (4.4~20160526-0ubuntu1) [universe] as default
from belowlink i found that there is a bug in pre-build package
https://software.intel.com/en-us/forums/intel-threading-building-blocks/topic/636519
so i changed to a new libtbb2 package as follow:
libtbb2 (4.4~20151115-0ubuntu3) [universe] http://packages.ubuntu.com/xenial/libtbb2
this solved my problem
regards!