Kevin Klues created MESOS-4603:
----------------------------------

             Summary: GTEST crashes when starting/stopping many times in 
succession
                 Key: MESOS-4603
                 URL: https://issues.apache.org/jira/browse/MESOS-4603
             Project: Mesos
          Issue Type: Bug
          Components: tests
         Environment: clang 3.4, ubuntu 14.04
            Reporter: Kevin Klues


After running:

run-one-until-failure 3rdparty/libprocess/libprocess-tests

At least one iteration of running the tests fails in under a minute with the 
following stack trace.  The stack trace is differnt sometimes, but it always 
seems to error out in ~ProcessManager().

{noformat}
*** Aborted at 1454643530 (unix time) try "date -d @1454643530" if you are 
using GNU date ***
PC: @     0x7f7812f4d1a0 (unknown)
*** SIGSEGV (@0x0) received by PID 168122 (TID 0x7f780298f700) from PID 0; 
stack trace: ***
    @     0x7f7814451340 (unknown)
    @     0x7f7812f4d1a0 (unknown)
    @           0x5f06a0 process::Process<>::self()
    @           0x777220 
_ZN7process8dispatchI7NothingNS_20AsyncExecutorProcessERKZZNS_4http8internal7requestERKNS3_7RequestEbENK3$_1clENS3_10ConnectionEEUlvE_PvSA_SD_EENS_6FutureIT_EEPKNS_7ProcessIT0_EEMSI_FSF_T1_T2_ET3_T4_
    @           0x77714c 
_ZN7process13AsyncExecutor7executeIZZNS_4http8internal7requestERKNS2_7RequestEbENK3$_1clENS2_10ConnectionEEUlvE_EENS_6FutureI7NothingEERKT_PN5boost9enable_ifINSG_7is_voidINSt9result_ofIFSD_vEE4typeEEEvE4typeE
    @           0x77709e 
_ZN7process5asyncIZZNS_4http8internal7requestERKNS1_7RequestEbENK3$_1clENS1_10ConnectionEEUlvE_EENS_6FutureI7NothingEERKT_PN5boost9enable_ifINSF_7is_voidINSt9result_ofIFSC_vEE4typeEEEvE4typeE
    @           0x777046 
_ZZZN7process4http8internal7requestERKNS0_7RequestEbENK3$_1clENS0_10ConnectionEENKUlvE0_clEv
    @           0x777019 
_ZZNK7process6FutureI7NothingE5onAnyIZZNS_4http8internal7requestERKNS4_7RequestEbENK3$_1clENS4_10ConnectionEEUlvE0_vEERKS2_OT_NS2_10LessPreferEENUlSD_E_clESD_
    @           0x776e02 
_ZNSt17_Function_handlerIFvRKN7process6FutureI7NothingEEEZNKS3_5onAnyIZZNS0_4http8internal7requestERKNS8_7RequestEbENK3$_1clENS8_10ConnectionEEUlvE0_vEES5_OT_NS3_10LessPreferEEUlS5_E_E9_M_invokeERKSt9_Any_dataS5_
    @           0x43f888 std::function<>::operator()()
    @           0x4464ec 
_ZN7process8internal3runISt8functionIFvRKNS_6FutureI7NothingEEEEJRS5_EEEvRKSt6vectorIT_SaISC_EEDpOT0_
    @           0x446305 process::Future<>::set()
    @           0x44f90a 
_ZNKSt7_Mem_fnIMN7process6FutureI7NothingEEFbRKS2_EEclIJS5_EvEEbRS3_DpOT_
    @           0x44f7ae 
_ZNSt5_BindIFSt7_Mem_fnIMN7process6FutureI7NothingEEFbRKS3_EES4_St12_PlaceholderILi1EEEE6__callIbJS6_EJLm0ELm1EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE
    @           0x44f72d 
_ZNSt5_BindIFSt7_Mem_fnIMN7process6FutureI7NothingEEFbRKS3_EES4_St12_PlaceholderILi1EEEEclIJS6_EbEET0_DpOT_
    @           0x44f6dd 
_ZZNK7process6FutureI7NothingE7onReadyISt5_BindIFSt7_Mem_fnIMS2_FbRKS1_EES2_St12_PlaceholderILi1EEEEbEERKS2_OT_NS2_6PreferEENUlS7_E_clES7_
    @           0x44f492 
_ZNSt17_Function_handlerIFvRK7NothingEZNK7process6FutureIS0_E7onReadyISt5_BindIFSt7_Mem_fnIMS6_FbS2_EES6_St12_PlaceholderILi1EEEEbEERKS6_OT_NS6_6PreferEEUlS2_E_E9_M_invokeERKSt9_Any_dataS2_
    @           0x446d68 std::function<>::operator()()
    @           0x44644c 
_ZN7process8internal3runISt8functionIFvRK7NothingEEJRS3_EEEvRKSt6vectorIT_SaISA_EEDpOT0_
    @           0x4462e7 process::Future<>::set()
    @           0x50d5c7 process::Promise<>::set()
    @           0x77c53b 
process::http::internal::ConnectionProcess::disconnect()
    @           0x792710 process::http::internal::ConnectionProcess::_read()
    @           0x794356 
_ZZN7process8dispatchINS_4http8internal17ConnectionProcessERKNS_6FutureISsEES5_EEvRKNS_3PIDIT_EEMS9_FvT0_ET1_ENKUlPNS_11ProcessBaseEE_clESI_
    @           0x793fa2 
_ZNSt17_Function_handlerIFvPN7process11ProcessBaseEEZNS0_8dispatchINS0_4http8internal17ConnectionProcessERKNS0_6FutureISsEES9_EEvRKNS0_3PIDIT_EEMSD_FvT0_ET1_EUlS2_E_E9_M_invokeERKSt9_Any_dataS2_
    @           0x810958 std::function<>::operator()()
    @           0x7fb854 process::ProcessBase::visit()
    @           0x8581ce process::DispatchEvent::visit()
    @           0x43d631 process::ProcessBase::serve()
    @           0x7f9604 process::ProcessManager::resume()
    @           0x8017a5 
process::ProcessManager::init_threads()::$_1::operator()()
    @           0x8016e3 
_ZNSt5_BindIFZN7process14ProcessManager12init_threadsEvE3$_1St17reference_wrapperIKSt11atomic_boolEEE6__callIvJEJLm0EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to