Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-5626

Disk join step race with parallel join (more than one thread)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 23.02.4
    • 23.10.2
    • PrimProc
    • None

    Description

       
       
      Thread 318 "DJSJoiner" received signal SIGSEGV, Segmentation fault.
      [Switching to Thread 0x7faaa6433640 (LWP 176051)]
      0x0000560800e994c5 in __gnu_cxx::__exchange_and_add (__val=-1, __mem=0xd) at /usr/include/c++/11/ext/atomicity.h:66
      66	  { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
      (gdb) bt
      #0  0x0000560800e994c5 in __gnu_cxx::__exchange_and_add (__val=-1, __mem=0xd)
          at /usr/include/c++/11/ext/atomicity.h:66
      #1  __gnu_cxx::__exchange_and_add_dispatch (__val=-1, __mem=0xd)
          at /usr/include/c++/11/ext/atomicity.h:101
      #2  std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x5)
          at /usr/include/c++/11/bits/shared_ptr_base.h:165
      #3  0x0000560800e934dc in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::operator= (
          this=0x7fabe200d180, __r=...) at /usr/include/c++/11/bits/shared_ptr_base.h:724
      #4  0x00007fb10ce9cd21 in std::__shared_ptr<rowgroup::UserDataStore, (__gnu_cxx::_Lock_policy)2>::operator= (this=0x7fabe200d178) at /usr/include/c++/11/bits/shared_ptr_base.h:1153
      #5  0x00007fb10ce9cd4f in std::shared_ptr<rowgroup::UserDataStore>::operator= (this=0x7fabe200d178)
          at /usr/include/c++/11/bits/shared_ptr.h:359
      #6  0x00007fb10ce9cdd7 in rowgroup::RGData::operator= (this=0x7fabe200d148)
          at /root/server/storage/columnstore/columnstore/utils/rowgroup/rowgroup.h:264
      #7  0x00007fb10cf491f7 in joblist::FIFO<rowgroup::RGData>::insert (this=0x7fb0eb1ac900, e=...)
          at /root/server/storage/columnstore/columnstore/dbcon/joblist/fifo.h:284
      #8  0x00007fb10ce9608e in joblist::DiskJoinStep::joinFcn (this=0x7fa6ce591000, threadID=15)
          at /root/server/storage/columnstore/columnstore/dbcon/joblist/diskjoinstep.cpp:518
      #9  0x00007fb10ce9ab3b in joblist::DiskJoinStep::Joiner::operator() (this=0x7fabe20896a0)
          at /root/server/storage/columnstore/columnstore/dbcon/joblist/diskjoinstep.h:182
      #10 0x00007fb10cea58d5 in boost::detail::function::void_function_obj_invoker0<joblist::DiskJoinStep::Joiner, void>::invoke (function_obj_ptr=...)
          at /root/server/storage/columnstore/columnstore/.boost/boost-lib/include/boost/function/function_template.hpp:158
      #11 0x00007fb10ad0af4d in boost::function0<void>::operator() (this=0x7fabe2089698)
          at /root/server/storage/columnstore/columnstore/.boost/boost-lib/include/boost/function/function_template.hpp:763
      #12 0x00007fb10ad08802 in threadpool::ThreadPool::beginThread (
          this=0x5608011afce0 <joblist::JobStep::jobstepThreadPool>)
          at /root/server/storage/columnstore/columnstore/utils/threadpool/threadpool.cpp:382
      #13 0x00007fb10ad0a5ab in threadpool::ThreadPool::beginThreadFunc::operator() (this=0x7fabb8586638)
          at /root/server/storage/columnstore/columnstore/utils/threadpool/threadpool.h:326
      #14 0x00007fb10ad0e498 in boost::detail::thread_data<threadpool::ThreadPool::beginThreadFunc>::run (
          this=0x7fabb8586500)
          at /root/server/storage/columnstore/columnstore/.boost/boost-lib/include/boost/thread/detail/thread.hpp:120
      #15 0x0000560800f4bdab in thread_proxy ()
      #16 0x00007fb10a494ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
      #17 0x00007fb10a526660 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
      

      Attachments

        Issue Links

          Activity

            People

              denis0x0D Denis Khalikov
              denis0x0D Denis Khalikov
              Roman Roman
              Allen  Herrera Allen Herrera
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.