{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/1717","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/1717/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/1717/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/1717/events","html_url":"https://github.com/BVLC/caffe/issues/1717","id":54262246,"number":1717,"title":"make runtest failed","user":{"login":"HiroakiMachida","id":7752862,"avatar_url":"https://avatars.githubusercontent.com/u/7752862?v=3","gravatar_id":"","url":"https://api.github.com/users/HiroakiMachida","html_url":"https://github.com/HiroakiMachida","followers_url":"https://api.github.com/users/HiroakiMachida/followers","following_url":"https://api.github.com/users/HiroakiMachida/following{/other_user}","gists_url":"https://api.github.com/users/HiroakiMachida/gists{/gist_id}","starred_url":"https://api.github.com/users/HiroakiMachida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiroakiMachida/subscriptions","organizations_url":"https://api.github.com/users/HiroakiMachida/orgs","repos_url":"https://api.github.com/users/HiroakiMachida/repos","events_url":"https://api.github.com/users/HiroakiMachida/events{/privacy}","received_events_url":"https://api.github.com/users/HiroakiMachida/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T23:11:32Z","updated_at":"2015-01-14T01:41:03Z","closed_at":null,"body":"I got this error when <code>make runtest</code> on Mac OSX Yosemite 10.10.1.\r\nHow can I fix it?\r\n\r\nI'm debugging now, but I'm new to lldb.\r\n\r\n<pre>\r\ntest_all.testbin(94837,0x7fff7bba4300) malloc: *** error for object 0x7fff79a63f50: pointer being freed was not allocated\r\n</pre>\r\n\r\n    softbank126017017172:caffe machidahiroaki$ man lldb\r\n    softbank126017017172:caffe machidahiroaki$ lldb .build_release/test/test_all.testbin \r\n    (lldb) target create \".build_release/test/test_all.testbin\"\r\n    Current executable set to '.build_release/test/test_all.testbin' (x86_64).\r\n    (lldb) exit\r\n    softbank126017017172:caffe machidahiroaki$ .build_release/test/test_all.testbin 0 --gtest_filter=\"-*GPU*\"\r\n    Note: Google Test filter = -*GPU*\r\n    [==========] Running 457 tests from 98 test cases.\r\n    [----------] Global test environment set-up.\r\n    [----------] 4 tests from AccuracyLayerTest/0, where TypeParam = float\r\n    [ RUN      ] AccuracyLayerTest/0.TestSetup\r\n    [       OK ] AccuracyLayerTest/0.TestSetup (14 ms)\r\n    [ RUN      ] AccuracyLayerTest/0.TestSetupTopK\r\n    [       OK ] AccuracyLayerTest/0.TestSetupTopK (0 ms)\r\n    [ RUN      ] AccuracyLayerTest/0.TestForwardCPU\r\n    [       OK ] AccuracyLayerTest/0.TestForwardCPU (1 ms)\r\n    [ RUN      ] AccuracyLayerTest/0.TestForwardCPUTopK\r\n    [       OK ] AccuracyLayerTest/0.TestForwardCPUTopK (1 ms)\r\n    [----------] 4 tests from AccuracyLayerTest/0 (16 ms total)\r\n    \r\n    [----------] 4 tests from AccuracyLayerTest/1, where TypeParam = double\r\n    [ RUN      ] AccuracyLayerTest/1.TestSetup\r\n    [       OK ] AccuracyLayerTest/1.TestSetup (0 ms)\r\n    [ RUN      ] AccuracyLayerTest/1.TestSetupTopK\r\n    [       OK ] AccuracyLayerTest/1.TestSetupTopK (1 ms)\r\n    [ RUN      ] AccuracyLayerTest/1.TestForwardCPU\r\n    [       OK ] AccuracyLayerTest/1.TestForwardCPU (0 ms)\r\n    [ RUN      ] AccuracyLayerTest/1.TestForwardCPUTopK\r\n    [       OK ] AccuracyLayerTest/1.TestForwardCPUTopK (2 ms)\r\n    [----------] 4 tests from AccuracyLayerTest/1 (3 ms total)\r\n    \r\n    [----------] 6 tests from ArgMaxLayerTest/0, where TypeParam = float\r\n    [ RUN      ] ArgMaxLayerTest/0.TestSetup\r\n    [       OK ] ArgMaxLayerTest/0.TestSetup (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/0.TestSetupMaxVal\r\n    [       OK ] ArgMaxLayerTest/0.TestSetupMaxVal (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/0.TestCPU\r\n    [       OK ] ArgMaxLayerTest/0.TestCPU (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/0.TestCPUMaxVal\r\n    [       OK ] ArgMaxLayerTest/0.TestCPUMaxVal (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/0.TestCPUTopK\r\n    [       OK ] ArgMaxLayerTest/0.TestCPUTopK (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/0.TestCPUMaxValTopK\r\n    [       OK ] ArgMaxLayerTest/0.TestCPUMaxValTopK (1 ms)\r\n    [----------] 6 tests from ArgMaxLayerTest/0 (1 ms total)\r\n    \r\n    [----------] 6 tests from ArgMaxLayerTest/1, where TypeParam = double\r\n    [ RUN      ] ArgMaxLayerTest/1.TestSetup\r\n    [       OK ] ArgMaxLayerTest/1.TestSetup (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/1.TestSetupMaxVal\r\n    [       OK ] ArgMaxLayerTest/1.TestSetupMaxVal (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/1.TestCPU\r\n    [       OK ] ArgMaxLayerTest/1.TestCPU (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/1.TestCPUMaxVal\r\n    [       OK ] ArgMaxLayerTest/1.TestCPUMaxVal (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/1.TestCPUTopK\r\n    [       OK ] ArgMaxLayerTest/1.TestCPUTopK (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/1.TestCPUMaxValTopK\r\n    [       OK ] ArgMaxLayerTest/1.TestCPUMaxValTopK (0 ms)\r\n    [----------] 6 tests from ArgMaxLayerTest/1 (0 ms total)\r\n    \r\n    [----------] 5 tests from BenchmarkTest/0, where TypeParam = caffe::FloatCPU\r\n    [ RUN      ] BenchmarkTest/0.TestTimerConstructor\r\n    [       OK ] BenchmarkTest/0.TestTimerConstructor (0 ms)\r\n    [ RUN      ] BenchmarkTest/0.TestTimerStart\r\n    [       OK ] BenchmarkTest/0.TestTimerStart (5 ms)\r\n    [ RUN      ] BenchmarkTest/0.TestTimerStop\r\n    [       OK ] BenchmarkTest/0.TestTimerStop (0 ms)\r\n    [ RUN      ] BenchmarkTest/0.TestTimerMilliSeconds\r\n    [       OK ] BenchmarkTest/0.TestTimerMilliSeconds (308 ms)\r\n    [ RUN      ] BenchmarkTest/0.TestTimerSeconds\r\n    [       OK ] BenchmarkTest/0.TestTimerSeconds (301 ms)\r\n    [----------] 5 tests from BenchmarkTest/0 (614 ms total)\r\n    \r\n    [----------] 5 tests from BenchmarkTest/1, where TypeParam = caffe::DoubleCPU\r\n    [ RUN      ] BenchmarkTest/1.TestTimerConstructor\r\n    [       OK ] BenchmarkTest/1.TestTimerConstructor (0 ms)\r\n    [ RUN      ] BenchmarkTest/1.TestTimerStart\r\n    [       OK ] BenchmarkTest/1.TestTimerStart (0 ms)\r\n    [ RUN      ] BenchmarkTest/1.TestTimerStop\r\n    [       OK ] BenchmarkTest/1.TestTimerStop (0 ms)\r\n    [ RUN      ] BenchmarkTest/1.TestTimerMilliSeconds\r\n    [       OK ] BenchmarkTest/1.TestTimerMilliSeconds (301 ms)\r\n    [ RUN      ] BenchmarkTest/1.TestTimerSeconds\r\n    [       OK ] BenchmarkTest/1.TestTimerSeconds (304 ms)\r\n    [----------] 5 tests from BenchmarkTest/1 (606 ms total)\r\n    \r\n    [----------] 2 tests from BlobSimpleTest/0, where TypeParam = float\r\n    [ RUN      ] BlobSimpleTest/0.TestInitialization\r\n    [       OK ] BlobSimpleTest/0.TestInitialization (0 ms)\r\n    [ RUN      ] BlobSimpleTest/0.TestReshape\r\n    [       OK ] BlobSimpleTest/0.TestReshape (0 ms)\r\n    [----------] 2 tests from BlobSimpleTest/0 (0 ms total)\r\n    \r\n    [----------] 2 tests from BlobSimpleTest/1, where TypeParam = double\r\n    [ RUN      ] BlobSimpleTest/1.TestInitialization\r\n    [       OK ] BlobSimpleTest/1.TestInitialization (0 ms)\r\n    [ RUN      ] BlobSimpleTest/1.TestReshape\r\n    [       OK ] BlobSimpleTest/1.TestReshape (0 ms)\r\n    [----------] 2 tests from BlobSimpleTest/1 (0 ms total)\r\n    \r\n    [----------] 3 tests from CommonTest\r\n    [ RUN      ] CommonTest.TestBrewMode\r\n    [       OK ] CommonTest.TestBrewMode (0 ms)\r\n    [ RUN      ] CommonTest.TestPhase\r\n    [       OK ] CommonTest.TestPhase (0 ms)\r\n    [ RUN      ] CommonTest.TestRandSeedCPU\r\n    [       OK ] CommonTest.TestRandSeedCPU (0 ms)\r\n    [----------] 3 tests from CommonTest (1 ms total)\r\n    \r\n    [----------] 4 tests from ConcatLayerTest/0, where TypeParam = caffe::FloatCPU\r\n    [ RUN      ] ConcatLayerTest/0.TestSetupNum\r\n    [       OK ] ConcatLayerTest/0.TestSetupNum (0 ms)\r\n    [ RUN      ] ConcatLayerTest/0.TestSetupChannels\r\n    [       OK ] ConcatLayerTest/0.TestSetupChannels (0 ms)\r\n    [ RUN      ] ConcatLayerTest/0.TestNum\r\n    [       OK ] ConcatLayerTest/0.TestNum (0 ms)\r\n    [ RUN      ] ConcatLayerTest/0.TestGradient\r\n    [       OK ] ConcatLayerTest/0.TestGradient (12 ms)\r\n    [----------] 4 tests from ConcatLayerTest/0 (12 ms total)\r\n    \r\n    [----------] 4 tests from ConcatLayerTest/1, where TypeParam = caffe::DoubleCPU\r\n    [ RUN      ] ConcatLayerTest/1.TestSetupNum\r\n    [       OK ] ConcatLayerTest/1.TestSetupNum (0 ms)\r\n    [ RUN      ] ConcatLayerTest/1.TestSetupChannels\r\n    [       OK ] ConcatLayerTest/1.TestSetupChannels (0 ms)\r\n    [ RUN      ] ConcatLayerTest/1.TestNum\r\n    [       OK ] ConcatLayerTest/1.TestNum (0 ms)\r\n    [ RUN      ] ConcatLayerTest/1.TestGradient\r\n    [       OK ] ConcatLayerTest/1.TestGradient (10 ms)\r\n    [----------] 4 tests from ConcatLayerTest/1 (12 ms total)\r\n    \r\n    [----------] 2 tests from ContrastiveLossLayerTest/0, where TypeParam = caffe::FloatCPU\r\n    [ RUN      ] ContrastiveLossLayerTest/0.TestForward\r\n    [       OK ] ContrastiveLossLayerTest/0.TestForward (9 ms)\r\n    [ RUN      ] ContrastiveLossLayerTest/0.TestGradient\r\n    [       OK ] ContrastiveLossLayerTest/0.TestGradient (130 ms)\r\n    [----------] 2 tests from ContrastiveLossLayerTest/0 (139 ms total)\r\n    \r\n    [----------] 2 tests from ContrastiveLossLayerTest/1, where TypeParam = caffe::DoubleCPU\r\n    [ RUN      ] ContrastiveLossLayerTest/1.TestForward\r\n    [       OK ] ContrastiveLossLayerTest/1.TestForward (30 ms)\r\n    [ RUN      ] ContrastiveLossLayerTest/1.TestGradient\r\n    [       OK ] ContrastiveLossLayerTest/1.TestGradient (274 ms)\r\n    [----------] 2 tests from ContrastiveLossLayerTest/1 (304 ms total)\r\n    \r\n    [----------] 6 tests from ConvolutionLayerTest/0, where TypeParam = caffe::FloatCPU\r\n    [ RUN      ] ConvolutionLayerTest/0.TestSetup\r\n    [       OK ] ConvolutionLayerTest/0.TestSetup (0 ms)\r\n    [ RUN      ] ConvolutionLayerTest/0.TestSimpleConvolution\r\n    [       OK ] ConvolutionLayerTest/0.TestSimpleConvolution (7 ms)\r\n    [ RUN      ] ConvolutionLayerTest/0.TestSimpleConvolutionGroup\r\n    [       OK ] ConvolutionLayerTest/0.TestSimpleConvolutionGroup (2 ms)\r\n    [ RUN      ] ConvolutionLayerTest/0.TestSobelConvolution\r\n    [       OK ] ConvolutionLayerTest/0.TestSobelConvolution (0 ms)\r\n    [ RUN      ] ConvolutionLayerTest/0.TestGradient\r\n    [       OK ] ConvolutionLayerTest/0.TestGradient (212 ms)\r\n    [ RUN      ] ConvolutionLayerTest/0.TestGradientGroup\r\n    [       OK ] ConvolutionLayerTest/0.TestGradientGroup (60 ms)\r\n    [----------] 6 tests from ConvolutionLayerTest/0 (281 ms total)\r\n    \r\n    [----------] 6 tests from ConvolutionLayerTest/1, where TypeParam = caffe::DoubleCPU\r\n    [ RUN      ] ConvolutionLayerTest/1.TestSetup\r\n    [       OK ] ConvolutionLayerTest/1.TestSetup (0 ms)\r\n    [ RUN      ] ConvolutionLayerTest/1.TestSimpleConvolution\r\n    [       OK ] ConvolutionLayerTest/1.TestSimpleConvolution (17 ms)\r\n    [ RUN      ] ConvolutionLayerTest/1.TestSimpleConvolutionGroup\r\n    [       OK ] ConvolutionLayerTest/1.TestSimpleConvolutionGroup (8 ms)\r\n    [ RUN      ] ConvolutionLayerTest/1.TestSobelConvolution\r\n    [       OK ] ConvolutionLayerTest/1.TestSobelConvolution (22 ms)\r\n    [ RUN      ] ConvolutionLayerTest/1.TestGradient\r\n    [       OK ] ConvolutionLayerTest/1.TestGradient (270 ms)\r\n    [ RUN      ] ConvolutionLayerTest/1.TestGradientGroup\r\n    [       OK ] ConvolutionLayerTest/1.TestGradientGroup (60 ms)\r\n    [----------] 6 tests from ConvolutionLayerTest/1 (384 ms total)\r\n    \r\n    [----------] 10 tests from DataLayerTest/0, where TypeParam = caffe::FloatCPU\r\n    [ RUN      ] DataLayerTest/0.TestReadLevelDB\r\n    test_all.testbin(94831,0x7fff7bba4300) malloc: *** error for object 0x7fff79a63f50: pointer being freed was not allocated\r\n    *** set a breakpoint in malloc_error_break to debug\r\n    Abort trap: 6\r\n    softbank126017017172:caffe machidahiroaki$ \r\n    softbank126017017172:caffe machidahiroaki$ echo \".build_release/test/test_all.testbin 0 --gtest_filter=\"-*GPU*\"\r\n    > \"\r\n    .build_release/test/test_all.testbin 0 --gtest_filter=-*GPU*\r\n    \r\n    softbank126017017172:caffe machidahiroaki$ lldb .build_release/test/test_all.testbin -- -program_arg 0 --gtest_filter=\"-*GPU*\"\r\n    (lldb) target create \".build_release/test/test_all.testbin\"\r\n    Current executable set to '.build_release/test/test_all.testbin' (x86_64).\r\n    (lldb) settings set -- target.run-args  \"-program_arg\" \"0\" \"--gtest_filter=-*GPU*\"\r\n    (lldb) breakpoint set --name malloc_error_break\r\n    Breakpoint 1: where = libsystem_malloc.dylib`malloc_error_break, address = 0x000000000001319f\r\n    (lldb) run\r\n    Process 94837 launched: '/Users/machidahiroaki/RubymineProjects/caffe/.build_release/test/test_all.testbin' (x86_64)\r\n    Note: Google Test filter = -*GPU*\r\n    [==========] Running 457 tests from 98 test cases.\r\n    [----------] Global test environment set-up.\r\n    [----------] 4 tests from AccuracyLayerTest/0, where TypeParam = float\r\n    [ RUN      ] AccuracyLayerTest/0.TestSetup\r\n    [       OK ] AccuracyLayerTest/0.TestSetup (14 ms)\r\n    [ RUN      ] AccuracyLayerTest/0.TestSetupTopK\r\n    [       OK ] AccuracyLayerTest/0.TestSetupTopK (1 ms)\r\n    [ RUN      ] AccuracyLayerTest/0.TestForwardCPU\r\n    [       OK ] AccuracyLayerTest/0.TestForwardCPU (0 ms)\r\n    [ RUN      ] AccuracyLayerTest/0.TestForwardCPUTopK\r\n    [       OK ] AccuracyLayerTest/0.TestForwardCPUTopK (0 ms)\r\n    [----------] 4 tests from AccuracyLayerTest/0 (17 ms total)\r\n    \r\n    [----------] 4 tests from AccuracyLayerTest/1, where TypeParam = double\r\n    [ RUN      ] AccuracyLayerTest/1.TestSetup\r\n    [       OK ] AccuracyLayerTest/1.TestSetup (0 ms)\r\n    [ RUN      ] AccuracyLayerTest/1.TestSetupTopK\r\n    [       OK ] AccuracyLayerTest/1.TestSetupTopK (0 ms)\r\n    [ RUN      ] AccuracyLayerTest/1.TestForwardCPU\r\n    [       OK ] AccuracyLayerTest/1.TestForwardCPU (1 ms)\r\n    [ RUN      ] AccuracyLayerTest/1.TestForwardCPUTopK\r\n    [       OK ] AccuracyLayerTest/1.TestForwardCPUTopK (1 ms)\r\n    [----------] 4 tests from AccuracyLayerTest/1 (2 ms total)\r\n    \r\n    [----------] 6 tests from ArgMaxLayerTest/0, where TypeParam = float\r\n    [ RUN      ] ArgMaxLayerTest/0.TestSetup\r\n    [       OK ] ArgMaxLayerTest/0.TestSetup (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/0.TestSetupMaxVal\r\n    [       OK ] ArgMaxLayerTest/0.TestSetupMaxVal (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/0.TestCPU\r\n    [       OK ] ArgMaxLayerTest/0.TestCPU (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/0.TestCPUMaxVal\r\n    [       OK ] ArgMaxLayerTest/0.TestCPUMaxVal (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/0.TestCPUTopK\r\n    [       OK ] ArgMaxLayerTest/0.TestCPUTopK (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/0.TestCPUMaxValTopK\r\n    [       OK ] ArgMaxLayerTest/0.TestCPUMaxValTopK (0 ms)\r\n    [----------] 6 tests from ArgMaxLayerTest/0 (1 ms total)\r\n    \r\n    [----------] 6 tests from ArgMaxLayerTest/1, where TypeParam = double\r\n    [ RUN      ] ArgMaxLayerTest/1.TestSetup\r\n    [       OK ] ArgMaxLayerTest/1.TestSetup (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/1.TestSetupMaxVal\r\n    [       OK ] ArgMaxLayerTest/1.TestSetupMaxVal (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/1.TestCPU\r\n    [       OK ] ArgMaxLayerTest/1.TestCPU (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/1.TestCPUMaxVal\r\n    [       OK ] ArgMaxLayerTest/1.TestCPUMaxVal (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/1.TestCPUTopK\r\n    [       OK ] ArgMaxLayerTest/1.TestCPUTopK (0 ms)\r\n    [ RUN      ] ArgMaxLayerTest/1.TestCPUMaxValTopK\r\n    [       OK ] ArgMaxLayerTest/1.TestCPUMaxValTopK (0 ms)\r\n    [----------] 6 tests from ArgMaxLayerTest/1 (0 ms total)\r\n    \r\n    [----------] 5 tests from BenchmarkTest/0, where TypeParam = caffe::FloatCPU\r\n    [ RUN      ] BenchmarkTest/0.TestTimerConstructor\r\n    [       OK ] BenchmarkTest/0.TestTimerConstructor (0 ms)\r\n    [ RUN      ] BenchmarkTest/0.TestTimerStart\r\n    [       OK ] BenchmarkTest/0.TestTimerStart (3 ms)\r\n    [ RUN      ] BenchmarkTest/0.TestTimerStop\r\n    [       OK ] BenchmarkTest/0.TestTimerStop (0 ms)\r\n    [ RUN      ] BenchmarkTest/0.TestTimerMilliSeconds\r\n    [       OK ] BenchmarkTest/0.TestTimerMilliSeconds (309 ms)\r\n    [ RUN      ] BenchmarkTest/0.TestTimerSeconds\r\n    [       OK ] BenchmarkTest/0.TestTimerSeconds (304 ms)\r\n    [----------] 5 tests from BenchmarkTest/0 (616 ms total)\r\n    \r\n    [----------] 5 tests from BenchmarkTest/1, where TypeParam = caffe::DoubleCPU\r\n    [ RUN      ] BenchmarkTest/1.TestTimerConstructor\r\n    [       OK ] BenchmarkTest/1.TestTimerConstructor (0 ms)\r\n    [ RUN      ] BenchmarkTest/1.TestTimerStart\r\n    [       OK ] BenchmarkTest/1.TestTimerStart (0 ms)\r\n    [ RUN      ] BenchmarkTest/1.TestTimerStop\r\n    [       OK ] BenchmarkTest/1.TestTimerStop (0 ms)\r\n    [ RUN      ] BenchmarkTest/1.TestTimerMilliSeconds\r\n    [       OK ] BenchmarkTest/1.TestTimerMilliSeconds (303 ms)\r\n    [ RUN      ] BenchmarkTest/1.TestTimerSeconds\r\n    [       OK ] BenchmarkTest/1.TestTimerSeconds (300 ms)\r\n    [----------] 5 tests from BenchmarkTest/1 (603 ms total)\r\n    \r\n    [----------] 2 tests from BlobSimpleTest/0, where TypeParam = float\r\n    [ RUN      ] BlobSimpleTest/0.TestInitialization\r\n    [       OK ] BlobSimpleTest/0.TestInitialization (1 ms)\r\n    [ RUN      ] BlobSimpleTest/0.TestReshape\r\n    [       OK ] BlobSimpleTest/0.TestReshape (0 ms)\r\n    [----------] 2 tests from BlobSimpleTest/0 (1 ms total)\r\n    \r\n    [----------] 2 tests from BlobSimpleTest/1, where TypeParam = double\r\n    [ RUN      ] BlobSimpleTest/1.TestInitialization\r\n    [       OK ] BlobSimpleTest/1.TestInitialization (0 ms)\r\n    [ RUN      ] BlobSimpleTest/1.TestReshape\r\n    [       OK ] BlobSimpleTest/1.TestReshape (0 ms)\r\n    [----------] 2 tests from BlobSimpleTest/1 (0 ms total)\r\n    \r\n    [----------] 3 tests from CommonTest\r\n    [ RUN      ] CommonTest.TestBrewMode\r\n    [       OK ] CommonTest.TestBrewMode (0 ms)\r\n    [ RUN      ] CommonTest.TestPhase\r\n    [       OK ] CommonTest.TestPhase (0 ms)\r\n    [ RUN      ] CommonTest.TestRandSeedCPU\r\n    [       OK ] CommonTest.TestRandSeedCPU (0 ms)\r\n    [----------] 3 tests from CommonTest (0 ms total)\r\n    \r\n    [----------] 4 tests from ConcatLayerTest/0, where TypeParam = caffe::FloatCPU\r\n    [ RUN      ] ConcatLayerTest/0.TestSetupNum\r\n    [       OK ] ConcatLayerTest/0.TestSetupNum (0 ms)\r\n    [ RUN      ] ConcatLayerTest/0.TestSetupChannels\r\n    [       OK ] ConcatLayerTest/0.TestSetupChannels (0 ms)\r\n    [ RUN      ] ConcatLayerTest/0.TestNum\r\n    [       OK ] ConcatLayerTest/0.TestNum (0 ms)\r\n    [ RUN      ] ConcatLayerTest/0.TestGradient\r\n    [       OK ] ConcatLayerTest/0.TestGradient (10 ms)\r\n    [----------] 4 tests from ConcatLayerTest/0 (10 ms total)\r\n    \r\n    [----------] 4 tests from ConcatLayerTest/1, where TypeParam = caffe::DoubleCPU\r\n    [ RUN      ] ConcatLayerTest/1.TestSetupNum\r\n    [       OK ] ConcatLayerTest/1.TestSetupNum (0 ms)\r\n    [ RUN      ] ConcatLayerTest/1.TestSetupChannels\r\n    [       OK ] ConcatLayerTest/1.TestSetupChannels (0 ms)\r\n    [ RUN      ] ConcatLayerTest/1.TestNum\r\n    [       OK ] ConcatLayerTest/1.TestNum (0 ms)\r\n    [ RUN      ] ConcatLayerTest/1.TestGradient\r\n    [       OK ] ConcatLayerTest/1.TestGradient (10 ms)\r\n    [----------] 4 tests from ConcatLayerTest/1 (10 ms total)\r\n    \r\n    [----------] 2 tests from ContrastiveLossLayerTest/0, where TypeParam = caffe::FloatCPU\r\n    [ RUN      ] ContrastiveLossLayerTest/0.TestForward\r\n    [       OK ] ContrastiveLossLayerTest/0.TestForward (1 ms)\r\n    [ RUN      ] ContrastiveLossLayerTest/0.TestGradient\r\n    [       OK ] ContrastiveLossLayerTest/0.TestGradient (137 ms)\r\n    [----------] 2 tests from ContrastiveLossLayerTest/0 (138 ms total)\r\n    \r\n    [----------] 2 tests from ContrastiveLossLayerTest/1, where TypeParam = caffe::DoubleCPU\r\n    [ RUN      ] ContrastiveLossLayerTest/1.TestForward\r\n    [       OK ] ContrastiveLossLayerTest/1.TestForward (0 ms)\r\n    [ RUN      ] ContrastiveLossLayerTest/1.TestGradient\r\n    [       OK ] ContrastiveLossLayerTest/1.TestGradient (135 ms)\r\n    [----------] 2 tests from ContrastiveLossLayerTest/1 (136 ms total)\r\n    \r\n    [----------] 6 tests from ConvolutionLayerTest/0, where TypeParam = caffe::FloatCPU\r\n    [ RUN      ] ConvolutionLayerTest/0.TestSetup\r\n    [       OK ] ConvolutionLayerTest/0.TestSetup (0 ms)\r\n    [ RUN      ] ConvolutionLayerTest/0.TestSimpleConvolution\r\n    [       OK ] ConvolutionLayerTest/0.TestSimpleConvolution (0 ms)\r\n    [ RUN      ] ConvolutionLayerTest/0.TestSimpleConvolutionGroup\r\n    [       OK ] ConvolutionLayerTest/0.TestSimpleConvolutionGroup (0 ms)\r\n    [ RUN      ] ConvolutionLayerTest/0.TestSobelConvolution\r\n    [       OK ] ConvolutionLayerTest/0.TestSobelConvolution (1 ms)\r\n    [ RUN      ] ConvolutionLayerTest/0.TestGradient\r\n    [       OK ] ConvolutionLayerTest/0.TestGradient (271 ms)\r\n    [ RUN      ] ConvolutionLayerTest/0.TestGradientGroup\r\n    [       OK ] ConvolutionLayerTest/0.TestGradientGroup (194 ms)\r\n    [----------] 6 tests from ConvolutionLayerTest/0 (469 ms total)\r\n    \r\n    [----------] 6 tests from ConvolutionLayerTest/1, where TypeParam = caffe::DoubleCPU\r\n    [ RUN      ] ConvolutionLayerTest/1.TestSetup\r\n    [       OK ] ConvolutionLayerTest/1.TestSetup (0 ms)\r\n    [ RUN      ] ConvolutionLayerTest/1.TestSimpleConvolution\r\n    [       OK ] ConvolutionLayerTest/1.TestSimpleConvolution (0 ms)\r\n    [ RUN      ] ConvolutionLayerTest/1.TestSimpleConvolutionGroup\r\n    [       OK ] ConvolutionLayerTest/1.TestSimpleConvolutionGroup (1 ms)\r\n    [ RUN      ] ConvolutionLayerTest/1.TestSobelConvolution\r\n    [       OK ] ConvolutionLayerTest/1.TestSobelConvolution (0 ms)\r\n    [ RUN      ] ConvolutionLayerTest/1.TestGradient\r\n    [       OK ] ConvolutionLayerTest/1.TestGradient (290 ms)\r\n    [ RUN      ] ConvolutionLayerTest/1.TestGradientGroup\r\n    [       OK ] ConvolutionLayerTest/1.TestGradientGroup (192 ms)\r\n    [----------] 6 tests from ConvolutionLayerTest/1 (489 ms total)\r\n    \r\n    [----------] 10 tests from DataLayerTest/0, where TypeParam = caffe::FloatCPU\r\n    [ RUN      ] DataLayerTest/0.TestReadLevelDB\r\n    test_all.testbin(94837,0x7fff7bba4300) malloc: *** error for object 0x7fff79a63f50: pointer being freed was not allocated\r\n    *** set a breakpoint in malloc_error_break to debug\r\n    Process 94837 stopped\r\n    * thread #1: tid = 0x24b097, 0x00007fff932ab19f libsystem_malloc.dylib`malloc_error_break, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1\r\n        frame #0: 0x00007fff932ab19f libsystem_malloc.dylib`malloc_error_break\r\n    libsystem_malloc.dylib`malloc_error_break:\r\n    -> 0x7fff932ab19f:  pushq  %rbp\r\n       0x7fff932ab1a0:  movq   %rsp, %rbp\r\n       0x7fff932ab1a3:  nop    \r\n       0x7fff932ab1a4:  nopl   (%rax)\r\n    (lldb) bt\r\n    * thread #1: tid = 0x24b097, 0x00007fff932ab19f libsystem_malloc.dylib`malloc_error_break, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1\r\n      * frame #0: 0x00007fff932ab19f libsystem_malloc.dylib`malloc_error_break\r\n        frame #1: 0x00007fff9329c8c5 libsystem_malloc.dylib`free + 314\r\n        frame #2: 0x0000000101436818 libstdc++.6.dylib`std::string::reserve(unsigned long) + 120\r\n        frame #3: 0x0000000101436c25 libstdc++.6.dylib`std::string::append(unsigned long, char) (.part.27) + 69\r\n        frame #4: 0x000000010060c78d libprotobuf.9.dylib`google::protobuf::STLStringResizeUninitialized(std::string*, unsigned long) + 29\r\n        frame #5: 0x000000010060e784 libprotobuf.9.dylib`google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*) + 132\r\n        frame #6: 0x00000001001dadaf test_all.testbin`caffe::Datum::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*) + 783\r\n        frame #7: 0x000000010060ad99 libprotobuf.9.dylib`google::protobuf::MessageLite::ParseFromString(std::string const&) + 201\r\n        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\r\n        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\r\n        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\r\n        frame #11: 0x000000010005cf76 test_all.testbin`caffe::DataLayerTest<caffe::FloatCPU>::TestRead() + 566\r\n        frame #12: 0x00000001001cb55c test_all.testbin`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 156\r\n        frame #13: 0x00000001001bb57a test_all.testbin`testing::Test::Run() + 298\r\n        frame #14: 0x00000001001bc4c2 test_all.testbin`testing::TestInfo::Run() + 370\r\n        frame #15: 0x00000001001bcb90 test_all.testbin`testing::TestCase::Run() + 416\r\n        frame #16: 0x00000001001c20a5 test_all.testbin`testing::internal::UnitTestImpl::RunAllTests() + 709\r\n        frame #17: 0x00000001001cbe44 test_all.testbin`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 148\r\n        frame #18: 0x00000001001c1dc9 test_all.testbin`testing::UnitTest::Run() + 41\r\n        frame #19: 0x0000000100001aca test_all.testbin`main + 42\r\n        frame #20: 0x00007fff90ece5c9 libdyld.dylib`start + 1\r\n    (lldb) \r\n"},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/69855704","html_url":"https://github.com/BVLC/caffe/issues/1717#issuecomment-69855704","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/1717","id":69855704,"user":{"login":"HiroakiMachida","id":7752862,"avatar_url":"https://avatars.githubusercontent.com/u/7752862?v=3","gravatar_id":"","url":"https://api.github.com/users/HiroakiMachida","html_url":"https://github.com/HiroakiMachida","followers_url":"https://api.github.com/users/HiroakiMachida/followers","following_url":"https://api.github.com/users/HiroakiMachida/following{/other_user}","gists_url":"https://api.github.com/users/HiroakiMachida/gists{/gist_id}","starred_url":"https://api.github.com/users/HiroakiMachida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiroakiMachida/subscriptions","organizations_url":"https://api.github.com/users/HiroakiMachida/orgs","repos_url":"https://api.github.com/users/HiroakiMachida/repos","events_url":"https://api.github.com/users/HiroakiMachida/events{/privacy}","received_events_url":"https://api.github.com/users/HiroakiMachida/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T01:41:03Z","updated_at":"2015-01-14T01:41:03Z","body":"OMG!! protobuf's depending on stdc++ and c++!\r\n\r\nsoftbank126017016015:caffe machidahiroaki$ otool -L /usr/local/lib/libprotobuf.dylib \r\n/usr/local/lib/libprotobuf.dylib:\r\n\t/usr/local/lib/libprotobuf.9.dylib (compatibility version 10.0.0, current version 10.1.0)\r\n\t/usr/local/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.21.0)\r\n\t/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)\r\n\t/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 104.1.0)\r\n\t/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)"}}