Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DocDB] Segmentation Fault in yb-masteryb::tablet::MvccManager::SafeTimeForFollower #21908

Closed
1 task done
shishir2001-yb opened this issue Apr 10, 2024 · 2 comments
Closed
1 task done
Assignees
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/high High Priority qa_stress Bugs identified via Stress automation QA QA filed bugs

Comments

@shishir2001-yb
Copy link

shishir2001-yb commented Apr 10, 2024

Jira Link: DB-10805

Description

Version: 2.23.0.0-b126

Logs: https://drive.google.com/file/d/1Z1R4No9eEIXwXmbp7E2QcChh05da9sMS/view?usp=sharing

Encountered Master coredump while running Cross DB DDL sample with DDL atomicity
Test Description:

1. Create a universe with DDL atomicity and Per DB Catalog mode
2. Run cross DB DDL sample app
(lldb) target create "/home/yugabyte/master/bin/yb-master" --core "/home/yugabyte/cores/core_61708_1712768765_!home!yugabyte!yb-software!yugabyte-2.23.0.0-b126-almalinux8-aarch64!bin!yb-server"
Core file '/home/yugabyte/cores/core_61708_1712768765_!home!yugabyte!yb-software!yugabyte-2.23.0.0-b126-almalinux8-aarch64!bin!yb-server' (aarch64) was loaded.
(lldb) bt all
* thread #1, name = 'yb-master', stop reason = signal SIGSEGV
  * frame #0: 0x0000ffff7f959f60 libpthread.so.0`__pthread_mutex_lock + 16
    frame #1: 0x0000aaaacccfc324 yb-master`yb::tablet::MvccManager::SafeTimeForFollower(yb::HybridTime, std::__1::chrono::time_point<yb::CoarseMonoClock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l>>>) const [inlined] std::__1::unique_lock<std::__1::mutex>::unique_lock[abi:v170002](this=0x0000ffff6f4b64d0, __m=0x0000000000000118) at unique_lock.h:41:11
    frame #2: 0x0000aaaacccfc30c yb-master`yb::tablet::MvccManager::SafeTimeForFollower(this=0x00000000000000f8, min_allowed=(v = 0), deadline=yb::CoarseTimePoint @ x21) const at mvcc.cc:500:32
    frame #3: 0x0000aaaaccdd0ea0 yb-master`yb::tablet::TransactionParticipant::Impl::ProcessRemoveQueueUnlocked(this=0x000024307cd72400, min_running_notifier=0x0000ffff6f4b6978) at transaction_participant.cc:1537:45
    frame #4: 0x0000aaaaccdd6e18 yb-master`yb::tablet::TransactionParticipant::Impl::EnqueueRemoveUnlocked(this=0x000024307cd72400, id=<unavailable>, reason=<unavailable>, min_running_notifier=<unavailable>, expected_deadlock_status=<unavailable>) at transaction_participant.cc:1516:5
    frame #5: 0x0000aaaaccd2440c yb-master`yb::tablet::RunningTransaction::DoStatusReceived(this=0x0000243070e51818, status_tablet="141e037f2feb4e77b524ea6a0f8aac42", status=<unavailable>, response=0x00002430704fbab0, serial_no=1972, shared_self=std::__1::shared_ptr<yb::tablet::RunningTransaction>::element_type @ 0x0000243070e51818) at running_transaction.cc:424:16
    frame #6: 0x0000aaaacbd25a58 yb-master`yb::client::(anonymous namespace)::TransactionRpcBase::Finished(this=0x00002430704fb920, status=<unavailable>) at transaction_rpc.cc:67:7
    frame #7: 0x0000aaaacbd25ed0 yb-master`std::__1::__function::__func<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::allocator<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>>, void ()>::operator()() [inlined] decltype(*std::declval<yb::client::(anonymous namespace)::TransactionRpcBase*&>().*std::declval<void (yb::client::(anonymous namespace)::TransactionRpcBase::*&)(yb::Status const&)>()(std::declval<yb::Status::OK&>())) std::__1::__invoke[abi:v170002]<void (yb::client::(anonymous namespace)::TransactionRpcBase::*&)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*&, yb::Status::OK&, void>(__f=<unavailable>, __a0=<unavailable>, __args=<unavailable>) at invoke.h:308:25
    frame #8: 0x0000aaaacbd25eb4 yb-master`std::__1::__function::__func<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::allocator<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>>, void ()>::operator()() [inlined] std::__1::__bind_return<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), std::__1::tuple<yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::tuple<>, __is_valid_bind_return<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), std::__1::tuple<yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::tuple<>>::value>::type std::__1::__apply_functor[abi:v170002]<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), std::__1::tuple<yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, 0ul, 1ul, std::__1::tuple<>>(__f=<unavailable>, __bound_args=<unavailable>, (null)=<unavailable>, __args=<unavailable>) at bind.h:260:12
    frame #9: 0x0000aaaacbd25eb4 yb-master`std::__1::__function::__func<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::allocator<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>>, void ()>::operator()() [inlined] std::__1::__bind_return<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), std::__1::tuple<yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::tuple<>, __is_valid_bind_return<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), std::__1::tuple<yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::tuple<>>::value>::type std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>::operator()[abi:v170002]<>(this=<unavailable>) at bind.h:292:20
    frame #10: 0x0000aaaacbd25eac yb-master`std::__1::__function::__func<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::allocator<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>>, void ()>::operator()() [inlined] decltype(std::declval<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>&>()()) std::__1::__invoke[abi:v170002]<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>&>(__f=<unavailable>) at invoke.h:340:25
    frame #11: 0x0000aaaacbd25eac yb-master`std::__1::__function::__func<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::allocator<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>>, void ()>::operator()() [inlined] void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:v170002]<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>&>(__args=<unavailable>) at invoke.h:415:5
    frame #12: 0x0000aaaacbd25eac yb-master`std::__1::__function::__func<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::allocator<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>>, void ()>::operator()() [inlined] std::__1::__function::__alloc_func<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::allocator<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>>, void ()>::operator()[abi:v170002](this=<unavailable>) at function.h:192:16
    frame #13: 0x0000aaaacbd25eac yb-master`std::__1::__function::__func<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>, std::__1::allocator<std::__1::__bind<void (yb::client::(anonymous namespace)::TransactionRpcBase::*)(yb::Status const&), yb::client::(anonymous namespace)::TransactionRpcBase*, yb::Status::OK>>, void ()>::operator()(this=<unavailable>) at function.h:363:12
    frame #14: 0x0000aaaaccbc68e0 yb-master`yb::rpc::OutboundCall::InvokeCallbackSync(std::__1::optional<std::__1::chrono::time_point<yb::CoarseMonoClock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l>>>>) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x0000243072fa1890) const at function.h:517:16
    frame #15: 0x0000aaaaccbc68d8 yb-master`yb::rpc::OutboundCall::InvokeCallbackSync(std::__1::optional<std::__1::chrono::time_point<yb::CoarseMonoClock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l>>>>) [inlined] std::__1::function<void ()>::operator()(this=0x0000243072fa1890) const at function.h:1168:12
    frame #16: 0x0000aaaaccbc68d8 yb-master`yb::rpc::OutboundCall::InvokeCallbackSync(this=0x0000243072fa1800, now_optional=<unavailable>) at outbound_call.cc:468:3
    frame #17: 0x0000aaaaccc71be8 yb-master`yb::rpc::(anonymous namespace)::Worker::Execute(this=<unavailable>) at thread_pool.cc:115:15
    frame #18: 0x0000aaaacd475cb8 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x000024307f14e060) const at function.h:517:16
    frame #19: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator()(this=0x000024307f14e060) const at function.h:1168:12
    frame #20: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(arg=0x000024307f14e000) at thread.cc:866:3
    frame #21: 0x0000ffff7f9578b8 libpthread.so.0`start_thread + 392
    frame #22: 0x0000ffff7f9b3afc libc.so.6`thread_start + 12
  thread #2, stop reason = signal 0
    frame #0: 0x0000ffff7f95dc58 libpthread.so.0`pthread_cond_wait@@GLIBC_2.17 + 528
    frame #1: 0x0000aaaacd479164 yb-master`yb::ThreadPool::DispatchThread(bool) [inlined] yb::ConditionVariable::Wait(this=0x000024307fdf3958) const at condition_variable.cc:80:12
    frame #2: 0x0000aaaacd479158 yb-master`yb::ThreadPool::DispatchThread(this=0x000024307fdf3880, permanent=true) at threadpool.cc:561:20
    frame #3: 0x0000aaaacd475cb8 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x000024307fdb49e0) const at function.h:517:16
    frame #4: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator()(this=0x000024307fdb49e0) const at function.h:1168:12
    frame #5: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(arg=0x000024307fdb4980) at thread.cc:866:3
    frame #6: 0x0000ffff7f9578b8 libpthread.so.0`start_thread + 392
    frame #7: 0x0000ffff7f9b3afc libc.so.6`thread_start + 12
  thread #3, stop reason = signal 0
    frame #0: 0x0000ffff7f95dc58 libpthread.so.0`pthread_cond_wait@@GLIBC_2.17 + 528
    frame #1: 0x0000aaaacd479164 yb-master`yb::ThreadPool::DispatchThread(bool) [inlined] yb::ConditionVariable::Wait(this=0x000024307fdf3098) const at condition_variable.cc:80:12
    frame #2: 0x0000aaaacd479158 yb-master`yb::ThreadPool::DispatchThread(this=0x000024307fdf2fc0, permanent=true) at threadpool.cc:561:20
    frame #3: 0x0000aaaacd475cb8 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x000024307fdb5230) const at function.h:517:16
    frame #4: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator()(this=0x000024307fdb5230) const at function.h:1168:12
    frame #5: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(arg=0x000024307fdb51d0) at thread.cc:866:3
    frame #6: 0x0000ffff7f9578b8 libpthread.so.0`start_thread + 392
    frame #7: 0x0000ffff7f9b3afc libc.so.6`thread_start + 12
  thread #4, stop reason = signal 0
    frame #0: 0x0000ffff7fa641e8 libc.so.6`epoll_pwait + 136
    frame #1: 0x0000aaaacbd6a238 yb-master`epoll_poll + 88
    frame #2: 0x0000aaaacbd6c9bc yb-master`ev_run + 1596
    frame #3: 0x0000aaaaccbe0a4c yb-master`yb::rpc::Reactor::RunThread() [inlined] ev::loop_ref::run(this=0x000024307f910538, flags=0) at ev++.h:211:7
    frame #4: 0x0000aaaaccbe0a44 yb-master`yb::rpc::Reactor::RunThread(this=0x000024307f910500) at reactor.cc:733:9
    frame #5: 0x0000aaaacd475cb8 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x000024307fdb5490) const at function.h:517:16
    frame #6: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator()(this=0x000024307fdb5490) const at function.h:1168:12
    frame #7: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(arg=0x000024307fdb5430) at thread.cc:866:3
    frame #8: 0x0000ffff7f9578b8 libpthread.so.0`start_thread + 392
    frame #9: 0x0000ffff7f9b3afc libc.so.6`thread_start + 12
  thread #5, stop reason = signal 0
    frame #0: 0x0000ffff7f95dc58 libpthread.so.0`pthread_cond_wait@@GLIBC_2.17 + 528
    frame #1: 0x0000aaaaccbb5218 yb-master`boost::asio::detail::scheduler::run(boost::system::error_code&) [inlined] void boost::asio::detail::posix_event::wait<boost::asio::detail::conditionally_enabled_mutex::scoped_lock>(this=0x000024307fc354a8, lock=0x0000ffff7c656a68) at posix_event.hpp:119:7
    frame #2: 0x0000aaaaccbb5200 yb-master`boost::asio::detail::scheduler::run(boost::system::error_code&) [inlined] boost::asio::detail::conditionally_enabled_event::wait(this=0x000024307fc354a0, lock=0x0000ffff7c656a68) at conditionally_enabled_event.hpp:97:14
    frame #3: 0x0000aaaaccbb51f8 yb-master`boost::asio::detail::scheduler::run(boost::system::error_code&) [inlined] boost::asio::detail::scheduler::do_run_one(this=0x000024307fc35430, lock=0x0000ffff7c656a68, this_thread=0x0000ffff7c656a90, ec=0x0000ffff7c656ba0) at scheduler.ipp:501:21
    frame #4: 0x0000aaaaccbb5134 yb-master`boost::asio::detail::scheduler::run(this=0x000024307fc35430, ec=0x0000ffff7c656ba0) at scheduler.ipp:210:10
    frame #5: 0x0000aaaaccbb4994 yb-master`yb::rpc::IoThreadPool::Impl::Execute() [inlined] boost::asio::io_context::run(this=<unavailable>, ec=0x0000ffff7c656ba0) at io_context.ipp:71:16
    frame #6: 0x0000aaaaccbb4990 yb-master`yb::rpc::IoThreadPool::Impl::Execute(this=<unavailable>) at io_thread_pool.cc:76:17
    frame #7: 0x0000aaaacd475cb8 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x000024307fdb5820) const at function.h:517:16
    frame #8: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator()(this=0x000024307fdb5820) const at function.h:1168:12
    frame #9: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(arg=0x000024307fdb57c0) at thread.cc:866:3
    frame #10: 0x0000ffff7f9578b8 libpthread.so.0`start_thread + 392
    frame #11: 0x0000ffff7f9b3afc libc.so.6`thread_start + 12
  thread #6, stop reason = signal 0
    frame #0: 0x0000ffff7f95dc58 libpthread.so.0`pthread_cond_wait@@GLIBC_2.17 + 528
    frame #1: 0x0000aaaacd479164 yb-master`yb::ThreadPool::DispatchThread(bool) [inlined] yb::ConditionVariable::Wait(this=0x000024307fdf3798) const at condition_variable.cc:80:12
    frame #2: 0x0000aaaacd479158 yb-master`yb::ThreadPool::DispatchThread(this=0x000024307fdf36c0, permanent=true) at threadpool.cc:561:20
    frame #3: 0x0000aaaacd475cb8 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x000024307fdb4d70) const at function.h:517:16
    frame #4: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator()(this=0x000024307fdb4d70) const at function.h:1168:12
    frame #5: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(arg=0x000024307fdb4d10) at thread.cc:866:3
    frame #6: 0x0000ffff7f9578b8 libpthread.so.0`start_thread + 392
    frame #7: 0x0000ffff7f9b3afc libc.so.6`thread_start + 12
  thread #7, stop reason = signal 0
    frame #0: 0x0000ffff7f95e004 libpthread.so.0`pthread_cond_timedwait@@GLIBC_2.17 + 756
    frame #1: 0x0000aaaacd1d5bc8 yb-master`yb::ConditionVariable::WaitUntil(yb::MonoTime const&) const [inlined] yb::ConditionVariable::TimedWait(this=0x000024307f860c40, max_time=<unavailable>) const at condition_variable.cc:136:12
    frame #2: 0x0000aaaacd1d5b68 yb-master`yb::ConditionVariable::WaitUntil(this=0x000024307f860c40, wait_timeout_deadline=<unavailable>) const at condition_variable.cc:88:10
    frame #3: 0x0000aaaacd1d5f04 yb-master`yb::CountDownLatch::WaitFor(yb::MonoDelta) const [inlined] yb::CountDownLatch::WaitUntil(this=0x000024307f860c10, deadline=MonoTime @ 0x0000ffff73536ae0) const at countdown_latch.cc:70:16
    frame #4: 0x0000aaaacd1d5ed0 yb-master`yb::CountDownLatch::WaitFor(this=0x000024307f860c10, delta=<unavailable>) const at countdown_latch.cc:78:10
    frame #5: 0x0000aaaaccfc7e34 yb-master`yb::tserver::RemoteBootstrapServiceImpl::EndExpiredSessions(this=0x000024307f860420) at remote_bootstrap_service.cc:778:29
    frame #6: 0x0000aaaacd475cb8 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x000024307f93e650) const at function.h:517:16
    frame #7: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator()(this=0x000024307f93e650) const at function.h:1168:12
    frame #8: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(arg=0x000024307f93e5f0) at thread.cc:866:3
    frame #9: 0x0000ffff7f9578b8 libpthread.so.0`start_thread + 392
    frame #10: 0x0000ffff7f9b3afc libc.so.6`thread_start + 12
  thread #8, stop reason = signal 0
    frame #0: 0x0000ffff7f95df70 libpthread.so.0`pthread_cond_timedwait@@GLIBC_2.17 + 608
    frame #1: 0x0000aaaacccee338 yb-master`yb::MaintenanceManager::RunSchedulerThread() [inlined] std::__1::cv_status std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1000l>>(this=0x000024307fd3f120, __lk=0x0000ffff74556b68, __d=<unavailable>) at condition_variable.h:0
    frame #2: 0x0000aaaacccee238 yb-master`yb::MaintenanceManager::RunSchedulerThread(this=0x000024307fd3f0a0) at maintenance_manager.cc:212:11
    frame #3: 0x0000aaaacd475cb8 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x000024307f93e780) const at function.h:517:16
    frame #4: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator()(this=0x000024307f93e780) const at function.h:1168:12
    frame #5: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(arg=0x000024307f93e720) at thread.cc:866:3
    frame #6: 0x0000ffff7f9578b8 libpthread.so.0`start_thread + 392
    frame #7: 0x0000ffff7f9b3afc libc.so.6`thread_start + 12
  thread #9, stop reason = signal 0
    frame #0: 0x0000ffff7f95dc58 libpthread.so.0`pthread_cond_wait@@GLIBC_2.17 + 528
    frame #1: 0x0000aaaacd479164 yb-master`yb::ThreadPool::DispatchThread(bool) [inlined] yb::ConditionVariable::Wait(this=0x000024307fdf35d8) const at condition_variable.cc:80:12
    frame #2: 0x0000aaaacd479158 yb-master`yb::ThreadPool::DispatchThread(this=0x000024307fdf3500, permanent=true) at threadpool.cc:561:20
    frame #3: 0x0000aaaacd475cb8 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x000024307fdb4650) const at function.h:517:16
    frame #4: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator()(this=0x000024307fdb4650) const at function.h:1168:12
    frame #5: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(arg=0x000024307fdb45f0) at thread.cc:866:3
    frame #6: 0x0000ffff7f9578b8 libpthread.so.0`start_thread + 392
    frame #7: 0x0000ffff7f9b3afc libc.so.6`thread_start + 12
  thread #10, stop reason = signal 0
    frame #0: 0x0000ffff7f95dc58 libpthread.so.0`pthread_cond_wait@@GLIBC_2.17 + 528
    frame #1: 0x0000aaaaccdd7794 yb-master`yb::tablet::TransactionParticipant::Impl::LoadFinished(yb::Status) [inlined] yb::ConditionVariable::Wait(this=0x000024307cd72938) const at condition_variable.cc:80:12
    frame #2: 0x0000aaaaccdd7788 yb-master`yb::tablet::TransactionParticipant::Impl::LoadFinished(yb::Status) [inlined] yb::CountDownLatch::Wait(this=0x000024307cd72908) const at countdown_latch.cc:55:11
    frame #3: 0x0000aaaaccdd7764 yb-master`yb::tablet::TransactionParticipant::Impl::LoadFinished(this=0x000024307cd72400, load_status=<unavailable>) at transaction_participant.cc:1419:18
    frame #4: 0x0000aaaaccdcb78c yb-master`yb::ScopeExitLambda<yb::tablet::TransactionLoader::Executor::Execute()::'lambda'()>::~ScopeExitLambda() [inlined] yb::tablet::TransactionLoader::FinishLoad(this=0x000024307cd72800, status=<unavailable>) at transaction_loader.cc:469:12
    frame #5: 0x0000aaaaccdcb764 yb-master`yb::ScopeExitLambda<yb::tablet::TransactionLoader::Executor::Execute()::'lambda'()>::~ScopeExitLambda() [inlined] yb::tablet::TransactionLoader::Executor::Execute(this=<unavailable>)::'lambda'()::operator()() const at transaction_loader.cc:93:15
    frame #6: 0x0000aaaaccdcb750 yb-master`yb::ScopeExitLambda<yb::tablet::TransactionLoader::Executor::Execute()::'lambda'()>::~ScopeExitLambda(this=<unavailable>) at scope_exit.h:35:7
    frame #7: 0x0000aaaaccdc9eb4 yb-master`yb::tablet::TransactionLoader::Executor::Execute(this=0x000024307f3d1000) at transaction_loader.cc:106:3
    frame #8: 0x0000aaaacd475cb8 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator()[abi:v170002](this=0x000024307f14f490) const at function.h:517:16
    frame #9: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator()(this=0x000024307f14f490) const at function.h:1168:12
    frame #10: 0x0000aaaacd475ca4 yb-master`yb::Thread::SuperviseThread(arg=0x000024307f14f430) at thread.cc:866:3
    frame #11: 0x0000ffff7f9578b8 libpthread.so.0`start_thread + 392
    frame #12: 0x0000ffff7f9b3afc libc.so.

G-flags:

master_gflags={
                    "ysql_yb_ddl_rollback_enabled": True,
                    "allowed_preview_flags_csv": "ysql_yb_ddl_rollback_enabled",
                    "ysql_transaction_bg_task_wait_ms": ysql_transaction_bg_task_wait_ms,
                    **disable_guradrail_gflags,
                    **config.additional_master_gflags
                },
tserver_gflags={
                    "ysql_yb_ddl_rollback_enabled": True,
                    "allowed_preview_flags_csv": "ysql_yb_ddl_rollback_enabled",
                    # let CM bg task poll for txn status
                    "report_ysql_ddl_txn_status_to_master": report_ysql_ddl_txn_status_to_master,
                    "ysql_catalog_preload_additional_tables": True,
                    "ysql_enable_read_request_caching": True,
                    **disable_guradrail_gflags,
                    **config.additional_tserver_gflags
                }

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@shishir2001-yb shishir2001-yb added area/docdb YugabyteDB core features QA QA filed bugs status/awaiting-triage Issue awaiting triage qa_stress Bugs identified via Stress automation labels Apr 10, 2024
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Apr 10, 2024
@yugabyte-ci yugabyte-ci added priority/high High Priority and removed status/awaiting-triage Issue awaiting triage priority/medium Medium priority issue labels Apr 10, 2024
@rthallamko3
Copy link
Contributor

Looks like a DUP of #21877

@shishir2001-yb
Copy link
Author

Closing this as a DUP of 21877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/high High Priority qa_stress Bugs identified via Stress automation QA QA filed bugs
Projects
None yet
Development

No branches or pull requests

4 participants