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
$ gdb ./test/test.testbin-d
(gdb) catch signal SIGSEGV
(gdb) r
...
Cuda number of devices: 2
Current device id: 0
Current device name: Tesla K40c
[==========] Running 2073 tests from 279 test cases.
... (tests from PoolingLayerTest/0,1,2,3 that all succeed)
[----------] 8 tests from CuDNNPoolingLayerTest/0, where TypeParam = float
[ RUN ] CuDNNPoolingLayerTest/0.TestSetupCuDNN
Thread 1 "test.testbin-d" hit Catchpoint 1 (signal SIGSEGV), 0x00007fffaec999ce in ?? () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
(gdb) bt
#0 0x00007fffaec999ce in ?? () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
#1 0x00007fffaef2dc0f in ?? () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
#2 0x00007fffaef2dc69 in ?? () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
#3 0x00007fffaeb648fd in ?? () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
#4 0x00007fffaeb6c53b in ?? () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
#5 0x00007fffaf20dced in ?? () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
#6 0x00007fffaeb6f240 in ?? () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
#7 0x00007fffaeb709e3 in ?? () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
#8 0x00007fffaeb6767c in __cuda_CallJitEntryPoint () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
#9 0x00007fffaebe3366 in nvPTXCompilerCompile () from /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1
#10 0x00007fffb068d969 in fatBinaryCtl_Compile () from /usr/lib/nvidia-384/libnvidia-fatbinaryloader.so.384.111
#11 0x00007fffb0aad02f in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#12 0x00007fffb0aadb33 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#13 0x00007fffb09fb9ed in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#14 0x00007fffb09fbd00 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#15 0x00007fffe927024d in ?? () from /cudnn/cudnn5.1/lib64/libcudnn.so.5
#16 0x00007fffe9265c70 in ?? () from /cudnn/cudnn5.1/lib64/libcudnn.so.5
#17 0x00007fffe92734c6 in ?? () from /cudnn/cudnn5.1/lib64/libcudnn.so.5
#18 0x00007fffe9276ad1 in ?? () from /cudnn/cudnn5.1/lib64/libcudnn.so.5
#19 0x00007fffe926a63c in ?? () from /cudnn/cudnn5.1/lib64/libcudnn.so.5
#20 0x00007fffe9253cc2 in ?? () from /cudnn/cudnn5.1/lib64/libcudnn.so.5
#21 0x00007fffe928c38f in ?? () from /cudnn/cudnn5.1/lib64/libcudnn.so.5
#22 0x00007fffe8d97c54 in cudnnCreate () from /cudnn/cudnn5.1/lib64/libcudnn.so.5
#23 0x00007ffff77d90f7 in caffe::CuDNNPoolingLayer<float>::LayerSetUp (this=0x7fffffffdb80, bottom=std::vector of length 1, capacity 1 = {...}, top=std::vector of length 1, capacity 1 = {...}) at /home/mlsamyn/caffe/src/caffe/layers/cudnn_pooling_layer.cpp:12
#24 0x0000000000ad1546 in caffe::Layer<float>::SetUp (this=0x7fffffffdb80, bottom=std::vector of length 1, capacity 1 = {...}, top=std::vector of length 1, capacity 1 = {...}) at /home/mlsamyn/caffe/include/caffe/layer.hpp:70
#25 0x0000000000ac09a6 in caffe::CuDNNPoolingLayerTest_TestSetupCuDNN_Test<float>::TestBody (this=0x1742ed0) at /home/mlsamyn/caffe/src/caffe/test/test_pooling_layer.cpp:974
#26 0x0000000000fa881a in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void> (object=0x1742ed0, method=&virtual testing::Test::TestBody(), location=0x1075473 "the test body") at /home/mlsamyn/caffe/src/gtest/gtest-all.cpp:3393
#27 0x0000000000fa3927 in testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> (object=0x1742ed0, method=&virtual testing::Test::TestBody(), location=0x1075473 "the test body") at /home/mlsamyn/caffe/src/gtest/gtest-all.cpp:3429
#28 0x0000000000f8f262 in testing::Test::Run (this=0x1742ed0) at /home/mlsamyn/caffe/src/gtest/gtest-all.cpp:3465
#29 0x0000000000f8fa54 in testing::TestInfo::Run (this=0x161bc40) at /home/mlsamyn/caffe/src/gtest/gtest-all.cpp:3641
#30 0x0000000000f9009f in testing::TestCase::Run (this=0x15f8140) at /home/mlsamyn/caffe/src/gtest/gtest-all.cpp:3748
#31 0x0000000000f9554d in testing::internal::UnitTestImpl::RunAllTests (this=0x1612f20) at /home/mlsamyn/caffe/src/gtest/gtest-all.cpp:5540
#32 0x0000000000fa9a1d in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x1612f20, method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0xf9528e <testing::internal::UnitTestImpl::RunAllTests()>,
location=0x1075f30 "auxiliary test code (environments or event listeners)") at /home/mlsamyn/caffe/src/gtest/gtest-all.cpp:3393
#33 0x0000000000fa461a in testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x1612f20, method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0xf9528e <testing::internal::UnitTestImpl::RunAllTests()>,
location=0x1075f30 "auxiliary test code (environments or event listeners)") at /home/mlsamyn/caffe/src/gtest/gtest-all.cpp:3429
#34 0x0000000000f9415c in testing::UnitTest::Run (this=0x1466f00 <testing::UnitTest::GetInstance()::instance>) at /home/mlsamyn/caffe/src/gtest/gtest-all.cpp:5174
#35 0x0000000000e77f28 in main (argc=1, argv=0x7fffffffe3d8) at /home/mlsamyn/caffe/src/caffe/test/test_caffe_main.cpp:37
(gdb) f 23
#23 0x00007ffff77d90f7 in caffe::CuDNNPoolingLayer<float>::LayerSetUp (this=0x7fffffffdb80, bottom=std::vector of length 1, capacity 1 = {...}, top=std::vector of length 1, capacity 1 = {...}) at /home/mlsamyn/caffe/src/caffe/layers/cudnn_pooling_layer.cpp:12
12 CUDNN_CHECK(cudnnCreate(&handle_));
$ git clone https://github.com/BVLC/caffe.git
$ cd caffe
$ mkdir build && cd build
$ cmake .. -DBLAS=open -DUSE_LMDB=off -DUSE_LEVELDB=off -DCUDNN_INCLUDE=/cudnn/cudnn5.1/include -DCUDNN_LIBRARY=/cudnn/cudnn5.1/lib64/libcudnn.so
$ make all
$ make runtest
Your system configuration
Operating system
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Compiler: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
CUDA version (if applicable): 8.0.44
CUDNN version (if applicable): 5.1
BLAS: open
GPU configuration:
$ nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.111 Driver Version: 384.111 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla K40c Off | 00000000:02:00.0 Off | Off |
| 23% 42C P8 20W / 235W | 18MiB / 12205MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 Tesla K40c Off | 00000000:03:00.0 Off | Off |
| 23% 41C P8 20W / 235W | 1MiB / 12205MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
The text was updated successfully, but these errors were encountered:
Issue summary
The Caffe tests seem to fail whenever
cudnnCreate
is called. I compiled the latest master (08a95a4) using Cmake and the following options:Here's the backtrace with a debug build:
(gdb) p *this
Steps to reproduce
Your system configuration
Operating system
Compiler: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
CUDA version (if applicable): 8.0.44
CUDNN version (if applicable): 5.1
BLAS: open
GPU configuration:
The text was updated successfully, but these errors were encountered: