Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-137

Tracing segfault in situational tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.0-beta
    • 1.0.0-beta
    • None
    • None
    • 1
    • SDK08: Node, Cld Init, Cnc Tst

    Description

      http://sdk.jenkins.couchbase.com/job/c-cpp/job/cxx/job/centos-cxx-sdk-server-situational-tests/63/console

      13:21:43 Thread 1 (Thread 0x7f155b59d700 (LWP 86976)):
      13:21:43 #0  0x0000000000ddbeb8 in couchbase::operations::mcbp_command<couchbase::bucket, couchbase::operations::upsert_request>::send_to (this=0x7f15280084c0, session=std::shared_ptr<couchbase::io::mcbp_session> (empty) = {...}) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/couchbase/io/mcbp_command.hxx:271
      13:21:43 #1  0x0000000000dd060b in couchbase::bucket::map_and_send<couchbase::operations::upsert_request> (this=0x7f154c00a370, cmd=std::shared_ptr<couchbase::operations::mcbp_command<couchbase::bucket, couchbase::operations::upsert_request>> (use count 4, weak count 1) = {...}) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/couchbase/bucket.hxx:451
      13:21:43 #2  0x0000000000dff478 in couchbase::bucket::schedule_for_retry<couchbase::operations::upsert_request>(std::shared_ptr<couchbase::operations::mcbp_command<couchbase::bucket, couchbase::operations::upsert_request> >, std::chrono::duration<long, std::ratio<1l, 1000l> >)::{lambda(std::error_code)#1}::operator()(std::error_code) (this=0x7f155b59cb30, ec=...) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/couchbase/bucket.hxx:465
      13:21:43 #3  0x0000000000e528a9 in asio::detail::binder1<couchbase::bucket::schedule_for_retry<couchbase::operations::upsert_request>(std::shared_ptr<couchbase::operations::mcbp_command<couchbase::bucket, couchbase::operations::upsert_request> >, std::chrono::duration<long, std::ratio<1l, 1000l> >)::{lambda(std::error_code)#1}, std::error_code>::operator()() (this=0x7f155b59cb30) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/bind_handler.hpp:170
      13:21:43 #4  0x0000000000e4fb27 in asio::asio_handler_invoke<asio::detail::binder1<couchbase::bucket::schedule_for_retry<couchbase::operations::upsert_request>(std::shared_ptr<couchbase::operations::mcbp_command<couchbase::bucket, couchbase::operations::upsert_request> >, std::chrono::duration<long, std::ratio<1l, 1000l> >)::{lambda(std::error_code)#1}, std::error_code> >(asio::detail::binder1<couchbase::bucket::schedule_for_retry<couchbase::operations::upsert_request>(std::shared_ptr<couchbase::operations::mcbp_command<couchbase::bucket, couchbase::operations::upsert_request> >, std::chrono::duration<long, std::ratio<1l, 1000l> >)::{lambda(std::error_code)#1}, std::error_code>&, ...) (function=...) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/third_party/asio/asio/include/asio/handler_invoke_hook.hpp:87
      13:21:43 #5  0x0000000000e4c7c6 in asio_handler_invoke_helpers::invoke<asio::detail::binder1<couchbase::bucket::schedule_for_retry<couchbase::operations::upsert_request>(std::shared_ptr<couchbase::operations::mcbp_command<couchbase::bucket, couchbase::operations::upsert_request> >, std::chrono::duration<long, std::ratio<1l, 1000l> >)::{lambda(std::error_code)#1}, std::error_code>, {lambda(std::error_code)#1}>(asio::detail::binder1<couchbase::bucket::schedule_for_retry<couchbase::operations::upsert_request>(std::shared_ptr<couchbase::operations::mcbp_command<couchbase::bucket, couchbase::operations::upsert_request> >, std::chrono::duration<long, std::ratio<1l, 1000l> >)::{lambda(std::error_code)#1}, std::error_code>&, {lambda(std::error_code)#1}&) (function=..., context=...) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_invoke_helpers.hpp:54
      13:21:43 #6  0x0000000000e476a4 in asio::detail::handler_work<couchbase::bucket::schedule_for_retry<couchbase::operations::upsert_request>(std::shared_ptr<couchbase::operations::mcbp_command<couchbase::bucket, couchbase::operations::upsert_request> >, std::chrono::duration<long, std::ratio<1l, 1000l> >)::{lambda(std::error_code)#1}, asio::any_io_executor, void>::complete<asio::detail::binder1<{lambda(std::error_code)#1}, std::error_code> >(asio::detail::binder1<{lambda(std::error_code)#1}, std::error_code>&, {lambda(std::error_code)#1}&) (this=0x7f155b59cb60, function=..., handler=...) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_work.hpp:511
      13:21:43 #7  0x0000000000e3d625 in asio::detail::wait_handler<couchbase::bucket::schedule_for_retry<couchbase::operations::upsert_request>(std::shared_ptr<couchbase::operations::mcbp_command<couchbase::bucket, couchbase::operations::upsert_request> >, std::chrono::duration<long, std::ratio<1l, 1000l> >)::{lambda(std::error_code)#1}, asio::any_io_executor>::do_complete(void*, asio::detail::scheduler_operation*, std::error_code const&, unsigned long) (owner=0x29b38d0, base=0x7f153c00c5b0) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/wait_handler.hpp:75
      13:21:43 #8  0x0000000000cafa1c in asio::detail::scheduler_operation::complete (this=0x7f153c00c5b0, owner=0x29b38d0, ec=..., bytes_transferred=0) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scheduler_operation.hpp:39
      13:21:43 #9  0x0000000000cb3c5e in asio::detail::scheduler::do_run_one (this=0x29b38d0, lock=..., this_thread=..., ec=...) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/scheduler.ipp:491
      13:21:43 #10 0x0000000000cb35e2 in asio::detail::scheduler::run (this=0x29b38d0, ec=...) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/scheduler.ipp:209
      13:21:43 #11 0x0000000000cb440d in asio::io_context::run (this=0x7ffe11c45e98) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/io_context.ipp:62
      13:21:43 #12 0x0000000000c9866f in CBSdkd::MainDispatch::<lambda()>::operator()(void) const (__closure=0x29dc428) at /home/couchbase/jenkins/workspace/c-cpp/cxx/centos-cxx-sdk-server-situational-tests/sdkd-cxx/src/Control.cpp:16
      13:21:43 #13 0x0000000000c9bc57 in std::__invoke_impl<void, CBSdkd::MainDispatch::MainDispatch()::<lambda()> >(std::__invoke_other, CBSdkd::MainDispatch::<lambda()> &&) (__f=...) at /usr/include/c++/8/bits/invoke.h:60
      13:21:43 #14 0x0000000000c9ad0e in std::__invoke<CBSdkd::MainDispatch::MainDispatch()::<lambda()> >(CBSdkd::MainDispatch::<lambda()> &&) (__fn=...) at /usr/include/c++/8/bits/invoke.h:95
      13:21:43 #15 0x0000000000cacb6e in std::thread::_Invoker<std::tuple<CBSdkd::MainDispatch::MainDispatch()::<lambda()> > >::_M_invoke<0>(std::_Index_tuple<0>) (this=0x29dc428) at /usr/include/c++/8/thread:244
      13:21:43 #16 0x0000000000cacb44 in std::thread::_Invoker<std::tuple<CBSdkd::MainDispatch::MainDispatch()::<lambda()> > >::operator()(void) (this=0x29dc428) at /usr/include/c++/8/thread:253
      13:21:43 #17 0x0000000000cacb28 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<CBSdkd::MainDispatch::MainDispatch()::<lambda()> > > >::_M_run(void) (this=0x29dc420) at /usr/include/c++/8/thread:196
      13:21:43 #18 0x00007f155daf3ba3 in execute_native_thread_routine () from /lib64/libstdc++.so.6
      13:21:43 #19 0x00007f155eb6b14a in start_thread () from /lib64/libpthread.so.0
      13:21:43 #20 0x00007f155d1cedc3 in clone () from /lib64/libc.so.6
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            jake.rawsthorne Jake Rawsthorne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes