rsocket / rsocket-cpp

C++ implementation of RSocket
http://rsocket.io
Apache License 2.0
253 stars 99 forks source link

Coredump when running tests #897

Open dangleptr opened 4 years ago

dangleptr commented 4 years ago
[heng@host02-cluster yarpl]$ ./yarpl-tests
[==========] Running 181 tests from 11 test cases.
[----------] Global test environment set-up.
[----------] 1 test from MocksTest
[ RUN      ] MocksTest.SelfManagedMocks
[       OK ] MocksTest.SelfManagedMocks (0 ms)
[----------] 1 test from MocksTest (0 ms total)

[----------] 76 tests from FlowableTest
[ RUN      ] FlowableTest.SingleFlowable
[       OK ] FlowableTest.SingleFlowable (0 ms)
[ RUN      ] FlowableTest.SingleMovableFlowable
[       OK ] FlowableTest.SingleMovableFlowable (0 ms)
[ RUN      ] FlowableTest.JustFlowable
[       OK ] FlowableTest.JustFlowable (0 ms)
[ RUN      ] FlowableTest.JustIncomplete
[       OK ] FlowableTest.JustIncomplete (0 ms)
[ RUN      ] FlowableTest.MapWithException
[       OK ] FlowableTest.MapWithException (1 ms)
[ RUN      ] FlowableTest.Range
[       OK ] FlowableTest.Range (0 ms)
[ RUN      ] FlowableTest.RangeWithMap
[       OK ] FlowableTest.RangeWithMap (0 ms)
[ RUN      ] FlowableTest.RangeWithReduceMoreItems
[       OK ] FlowableTest.RangeWithReduceMoreItems (0 ms)
[ RUN      ] FlowableTest.RangeWithReduceByMultiplication
[       OK ] FlowableTest.RangeWithReduceByMultiplication (0 ms)
[ RUN      ] FlowableTest.RangeWithReduceLessItems
[       OK ] FlowableTest.RangeWithReduceLessItems (0 ms)
[ RUN      ] FlowableTest.RangeWithReduceOneItem
[       OK ] FlowableTest.RangeWithReduceOneItem (0 ms)
[ RUN      ] FlowableTest.RangeWithReduceNoItem
[       OK ] FlowableTest.RangeWithReduceNoItem (0 ms)
[ RUN      ] FlowableTest.RangeWithFilterAndReduce
[       OK ] FlowableTest.RangeWithFilterAndReduce (0 ms)
[ RUN      ] FlowableTest.RangeWithReduceToBiggerType
[       OK ] FlowableTest.RangeWithReduceToBiggerType (0 ms)
[ RUN      ] FlowableTest.StringReduce
[       OK ] FlowableTest.StringReduce (0 ms)
[ RUN      ] FlowableTest.RangeWithFilterRequestMoreItems
[       OK ] FlowableTest.RangeWithFilterRequestMoreItems (0 ms)
[ RUN      ] FlowableTest.RangeWithFilterRequestLessItems
[       OK ] FlowableTest.RangeWithFilterRequestLessItems (0 ms)
[ RUN      ] FlowableTest.RangeWithFilterAndMap
[       OK ] FlowableTest.RangeWithFilterAndMap (0 ms)
[ RUN      ] FlowableTest.RangeWithMapAndFilter
[       OK ] FlowableTest.RangeWithMapAndFilter (0 ms)
[ RUN      ] FlowableTest.SimpleTake
[       OK ] FlowableTest.SimpleTake (0 ms)
[ RUN      ] FlowableTest.TakeError
[       OK ] FlowableTest.TakeError (0 ms)
[ RUN      ] FlowableTest.SimpleSkip
[       OK ] FlowableTest.SimpleSkip (0 ms)
[ RUN      ] FlowableTest.OverflowSkip
[       OK ] FlowableTest.OverflowSkip (0 ms)
[ RUN      ] FlowableTest.SkipPartial
[       OK ] FlowableTest.SkipPartial (0 ms)
[ RUN      ] FlowableTest.IgnoreElements
[       OK ] FlowableTest.IgnoreElements (0 ms)
[ RUN      ] FlowableTest.IgnoreElementsPartial
[       OK ] FlowableTest.IgnoreElementsPartial (0 ms)
[ RUN      ] FlowableTest.FlowableErrorNoRequestN
[       OK ] FlowableTest.FlowableErrorNoRequestN (0 ms)
[ RUN      ] FlowableTest.FlowableError
[       OK ] FlowableTest.FlowableError (0 ms)
[ RUN      ] FlowableTest.FlowableEmpty
[       OK ] FlowableTest.FlowableEmpty (0 ms)
[ RUN      ] FlowableTest.FlowableEmptyNoRequestN
[       OK ] FlowableTest.FlowableEmptyNoRequestN (0 ms)
[ RUN      ] FlowableTest.FlowableNever
[       OK ] FlowableTest.FlowableNever (100 ms)
[ RUN      ] FlowableTest.FlowableNeverNoRequestN
[       OK ] FlowableTest.FlowableNeverNoRequestN (100 ms)
[ RUN      ] FlowableTest.FlowableFromGenerator
[       OK ] FlowableTest.FlowableFromGenerator (0 ms)
[ RUN      ] FlowableTest.FlowableFromGeneratorException
[       OK ] FlowableTest.FlowableFromGeneratorException (0 ms)
[ RUN      ] FlowableTest.SubscribersComplete
[       OK ] FlowableTest.SubscribersComplete (0 ms)
[ RUN      ] FlowableTest.SubscribersError
[       OK ] FlowableTest.SubscribersError (0 ms)
[ RUN      ] FlowableTest.FlowableCompleteInTheMiddle
[       OK ] FlowableTest.FlowableCompleteInTheMiddle (0 ms)
[ RUN      ] FlowableTest.FlowableFromDifferentThreads
[       OK ] FlowableTest.FlowableFromDifferentThreads (3 ms)
[ RUN      ] FlowableTest.FlowableFromDifferentThreadsWithError
[       OK ] FlowableTest.FlowableFromDifferentThreadsWithError (2 ms)
[ RUN      ] FlowableTest.SubscribeMultipleTimes
[       OK ] FlowableTest.SubscribeMultipleTimes (0 ms)
[ RUN      ] FlowableTest.ConsumerThrows_OnNext
E1028 17:51:43.702850 36364 Subscriber.h:305] 'next' method should not throw: St13runtime_error: throw at consumption
[       OK ] FlowableTest.ConsumerThrows_OnNext (1 ms)
[ RUN      ] FlowableTest.ConsumerThrows_OnNext_Cancel
[       OK ] FlowableTest.ConsumerThrows_OnNext_Cancel (0 ms)
[ RUN      ] FlowableTest.DeferTest
[       OK ] FlowableTest.DeferTest (0 ms)
[ RUN      ] FlowableTest.DeferExceptionTest
[       OK ] FlowableTest.DeferExceptionTest (0 ms)
[ RUN      ] FlowableTest.DoOnSubscribeTest
[       OK ] FlowableTest.DoOnSubscribeTest (0 ms)
[ RUN      ] FlowableTest.DoOnNextTest
[       OK ] FlowableTest.DoOnNextTest (0 ms)
[ RUN      ] FlowableTest.DoOnErrorTest
[       OK ] FlowableTest.DoOnErrorTest (0 ms)
[ RUN      ] FlowableTest.DoOnTerminateTest
[       OK ] FlowableTest.DoOnTerminateTest (0 ms)
[ RUN      ] FlowableTest.DoOnTerminate2Test
[       OK ] FlowableTest.DoOnTerminate2Test (0 ms)
[ RUN      ] FlowableTest.DoOnEachTest
[       OK ] FlowableTest.DoOnEachTest (0 ms)
[ RUN      ] FlowableTest.DoOnTest
[       OK ] FlowableTest.DoOnTest (0 ms)
[ RUN      ] FlowableTest.DoOnCancelTest
[       OK ] FlowableTest.DoOnCancelTest (0 ms)
[ RUN      ] FlowableTest.CancelDuringMapOnNext
*** Aborted at 1572256303 (Unix time, try 'date -d @1572256303') ***
*** Signal 11 (SIGSEGV) (0x70) received by PID 36364 (pthread TID 0x7fdcd50b9700) (linux TID 36369) (code: address not mapped to object), stack trace: ***
    @ 0000000001028781 _ZN5folly10symbolizer12_GLOBAL__N_118innerSignalHandlerEiP9siginfo_tPv
                       /home/heng/workspace/folly/folly/experimental/symbolizer/SignalHandler.cpp:431
    @ 0000000001028826 _ZN5folly10symbolizer12_GLOBAL__N_113signalHandlerEiP9siginfo_tPv
                       /home/heng/workspace/folly/folly/experimental/symbolizer/SignalHandler.cpp:446
    @ 00007fdcd82c05ef (unknown)
    @ 0000000000fd7c5d _ZNK5folly14ThreadLocalPtrINS_20SingletonThreadLocalISt10shared_ptrINS_14RequestContextEENS_6detail10DefaultTagENS5_11DefaultMakeIS4_EEvE7WrapperEvvE3getEv
                       /home/heng/workspace/folly/folly/ThreadLocal.h:159
                       -> /home/heng/workspace/folly/folly/io/async/Request.cpp
    @ 0000000000fd24cf _ZNK5folly11ThreadLocalINS_20SingletonThreadLocalISt10shared_ptrINS_14RequestContextEENS_6detail10DefaultTagENS5_11DefaultMakeIS4_EEvE7WrapperEvvEdeEv
                       /home/heng/workspace/folly/folly/ThreadLocal.h:68
                       -> /home/heng/workspace/folly/folly/io/async/Request.cpp
    @ 0000000000fcfe56 _ZN5folly20SingletonThreadLocalISt10shared_ptrINS_14RequestContextEENS_6detail10DefaultTagENS4_11DefaultMakeIS3_EEvE10getWrapperEv
                       /home/heng/workspace/folly/folly/SingletonThreadLocal.h:148
                       -> /home/heng/workspace/folly/folly/io/async/Request.cpp
    @ 0000000000fcfe6a _ZN5folly20SingletonThreadLocalISt10shared_ptrINS_14RequestContextEENS_6detail10DefaultTagENS4_11DefaultMakeIS3_EEvE13LocalLifetimeD1Ev
                       /home/heng/workspace/folly/folly/SingletonThreadLocal.h:120
                       -> /home/heng/workspace/folly/folly/io/async/Request.cpp
    @ 00007fdcd5e2eeb5 _ZN12_GLOBAL__N_13runEPv
                       /home/heng/workspace/gcc-8.3.0/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/../../.././libstdc++-v3/libsupc++/atexit_thread.cc:75
    @ 00007fdcd82b8c61 __nptl_deallocate_tsd
    @ 00007fdcd82b8e72 start_thread
    @ 00007fdcd55b588c clone
Segmentation fault (core dumped)