You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i run 'ctest' at the wangle/build path.I get some problem, 12 - CodecTest (Failed) and 16 - SerialExecutorTest (SEGFAULT). im a ubuntu 14.04.01 user.Below this ,i will paste the 'cmake' command, the 'LastTest.log' .Hope your help ! tks!
and i have install folly-2017.05.15 already successfully. i g++ is GNU 5.4.1.
part 1:(about cmake command)
cxh@cxh:/wangle-2017.05.15.00/wangle$ ls
acceptor bootstrap channel client cmake CMakeLists.txt codec concurrent deprecated example service ssl test util VERSION
cxh@cxh:/wangle-2017.05.15.00/wangle$ mkdir -p build
cxh@cxh:/wangle-2017.05.15.00/wangle$ cd build/
cxh@cxh:/wangle-2017.05.15.00/wangle/build$ cmake ../
-- The C compiler identification is GNU 5.4.1
-- The CXX compiler identification is GNU 5.4.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Folly: /usr/local/include
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- system
-- thread
-- filesystem
-- regex
-- context
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g")
-- Found glog: /usr/lib/x86_64-linux-gnu/libglog.so
-- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so
-- Found libevent: /usr/lib/x86_64-linux-gnu/libevent.so
-- Found double_conversion: /usr/lib/x86_64-linux-gnu/libdouble-conversion.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found libdl: /usr/lib/x86_64-linux-gnu/libdl.so
-- Found librt: /usr/lib/x86_64-linux-gnu/librt.so
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Found Git: /usr/bin/git (found version "1.9.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cxh/wangle-2017.05.15.00/wangle/build
[==========] Running 18 tests from 5 test cases.
[----------] Global test environment set-up.
[----------] 1 test from FixedLengthFrameDecoder
[ RUN ] FixedLengthFrameDecoder.FailWhenLengthFieldEndOffset
[ OK ] FixedLengthFrameDecoder.FailWhenLengthFieldEndOffset (5 ms)
[----------] 1 test from FixedLengthFrameDecoder (5 ms total)
[----------] 2 tests from LengthFieldFramePipeline
[ RUN ] LengthFieldFramePipeline.SimpleTest
[ OK ] LengthFieldFramePipeline.SimpleTest (0 ms)
[ RUN ] LengthFieldFramePipeline.LittleEndian
[ OK ] LengthFieldFramePipeline.LittleEndian (1 ms)
[----------] 2 tests from LengthFieldFramePipeline (1 ms total)
[----------] 9 tests from LengthFieldFrameDecoder
[ RUN ] LengthFieldFrameDecoder.Simple
[ OK ] LengthFieldFrameDecoder.Simple (0 ms)
[ RUN ] LengthFieldFrameDecoder.NoStrip
[ OK ] LengthFieldFrameDecoder.NoStrip (0 ms)
[ RUN ] LengthFieldFrameDecoder.Adjustment
[ OK ] LengthFieldFrameDecoder.Adjustment (1 ms)
[ RUN ] LengthFieldFrameDecoder.PreHeader
[ OK ] LengthFieldFrameDecoder.PreHeader (0 ms)
[ RUN ] LengthFieldFrameDecoder.PostHeader
[ OK ] LengthFieldFrameDecoder.PostHeader (0 ms)
[ RUN ] LengthFieldFrameDecoder.StripPrePostHeaderFrameInclHeader
[ OK ] LengthFieldFrameDecoder.StripPrePostHeaderFrameInclHeader (0 ms)
[ RUN ] LengthFieldFrameDecoder.FailTestLengthFieldEndOffset
[ OK ] LengthFieldFrameDecoder.FailTestLengthFieldEndOffset (0 ms)
[ RUN ] LengthFieldFrameDecoder.FailTestLengthFieldFrameSize
[ OK ] LengthFieldFrameDecoder.FailTestLengthFieldFrameSize (0 ms)
[ RUN ] LengthFieldFrameDecoder.FailTestLengthFieldInitialBytes
[ OK ] LengthFieldFrameDecoder.FailTestLengthFieldInitialBytes (0 ms)
[----------] 9 tests from LengthFieldFrameDecoder (2 ms total)
[----------] 1 test from LengthFieldFrameDecoderStrip
[ RUN ] LengthFieldFrameDecoderStrip.PrePostHeader
[ OK ] LengthFieldFrameDecoderStrip.PrePostHeader (0 ms)
[----------] 1 test from LengthFieldFrameDecoderStrip (0 ms total)
[----------] 5 tests from LineBasedFrameDecoder
[ RUN ] LineBasedFrameDecoder.Simple
[ OK ] LineBasedFrameDecoder.Simple (0 ms)
[ RUN ] LineBasedFrameDecoder.SaveDelimiter
[ OK ] LineBasedFrameDecoder.SaveDelimiter (0 ms)
[ RUN ] LineBasedFrameDecoder.Fail
/home/cxh/wangle-2017.05.15.00/wangle/codec/CodecTest.cpp:537: Failure
Expected: nullptr
Which is: 8-byte object <00-00 00-00 00-00 00-00>
To be equal to: buf
Which is: 8-byte object <08-50 82-00 00-00 00-00>
[ FAILED ] LineBasedFrameDecoder.Fail (0 ms)
[ RUN ] LineBasedFrameDecoder.NewLineOnly
[ OK ] LineBasedFrameDecoder.NewLineOnly (0 ms)
[ RUN ] LineBasedFrameDecoder.CarriageNewLineOnly
[ OK ] LineBasedFrameDecoder.CarriageNewLineOnly (0 ms)
[----------] 5 tests from LineBasedFrameDecoder (0 ms total)
[----------] Global test environment tear-down
[==========] 18 tests from 5 test cases ran. (10 ms total)
[ PASSED ] 17 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] LineBasedFrameDecoder.Fail
1 FAILED TEST
Test time = 0.08 sec
Test Failed.
"CodecTest" end time: Jun 12 10:08 CST
"CodecTest" time elapsed: 00:00:00
when i run 'ctest' at the wangle/build path.I get some problem, 12 - CodecTest (Failed) and 16 - SerialExecutorTest (SEGFAULT). im a ubuntu 14.04.01 user.Below this ,i will paste the 'cmake' command, the 'LastTest.log' .Hope your help ! tks!
and i have install folly-2017.05.15 already successfully. i g++ is GNU 5.4.1.
part 1:(about cmake command)
cxh@cxh:
/wangle-2017.05.15.00/wangle$ ls/wangle-2017.05.15.00/wangle$ mkdir -p buildacceptor bootstrap channel client cmake CMakeLists.txt codec concurrent deprecated example service ssl test util VERSION
cxh@cxh:
cxh@cxh:
/wangle-2017.05.15.00/wangle$ cd build//wangle-2017.05.15.00/wangle/build$ cmake ../cxh@cxh:
-- The C compiler identification is GNU 5.4.1
-- The CXX compiler identification is GNU 5.4.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Folly: /usr/local/include
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- system
-- thread
-- filesystem
-- regex
-- context
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g")
-- Found glog: /usr/lib/x86_64-linux-gnu/libglog.so
-- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so
-- Found libevent: /usr/lib/x86_64-linux-gnu/libevent.so
-- Found double_conversion: /usr/lib/x86_64-linux-gnu/libdouble-conversion.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found libdl: /usr/lib/x86_64-linux-gnu/libdl.so
-- Found librt: /usr/lib/x86_64-linux-gnu/librt.so
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Found Git: /usr/bin/git (found version "1.9.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cxh/wangle-2017.05.15.00/wangle/build
-----------------------------------------------------------------------------------------------------------part 2:(about LastTest.log file )
12/22 Testing: CodecTest
12/22 Test: CodecTest
Command: "/home/cxh/wangle-2017.05.15.00/wangle/build/bin/CodecTest"
Directory: /home/cxh/wangle-2017.05.15.00/wangle/build
"CodecTest" start time: Jun 12 10:08 CST
Output:
[==========] Running 18 tests from 5 test cases.
[----------] Global test environment set-up.
[----------] 1 test from FixedLengthFrameDecoder
[ RUN ] FixedLengthFrameDecoder.FailWhenLengthFieldEndOffset
[ OK ] FixedLengthFrameDecoder.FailWhenLengthFieldEndOffset (5 ms)
[----------] 1 test from FixedLengthFrameDecoder (5 ms total)
[----------] 2 tests from LengthFieldFramePipeline
[ RUN ] LengthFieldFramePipeline.SimpleTest
[ OK ] LengthFieldFramePipeline.SimpleTest (0 ms)
[ RUN ] LengthFieldFramePipeline.LittleEndian
[ OK ] LengthFieldFramePipeline.LittleEndian (1 ms)
[----------] 2 tests from LengthFieldFramePipeline (1 ms total)
[----------] 9 tests from LengthFieldFrameDecoder
[ RUN ] LengthFieldFrameDecoder.Simple
[ OK ] LengthFieldFrameDecoder.Simple (0 ms)
[ RUN ] LengthFieldFrameDecoder.NoStrip
[ OK ] LengthFieldFrameDecoder.NoStrip (0 ms)
[ RUN ] LengthFieldFrameDecoder.Adjustment
[ OK ] LengthFieldFrameDecoder.Adjustment (1 ms)
[ RUN ] LengthFieldFrameDecoder.PreHeader
[ OK ] LengthFieldFrameDecoder.PreHeader (0 ms)
[ RUN ] LengthFieldFrameDecoder.PostHeader
[ OK ] LengthFieldFrameDecoder.PostHeader (0 ms)
[ RUN ] LengthFieldFrameDecoder.StripPrePostHeaderFrameInclHeader
[ OK ] LengthFieldFrameDecoder.StripPrePostHeaderFrameInclHeader (0 ms)
[ RUN ] LengthFieldFrameDecoder.FailTestLengthFieldEndOffset
[ OK ] LengthFieldFrameDecoder.FailTestLengthFieldEndOffset (0 ms)
[ RUN ] LengthFieldFrameDecoder.FailTestLengthFieldFrameSize
[ OK ] LengthFieldFrameDecoder.FailTestLengthFieldFrameSize (0 ms)
[ RUN ] LengthFieldFrameDecoder.FailTestLengthFieldInitialBytes
[ OK ] LengthFieldFrameDecoder.FailTestLengthFieldInitialBytes (0 ms)
[----------] 9 tests from LengthFieldFrameDecoder (2 ms total)
[----------] 1 test from LengthFieldFrameDecoderStrip
[ RUN ] LengthFieldFrameDecoderStrip.PrePostHeader
[ OK ] LengthFieldFrameDecoderStrip.PrePostHeader (0 ms)
[----------] 1 test from LengthFieldFrameDecoderStrip (0 ms total)
[----------] 5 tests from LineBasedFrameDecoder
[ RUN ] LineBasedFrameDecoder.Simple
[ OK ] LineBasedFrameDecoder.Simple (0 ms)
[ RUN ] LineBasedFrameDecoder.SaveDelimiter
[ OK ] LineBasedFrameDecoder.SaveDelimiter (0 ms)
[ RUN ] LineBasedFrameDecoder.Fail
/home/cxh/wangle-2017.05.15.00/wangle/codec/CodecTest.cpp:537: Failure
Expected: nullptr
Which is: 8-byte object <00-00 00-00 00-00 00-00>
To be equal to: buf
Which is: 8-byte object <08-50 82-00 00-00 00-00>
[ FAILED ] LineBasedFrameDecoder.Fail (0 ms)
[ RUN ] LineBasedFrameDecoder.NewLineOnly
[ OK ] LineBasedFrameDecoder.NewLineOnly (0 ms)
[ RUN ] LineBasedFrameDecoder.CarriageNewLineOnly
[ OK ] LineBasedFrameDecoder.CarriageNewLineOnly (0 ms)
[----------] 5 tests from LineBasedFrameDecoder (0 ms total)
[----------] Global test environment tear-down
[==========] 18 tests from 5 test cases ran. (10 ms total)
[ PASSED ] 17 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] LineBasedFrameDecoder.Fail
1 FAILED TEST
Test time = 0.08 sec
Test Failed.
"CodecTest" end time: Jun 12 10:08 CST
"CodecTest" time elapsed: 00:00:00
16/22 Testing: SerialExecutorTest
16/22 Test: SerialExecutorTest
Command: "/home/cxh/wangle-2017.05.15.00/wangle/build/bin/SerialExecutorTest"
Directory: /home/cxh/wangle-2017.05.15.00/wangle/build
"SerialExecutorTest" start time: Jun 12 10:08 CST
Output:
[==========] Running 6 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 6 tests from SerialExecutor
[ RUN ] SerialExecutor.Simple
[ OK ] SerialExecutor.Simple (214 ms)
[ RUN ] SerialExecutor.SimpleInline
[ OK ] SerialExecutor.SimpleInline (210 ms)
[ RUN ] SerialExecutor.Afterlife
[ OK ] SerialExecutor.Afterlife (216 ms)
[ RUN ] SerialExecutor.RecursiveAdd
*** Aborted at 1497233314 (unix time) try "date -d @1497233314" if you are using GNU date ***
PC: @ 0x7fe7be54b404 __GI___pthread_mutex_lock
*** SIGSEGV (@0x100ec33d0) received by PID 15788 (TID 0x7fe7bef1e900) from PID 15479760; stack trace: ***
@ 0x7fe7be551330 (unknown)
@ 0x7fe7be54b404 __GI___pthread_mutex_lock
@ 0x4cdf3a __gthread_mutex_lock()
@ 0x4ce7aa std::mutex::lock()
@ 0x4cf1e8 std::lock_guard<>::lock_guard()
@ 0x4d4915 wangle::ThreadPoolExecutor::StoppedThreadQueue::take()
@ 0x4d424b wangle::ThreadPoolExecutor::joinStoppedThreads()
@ 0x4d4317 wangle::ThreadPoolExecutor::stop()
@ 0x4c1acf wangle::CPUThreadPoolExecutor::
CPUThreadPoolExecutor()__shared_count()@ 0x4c0c91 __gnu_cxx::new_allocator<>::destroy<>()
@ 0x4c0c29 std::allocator_traits<>::destroy<>()
@ 0x4c0923 std::_Sp_counted_ptr_inplace<>::_M_dispose()
@ 0x4bc838 std::_Sp_counted_base<>::_M_release()
@ 0x4bb8c5 std::__shared_count<>::
@ 0x4bb430 std::__shared_ptr<>::~__shared_ptr()
@ 0x4bb44c std::shared_ptr<>::~shared_ptr()
@ 0x4b9a2c SerialExecutor_RecursiveAdd_Test::TestBody()
@ 0x50cdc7 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
@ 0x506f1c testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x4ecbc8 testing::Test::Run()
@ 0x4ed456 testing::TestInfo::Run()
@ 0x4edafd testing::TestCase::Run()
@ 0x4f42db testing::internal::UnitTestImpl::RunAllTests()
@ 0x50e0c8 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
@ 0x507b6c testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x4f2f39 testing::UnitTest::Run()
@ 0x4c0d44 RUN_ALL_TESTS()
@ 0x4c0cd3 main
@ 0x7fe7bda38f45 (unknown)
@ 0x4b8869 (unknown)
@ 0x0 (unknown)
Test time = 0.96 sec
Test Failed.
"SerialExecutorTest" end time: Jun 12 10:08 CST
"SerialExecutorTest" time elapsed: 00:00:00
About these, whether i can run 'make install' ahead?how can i do to deal with this question.Can you give me some sugestion.Thanks a lot
The text was updated successfully, but these errors were encountered: