make runtest failed
I got this error when make runtest on Mac OSX Yosemite 10.10.1.
How can I fix it?
I'm debugging now, but I'm new to lldb.
test_all.testbin(94837,0x7fff7bba4300) malloc: *** error for object 0x7fff79a63f50: pointer being freed was not allocated
softbank126017017172:caffe machidahiroaki$ man lldb
softbank126017017172:caffe machidahiroaki$ lldb .build_release/test/test_all.testbin
(lldb) target create ".build_release/test/test_all.testbin"
Current executable set to '.build_release/test/test_all.testbin' (x86_64).
(lldb) exit
softbank126017017172:caffe machidahiroaki$ .build_release/test/test_all.testbin 0 --gtest_filter="-*GPU*"
Note: Google Test filter = -*GPU*
[==========] Running 457 tests from 98 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from AccuracyLayerTest/0, where TypeParam = float
[ RUN ] AccuracyLayerTest/0.TestSetup
[ OK ] AccuracyLayerTest/0.TestSetup (14 ms)
[ RUN ] AccuracyLayerTest/0.TestSetupTopK
[ OK ] AccuracyLayerTest/0.TestSetupTopK (0 ms)
[ RUN ] AccuracyLayerTest/0.TestForwardCPU
[ OK ] AccuracyLayerTest/0.TestForwardCPU (1 ms)
[ RUN ] AccuracyLayerTest/0.TestForwardCPUTopK
[ OK ] AccuracyLayerTest/0.TestForwardCPUTopK (1 ms)
[----------] 4 tests from AccuracyLayerTest/0 (16 ms total)
[----------] 4 tests from AccuracyLayerTest/1, where TypeParam = double
[ RUN ] AccuracyLayerTest/1.TestSetup
[ OK ] AccuracyLayerTest/1.TestSetup (0 ms)
[ RUN ] AccuracyLayerTest/1.TestSetupTopK
[ OK ] AccuracyLayerTest/1.TestSetupTopK (1 ms)
[ RUN ] AccuracyLayerTest/1.TestForwardCPU
[ OK ] AccuracyLayerTest/1.TestForwardCPU (0 ms)
[ RUN ] AccuracyLayerTest/1.TestForwardCPUTopK
[ OK ] AccuracyLayerTest/1.TestForwardCPUTopK (2 ms)
[----------] 4 tests from AccuracyLayerTest/1 (3 ms total)
[----------] 6 tests from ArgMaxLayerTest/0, where TypeParam = float
[ RUN ] ArgMaxLayerTest/0.TestSetup
[ OK ] ArgMaxLayerTest/0.TestSetup (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestSetupMaxVal
[ OK ] ArgMaxLayerTest/0.TestSetupMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPU
[ OK ] ArgMaxLayerTest/0.TestCPU (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPUMaxVal
[ OK ] ArgMaxLayerTest/0.TestCPUMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPUTopK
[ OK ] ArgMaxLayerTest/0.TestCPUTopK (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPUMaxValTopK
[ OK ] ArgMaxLayerTest/0.TestCPUMaxValTopK (1 ms)
[----------] 6 tests from ArgMaxLayerTest/0 (1 ms total)
[----------] 6 tests from ArgMaxLayerTest/1, where TypeParam = double
[ RUN ] ArgMaxLayerTest/1.TestSetup
[ OK ] ArgMaxLayerTest/1.TestSetup (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestSetupMaxVal
[ OK ] ArgMaxLayerTest/1.TestSetupMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPU
[ OK ] ArgMaxLayerTest/1.TestCPU (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPUMaxVal
[ OK ] ArgMaxLayerTest/1.TestCPUMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPUTopK
[ OK ] ArgMaxLayerTest/1.TestCPUTopK (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPUMaxValTopK
[ OK ] ArgMaxLayerTest/1.TestCPUMaxValTopK (0 ms)
[----------] 6 tests from ArgMaxLayerTest/1 (0 ms total)
[----------] 5 tests from BenchmarkTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] BenchmarkTest/0.TestTimerConstructor
[ OK ] BenchmarkTest/0.TestTimerConstructor (0 ms)
[ RUN ] BenchmarkTest/0.TestTimerStart
[ OK ] BenchmarkTest/0.TestTimerStart (5 ms)
[ RUN ] BenchmarkTest/0.TestTimerStop
[ OK ] BenchmarkTest/0.TestTimerStop (0 ms)
[ RUN ] BenchmarkTest/0.TestTimerMilliSeconds
[ OK ] BenchmarkTest/0.TestTimerMilliSeconds (308 ms)
[ RUN ] BenchmarkTest/0.TestTimerSeconds
[ OK ] BenchmarkTest/0.TestTimerSeconds (301 ms)
[----------] 5 tests from BenchmarkTest/0 (614 ms total)
[----------] 5 tests from BenchmarkTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] BenchmarkTest/1.TestTimerConstructor
[ OK ] BenchmarkTest/1.TestTimerConstructor (0 ms)
[ RUN ] BenchmarkTest/1.TestTimerStart
[ OK ] BenchmarkTest/1.TestTimerStart (0 ms)
[ RUN ] BenchmarkTest/1.TestTimerStop
[ OK ] BenchmarkTest/1.TestTimerStop (0 ms)
[ RUN ] BenchmarkTest/1.TestTimerMilliSeconds
[ OK ] BenchmarkTest/1.TestTimerMilliSeconds (301 ms)
[ RUN ] BenchmarkTest/1.TestTimerSeconds
[ OK ] BenchmarkTest/1.TestTimerSeconds (304 ms)
[----------] 5 tests from BenchmarkTest/1 (606 ms total)
[----------] 2 tests from BlobSimpleTest/0, where TypeParam = float
[ RUN ] BlobSimpleTest/0.TestInitialization
[ OK ] BlobSimpleTest/0.TestInitialization (0 ms)
[ RUN ] BlobSimpleTest/0.TestReshape
[ OK ] BlobSimpleTest/0.TestReshape (0 ms)
[----------] 2 tests from BlobSimpleTest/0 (0 ms total)
[----------] 2 tests from BlobSimpleTest/1, where TypeParam = double
[ RUN ] BlobSimpleTest/1.TestInitialization
[ OK ] BlobSimpleTest/1.TestInitialization (0 ms)
[ RUN ] BlobSimpleTest/1.TestReshape
[ OK ] BlobSimpleTest/1.TestReshape (0 ms)
[----------] 2 tests from BlobSimpleTest/1 (0 ms total)
[----------] 3 tests from CommonTest
[ RUN ] CommonTest.TestBrewMode
[ OK ] CommonTest.TestBrewMode (0 ms)
[ RUN ] CommonTest.TestPhase
[ OK ] CommonTest.TestPhase (0 ms)
[ RUN ] CommonTest.TestRandSeedCPU
[ OK ] CommonTest.TestRandSeedCPU (0 ms)
[----------] 3 tests from CommonTest (1 ms total)
[----------] 4 tests from ConcatLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] ConcatLayerTest/0.TestSetupNum
[ OK ] ConcatLayerTest/0.TestSetupNum (0 ms)
[ RUN ] ConcatLayerTest/0.TestSetupChannels
[ OK ] ConcatLayerTest/0.TestSetupChannels (0 ms)
[ RUN ] ConcatLayerTest/0.TestNum
[ OK ] ConcatLayerTest/0.TestNum (0 ms)
[ RUN ] ConcatLayerTest/0.TestGradient
[ OK ] ConcatLayerTest/0.TestGradient (12 ms)
[----------] 4 tests from ConcatLayerTest/0 (12 ms total)
[----------] 4 tests from ConcatLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] ConcatLayerTest/1.TestSetupNum
[ OK ] ConcatLayerTest/1.TestSetupNum (0 ms)
[ RUN ] ConcatLayerTest/1.TestSetupChannels
[ OK ] ConcatLayerTest/1.TestSetupChannels (0 ms)
[ RUN ] ConcatLayerTest/1.TestNum
[ OK ] ConcatLayerTest/1.TestNum (0 ms)
[ RUN ] ConcatLayerTest/1.TestGradient
[ OK ] ConcatLayerTest/1.TestGradient (10 ms)
[----------] 4 tests from ConcatLayerTest/1 (12 ms total)
[----------] 2 tests from ContrastiveLossLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] ContrastiveLossLayerTest/0.TestForward
[ OK ] ContrastiveLossLayerTest/0.TestForward (9 ms)
[ RUN ] ContrastiveLossLayerTest/0.TestGradient
[ OK ] ContrastiveLossLayerTest/0.TestGradient (130 ms)
[----------] 2 tests from ContrastiveLossLayerTest/0 (139 ms total)
[----------] 2 tests from ContrastiveLossLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] ContrastiveLossLayerTest/1.TestForward
[ OK ] ContrastiveLossLayerTest/1.TestForward (30 ms)
[ RUN ] ContrastiveLossLayerTest/1.TestGradient
[ OK ] ContrastiveLossLayerTest/1.TestGradient (274 ms)
[----------] 2 tests from ContrastiveLossLayerTest/1 (304 ms total)
[----------] 6 tests from ConvolutionLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] ConvolutionLayerTest/0.TestSetup
[ OK ] ConvolutionLayerTest/0.TestSetup (0 ms)
[ RUN ] ConvolutionLayerTest/0.TestSimpleConvolution
[ OK ] ConvolutionLayerTest/0.TestSimpleConvolution (7 ms)
[ RUN ] ConvolutionLayerTest/0.TestSimpleConvolutionGroup
[ OK ] ConvolutionLayerTest/0.TestSimpleConvolutionGroup (2 ms)
[ RUN ] ConvolutionLayerTest/0.TestSobelConvolution
[ OK ] ConvolutionLayerTest/0.TestSobelConvolution (0 ms)
[ RUN ] ConvolutionLayerTest/0.TestGradient
[ OK ] ConvolutionLayerTest/0.TestGradient (212 ms)
[ RUN ] ConvolutionLayerTest/0.TestGradientGroup
[ OK ] ConvolutionLayerTest/0.TestGradientGroup (60 ms)
[----------] 6 tests from ConvolutionLayerTest/0 (281 ms total)
[----------] 6 tests from ConvolutionLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] ConvolutionLayerTest/1.TestSetup
[ OK ] ConvolutionLayerTest/1.TestSetup (0 ms)
[ RUN ] ConvolutionLayerTest/1.TestSimpleConvolution
[ OK ] ConvolutionLayerTest/1.TestSimpleConvolution (17 ms)
[ RUN ] ConvolutionLayerTest/1.TestSimpleConvolutionGroup
[ OK ] ConvolutionLayerTest/1.TestSimpleConvolutionGroup (8 ms)
[ RUN ] ConvolutionLayerTest/1.TestSobelConvolution
[ OK ] ConvolutionLayerTest/1.TestSobelConvolution (22 ms)
[ RUN ] ConvolutionLayerTest/1.TestGradient
[ OK ] ConvolutionLayerTest/1.TestGradient (270 ms)
[ RUN ] ConvolutionLayerTest/1.TestGradientGroup
[ OK ] ConvolutionLayerTest/1.TestGradientGroup (60 ms)
[----------] 6 tests from ConvolutionLayerTest/1 (384 ms total)
[----------] 10 tests from DataLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] DataLayerTest/0.TestReadLevelDB
test_all.testbin(94831,0x7fff7bba4300) malloc: *** error for object 0x7fff79a63f50: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
softbank126017017172:caffe machidahiroaki$
softbank126017017172:caffe machidahiroaki$ echo ".build_release/test/test_all.testbin 0 --gtest_filter="-*GPU*"
> "
.build_release/test/test_all.testbin 0 --gtest_filter=-*GPU*
softbank126017017172:caffe machidahiroaki$ lldb .build_release/test/test_all.testbin -- -program_arg 0 --gtest_filter="-*GPU*"
(lldb) target create ".build_release/test/test_all.testbin"
Current executable set to '.build_release/test/test_all.testbin' (x86_64).
(lldb) settings set -- target.run-args "-program_arg" "0" "--gtest_filter=-*GPU*"
(lldb) breakpoint set --name malloc_error_break
Breakpoint 1: where = libsystem_malloc.dylib`malloc_error_break, address = 0x000000000001319f
(lldb) run
Process 94837 launched: '/Users/machidahiroaki/RubymineProjects/caffe/.build_release/test/test_all.testbin' (x86_64)
Note: Google Test filter = -*GPU*
[==========] Running 457 tests from 98 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from AccuracyLayerTest/0, where TypeParam = float
[ RUN ] AccuracyLayerTest/0.TestSetup
[ OK ] AccuracyLayerTest/0.TestSetup (14 ms)
[ RUN ] AccuracyLayerTest/0.TestSetupTopK
[ OK ] AccuracyLayerTest/0.TestSetupTopK (1 ms)
[ RUN ] AccuracyLayerTest/0.TestForwardCPU
[ OK ] AccuracyLayerTest/0.TestForwardCPU (0 ms)
[ RUN ] AccuracyLayerTest/0.TestForwardCPUTopK
[ OK ] AccuracyLayerTest/0.TestForwardCPUTopK (0 ms)
[----------] 4 tests from AccuracyLayerTest/0 (17 ms total)
[----------] 4 tests from AccuracyLayerTest/1, where TypeParam = double
[ RUN ] AccuracyLayerTest/1.TestSetup
[ OK ] AccuracyLayerTest/1.TestSetup (0 ms)
[ RUN ] AccuracyLayerTest/1.TestSetupTopK
[ OK ] AccuracyLayerTest/1.TestSetupTopK (0 ms)
[ RUN ] AccuracyLayerTest/1.TestForwardCPU
[ OK ] AccuracyLayerTest/1.TestForwardCPU (1 ms)
[ RUN ] AccuracyLayerTest/1.TestForwardCPUTopK
[ OK ] AccuracyLayerTest/1.TestForwardCPUTopK (1 ms)
[----------] 4 tests from AccuracyLayerTest/1 (2 ms total)
[----------] 6 tests from ArgMaxLayerTest/0, where TypeParam = float
[ RUN ] ArgMaxLayerTest/0.TestSetup
[ OK ] ArgMaxLayerTest/0.TestSetup (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestSetupMaxVal
[ OK ] ArgMaxLayerTest/0.TestSetupMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPU
[ OK ] ArgMaxLayerTest/0.TestCPU (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPUMaxVal
[ OK ] ArgMaxLayerTest/0.TestCPUMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPUTopK
[ OK ] ArgMaxLayerTest/0.TestCPUTopK (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPUMaxValTopK
[ OK ] ArgMaxLayerTest/0.TestCPUMaxValTopK (0 ms)
[----------] 6 tests from ArgMaxLayerTest/0 (1 ms total)
[----------] 6 tests from ArgMaxLayerTest/1, where TypeParam = double
[ RUN ] ArgMaxLayerTest/1.TestSetup
[ OK ] ArgMaxLayerTest/1.TestSetup (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestSetupMaxVal
[ OK ] ArgMaxLayerTest/1.TestSetupMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPU
[ OK ] ArgMaxLayerTest/1.TestCPU (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPUMaxVal
[ OK ] ArgMaxLayerTest/1.TestCPUMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPUTopK
[ OK ] ArgMaxLayerTest/1.TestCPUTopK (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPUMaxValTopK
[ OK ] ArgMaxLayerTest/1.TestCPUMaxValTopK (0 ms)
[----------] 6 tests from ArgMaxLayerTest/1 (0 ms total)
[----------] 5 tests from BenchmarkTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] BenchmarkTest/0.TestTimerConstructor
[ OK ] BenchmarkTest/0.TestTimerConstructor (0 ms)
[ RUN ] BenchmarkTest/0.TestTimerStart
[ OK ] BenchmarkTest/0.TestTimerStart (3 ms)
[ RUN ] BenchmarkTest/0.TestTimerStop
[ OK ] BenchmarkTest/0.TestTimerStop (0 ms)
[ RUN ] BenchmarkTest/0.TestTimerMilliSeconds
[ OK ] BenchmarkTest/0.TestTimerMilliSeconds (309 ms)
[ RUN ] BenchmarkTest/0.TestTimerSeconds
[ OK ] BenchmarkTest/0.TestTimerSeconds (304 ms)
[----------] 5 tests from BenchmarkTest/0 (616 ms total)
[----------] 5 tests from BenchmarkTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] BenchmarkTest/1.TestTimerConstructor
[ OK ] BenchmarkTest/1.TestTimerConstructor (0 ms)
[ RUN ] BenchmarkTest/1.TestTimerStart
[ OK ] BenchmarkTest/1.TestTimerStart (0 ms)
[ RUN ] BenchmarkTest/1.TestTimerStop
[ OK ] BenchmarkTest/1.TestTimerStop (0 ms)
[ RUN ] BenchmarkTest/1.TestTimerMilliSeconds
[ OK ] BenchmarkTest/1.TestTimerMilliSeconds (303 ms)
[ RUN ] BenchmarkTest/1.TestTimerSeconds
[ OK ] BenchmarkTest/1.TestTimerSeconds (300 ms)
[----------] 5 tests from BenchmarkTest/1 (603 ms total)
[----------] 2 tests from BlobSimpleTest/0, where TypeParam = float
[ RUN ] BlobSimpleTest/0.TestInitialization
[ OK ] BlobSimpleTest/0.TestInitialization (1 ms)
[ RUN ] BlobSimpleTest/0.TestReshape
[ OK ] BlobSimpleTest/0.TestReshape (0 ms)
[----------] 2 tests from BlobSimpleTest/0 (1 ms total)
[----------] 2 tests from BlobSimpleTest/1, where TypeParam = double
[ RUN ] BlobSimpleTest/1.TestInitialization
[ OK ] BlobSimpleTest/1.TestInitialization (0 ms)
[ RUN ] BlobSimpleTest/1.TestReshape
[ OK ] BlobSimpleTest/1.TestReshape (0 ms)
[----------] 2 tests from BlobSimpleTest/1 (0 ms total)
[----------] 3 tests from CommonTest
[ RUN ] CommonTest.TestBrewMode
[ OK ] CommonTest.TestBrewMode (0 ms)
[ RUN ] CommonTest.TestPhase
[ OK ] CommonTest.TestPhase (0 ms)
[ RUN ] CommonTest.TestRandSeedCPU
[ OK ] CommonTest.TestRandSeedCPU (0 ms)
[----------] 3 tests from CommonTest (0 ms total)
[----------] 4 tests from ConcatLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] ConcatLayerTest/0.TestSetupNum
[ OK ] ConcatLayerTest/0.TestSetupNum (0 ms)
[ RUN ] ConcatLayerTest/0.TestSetupChannels
[ OK ] ConcatLayerTest/0.TestSetupChannels (0 ms)
[ RUN ] ConcatLayerTest/0.TestNum
[ OK ] ConcatLayerTest/0.TestNum (0 ms)
[ RUN ] ConcatLayerTest/0.TestGradient
[ OK ] ConcatLayerTest/0.TestGradient (10 ms)
[----------] 4 tests from ConcatLayerTest/0 (10 ms total)
[----------] 4 tests from ConcatLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] ConcatLayerTest/1.TestSetupNum
[ OK ] ConcatLayerTest/1.TestSetupNum (0 ms)
[ RUN ] ConcatLayerTest/1.TestSetupChannels
[ OK ] ConcatLayerTest/1.TestSetupChannels (0 ms)
[ RUN ] ConcatLayerTest/1.TestNum
[ OK ] ConcatLayerTest/1.TestNum (0 ms)
[ RUN ] ConcatLayerTest/1.TestGradient
[ OK ] ConcatLayerTest/1.TestGradient (10 ms)
[----------] 4 tests from ConcatLayerTest/1 (10 ms total)
[----------] 2 tests from ContrastiveLossLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] ContrastiveLossLayerTest/0.TestForward
[ OK ] ContrastiveLossLayerTest/0.TestForward (1 ms)
[ RUN ] ContrastiveLossLayerTest/0.TestGradient
[ OK ] ContrastiveLossLayerTest/0.TestGradient (137 ms)
[----------] 2 tests from ContrastiveLossLayerTest/0 (138 ms total)
[----------] 2 tests from ContrastiveLossLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] ContrastiveLossLayerTest/1.TestForward
[ OK ] ContrastiveLossLayerTest/1.TestForward (0 ms)
[ RUN ] ContrastiveLossLayerTest/1.TestGradient
[ OK ] ContrastiveLossLayerTest/1.TestGradient (135 ms)
[----------] 2 tests from ContrastiveLossLayerTest/1 (136 ms total)
[----------] 6 tests from ConvolutionLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] ConvolutionLayerTest/0.TestSetup
[ OK ] ConvolutionLayerTest/0.TestSetup (0 ms)
[ RUN ] ConvolutionLayerTest/0.TestSimpleConvolution
[ OK ] ConvolutionLayerTest/0.TestSimpleConvolution (0 ms)
[ RUN ] ConvolutionLayerTest/0.TestSimpleConvolutionGroup
[ OK ] ConvolutionLayerTest/0.TestSimpleConvolutionGroup (0 ms)
[ RUN ] ConvolutionLayerTest/0.TestSobelConvolution
[ OK ] ConvolutionLayerTest/0.TestSobelConvolution (1 ms)
[ RUN ] ConvolutionLayerTest/0.TestGradient
[ OK ] ConvolutionLayerTest/0.TestGradient (271 ms)
[ RUN ] ConvolutionLayerTest/0.TestGradientGroup
[ OK ] ConvolutionLayerTest/0.TestGradientGroup (194 ms)
[----------] 6 tests from ConvolutionLayerTest/0 (469 ms total)
[----------] 6 tests from ConvolutionLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] ConvolutionLayerTest/1.TestSetup
[ OK ] ConvolutionLayerTest/1.TestSetup (0 ms)
[ RUN ] ConvolutionLayerTest/1.TestSimpleConvolution
[ OK ] ConvolutionLayerTest/1.TestSimpleConvolution (0 ms)
[ RUN ] ConvolutionLayerTest/1.TestSimpleConvolutionGroup
[ OK ] ConvolutionLayerTest/1.TestSimpleConvolutionGroup (1 ms)
[ RUN ] ConvolutionLayerTest/1.TestSobelConvolution
[ OK ] ConvolutionLayerTest/1.TestSobelConvolution (0 ms)
[ RUN ] ConvolutionLayerTest/1.TestGradient
[ OK ] ConvolutionLayerTest/1.TestGradient (290 ms)
[ RUN ] ConvolutionLayerTest/1.TestGradientGroup
[ OK ] ConvolutionLayerTest/1.TestGradientGroup (192 ms)
[----------] 6 tests from ConvolutionLayerTest/1 (489 ms total)
[----------] 10 tests from DataLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] DataLayerTest/0.TestReadLevelDB
test_all.testbin(94837,0x7fff7bba4300) malloc: *** error for object 0x7fff79a63f50: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Process 94837 stopped
* thread #1: tid = 0x24b097, 0x00007fff932ab19f libsystem_malloc.dylib`malloc_error_break, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
frame #0: 0x00007fff932ab19f libsystem_malloc.dylib`malloc_error_break
libsystem_malloc.dylib`malloc_error_break:
-> 0x7fff932ab19f: pushq %rbp
0x7fff932ab1a0: movq %rsp, %rbp
0x7fff932ab1a3: nop
0x7fff932ab1a4: nopl (%rax)
(lldb) bt
* thread #1: tid = 0x24b097, 0x00007fff932ab19f libsystem_malloc.dylib`malloc_error_break, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
* frame #0: 0x00007fff932ab19f libsystem_malloc.dylib`malloc_error_break
frame #1: 0x00007fff9329c8c5 libsystem_malloc.dylib`free + 314
frame #2: 0x0000000101436818 libstdc++.6.dylib`std::string::reserve(unsigned long) + 120
frame #3: 0x0000000101436c25 libstdc++.6.dylib`std::string::append(unsigned long, char) (.part.27) + 69
frame #4: 0x000000010060c78d libprotobuf.9.dylib`google::protobuf::STLStringResizeUninitialized(std::string*, unsigned long) + 29
frame #5: 0x000000010060e784 libprotobuf.9.dylib`google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*) + 132
frame #6: 0x00000001001dadaf test_all.testbin`caffe::Datum::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*) + 783
frame #7: 0x000000010060ad99 libprotobuf.9.dylib`google::protobuf::MessageLite::ParseFromString(std::string const&) + 201
frame #8: 0x0000000100226dbd test_all.testbin`caffe::DataLayer<float>::DataLayerSetUp(std::vector<caffe::Blob<float>*, std::allocator<caffe::Blob<float>*> > const&, std::vector<caffe::Blob<float>*, std::allocator<caffe::Blob<float>*> >*) + 3325
frame #9: 0x000000010021ceae test_all.testbin`caffe::BaseDataLayer<float>::LayerSetUp(std::vector<caffe::Blob<float>*, std::allocator<caffe::Blob<float>*> > const&, std::vector<caffe::Blob<float>*, std::allocator<caffe::Blob<float>*> >*) + 46
frame #10: 0x000000010021e5ee test_all.testbin`caffe::BasePrefetchingDataLayer<float>::LayerSetUp(std::vector<caffe::Blob<float>*, std::allocator<caffe::Blob<float>*> > const&, std::vector<caffe::Blob<float>*, std::allocator<caffe::Blob<float>*> >*) + 14
frame #11: 0x000000010005cf76 test_all.testbin`caffe::DataLayerTest<caffe::FloatCPU>::TestRead() + 566
frame #12: 0x00000001001cb55c test_all.testbin`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 156
frame #13: 0x00000001001bb57a test_all.testbin`testing::Test::Run() + 298
frame #14: 0x00000001001bc4c2 test_all.testbin`testing::TestInfo::Run() + 370
frame #15: 0x00000001001bcb90 test_all.testbin`testing::TestCase::Run() + 416
frame #16: 0x00000001001c20a5 test_all.testbin`testing::internal::UnitTestImpl::RunAllTests() + 709
frame #17: 0x00000001001cbe44 test_all.testbin`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 148
frame #18: 0x00000001001c1dc9 test_all.testbin`testing::UnitTest::Run() + 41
frame #19: 0x0000000100001aca test_all.testbin`main + 42
frame #20: 0x00007fff90ece5c9 libdyld.dylib`start + 1
(lldb)
protobuf is depending on two other libstdc++. Is this ok?
softbank126017016015:caffe machidahiroaki$ otool -L /usr/local/lib/libprotobuf.dylib
/usr/local/lib/libprotobuf.dylib:
/usr/local/lib/libprotobuf.9.dylib (compatibility version 10.0.0, current version 10.1.0)
/usr/local/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.21.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 104.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
I changed /usr/local/Library/Formula/protobuf.rb to
ENV["CXX"] = "/usr/bin/clang++ -L/usr/lib -stdlib=libstdc++"
and got
softbank126017016015:caffe machidahiroaki$ otool -L /usr/local/lib/libprotobuf.dylib
/usr/local/lib/libprotobuf.dylib:
/usr/local/lib/libprotobuf.9.dylib (compatibility version 10.0.0, current version 10.1.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 104.1.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
- Other dynamic libraries like opencv and boost seems to reference to
/usr/lib/libstdc++.dylib.
The test case above passed!
softbank126017016015:caffe machidahiroaki$ make clean && make all -j8 && make test -j8 && make runtest
(snip)
.build_debug/test/test_all.testbin 0 --gtest_filter="-*GPU*"
Note: Google Test filter = -*GPU*
[==========] Running 457 tests from 98 test cases.
[----------] Global test environment set-up.
[----------] 4 tests from AccuracyLayerTest/0, where TypeParam = float
[ RUN ] AccuracyLayerTest/0.TestSetup
[ OK ] AccuracyLayerTest/0.TestSetup (14 ms)
[ RUN ] AccuracyLayerTest/0.TestSetupTopK
[ OK ] AccuracyLayerTest/0.TestSetupTopK (1 ms)
[ RUN ] AccuracyLayerTest/0.TestForwardCPU
[ OK ] AccuracyLayerTest/0.TestForwardCPU (1 ms)
[ RUN ] AccuracyLayerTest/0.TestForwardCPUTopK
[ OK ] AccuracyLayerTest/0.TestForwardCPUTopK (4 ms)
[----------] 4 tests from AccuracyLayerTest/0 (20 ms total)
[----------] 4 tests from AccuracyLayerTest/1, where TypeParam = double
[ RUN ] AccuracyLayerTest/1.TestSetup
[ OK ] AccuracyLayerTest/1.TestSetup (0 ms)
[ RUN ] AccuracyLayerTest/1.TestSetupTopK
[ OK ] AccuracyLayerTest/1.TestSetupTopK (0 ms)
[ RUN ] AccuracyLayerTest/1.TestForwardCPU
[ OK ] AccuracyLayerTest/1.TestForwardCPU (2 ms)
[ RUN ] AccuracyLayerTest/1.TestForwardCPUTopK
[ OK ] AccuracyLayerTest/1.TestForwardCPUTopK (4 ms)
[----------] 4 tests from AccuracyLayerTest/1 (6 ms total)
[----------] 6 tests from ArgMaxLayerTest/0, where TypeParam = float
[ RUN ] ArgMaxLayerTest/0.TestSetup
[ OK ] ArgMaxLayerTest/0.TestSetup (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestSetupMaxVal
[ OK ] ArgMaxLayerTest/0.TestSetupMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPU
[ OK ] ArgMaxLayerTest/0.TestCPU (1 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPUMaxVal
[ OK ] ArgMaxLayerTest/0.TestCPUMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPUTopK
[ OK ] ArgMaxLayerTest/0.TestCPUTopK (0 ms)
[ RUN ] ArgMaxLayerTest/0.TestCPUMaxValTopK
[ OK ] ArgMaxLayerTest/0.TestCPUMaxValTopK (0 ms)
[----------] 6 tests from ArgMaxLayerTest/0 (2 ms total)
[----------] 6 tests from ArgMaxLayerTest/1, where TypeParam = double
[ RUN ] ArgMaxLayerTest/1.TestSetup
[ OK ] ArgMaxLayerTest/1.TestSetup (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestSetupMaxVal
[ OK ] ArgMaxLayerTest/1.TestSetupMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPU
[ OK ] ArgMaxLayerTest/1.TestCPU (1 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPUMaxVal
[ OK ] ArgMaxLayerTest/1.TestCPUMaxVal (0 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPUTopK
[ OK ] ArgMaxLayerTest/1.TestCPUTopK (1 ms)
[ RUN ] ArgMaxLayerTest/1.TestCPUMaxValTopK
[ OK ] ArgMaxLayerTest/1.TestCPUMaxValTopK (0 ms)
[----------] 6 tests from ArgMaxLayerTest/1 (2 ms total)
[----------] 5 tests from BenchmarkTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] BenchmarkTest/0.TestTimerConstructor
[ OK ] BenchmarkTest/0.TestTimerConstructor (0 ms)
[ RUN ] BenchmarkTest/0.TestTimerStart
[ OK ] BenchmarkTest/0.TestTimerStart (1 ms)
[ RUN ] BenchmarkTest/0.TestTimerStop
[ OK ] BenchmarkTest/0.TestTimerStop (1 ms)
[ RUN ] BenchmarkTest/0.TestTimerMilliSeconds
[ OK ] BenchmarkTest/0.TestTimerMilliSeconds (304 ms)
[ RUN ] BenchmarkTest/0.TestTimerSeconds
[ OK ] BenchmarkTest/0.TestTimerSeconds (302 ms)
[----------] 5 tests from BenchmarkTest/0 (610 ms total)
[----------] 5 tests from BenchmarkTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] BenchmarkTest/1.TestTimerConstructor
[ OK ] BenchmarkTest/1.TestTimerConstructor (0 ms)
[ RUN ] BenchmarkTest/1.TestTimerStart
[ OK ] BenchmarkTest/1.TestTimerStart (0 ms)
[ RUN ] BenchmarkTest/1.TestTimerStop
[ OK ] BenchmarkTest/1.TestTimerStop (0 ms)
[ RUN ] BenchmarkTest/1.TestTimerMilliSeconds
[ OK ] BenchmarkTest/1.TestTimerMilliSeconds (302 ms)
[ RUN ] BenchmarkTest/1.TestTimerSeconds
[ OK ] BenchmarkTest/1.TestTimerSeconds (305 ms)
[----------] 5 tests from BenchmarkTest/1 (608 ms total)
[----------] 2 tests from BlobSimpleTest/0, where TypeParam = float
[ RUN ] BlobSimpleTest/0.TestInitialization
[ OK ] BlobSimpleTest/0.TestInitialization (0 ms)
[ RUN ] BlobSimpleTest/0.TestReshape
[ OK ] BlobSimpleTest/0.TestReshape (0 ms)
[----------] 2 tests from BlobSimpleTest/0 (0 ms total)
[----------] 2 tests from BlobSimpleTest/1, where TypeParam = double
[ RUN ] BlobSimpleTest/1.TestInitialization
[ OK ] BlobSimpleTest/1.TestInitialization (0 ms)
[ RUN ] BlobSimpleTest/1.TestReshape
[ OK ] BlobSimpleTest/1.TestReshape (0 ms)
[----------] 2 tests from BlobSimpleTest/1 (1 ms total)
[----------] 3 tests from CommonTest
[ RUN ] CommonTest.TestBrewMode
[ OK ] CommonTest.TestBrewMode (0 ms)
[ RUN ] CommonTest.TestPhase
[ OK ] CommonTest.TestPhase (0 ms)
[ RUN ] CommonTest.TestRandSeedCPU
[ OK ] CommonTest.TestRandSeedCPU (0 ms)
[----------] 3 tests from CommonTest (0 ms total)
[----------] 4 tests from ConcatLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] ConcatLayerTest/0.TestSetupNum
[ OK ] ConcatLayerTest/0.TestSetupNum (0 ms)
[ RUN ] ConcatLayerTest/0.TestSetupChannels
[ OK ] ConcatLayerTest/0.TestSetupChannels (1 ms)
[ RUN ] ConcatLayerTest/0.TestNum
[ OK ] ConcatLayerTest/0.TestNum (0 ms)
[ RUN ] ConcatLayerTest/0.TestGradient
[ OK ] ConcatLayerTest/0.TestGradient (21 ms)
[----------] 4 tests from ConcatLayerTest/0 (22 ms total)
[----------] 4 tests from ConcatLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] ConcatLayerTest/1.TestSetupNum
[ OK ] ConcatLayerTest/1.TestSetupNum (0 ms)
[ RUN ] ConcatLayerTest/1.TestSetupChannels
[ OK ] ConcatLayerTest/1.TestSetupChannels (0 ms)
[ RUN ] ConcatLayerTest/1.TestNum
[ OK ] ConcatLayerTest/1.TestNum (1 ms)
[ RUN ] ConcatLayerTest/1.TestGradient
[ OK ] ConcatLayerTest/1.TestGradient (17 ms)
[----------] 4 tests from ConcatLayerTest/1 (18 ms total)
[----------] 2 tests from ContrastiveLossLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] ContrastiveLossLayerTest/0.TestForward
[ OK ] ContrastiveLossLayerTest/0.TestForward (3 ms)
[ RUN ] ContrastiveLossLayerTest/0.TestGradient
[ OK ] ContrastiveLossLayerTest/0.TestGradient (330 ms)
[----------] 2 tests from ContrastiveLossLayerTest/0 (333 ms total)
[----------] 2 tests from ContrastiveLossLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] ContrastiveLossLayerTest/1.TestForward
[ OK ] ContrastiveLossLayerTest/1.TestForward (1 ms)
[ RUN ] ContrastiveLossLayerTest/1.TestGradient
[ OK ] ContrastiveLossLayerTest/1.TestGradient (318 ms)
[----------] 2 tests from ContrastiveLossLayerTest/1 (319 ms total)
[----------] 6 tests from ConvolutionLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] ConvolutionLayerTest/0.TestSetup
[ OK ] ConvolutionLayerTest/0.TestSetup (3 ms)
[ RUN ] ConvolutionLayerTest/0.TestSimpleConvolution
[ OK ] ConvolutionLayerTest/0.TestSimpleConvolution (4 ms)
[ RUN ] ConvolutionLayerTest/0.TestSimpleConvolutionGroup
[ OK ] ConvolutionLayerTest/0.TestSimpleConvolutionGroup (2 ms)
[ RUN ] ConvolutionLayerTest/0.TestSobelConvolution
[ OK ] ConvolutionLayerTest/0.TestSobelConvolution (1 ms)
[ RUN ] ConvolutionLayerTest/0.TestGradient
[ OK ] ConvolutionLayerTest/0.TestGradient (400 ms)
[ RUN ] ConvolutionLayerTest/0.TestGradientGroup
[ OK ] ConvolutionLayerTest/0.TestGradientGroup (114 ms)
[----------] 6 tests from ConvolutionLayerTest/0 (524 ms total)
[----------] 6 tests from ConvolutionLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] ConvolutionLayerTest/1.TestSetup
[ OK ] ConvolutionLayerTest/1.TestSetup (1 ms)
[ RUN ] ConvolutionLayerTest/1.TestSimpleConvolution
[ OK ] ConvolutionLayerTest/1.TestSimpleConvolution (3 ms)
[ RUN ] ConvolutionLayerTest/1.TestSimpleConvolutionGroup
[ OK ] ConvolutionLayerTest/1.TestSimpleConvolutionGroup (0 ms)
[ RUN ] ConvolutionLayerTest/1.TestSobelConvolution
[ OK ] ConvolutionLayerTest/1.TestSobelConvolution (1 ms)
[ RUN ] ConvolutionLayerTest/1.TestGradient
[ OK ] ConvolutionLayerTest/1.TestGradient (404 ms)
[ RUN ] ConvolutionLayerTest/1.TestGradientGroup
[ OK ] ConvolutionLayerTest/1.TestGradientGroup (115 ms)
[----------] 6 tests from ConvolutionLayerTest/1 (524 ms total)
[----------] 10 tests from DataLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] DataLayerTest/0.TestReadLevelDB
[ OK ] DataLayerTest/0.TestReadLevelDB (32 ms)
[ RUN ] DataLayerTest/0.TestReadCropTrainLevelDB
[ OK ] DataLayerTest/0.TestReadCropTrainLevelDB (7 ms)
[ RUN ] DataLayerTest/0.TestReadCropTrainSequenceSeededLevelDB
[ OK ] DataLayerTest/0.TestReadCropTrainSequenceSeededLevelDB (10 ms)
[ RUN ] DataLayerTest/0.TestReadCropTrainSequenceUnseededLevelDB
[ OK ] DataLayerTest/0.TestReadCropTrainSequenceUnseededLevelDB (10 ms)
[ RUN ] DataLayerTest/0.TestReadCropTestLevelDB
[ OK ] DataLayerTest/0.TestReadCropTestLevelDB (7 ms)
[ RUN ] DataLayerTest/0.TestReadLMDB
[ OK ] DataLayerTest/0.TestReadLMDB (74 ms)
[ RUN ] DataLayerTest/0.TestReadCropTrainLMDB
[ OK ] DataLayerTest/0.TestReadCropTrainLMDB (59 ms)
[ RUN ] DataLayerTest/0.TestReadCropTrainSequenceSeededLMDB
[ OK ] DataLayerTest/0.TestReadCropTrainSequenceSeededLMDB (89 ms)
[ RUN ] DataLayerTest/0.TestReadCropTrainSequenceUnseededLMDB
[ OK ] DataLayerTest/0.TestReadCropTrainSequenceUnseededLMDB (88 ms)
[ RUN ] DataLayerTest/0.TestReadCropTestLMDB
[ OK ] DataLayerTest/0.TestReadCropTestLMDB (58 ms)
[----------] 10 tests from DataLayerTest/0 (434 ms total)
[----------] 10 tests from DataLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] DataLayerTest/1.TestReadLevelDB
[ OK ] DataLayerTest/1.TestReadLevelDB (24 ms)
[ RUN ] DataLayerTest/1.TestReadCropTrainLevelDB
[ OK ] DataLayerTest/1.TestReadCropTrainLevelDB (7 ms)
[ RUN ] DataLayerTest/1.TestReadCropTrainSequenceSeededLevelDB
[ OK ] DataLayerTest/1.TestReadCropTrainSequenceSeededLevelDB (10 ms)
[ RUN ] DataLayerTest/1.TestReadCropTrainSequenceUnseededLevelDB
[ OK ] DataLayerTest/1.TestReadCropTrainSequenceUnseededLevelDB (11 ms)
[ RUN ] DataLayerTest/1.TestReadCropTestLevelDB
[ OK ] DataLayerTest/1.TestReadCropTestLevelDB (7 ms)
[ RUN ] DataLayerTest/1.TestReadLMDB
[ OK ] DataLayerTest/1.TestReadLMDB (73 ms)
[ RUN ] DataLayerTest/1.TestReadCropTrainLMDB
[ OK ] DataLayerTest/1.TestReadCropTrainLMDB (61 ms)
[ RUN ] DataLayerTest/1.TestReadCropTrainSequenceSeededLMDB
[ OK ] DataLayerTest/1.TestReadCropTrainSequenceSeededLMDB (84 ms)
[ RUN ] DataLayerTest/1.TestReadCropTrainSequenceUnseededLMDB
[ OK ] DataLayerTest/1.TestReadCropTrainSequenceUnseededLMDB (85 ms)
[ RUN ] DataLayerTest/1.TestReadCropTestLMDB
[ OK ] DataLayerTest/1.TestReadCropTestLMDB (59 ms)
[----------] 10 tests from DataLayerTest/1 (421 ms total)
[----------] 3 tests from DummyDataLayerTest/0, where TypeParam = float
[ RUN ] DummyDataLayerTest/0.TestOneTopConstant
[ OK ] DummyDataLayerTest/0.TestOneTopConstant (0 ms)
[ RUN ] DummyDataLayerTest/0.TestTwoTopConstant
[ OK ] DummyDataLayerTest/0.TestTwoTopConstant (1 ms)
[ RUN ] DummyDataLayerTest/0.TestThreeTopConstantGaussianConstant
[ OK ] DummyDataLayerTest/0.TestThreeTopConstantGaussianConstant (0 ms)
[----------] 3 tests from DummyDataLayerTest/0 (1 ms total)
[----------] 3 tests from DummyDataLayerTest/1, where TypeParam = double
[ RUN ] DummyDataLayerTest/1.TestOneTopConstant
[ OK ] DummyDataLayerTest/1.TestOneTopConstant (0 ms)
[ RUN ] DummyDataLayerTest/1.TestTwoTopConstant
[ OK ] DummyDataLayerTest/1.TestTwoTopConstant (0 ms)
[ RUN ] DummyDataLayerTest/1.TestThreeTopConstantGaussianConstant
[ OK ] DummyDataLayerTest/1.TestThreeTopConstantGaussianConstant (0 ms)
[----------] 3 tests from DummyDataLayerTest/1 (4 ms total)
[----------] 10 tests from EltwiseLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] EltwiseLayerTest/0.TestSetUp
[ OK ] EltwiseLayerTest/0.TestSetUp (1 ms)
[ RUN ] EltwiseLayerTest/0.TestProd
[ OK ] EltwiseLayerTest/0.TestProd (0 ms)
[ RUN ] EltwiseLayerTest/0.TestSum
[ OK ] EltwiseLayerTest/0.TestSum (1 ms)
[ RUN ] EltwiseLayerTest/0.TestSumCoeff
[ OK ] EltwiseLayerTest/0.TestSumCoeff (0 ms)
[ RUN ] EltwiseLayerTest/0.TestStableProdGradient
[ OK ] EltwiseLayerTest/0.TestStableProdGradient (24 ms)
[ RUN ] EltwiseLayerTest/0.TestUnstableProdGradient
[ OK ] EltwiseLayerTest/0.TestUnstableProdGradient (25 ms)
[ RUN ] EltwiseLayerTest/0.TestSumGradient
[ OK ] EltwiseLayerTest/0.TestSumGradient (23 ms)
[ RUN ] EltwiseLayerTest/0.TestSumCoeffGradient
[ OK ] EltwiseLayerTest/0.TestSumCoeffGradient (24 ms)
[ RUN ] EltwiseLayerTest/0.TestMax
[ OK ] EltwiseLayerTest/0.TestMax (1 ms)
[ RUN ] EltwiseLayerTest/0.TestMaxGradient
[ OK ] EltwiseLayerTest/0.TestMaxGradient (27 ms)
[----------] 10 tests from EltwiseLayerTest/0 (127 ms total)
[----------] 10 tests from EltwiseLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] EltwiseLayerTest/1.TestSetUp
[ OK ] EltwiseLayerTest/1.TestSetUp (0 ms)
[ RUN ] EltwiseLayerTest/1.TestProd
[ OK ] EltwiseLayerTest/1.TestProd (0 ms)
[ RUN ] EltwiseLayerTest/1.TestSum
[ OK ] EltwiseLayerTest/1.TestSum (0 ms)
[ RUN ] EltwiseLayerTest/1.TestSumCoeff
[ OK ] EltwiseLayerTest/1.TestSumCoeff (0 ms)
[ RUN ] EltwiseLayerTest/1.TestStableProdGradient
[ OK ] EltwiseLayerTest/1.TestStableProdGradient (24 ms)
[ RUN ] EltwiseLayerTest/1.TestUnstableProdGradient
[ OK ] EltwiseLayerTest/1.TestUnstableProdGradient (24 ms)
[ RUN ] EltwiseLayerTest/1.TestSumGradient
[ OK ] EltwiseLayerTest/1.TestSumGradient (21 ms)
[ RUN ] EltwiseLayerTest/1.TestSumCoeffGradient
[ OK ] EltwiseLayerTest/1.TestSumCoeffGradient (21 ms)
[ RUN ] EltwiseLayerTest/1.TestMax
[ OK ] EltwiseLayerTest/1.TestMax (0 ms)
[ RUN ] EltwiseLayerTest/1.TestMaxGradient
[ OK ] EltwiseLayerTest/1.TestMaxGradient (33 ms)
[----------] 10 tests from EltwiseLayerTest/1 (123 ms total)
[----------] 2 tests from EuclideanLossLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] EuclideanLossLayerTest/0.TestForward
[ OK ] EuclideanLossLayerTest/0.TestForward (0 ms)
[ RUN ] EuclideanLossLayerTest/0.TestGradient
[ OK ] EuclideanLossLayerTest/0.TestGradient (3 ms)
[----------] 2 tests from EuclideanLossLayerTest/0 (3 ms total)
[----------] 2 tests from EuclideanLossLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] EuclideanLossLayerTest/1.TestForward
[ OK ] EuclideanLossLayerTest/1.TestForward (0 ms)
[ RUN ] EuclideanLossLayerTest/1.TestGradient
[ OK ] EuclideanLossLayerTest/1.TestGradient (3 ms)
[----------] 2 tests from EuclideanLossLayerTest/1 (3 ms total)
[----------] 1 test from ConstantFillerTest/0, where TypeParam = float
[ RUN ] ConstantFillerTest/0.TestFill
[ OK ] ConstantFillerTest/0.TestFill (0 ms)
[----------] 1 test from ConstantFillerTest/0 (0 ms total)
[----------] 1 test from ConstantFillerTest/1, where TypeParam = double
[ RUN ] ConstantFillerTest/1.TestFill
[ OK ] ConstantFillerTest/1.TestFill (0 ms)
[----------] 1 test from ConstantFillerTest/1 (0 ms total)
[----------] 1 test from UniformFillerTest/0, where TypeParam = float
[ RUN ] UniformFillerTest/0.TestFill
[ OK ] UniformFillerTest/0.TestFill (0 ms)
[----------] 1 test from UniformFillerTest/0 (0 ms total)
[----------] 1 test from UniformFillerTest/1, where TypeParam = double
[ RUN ] UniformFillerTest/1.TestFill
[ OK ] UniformFillerTest/1.TestFill (0 ms)
[----------] 1 test from UniformFillerTest/1 (0 ms total)
[----------] 1 test from PositiveUnitballFillerTest/0, where TypeParam = float
[ RUN ] PositiveUnitballFillerTest/0.TestFill
[ OK ] PositiveUnitballFillerTest/0.TestFill (1 ms)
[----------] 1 test from PositiveUnitballFillerTest/0 (1 ms total)
[----------] 1 test from PositiveUnitballFillerTest/1, where TypeParam = double
[ RUN ] PositiveUnitballFillerTest/1.TestFill
[ OK ] PositiveUnitballFillerTest/1.TestFill (0 ms)
[----------] 1 test from PositiveUnitballFillerTest/1 (0 ms total)
[----------] 1 test from GaussianFillerTest/0, where TypeParam = float
[ RUN ] GaussianFillerTest/0.TestFill
[ OK ] GaussianFillerTest/0.TestFill (0 ms)
[----------] 1 test from GaussianFillerTest/0 (0 ms total)
[----------] 1 test from GaussianFillerTest/1, where TypeParam = double
[ RUN ] GaussianFillerTest/1.TestFill
[ OK ] GaussianFillerTest/1.TestFill (0 ms)
[----------] 1 test from GaussianFillerTest/1 (0 ms total)
[----------] 3 tests from FlattenLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] FlattenLayerTest/0.TestSetup
[ OK ] FlattenLayerTest/0.TestSetup (0 ms)
[ RUN ] FlattenLayerTest/0.Test
[ OK ] FlattenLayerTest/0.Test (0 ms)
[ RUN ] FlattenLayerTest/0.TestGradient
[ OK ] FlattenLayerTest/0.TestGradient (15 ms)
[----------] 3 tests from FlattenLayerTest/0 (15 ms total)
[----------] 3 tests from FlattenLayerTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] FlattenLayerTest/1.TestSetup
[ OK ] FlattenLayerTest/1.TestSetup (0 ms)
[ RUN ] FlattenLayerTest/1.Test
[ OK ] FlattenLayerTest/1.Test (1 ms)
[ RUN ] FlattenLayerTest/1.TestGradient
[ OK ] FlattenLayerTest/1.TestGradient (14 ms)
[----------] 3 tests from FlattenLayerTest/1 (15 ms total)
[----------] 6 tests from SGDSolverTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] SGDSolverTest/0.TestLeastSquaresUpdate
[ OK ] SGDSolverTest/0.TestLeastSquaresUpdate (61 ms)
[ RUN ] SGDSolverTest/0.TestLeastSquaresUpdateLROneTenth
[ OK ] SGDSolverTest/0.TestLeastSquaresUpdateLROneTenth (55 ms)
[ RUN ] SGDSolverTest/0.TestLeastSquaresUpdateWithWeightDecay
[ OK ] SGDSolverTest/0.TestLeastSquaresUpdateWithWeightDecay (53 ms)
[ RUN ] SGDSolverTest/0.TestLeastSquaresUpdateWithMomentum
[ OK ] SGDSolverTest/0.TestLeastSquaresUpdateWithMomentum (101 ms)
[ RUN ] SGDSolverTest/0.TestLeastSquaresUpdateWithMomentumMultiIter
[ OK ] SGDSolverTest/0.TestLeastSquaresUpdateWithMomentumMultiIter (272 ms)
[ RUN ] SGDSolverTest/0.TestLeastSquaresUpdateWithEverything
[ OK ] SGDSolverTest/0.TestLeastSquaresUpdateWithEverything (268 ms)
[----------] 6 tests from SGDSolverTest/0 (812 ms total)
[----------] 6 tests from SGDSolverTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] SGDSolverTest/1.TestLeastSquaresUpdate
[ OK ] SGDSolverTest/1.TestLeastSquaresUpdate (52 ms)
[ RUN ] SGDSolverTest/1.TestLeastSquaresUpdateLROneTenth
[ OK ] SGDSolverTest/1.TestLeastSquaresUpdateLROneTenth (53 ms)
[ RUN ] SGDSolverTest/1.TestLeastSquaresUpdateWithWeightDecay
[ OK ] SGDSolverTest/1.TestLeastSquaresUpdateWithWeightDecay (56 ms)
[ RUN ] SGDSolverTest/1.TestLeastSquaresUpdateWithMomentum
[ OK ] SGDSolverTest/1.TestLeastSquaresUpdateWithMomentum (101 ms)
[ RUN ] SGDSolverTest/1.TestLeastSquaresUpdateWithMomentumMultiIter
[ OK ] SGDSolverTest/1.TestLeastSquaresUpdateWithMomentumMultiIter (261 ms)
[ RUN ] SGDSolverTest/1.TestLeastSquaresUpdateWithEverything
[ OK ] SGDSolverTest/1.TestLeastSquaresUpdateWithEverything (262 ms)
[----------] 6 tests from SGDSolverTest/1 (785 ms total)
[----------] 4 tests from AdaGradSolverTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] AdaGradSolverTest/0.TestAdaGradLeastSquaresUpdate
[ OK ] AdaGradSolverTest/0.TestAdaGradLeastSquaresUpdate (50 ms)
[ RUN ] AdaGradSolverTest/0.TestAdaGradLeastSquaresUpdateLROneTenth
[ OK ] AdaGradSolverTest/0.TestAdaGradLeastSquaresUpdateLROneTenth (50 ms)
[ RUN ] AdaGradSolverTest/0.TestAdaGradLeastSquaresUpdateWithWeightDecay
[ OK ] AdaGradSolverTest/0.TestAdaGradLeastSquaresUpdateWithWeightDecay (54 ms)
[ RUN ] AdaGradSolverTest/0.TestAdaGradLeastSquaresUpdateWithEverything
[ OK ] AdaGradSolverTest/0.TestAdaGradLeastSquaresUpdateWithEverything (271 ms)
[----------] 4 tests from AdaGradSolverTest/0 (426 ms total)
[----------] 4 tests from AdaGradSolverTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] AdaGradSolverTest/1.TestAdaGradLeastSquaresUpdate
[ OK ] AdaGradSolverTest/1.TestAdaGradLeastSquaresUpdate (53 ms)
[ RUN ] AdaGradSolverTest/1.TestAdaGradLeastSquaresUpdateLROneTenth
[ OK ] AdaGradSolverTest/1.TestAdaGradLeastSquaresUpdateLROneTenth (53 ms)
[ RUN ] AdaGradSolverTest/1.TestAdaGradLeastSquaresUpdateWithWeightDecay
[ OK ] AdaGradSolverTest/1.TestAdaGradLeastSquaresUpdateWithWeightDecay (50 ms)
[ RUN ] AdaGradSolverTest/1.TestAdaGradLeastSquaresUpdateWithEverything
[ OK ] AdaGradSolverTest/1.TestAdaGradLeastSquaresUpdateWithEverything (262 ms)
[----------] 4 tests from AdaGradSolverTest/1 (419 ms total)
[----------] 6 tests from NesterovSolverTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] NesterovSolverTest/0.TestNesterovLeastSquaresUpdate
[ OK ] NesterovSolverTest/0.TestNesterovLeastSquaresUpdate (53 ms)
[ RUN ] NesterovSolverTest/0.TestNesterovLeastSquaresUpdateLROneTenth
[ OK ] NesterovSolverTest/0.TestNesterovLeastSquaresUpdateLROneTenth (49 ms)
[ RUN ] NesterovSolverTest/0.TestNesterovLeastSquaresUpdateWithWeightDecay
[ OK ] NesterovSolverTest/0.TestNesterovLeastSquaresUpdateWithWeightDecay (53 ms)
[ RUN ] NesterovSolverTest/0.TestNesterovLeastSquaresUpdateWithMomentum
[ OK ] NesterovSolverTest/0.TestNesterovLeastSquaresUpdateWithMomentum (101 ms)
[ RUN ] NesterovSolverTest/0.TestLeastSquaresUpdateWithMomentumMultiIter
[ OK ] NesterovSolverTest/0.TestLeastSquaresUpdateWithMomentumMultiIter (269 ms)
[ RUN ] NesterovSolverTest/0.TestNesterovLeastSquaresUpdateWithEverything
[ OK ] NesterovSolverTest/0.TestNesterovLeastSquaresUpdateWithEverything (264 ms)
[----------] 6 tests from NesterovSolverTest/0 (791 ms total)
[----------] 6 tests from NesterovSolverTest/1, where TypeParam = caffe::DoubleCPU
[ RUN ] NesterovSolverTest/1.TestNesterovLeastSquaresUpdate
[ OK ] NesterovSolverTest/1.TestNesterovLeastSquaresUpdate (50 ms)
[ RUN ] NesterovSolverTest/1.TestNesterovLeastSquaresUpdateLROneTenth
[ OK ] NesterovSolverTest/1.TestNesterovLeastSquaresUpdateLROneTenth (56 ms)
[ RUN ] NesterovSolverTest/1.TestNesterovLeastSquaresUpdateWithWeightDecay
[ OK ] NesterovSolverTest/1.TestNesterovLeastSquaresUpdateWithWeightDecay (50 ms)
[ RUN ] NesterovSolverTest/1.TestNesterovLeastSquaresUpdateWithMomentum
[ OK ] NesterovSolverTest/1.TestNesterovLeastSquaresUpdateWithMomentum (105 ms)
[ RUN ] NesterovSolverTest/1.TestLeastSquaresUpdateWithMomentumMultiIter
[ OK ] NesterovSolverTest/1.TestLeastSquaresUpdateWithMomentumMultiIter (261 ms)
[ RUN ] NesterovSolverTest/1.TestNesterovLeastSquaresUpdateWithEverything
[ OK ] NesterovSolverTest/1.TestNesterovLeastSquaresUpdateWithEverything (270 ms)
[----------] 6 tests from NesterovSolverTest/1 (792 ms total)
[----------] 1 test from HDF5OutputLayerTest/0, where TypeParam = caffe::FloatCPU
[ RUN ] HDF5OutputLayerTest/0.TestForward
Warning! ***HDF5 library version mismatched error***
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application continues.
This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
Setting it to 2 or higher will suppress the warning messages totally.
Headers are 1.8.13, library is 1.8.14
SUMMARY OF THE HDF5 CONFIGURATION
=================================
General Information:
-------------------
HDF5 Version: 1.8.14
Configured on: Thu Dec 4 22:14:51 GMT 2014
Configured by: [email protected]
Configure mode: production
Host system: i386-apple-darwin14.0.0
Uname information: Darwin miniyosemite.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Byte sex: little-endian
Libraries: static, shared
Installation point: /usr/local/Cellar/hdf5/1.8.14
Compiling Options:
------------------
Compilation Mode: production
C Compiler: /usr/local/Library/ENV/4.3/clang ( Apple LLVM version 6.0 )
CFLAGS:
H5_CFLAGS:
AM_CFLAGS:
CPPFLAGS:
H5_CPPFLAGS: -DNDEBUG -UH5_DEBUG_API
AM_CPPFLAGS: -I/usr/local/opt/szip/include
Shared C Library: yes
Static C Library: yes
Statically Linked Executables: no
LDFLAGS:
H5_LDFLAGS:
AM_LDFLAGS: -L/usr/local/Cellar/hdf5/1.8.14/lib -L/usr/local/opt/szip/lib
Extra libraries: -lsz -lz -ldl -lm
Archiver: ar
Ranlib: ranlib
Debugged Packages:
API Tracing: no
Languages:
----------
Fortran: no
C++: no
Features:
---------
Parallel HDF5: no
High Level library: yes
Threadsafety: no
Default API Mapping: v18
With Deprecated Public Symbols: yes
I/O filters (external): deflate(zlib),szip(encoder)
I/O filters (internal): shuffle,fletcher32,nbit,scaleoffset
MPE: no
Direct VFD: no
dmalloc: no
Clear file buffers before write: yes
Using memory checker: no
Function Stack Tracing: no
Strict File Format Checks: no
Optimization Instrumentation: no
Large File Support (LFS): yes
Bye...
make: *** [runtest] Abort trap: 6
softbank126017016015:caffe machidahiroaki$
I'll retry after cleaning all environment.
Did you resolve the error after running "make clean"? I wasn't able to, but I instead just disabled the version check....so far it seems to work for me (Note: I'm running on CPU-only mode)
Yes I changed hdf5 version.
I have found the reason about it.Cause the Anaconda had installed the version hdf5.So you could see the doc about :If using Anaconda Python, HDF5 is bundled and the hdf5 formula can be skipped.
I am encountering this error. But what is the fix? The above discussion does not make it clear. I am not using anaconda but instead brew installed python 2.7.8