Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-421

In log-test-base.h if we "fix" AppendReplicateBatchAndCommitEntryPairsToLog to take 'sync' into account log-test fails with a SIGSEGV

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • M4
    • None
    • log
    • None

    Description

      If this bug gets fixed (by adding the sync parameter to each method that uses it, instead of relying on its default APPEND_SYNC value) log-test fails often with:

      [ RUN ] LogTest.TestWaitUntilAllFlushed

          • Aborted at 1406808799 (unix time) try "date -d @1406808799" if you are using GNU date ***
            PC: @ 0x7f7548c042b8 google::protobuf::UnknownFieldSet::MergeFrom()
          • SIGSEGV (@0x100000000) received by PID 3277 (TID 0x7f7547389700) from PID 0; stack trace: ***
            @ 0x7f75484b6500 (unknown) at ??:0
            @ 0x7f7548c042b8 google::protobuf::UnknownFieldSet::MergeFrom() at ??:0
            @ 0x7f754c128139 kudu::consensus::OpId::MergeFrom() at ??:0
            @ 0x7f754c1281dc kudu::consensus::OpId::CopyFrom() at ??:0
            @ 0x7f754efc7482 kudu::log::Log::DoAppend() at ??:0
            @ 0x7f754efc3f42 kudu::log::Log::AppendThread::RunThread() at ??:0
            @ 0x7f754efd76e7 boost::_mfi::mf0<>::operator()() at ??:0
            @ 0x7f754efd73a2 boost::_bi::list1<>::operator()<>() at ??:0
            @ 0x7f754efd6fc3 boost::_bi::bind_t<>::operator()() at ??:0
            @ 0x7f754efd6987 boost::detail::function::void_function_obj_invoker0<>::invoke() at ??:0
            @ 0x7f754e32b731 boost::function0<>::operator()() at ??:0
            @ 0x7f754de6ee49 kudu::Thread::SuperviseThread() at ??:0
            @ 0x7f754de7af1d boost::_mfi::mf2<>::operator()() at ??:0
            @ 0x7f754de7adf6 boost::_bi::list3<>::operator()<>() at ??:0
            @ 0x7f754de7ad25 boost::_bi::bind_t<>::operator()() at ??:0
            @ 0x7f754de7aad0 boost::detail::thread_data<>::run() at ??:0
            @ 0x7f754d675d47 (unknown) at ??:0
            @ 0x7f75484ae851 start_thread at ??:0
            @ 0x7f75481fc94d clone at ??:0
            @ 0x0 (unknown)

      Attachments

        Activity

          People

            Unassigned Unassigned
            dralves David Alves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: