{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/folly/issues/525","repository_url":"https://api.github.com/repos/facebook/folly","labels_url":"https://api.github.com/repos/facebook/folly/issues/525/labels{/name}","comments_url":"https://api.github.com/repos/facebook/folly/issues/525/comments","events_url":"https://api.github.com/repos/facebook/folly/issues/525/events","html_url":"https://github.com/facebook/folly/issues/525","id":193264774,"number":525,"title":"Make check fail in Ubuntu 16.04","user":{"login":"MoRunChang2015","id":14769356,"avatar_url":"https://avatars.githubusercontent.com/u/14769356?v=3","gravatar_id":"","url":"https://api.github.com/users/MoRunChang2015","html_url":"https://github.com/MoRunChang2015","followers_url":"https://api.github.com/users/MoRunChang2015/followers","following_url":"https://api.github.com/users/MoRunChang2015/following{/other_user}","gists_url":"https://api.github.com/users/MoRunChang2015/gists{/gist_id}","starred_url":"https://api.github.com/users/MoRunChang2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoRunChang2015/subscriptions","organizations_url":"https://api.github.com/users/MoRunChang2015/orgs","repos_url":"https://api.github.com/users/MoRunChang2015/repos","events_url":"https://api.github.com/users/MoRunChang2015/events{/privacy}","received_events_url":"https://api.github.com/users/MoRunChang2015/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-03T04:23:58Z","updated_at":"2016-12-03T04:23:58Z","closed_at":null,"body":"g++ version\r\n\r\n```\r\ngcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)\r\n```\r\n\r\nTest report:\r\n\r\n```\r\n=====================================\r\n   folly 57.0: test/test-suite.log\r\n=====================================\r\n\r\n# TOTAL: 56\r\n# PASS:  54\r\n# SKIP:  0\r\n# XFAIL: 0\r\n# FAIL:  2\r\n# XPASS: 0\r\n# ERROR: 0\r\n\r\n.. contents:: :depth: 2\r\n\r\nFAIL: thread_local_test\r\n=======================\r\n\r\n[==========] Running 19 tests from 2 test cases.\r\n[----------] Global test environment set-up.\r\n[----------] 9 tests from ThreadLocalPtr\r\n[ RUN      ] ThreadLocalPtr.BasicDestructor\r\n[       OK ] ThreadLocalPtr.BasicDestructor (0 ms)\r\n[ RUN      ] ThreadLocalPtr.CustomDeleter1\r\n[       OK ] ThreadLocalPtr.CustomDeleter1 (0 ms)\r\n[ RUN      ] ThreadLocalPtr.CustomDeleterOwnershipTransfer\r\n[       OK ] ThreadLocalPtr.CustomDeleterOwnershipTransfer (0 ms)\r\n[ RUN      ] ThreadLocalPtr.DefaultDeleterOwnershipTransfer\r\n[       OK ] ThreadLocalPtr.DefaultDeleterOwnershipTransfer (0 ms)\r\n[ RUN      ] ThreadLocalPtr.resetNull\r\n[       OK ] ThreadLocalPtr.resetNull (0 ms)\r\n[ RUN      ] ThreadLocalPtr.TestRelease\r\n[       OK ] ThreadLocalPtr.TestRelease (1 ms)\r\n[ RUN      ] ThreadLocalPtr.CreateOnThreadExit\r\n[       OK ] ThreadLocalPtr.CreateOnThreadExit (0 ms)\r\n[ RUN      ] ThreadLocalPtr.CustomDeleter2\r\n[       OK ] ThreadLocalPtr.CustomDeleter2 (0 ms)\r\n[ RUN      ] ThreadLocalPtr.AccessAllThreadsCounter\r\n[       OK ] ThreadLocalPtr.AccessAllThreadsCounter (3 ms)\r\n[----------] 9 tests from ThreadLocalPtr (4 ms total)\r\n\r\n[----------] 10 tests from ThreadLocal\r\n[ RUN      ] ThreadLocal.BasicDestructor\r\n[       OK ] ThreadLocal.BasicDestructor (0 ms)\r\n[ RUN      ] ThreadLocal.SimpleRepeatDestructor\r\n[       OK ] ThreadLocal.SimpleRepeatDestructor (0 ms)\r\n[ RUN      ] ThreadLocal.InterleavedDestructors\r\n[       OK ] ThreadLocal.InterleavedDestructors (0 ms)\r\n[ RUN      ] ThreadLocal.resetNull\r\n[       OK ] ThreadLocal.resetNull (0 ms)\r\n[ RUN      ] ThreadLocal.Movable1\r\n[       OK ] ThreadLocal.Movable1 (0 ms)\r\n[ RUN      ] ThreadLocal.Movable2\r\n[       OK ] ThreadLocal.Movable2 (0 ms)\r\n[ RUN      ] ThreadLocal.Fork\r\n[       OK ] ThreadLocal.Fork (2 ms)\r\n[ RUN      ] ThreadLocal.Fork2\r\n[       OK ] ThreadLocal.Fork2 (2 ms)\r\n[ RUN      ] ThreadLocal.SharedLibrary\r\nThreadLocalTest.cpp:590: Failure\r\nExpected: (nullptr) != (handle), actual: 8-byte object <00-00 00-00 00-00 00-00> vs NULL\r\nThreadLocalTest.cpp:597: Failure\r\nValue of: dlsym_error\r\n  Actual: 0x7f423d839260\r\nExpected: nullptr\r\nWhich is: NULL\r\n*** Aborted at 1480738424 (Unix time, try 'date -d @1480738424') ***\r\n*** Signal 11 (SIGSEGV) (0x0) received by PID 20909 (pthread TID 0x7f4244ea79c0) (linux TID 20909) (maybe from PID 0, UID 0) (code: address not mapped to object), stack trace: ***\r\n    @ 00007f4242d0289d folly::symbolizer::(anonymous namespace)::signalHandler(int, siginfo_t*, void*)\r\n                       /home/morc/project/folly/folly/experimental/symbolizer/SignalHandler.cpp:413\r\n    @ 00007f4243ce83df (unknown)\r\n    @ 0000000000000000 (not found)\r\n    @ 00007f42436026fc std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const\r\n    @ 00007f423d8391ff (not found)\r\nFAIL thread_local_test (exit status: 139)\r\n\r\nFAIL: futures_test\r\n==================\r\n\r\n[==========] Running 229 tests from 33 test cases.\r\n[----------] Global test environment set-up.\r\n[----------] 19 tests from Collect\r\n[ RUN      ] Collect.collectAll\r\n[       OK ] Collect.collectAll (0 ms)\r\n[ RUN      ] Collect.collect\r\n[       OK ] Collect.collect (0 ms)\r\n[ RUN      ] Collect.collectNotDefaultConstructible\r\n[       OK ] Collect.collectNotDefaultConstructible (0 ms)\r\n[ RUN      ] Collect.collectAny\r\n[       OK ] Collect.collectAny (0 ms)\r\n[ RUN      ] Collect.collectAnyWithoutException\r\n[       OK ] Collect.collectAnyWithoutException (0 ms)\r\n[ RUN      ] Collect.alreadyCompleted\r\n[       OK ] Collect.alreadyCompleted (0 ms)\r\n[ RUN      ] Collect.parallel\r\n[       OK ] Collect.parallel (2 ms)\r\n[ RUN      ] Collect.parallelWithError\r\n[       OK ] Collect.parallelWithError (2 ms)\r\n[ RUN      ] Collect.allParallel\r\n[       OK ] Collect.allParallel (0 ms)\r\n[ RUN      ] Collect.allParallelWithError\r\n[       OK ] Collect.allParallelWithError (1 ms)\r\n[ RUN      ] Collect.collectN\r\n[       OK ] Collect.collectN (0 ms)\r\n[ RUN      ] Collect.smallVector\r\n[       OK ] Collect.smallVector (0 ms)\r\n[ RUN      ] Collect.collectAllVariadic\r\n[       OK ] Collect.collectAllVariadic (0 ms)\r\n[ RUN      ] Collect.collectAllVariadicReferences\r\n[       OK ] Collect.collectAllVariadicReferences (0 ms)\r\n[ RUN      ] Collect.collectAllVariadicWithException\r\n[       OK ] Collect.collectAllVariadicWithException (0 ms)\r\n[ RUN      ] Collect.collectVariadic\r\n[       OK ] Collect.collectVariadic (0 ms)\r\n[ RUN      ] Collect.collectVariadicWithException\r\n[       OK ] Collect.collectVariadicWithException (0 ms)\r\n[ RUN      ] Collect.collectAllNone\r\n[       OK ] Collect.collectAllNone (0 ms)\r\n[ RUN      ] Collect.noDefaultConstructor\r\n[       OK ] Collect.noDefaultConstructor (0 ms)\r\n[----------] 19 tests from Collect (5 ms total)\r\n\r\n[----------] 1 test from Context\r\n[ RUN      ] Context.basic\r\n[       OK ] Context.basic (0 ms)\r\n[----------] 1 test from Context (0 ms total)\r\n\r\n[----------] 3 tests from Convert\r\n[ RUN      ] Convert.subclassConstruct\r\n[       OK ] Convert.subclassConstruct (0 ms)\r\n[ RUN      ] Convert.subclassAssign\r\n[       OK ] Convert.subclassAssign (0 ms)\r\n[ RUN      ] Convert.ConversionTests\r\n[       OK ] Convert.ConversionTests (0 ms)\r\n[----------] 3 tests from Convert (0 ms total)\r\n\r\n[----------] 1 test from Core\r\n[ RUN      ] Core.size\r\n[       OK ] Core.size (0 ms)\r\n[----------] 1 test from Core (0 ms total)\r\n\r\n[----------] 2 tests from Ensure\r\n[ RUN      ] Ensure.basic\r\n[       OK ] Ensure.basic (0 ms)\r\n[ RUN      ] Ensure.mutableLambda\r\n[       OK ] Ensure.mutableLambda (0 ms)\r\n[----------] 2 tests from Ensure (0 ms total)\r\n\r\n[----------] 10 tests from ManualExecutor\r\n[ RUN      ] ManualExecutor.runIsStable\r\n[       OK ] ManualExecutor.runIsStable (0 ms)\r\n[ RUN      ] ManualExecutor.scheduleDur\r\n[       OK ] ManualExecutor.scheduleDur (0 ms)\r\n[ RUN      ] ManualExecutor.clockStartsAt0\r\n[       OK ] ManualExecutor.clockStartsAt0 (0 ms)\r\n[ RUN      ] ManualExecutor.scheduleAbs\r\n[       OK ] ManualExecutor.scheduleAbs (0 ms)\r\n[ RUN      ] ManualExecutor.advanceTo\r\n[       OK ] ManualExecutor.advanceTo (0 ms)\r\n[ RUN      ] ManualExecutor.advanceBack\r\n[       OK ] ManualExecutor.advanceBack (0 ms)\r\n[ RUN      ] ManualExecutor.advanceNeg\r\n[       OK ] ManualExecutor.advanceNeg (0 ms)\r\n[ RUN      ] ManualExecutor.waitForDoesNotDeadlock\r\n[       OK ] ManualExecutor.waitForDoesNotDeadlock (0 ms)\r\n[ RUN      ] ManualExecutor.getViaDoesNotDeadlock\r\n[       OK ] ManualExecutor.getViaDoesNotDeadlock (0 ms)\r\n[ RUN      ] ManualExecutor.clear\r\n[       OK ] ManualExecutor.clear (0 ms)\r\n[----------] 10 tests from ManualExecutor (0 ms total)\r\n\r\n[----------] 7 tests from Executor\r\n[ RUN      ] Executor.InlineExecutor\r\n[       OK ] Executor.InlineExecutor (0 ms)\r\n[ RUN      ] Executor.QueuedImmediateExecutor\r\n[       OK ] Executor.QueuedImmediateExecutor (0 ms)\r\n[ RUN      ] Executor.Runnable\r\n[       OK ] Executor.Runnable (0 ms)\r\n[ RUN      ] Executor.RunnablePtr\r\n[       OK ] Executor.RunnablePtr (0 ms)\r\n[ RUN      ] Executor.ThrowableThen\r\n[       OK ] Executor.ThrowableThen (1 ms)\r\n[ RUN      ] Executor.CrappyExecutor\r\n[       OK ] Executor.CrappyExecutor (0 ms)\r\n[ RUN      ] Executor.DoNothingExecutor\r\n[       OK ] Executor.DoNothingExecutor (0 ms)\r\n[----------] 7 tests from Executor (1 ms total)\r\n\r\n[----------] 8 tests from FSM\r\n[ RUN      ] FSM.example\r\n[       OK ] FSM.example (0 ms)\r\n[ RUN      ] FSM.magicMacrosExample\r\n[       OK ] FSM.magicMacrosExample (0 ms)\r\n[ RUN      ] FSM.ctor\r\n[       OK ] FSM.ctor (0 ms)\r\n[ RUN      ] FSM.update\r\n[       OK ] FSM.update (0 ms)\r\n[ RUN      ] FSM.badUpdate\r\n[       OK ] FSM.badUpdate (0 ms)\r\n[ RUN      ] FSM.actionOnUpdate\r\n[       OK ] FSM.actionOnUpdate (0 ms)\r\n[ RUN      ] FSM.noActionOnBadUpdate\r\n[       OK ] FSM.noActionOnBadUpdate (0 ms)\r\n[ RUN      ] FSM.stateTransitionAfterAction\r\n[       OK ] FSM.stateTransitionAfterAction (0 ms)\r\n[----------] 8 tests from FSM (0 ms total)\r\n\r\n[----------] 3 tests from Filter\r\n[ RUN      ] Filter.alwaysTrye\r\n[       OK ] Filter.alwaysTrye (0 ms)\r\n[ RUN      ] Filter.alwaysFalse\r\n[       OK ] Filter.alwaysFalse (0 ms)\r\n[ RUN      ] Filter.moveOnlyValue\r\n[       OK ] Filter.moveOnlyValue (0 ms)\r\n[----------] 3 tests from Filter (0 ms total)\r\n\r\n[----------] 37 tests from Future\r\n[ RUN      ] Future.futureDefaultCtor\r\n[       OK ] Future.futureDefaultCtor (0 ms)\r\n[ RUN      ] Future.futureToUnit\r\n[       OK ] Future.futureToUnit (0 ms)\r\n[ RUN      ] Future.voidFutureToUnit\r\n[       OK ] Future.voidFutureToUnit (0 ms)\r\n[ RUN      ] Future.unitFutureToUnitIdentity\r\n[       OK ] Future.unitFutureToUnitIdentity (0 ms)\r\n[ RUN      ] Future.toUnitWhileInProgress\r\n[       OK ] Future.toUnitWhileInProgress (0 ms)\r\n[ RUN      ] Future.makeFutureWithUnit\r\n[       OK ] Future.makeFutureWithUnit (0 ms)\r\n[ RUN      ] Future.onError\r\n[       OK ] Future.onError (0 ms)\r\n[ RUN      ] Future.special\r\n[       OK ] Future.special (0 ms)\r\n[ RUN      ] Future.then\r\n[       OK ] Future.then (0 ms)\r\n[ RUN      ] Future.thenTry\r\n[       OK ] Future.thenTry (0 ms)\r\n[ RUN      ] Future.thenValue\r\n[       OK ] Future.thenValue (1 ms)\r\n[ RUN      ] Future.thenValueFuture\r\n[       OK ] Future.thenValueFuture (0 ms)\r\n[ RUN      ] Future.thenFunction\r\n[       OK ] Future.thenFunction (0 ms)\r\n[ RUN      ] Future.thenFunctionFuture\r\n[       OK ] Future.thenFunctionFuture (0 ms)\r\n[ RUN      ] Future.thenStdFunction\r\n[       OK ] Future.thenStdFunction (0 ms)\r\n[ RUN      ] Future.thenBind\r\n[       OK ] Future.thenBind (0 ms)\r\n[ RUN      ] Future.thenBindTry\r\n[       OK ] Future.thenBindTry (0 ms)\r\n[ RUN      ] Future.value\r\n[       OK ] Future.value (0 ms)\r\n[ RUN      ] Future.isReady\r\n[       OK ] Future.isReady (0 ms)\r\n[ RUN      ] Future.futureNotReady\r\n[       OK ] Future.futureNotReady (0 ms)\r\n[ RUN      ] Future.hasException\r\n[       OK ] Future.hasException (0 ms)\r\n[ RUN      ] Future.hasValue\r\n[       OK ] Future.hasValue (0 ms)\r\n[ RUN      ] Future.makeFuture\r\n[       OK ] Future.makeFuture (0 ms)\r\n[ RUN      ] Future.finish\r\n[       OK ] Future.finish (0 ms)\r\n[ RUN      ] Future.finishBigLambda\r\n[       OK ] Future.finishBigLambda (0 ms)\r\n[ RUN      ] Future.unwrap\r\n[       OK ] Future.unwrap (0 ms)\r\n[ RUN      ] Future.throwCaughtInImmediateThen\r\n[       OK ] Future.throwCaughtInImmediateThen (0 ms)\r\n[ RUN      ] Future.throwIfFailed\r\n[       OK ] Future.throwIfFailed (0 ms)\r\n[ RUN      ] Future.getFutureAfterSetValue\r\n[       OK ] Future.getFutureAfterSetValue (0 ms)\r\n[ RUN      ] Future.getFutureAfterSetException\r\n[       OK ] Future.getFutureAfterSetException (0 ms)\r\n[ RUN      ] Future.detachRace\r\n[       OK ] Future.detachRace (0 ms)\r\n[ RUN      ] Future.CircularDependencySharedPtrSelfReset\r\n[       OK ] Future.CircularDependencySharedPtrSelfReset (0 ms)\r\n[ RUN      ] Future.Constructor\r\n[       OK ] Future.Constructor (0 ms)\r\n[ RUN      ] Future.ImplicitConstructor\r\n[       OK ] Future.ImplicitConstructor (0 ms)\r\n[ RUN      ] Future.thenDynamic\r\n[       OK ] Future.thenDynamic (0 ms)\r\n[ RUN      ] Future.RequestContext\r\n*** Aborted at 1480738476 (Unix time, try 'date -d @1480738476') ***\r\n*** Signal 11 (SIGSEGV) (0x20) received by PID 4181 (pthread TID 0x7f097eaa78c0) (linux TID 4181) (maybe from PID 32, UID 0) (code: address not mapped to object), stack trace: ***\r\n    @ 00007f097c5de89d folly::symbolizer::(anonymous namespace)::signalHandler(int, siginfo_t*, void*)\r\n                       /home/morc/project/folly/folly/experimental/symbolizer/SignalHandler.cpp:413\r\n    @ 00007f097dade3df (unknown)\r\n    @ 00000000004451da folly::detail::Core<int>::doCallback()\r\n                       /home/morc/project/folly/folly/test/../../folly/futures/detail/Core.h:380\r\n                       -> /home/morc/project/folly/folly/test/../futures/test/CollectTest.cpp\r\n    @ 000000000044563c folly::detail::Core<int>::maybeCallback()\r\n                       /home/morc/project/folly/folly/test/../../folly/futures/detail/Core.h:357\r\n                       -> /home/morc/project/folly/folly/test/../futures/test/CollectTest.cpp\r\n    @ 0000000000445771 folly::detail::Core<int>::setResult(folly::Try<int>&&)\r\n                       /home/morc/project/folly/folly/test/../../folly/futures/detail/Core.h:204\r\n                       -> /home/morc/project/folly/folly/test/../futures/test/CollectTest.cpp\r\n    @ 00000000004879de void folly::Promise<int>::setValue<int>(int&&) [clone .isra.1217]\r\n                       /home/morc/project/folly/folly/test/../../folly/futures/Promise-inl.h:117\r\n                       -> /home/morc/project/folly/folly/test/../futures/test/FutureTest.cpp\r\n    @ 00000000004950a8 Future_RequestContext_Test::TestBody()\r\n                       /home/morc/project/folly/folly/test/../futures/test/FutureTest.cpp:851\r\n    @ 00000000005c16f2 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)\r\n                       /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest.cc:2078\r\n                       -> /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest-all.cc\r\n    @ 00000000005b9be9 testing::Test::Run()\r\n                       /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest.cc:2151\r\n                       -> /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest-all.cc\r\n    @ 00000000005b9d37 testing::TestInfo::Run()\r\n                       /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest.cc:2326\r\n                       -> /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest-all.cc\r\n    @ 00000000005b9e14 testing::TestCase::Run()\r\n                       /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest.cc:2444\r\n                       -> /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest-all.cc\r\n    @ 00000000005ba0de testing::internal::UnitTestImpl::RunAllTests()\r\n                       /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest.cc:4315\r\n                       -> /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest-all.cc\r\n    @ 00000000005c1bd2 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)\r\n                       /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest.cc:2078\r\n                       -> /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest-all.cc\r\n    @ 00000000005ba3ff testing::UnitTest::Run()\r\n                       /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest.cc:3926\r\n                       -> /home/morc/project/folly/folly/test/gtest-1.7.0/src/gtest-all.cc\r\n    @ 0000000000421ee6 main\r\n                       /home/morc/project/folly/folly/test/gtest-1.7.0/include/gtest/gtest.h:2288\r\n                       -> /home/morc/project/folly/folly/test/common/TestMain.cpp\r\n    @ 00007f097c80c82f __libc_start_main\r\n    @ 0000000000421f48 _start\r\n                       -> /home/morc/project/folly/folly/test/common/TestMain.cpp\r\n    @ ffffffffffffffff (not found)\r\nFAIL futures_test (exit status: 139)\r\n\r\n```\r\n\r\nIs it a bug?\r\n\r\nps: I used `./configure --enable-follytestmain`"}}
{"actor":{"display_login":"MoRunChang2015"}}