You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this is of any help, the same error can be obtained just by running the tests. I recompiled caffe to use cuDNN, and wanted to run the tests: obtained this: (I skipped all the passing tests before)
[----------] 1 test from GaussianFillerTest/1, where TypeParam = double
[ RUN ] GaussianFillerTest/1.TestFill
*** Aborted at 1425466715 (unix time) try "date -d @1425466715" if you are using GNU date ***
PC: @ 0x50efd4 caffe::GaussianFillerTest_TestFill_Test<>::TestBody()
*** SIGSEGV (@0x6e0a000) received by PID 6705 (TID 0x2b18bebb3900) from PID 115384320; stack trace: ***
@ 0x2b18c4e9fd40 (unknown)
@ 0x50efd4 caffe::GaussianFillerTest_TestFill_Test<>::TestBody()
@ 0x70aa63 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x7016a7 testing::Test::Run()
@ 0x70174e testing::TestInfo::Run()
@ 0x701855 testing::TestCase::Run()
@ 0x704b98 testing::internal::UnitTestImpl::RunAllTests()
@ 0x704e27 testing::UnitTest::Run()
@ 0x4449fa main
@ 0x2b18c4e8aec5 (unknown)
@ 0x449b19 (unknown)
@ 0x0 (unknown)
make: *** [runtest] Segmentation fault (core dumped)
I tried to start bisecting to identify where this bug could have come from but after a make clean and a reinstall, I can't reproduce anymore. @ShijianTang , might want to try to do that if you're still having this problem.
previous failed test ran OK but,
[----------] 3 tests from SplitLayerTest/0, where TypeParam = N5caffe8FloatCPUE
[ RUN ] SplitLayerTest/0.Test
[ OK ] SplitLayerTest/0.Test (0 ms)
[ RUN ] SplitLayerTest/0.TestSetup
[ OK ] SplitLayerTest/0.TestSetup (0 ms)
[ RUN ] SplitLayerTest/0.TestGradient
[ OK ] SplitLayerTest/0.TestGradient (5 ms)
[----------] 3 tests from SplitLayerTest/0 (5 ms total)
this on failed:
[----------] 1 test from LayerFactoryTest/1, where TypeParam = N5caffe9DoubleCPUE
[ RUN ] LayerFactoryTest/1.TestCreateLayer
*** Aborted at 1426468417 (unix time) try "date -d @1426468417" if you are using GNU date ***
PC: @ 0x11479b13e cudnnDestroy
*** SIGSEGV (@0x30) received by PID 25063 (TID 0x7fff7eb7b300) stack trace: ***
@ 0x7fff93fcdf1a _sigtramp
@ 0x7fff5128dd62 (unknown)
@ 0x10ed611e8 caffe::CuDNNPoolingLayer<>::~CuDNNPoolingLayer()
@ 0x10ed6122f caffe::CuDNNPoolingLayer<>::~CuDNNPoolingLayer()
@ 0x10eae8cf4 caffe::LayerFactoryTest_TestCreateLayer_Test<>::TestBody()
@ 0x10ecec4fc testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x10ecdba9a testing::Test::Run()
@ 0x10ecdc892 testing::TestInfo::Run()
@ 0x10ecdcfa0 testing::TestCase::Run()
@ 0x10ece2b17 testing::internal::UnitTestImpl::RunAllTests()
@ 0x10ececd54 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x10ece2829 testing::UnitTest::Run()
@ 0x10e97232d main
@ 0x7fff902365c9 start
@ 0x3 (unknown)
/bin/sh: line 1: 25063 Segmentation fault: 11 .build_release/test/test_all.testbin 0 --gtest_shuffle
make: *** [runtest] Error 139
I did a bit of digging and it seems to me that this the "Error: (unix time) try if you are using GNU date" is unrelated to Caffe and the problem that you are encountering.
See here, it appears this is just a result of the logging library (glog) that shows this when a failure happens. So all the problems that are posted here are unrelated.
If you get this error, you should look at the stacktrace provided instead of the unix time thing.
This issue should be closed because it doesn't reflect an error in caffe.
qqning, vra, IamMegatron2025, Wkyao, baiyfbupt and 7 more
@bunelr is quite right, there are many different unrelated errors here. The text which titles this issue is just a helpful hint for parsing the log message. You're welcome to open new tickets for specific, reproducible errors in master with DEBUG enabled.
vanpersie32, snowhou, zhangzm0612, tz28, tbwxmu and 3 more
I think most of this problem is due to the mis-use of cpu_data() mode and gpu_data() mode. I have encountered this problem while debugging something and I find that I should use cpu_data() instead of gpu_data(). The error is reasonable since the pointer to a gpu location doesn't mean anything in CPU. Data is in GPU. Hope this will help.
Activity
bunelr commentedon Mar 4, 2015
If this is of any help, the same error can be obtained just by running the tests. I recompiled caffe to use cuDNN, and wanted to run the tests: obtained this: (I skipped all the passing tests before)
Anything I can do to help?
bunelr commentedon Mar 4, 2015
I tried to start bisecting to identify where this bug could have come from but after a make clean and a reinstall, I can't reproduce anymore.
@ShijianTang , might want to try to do that if you're still having this problem.
ShijianTang commentedon Mar 4, 2015
Hi,
Thanks for your help.
Now, I have solved this problem. The problem is that the the format of train.txt file for generating the lmdb is in incorrect format.
lefromage commentedon Mar 16, 2015
having same problem in caffe test when doing: make runtest
[----------] 1 test from LayerFactoryTest/0, where TypeParam = N5caffe8FloatCPUE
[ RUN ] LayerFactoryTest/0.TestCreateLayer
*** Aborted at 1426466145 (unix time) try "date -d @1426466145" if you are using GNU date ***
PC: @ 0x10af701b7 caffe::CuDNNConvolutionLayer<>::~CuDNNConvolutionLayer()
*** SIGSEGV (@0x0) received by PID 15366 (TID 0x7fff7eb7b300) stack trace: ***
@ 0x7fff93fcdf1a _sigtramp
@ 0x10b432b26 fatbinData
@ 0x10af7039f caffe::CuDNNConvolutionLayer<>::~CuDNNConvolutionLayer()
@ 0x10acfb314 caffe::LayerFactoryTest_TestCreateLayer_Test<>::TestBody()
@ 0x10aefe4fc testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x10aeeda9a testing::Test::Run()
@ 0x10aeee892 testing::TestInfo::Run()
@ 0x10aeeefa0 testing::TestCase::Run()
@ 0x10aef4b17 testing::internal::UnitTestImpl::RunAllTests()
@ 0x10aefed54 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x10aef4829 testing::UnitTest::Run()
@ 0x10ab8432d main
@ 0x7fff902365c9 start
@ 0x3 (unknown)
/bin/sh: line 1: 15366 Segmentation fault: 11 .build_release/test/test_all.testbin 0 --gtest_shuffle
make: *** [runtest] Error 139
lefromage commentedon Mar 16, 2015
redid a:
make clean
make test
make runtest
previous failed test ran OK but,
[----------] 3 tests from SplitLayerTest/0, where TypeParam = N5caffe8FloatCPUE
[ RUN ] SplitLayerTest/0.Test
[ OK ] SplitLayerTest/0.Test (0 ms)
[ RUN ] SplitLayerTest/0.TestSetup
[ OK ] SplitLayerTest/0.TestSetup (0 ms)
[ RUN ] SplitLayerTest/0.TestGradient
[ OK ] SplitLayerTest/0.TestGradient (5 ms)
[----------] 3 tests from SplitLayerTest/0 (5 ms total)
this on failed:
[----------] 1 test from LayerFactoryTest/1, where TypeParam = N5caffe9DoubleCPUE
[ RUN ] LayerFactoryTest/1.TestCreateLayer
*** Aborted at 1426468417 (unix time) try "date -d @1426468417" if you are using GNU date ***
PC: @ 0x11479b13e cudnnDestroy
*** SIGSEGV (@0x30) received by PID 25063 (TID 0x7fff7eb7b300) stack trace: ***
@ 0x7fff93fcdf1a _sigtramp
@ 0x7fff5128dd62 (unknown)
@ 0x10ed611e8 caffe::CuDNNPoolingLayer<>::~CuDNNPoolingLayer()
@ 0x10ed6122f caffe::CuDNNPoolingLayer<>::~CuDNNPoolingLayer()
@ 0x10eae8cf4 caffe::LayerFactoryTest_TestCreateLayer_Test<>::TestBody()
@ 0x10ecec4fc testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x10ecdba9a testing::Test::Run()
@ 0x10ecdc892 testing::TestInfo::Run()
@ 0x10ecdcfa0 testing::TestCase::Run()
@ 0x10ece2b17 testing::internal::UnitTestImpl::RunAllTests()
@ 0x10ececd54 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x10ece2829 testing::UnitTest::Run()
@ 0x10e97232d main
@ 0x7fff902365c9 start
@ 0x3 (unknown)
/bin/sh: line 1: 25063 Segmentation fault: 11 .build_release/test/test_all.testbin 0 --gtest_shuffle
make: *** [runtest] Error 139
gavinmh commentedon Apr 26, 2015
I am encountering the same problem when using IMAGE_DATA layers:
Compiling with
#USE_CUDNN := 1
andUSE_CUDNN := 1
both produced the error.RafaRuiz commentedon May 1, 2015
anyone found a workaround ?
spegoraro commentedon May 3, 2015
+1 same issue here
bunelr commentedon May 3, 2015
I did a bit of digging and it seems to me that this the "Error: (unix time) try if you are using GNU date" is unrelated to Caffe and the problem that you are encountering.
See here, it appears this is just a result of the logging library (glog) that shows this when a failure happens. So all the problems that are posted here are unrelated.
If you get this error, you should look at the stacktrace provided instead of the unix time thing.
This issue should be closed because it doesn't reflect an error in caffe.
acpn commentedon May 5, 2015
Hi guys, I have the same problem, someone managed to solve?
longjon commentedon May 8, 2015
@bunelr is quite right, there are many different unrelated errors here. The text which titles this issue is just a helpful hint for parsing the log message. You're welcome to open new tickets for specific, reproducible errors in
master
withDEBUG
enabled.daerduoCarey commentedon Aug 18, 2015
I think most of this problem is due to the mis-use of cpu_data() mode and gpu_data() mode. I have encountered this problem while debugging something and I find that I should use cpu_data() instead of gpu_data(). The error is reasonable since the pointer to a gpu location doesn't mean anything in CPU. Data is in GPU. Hope this will help.
breezedeus commentedon Nov 17, 2015
I got the same error. But after the following steps, everything is good:
make clean
make all
make test
make runtest
17 remaining items