-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault #3
Comments
I have just noticed this #2 Interestingly enough, on my second machine with Ubuntu 16.04.1 LTS, CUDA 8.0, Tesla K40 - it works without any issues. |
I can not reproduce that error.
Did you compiled it with cmake or make? Did you change in your makefile.config something else then uncomment the cuDNN flag? |
I have compiled with cmake in both cases i.e.
Interestingly enough the fault only happens when caffe process is terminating. So it is able to complete the given number of iterations, save the snapshot etc. and then throws the fault when exiting. |
I also get this segfault, with cudnn 5.05. I0213 09:10:14.745064 29461 solver.cpp:322] Optimization Done. |
Very similar issue here. CUDNN 5.1, CUDA 8.0, GeForce GTX 860M, Ubuntu 16.04. Various failed tests on runtest with both cmake and make, but SegNet runs and trains fine. However, if I'm using an LMDB data layer, I get a segmentation fault at the end of all runs, after everything is calculated and saved. If I put the |
Hi, I have the exactly same error, how do you solve it? thanks |
Having this same error (trains, saves solver state, fails); we're you able to reproduce @TimoSaemann? I can send along my full workflow shortly if that helps |
I am having the same error when I use lmdb. Does anyone the reason for the segmentation fault? |
As with others here, my problem disappeared when I switched machines. My particular switch was from a laptop with a GTX860M to a desktop with a GTX1070. |
I'm getting the following segmentation fault when running "make runtest". It works fine in the case of the original caffe-segnet (with cuDNN 3.0.8).
[ RUN ] LayerFactoryTest/2.TestCreateLayer
*** Aborted at 1483730734 (unix time) try "date -d @1483730734" if you are using GNU date ***
PC: @ 0x7fe5c0d9cf25 caffe::BasePrefetchingDataLayer<>::~BasePrefetchingDataLayer()
*** SIGSEGV (@0x208) received by PID 8650 (TID 0x7fe5c15d5ac0) from PID 520; stack trace: ***
@ 0x7fe5c033a390 (unknown)
@ 0x7fe5c0d9cf25 caffe::BasePrefetchingDataLayer<>::~BasePrefetchingDataLayer()
@ 0x7fe5c0e55099 caffe::DataLayer<>::~DataLayer()
@ 0xb49c08 caffe::LayerFactoryTest_TestCreateLayer_Test<>::TestBody()
@ 0xde7453 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0xde038a testing::Test::Run()
@ 0xde04d8 testing::TestInfo::Run()
@ 0xde05e5 testing::TestCase::Run()
@ 0xde217f testing::internal::UnitTestImpl::RunAllTests()
@ 0xde24a3 testing::UnitTest::Run()
@ 0x8905cd main
@ 0x7fe5ba028830 __libc_start_main
@ 0x8973a9 _start
@ 0x0 (unknown)
Segmentation fault (core dumped)
src/caffe/test/CMakeFiles/runtest.dir/build.make:57: recipe for target 'src/caffe/test/CMakeFiles/runtest' failed
make[3]: *** [src/caffe/test/CMakeFiles/runtest] Error 139
CMakeFiles/Makefile2:328: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/all' failed
make[2]: *** [src/caffe/test/CMakeFiles/runtest.dir/all] Error 2
CMakeFiles/Makefile2:335: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/rule' failed
make[1]: *** [src/caffe/test/CMakeFiles/runtest.dir/rule] Error 2
Makefile:240: recipe for target 'runtest' failed
make: *** [runtest] Error 2
The text was updated successfully, but these errors were encountered: