yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
8.91k stars 1.06k forks source link

[YSQL] Core dump on restart pg process #20346

Open pilshchikov opened 9 months ago

pilshchikov commented 9 months ago

Jira Link: DB-9336

Description

Env:

Case:

  1. Create 250 tables
  2. Start transactional workload on this 250 tables
  3. Run nemesis that killing pg processes on random nodes with short timeout (10-20 seconds)

After 5 minutes of this nemesis core dump was dropped:

(lldb) target create "/home/yugabyte/yb-software/yugabyte-2.18.5.0-b91-centos-x86_64/postgres/bin/postgres" --core "/home/yugabyte/cores/core_240686_1702503144_!home!yugabyte!yb-software!yugabyte-2.18.5.0-b91-centos-x86_64!postgres!bin!postgres"
Core file '/home/yugabyte/cores/core_240686_1702503144_!home!yugabyte!yb-software!yugabyte-2.18.5.0-b91-centos-x86_64!postgres!bin!postgres' (x86_64) was loaded.
(lldb) bt all
warning: This version of LLDB has no plugin for the language "assembler". Inspection of frame variables will be limited.
warning: This version of LLDB has no plugin for the language "assembler". Inspection of frame variables will be limited.
* thread #1, name = 'postgres', stop reason = signal SIGSEGV
  * frame #0: 0x0000562a62039fb9 postgres`palloc(size=1024) at mcxt.c:1179:19
    frame #1: 0x0000562a61fef032 postgres`expand_fmt_string [inlined] initStringInfo(str=0x00007ffdacc68b70) at stringinfo.c:63:23
    frame #2: 0x0000562a61fef028 postgres`expand_fmt_string(fmt="", edata=0x0000562a621ac7a8) at elog.c:3975:2
    frame #3: 0x0000562a61ff2533 postgres`errhint(fmt="") at elog.c:1340:2
    frame #4: 0x0000562a61e3e635 postgres`quickdie(postgres_signal_arg=<unavailable>) at postgres.c:2734:2
    frame #5: 0x00007f3ea8f08ba0 libpthread.so.0`__restore_rt
    frame #6: 0x00007f3ea9315d93 libyb_pggate.so`yb::pggate::PgDml::~PgDml() [inlined] void std::__1::__libcpp_operator_delete[abi:v15007]<void*>(__args=<unavailable>) at new:256:3
    frame #7: 0x00007f3ea9315d93 libyb_pggate.so`yb::pggate::PgDml::~PgDml() [inlined] void std::__1::__do_deallocate_handle_size[abi:v15007]<>(__ptr=<unavailable>, __size=32) at new:280:10
    frame #8: 0x00007f3ea9315d93 libyb_pggate.so`yb::pggate::PgDml::~PgDml() [inlined] std::__1::__libcpp_deallocate[abi:v15007](__ptr=<unavailable>, __size=32, __align=8) at new:296:14
    frame #9: 0x00007f3ea9315d93 libyb_pggate.so`yb::pggate::PgDml::~PgDml() [inlined] std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<yb::LWPgsqlExpressionPB*, yb::pggate::PgExpr*>, void*>>::deallocate[abi:v15007](this=0x0000562a64bf45d8, __p=<unavailable>, __n=1) at allocator.h:128:13
    frame #10: 0x00007f3ea9315d93 libyb_pggate.so`yb::pggate::PgDml::~PgDml() [inlined] std::__1::allocator_traits<std::__1::allocator<std::__1::__hash_node<std::__1::__hash_value_type<yb::LWPgsqlExpressionPB*, yb::pggate::PgExpr*>, void*>>>::deallocate[abi:v15007](__a=0x0000562a64bf45d8, __p=<unavailable>, __n=1) at allocator_traits.h:282:13
    frame #11: 0x00007f3ea9315d93 libyb_pggate.so`yb::pggate::PgDml::~PgDml() at __hash_table:1533:9
    frame #12: 0x00007f3ea9315d83 libyb_pggate.so`yb::pggate::PgDml::~PgDml() [inlined] std::__1::__hash_table<std::__1::__hash_value_type<yb::LWPgsqlExpressionPB*, yb::pggate::PgExpr*>, std::__1::__unordered_map_hasher<yb::LWPgsqlExpressionPB*, std::__1::__hash_value_type<yb::LWPgsqlExpressionPB*, yb::pggate::PgExpr*>, yb::PointerHash<yb::LWPgsqlExpressionPB>, yb::PointerEqual<yb::LWPgsqlExpressionPB>, true>, std::__1::__unordered_map_equal<yb::LWPgsqlExpressionPB*, std::__1::__hash_value_type<yb::LWPgsqlExpressionPB*, yb::pggate::PgExpr*>, yb::PointerEqual<yb::LWPgsqlExpressionPB>, yb::PointerHash<yb::LWPgsqlExpressionPB>, true>, std::__1::allocator<std::__1::__hash_value_type<yb::LWPgsqlExpressionPB*, yb::pggate::PgExpr*>>>::~__hash_table(this=0x0000562a64bf45c8) at __hash_table:1473:5
    frame #13: 0x00007f3ea9315d7c libyb_pggate.so`yb::pggate::PgDml::~PgDml() [inlined] std::__1::unordered_map<yb::LWPgsqlExpressionPB*, yb::pggate::PgExpr*, yb::PointerHash<yb::LWPgsqlExpressionPB>, yb::PointerEqual<yb::LWPgsqlExpressionPB>, std::__1::allocator<std::__1::pair<yb::LWPgsqlExpressionPB* const, yb::pggate::PgExpr*>>>::~unordered_map[abi:v15007](this=0x0000562a64bf45c8) at unordered_map:1153:5
    frame #14: 0x00007f3ea9315d7c libyb_pggate.so`yb::pggate::PgDml::~PgDml(this=0x0000562a64bf44e0) at pg_dml.cc:62:1
    frame #15: 0x00007f3ea9321ffe libyb_pggate.so`yb::pggate::PgSelect::~PgSelect(this=<unavailable>) at pg_select.cc:35:23
    frame #16: 0x0000562a619b5a75 postgres`systable_endscan [inlined] ybc_free_ybscan(ybscan=0x0000562a64de9068) at yb_scan.c:2214:2
    frame #17: 0x0000562a619b5a6d postgres`systable_endscan [inlined] ybc_systable_endscan(scan_desc=0x0000562a64de94a8) at yb_scan.c:2308:2
    frame #18: 0x0000562a619b5a69 postgres`systable_endscan(sysscan=0x0000562a64de94a8) at genam.c:526:10
    frame #19: 0x0000562a61fbcc0a postgres`SearchCatCacheMiss(cache=0x0000562a64d58b80, nkeys=2, hashValue=488693783, hashIndex=23, v1=<unavailable>, v2=<unavailable>, v3=0, v4=0) at catcache.c:1854:3
    frame #20: 0x0000562a61fbc7e5 postgres`SearchCatCacheInternal(cache=0x0000562a64d58b80, nkeys=2, v1=16384, v2=1, v3=0, v4=0) at catcache.c:1673:9
    frame #21: 0x0000562a61ae843f postgres`get_rte_attribute_type [inlined] SearchCatCache2(cache=<unavailable>, v1=<unavailable>, v2=<unavailable>) at catcache.c:1549:9
    frame #22: 0x0000562a61ae842f postgres`get_rte_attribute_type [inlined] SearchSysCache2(cacheId=7, key1=<unavailable>, key2=<unavailable>) at syscache.c:1594:9
    frame #23: 0x0000562a61ae8428 postgres`get_rte_attribute_type(rte=0x0000562a64de8f58, attnum=1, vartype=0x00007ffdacc69e30, vartypmod=0x00007ffdacc69e34, varcollid=0x00007ffdacc69e38) at parse_relation.c:2727:10
    frame #24: 0x0000562a61ae2815 postgres`scanRTEForColumn [inlined] make_var(pstate=0x0000562a64de8d18, rte=0x0000562a64de8f58, attrno=1, location=7) at parse_node.c:199:2
    frame #25: 0x0000562a61ae27ec postgres`scanRTEForColumn(pstate=0x0000562a64de8d18, rte=0x0000562a64de8f58, colname="id", location=7, fuzzy_rte_penalty=<unavailable>, fuzzystate=<unavailable>) at parse_relation.c:693:10
    frame #26: 0x0000562a61ae348b postgres`colNameToVar(pstate=0x0000562a64de8d18, colname="id", localonly=<unavailable>, location=7) at parse_relation.c:784:16
    frame #27: 0x0000562a61ad39bd postgres`transformExprRecurse at parse_expr.c:569:12
    frame #28: 0x0000562a61ad3948 postgres`transformExprRecurse(pstate=<unavailable>, expr=0x0000562a64de8708) at parse_expr.c:177:13
    frame #29: 0x0000562a61aea9da postgres`transformTargetList [inlined] transformExpr(pstate=0x0000562a64de8d18, expr=0x0000562a64de8708, exprKind=EXPR_KIND_SELECT_TARGET) at parse_expr.c:156:11
    frame #30: 0x0000562a61aea9c4 postgres`transformTargetList [inlined] transformTargetEntry(pstate=0x0000562a64de8d18, node=<unavailable>, expr=0x0000000000000000, exprKind=EXPR_KIND_SELECT_TARGET, colname=<unavailable>, resjunk=false) at parse_target.c:105:11
    frame #31: 0x0000562a61aea9c4 postgres`transformTargetList(pstate=0x0000562a64de8d18, targetlist=<unavailable>, exprKind=EXPR_KIND_SELECT_TARGET) at parse_target.c:193:10
    frame #32: 0x0000562a61a9a1aa postgres`transformSelectStmt(pstate=0x0000562a64de8d18, stmt=0x0000562a64de8a30) at analyze.c:1275:20
    frame #33: 0x0000562a61a972d9 postgres`transformStmt(pstate=0x0000562a64de8d18, parseTree=0x0000562a64de8a30) at analyze.c:319:15
    frame #34: 0x0000562a61a9cbf1 postgres`parse_analyze_varparams [inlined] transformOptionalSelectInto(pstate=0x0000562a64de8d18, parseTree=0x0000562a64de8a30) at analyze.c:264:9
    frame #35: 0x0000562a61a9cb68 postgres`parse_analyze_varparams [inlined] transformTopLevelStmt(pstate=0x0000562a64de8d18, parseTree=0x0000562a64de8c98) at analyze.c:214:11
    frame #36: 0x0000562a61a9cb64 postgres`parse_analyze_varparams(parseTree=0x0000562a64de8c98, sourceText="SELECT id, balance FROM table_test order by id", paramTypes=<unavailable>, numParams=<unavailable>) at analyze.c:157:10
    frame #37: 0x0000562a61e4c63c postgres`exec_parse_message(query_string="SELECT id, balance FROM table_test order by id", stmt_name="", paramTypes=0x0000000000000000, numParams=0, output_dest=DestRemote) at postgres.c:1439:11
    frame #38: 0x0000562a61e431fe postgres`PostgresMain(argc=<unavailable>, argv=<unavailable>, dbname=<unavailable>, username=<unavailable>) at postgres.c:5362:7
    frame #39: 0x0000562a61d8271e postgres`BackendRun(port=0x0000562a64b801e0) at postmaster.c:4706:2
    frame #40: 0x0000562a61d817de postgres`ServerLoop [inlined] BackendStartup(port=0x0000562a64b801e0) at postmaster.c:4370:3
    frame #41: 0x0000562a61d8173c postgres`ServerLoop at postmaster.c:1773:7
    frame #42: 0x0000562a61d7caa5 postgres`PostmasterMain(argc=25, argv=0x0000562a64c58000) at postmaster.c:1429:11
    frame #43: 0x0000562a61c8242f postgres`PostgresServerProcessMain(argc=25, argv=0x0000562a64c58000) at main.c:234:3
    frame #44: 0x0000562a6194b222 postgres`main + 34
    frame #45: 0x00007f3ea8577825 libc.so.6`__libc_start_main(main=(postgres`main), argc=25, argv=0x00007ffdacc6b2e8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007ffdacc6b2d8) at libc-start.c:289
    frame #46: 0x0000562a6194b139 postgres`_start at start.S:108
  thread #2, stop reason = signal 0
    frame #0: 0x00007f3ea863d9f3 libc.so.6`epoll_wait at syscall-template.S:84
    frame #1: 0x00007f3ea44b7187 libev.so.4`epoll_poll + 87
    frame #2: 0x00007f3ea44ba489 libev.so.4`ev_run + 1993
    frame #3: 0x00007f3ea49bb029 libyrpc.so`yb::rpc::Reactor::RunThread() [inlined] ev::loop_ref::run(this=0x0000562a64c542b8, flags=0) at ev++.h:211:7
    frame #4: 0x00007f3ea49bb01e libyrpc.so`yb::rpc::Reactor::RunThread(this=0x0000562a64c54280) at reactor.cc:725:9
    frame #5: 0x00007f3ea4821769 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator(this=0x0000562a64c322a0)[abi:v15007]() const at function.h:512:16
    frame #6: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator(this= Function = yb::rpc::Reactor::RunThread() )() const at function.h:1197:12
    frame #7: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(arg=0x0000562a64c32240) at thread.cc:853:3
    frame #8: 0x00007f3ea8f00694 libpthread.so.0`start_thread(arg=0x00007f3e9789a700) at pthread_create.c:333
    frame #9: 0x00007f3ea863d41d libc.so.6`__clone at clone.S:109
  thread #3, stop reason = signal 0
    frame #0: 0x00007f3ea863d9f3 libc.so.6`epoll_wait at syscall-template.S:84
    frame #1: 0x00007f3ea44b7187 libev.so.4`epoll_poll + 87
    frame #2: 0x00007f3ea44ba489 libev.so.4`ev_run + 1993
    frame #3: 0x00007f3ea4821769 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator(this=0x0000562a64c32ba0)[abi:v15007]() const at function.h:512:16
    frame #4: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator(this= Function = yb::pggate::PgApiImpl::Interrupter::RunThread() )() const at function.h:1197:12
    frame #5: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(arg=0x0000562a64c32b40) at thread.cc:853:3
    frame #6: 0x00007f3ea8f00694 libpthread.so.0`start_thread(arg=0x00007f3e96884700) at pthread_create.c:333
    frame #7: 0x00007f3ea863d41d libc.so.6`__clone at clone.S:109
  thread #4, stop reason = signal 0
    frame #0: 0x00007f3ea8f0500f libpthread.so.0`pthread_cond_wait@@GLIBC_2.3.2 at pthread_cond_wait.S:185
    frame #1: 0x00007f3ea49954dc libyrpc.so`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=<unavailable>, lock=<unavailable>) at posix_event.hpp:119:7
    frame #2: 0x00007f3ea49954bc libyrpc.so`boost::asio::detail::scheduler::run(boost::system::error_code&) [inlined] boost::asio::detail::conditionally_enabled_event::wait(this=0x0000562a64cee368, lock=0x00007f3e990951f8) at conditionally_enabled_event.hpp:97:14
    frame #3: 0x00007f3ea49954b2 libyrpc.so`boost::asio::detail::scheduler::run(boost::system::error_code&) [inlined] boost::asio::detail::scheduler::do_run_one(this=0x0000562a64cee300, lock=0x00007f3e990951f8, this_thread=0x00007f3e99095130, ec=0x00007f3e99095250) at scheduler.ipp:501:21
    frame #4: 0x00007f3ea4995397 libyrpc.so`boost::asio::detail::scheduler::run(this=0x0000562a64cee300, ec=0x00007f3e99095250) at scheduler.ipp:210:10
    frame #5: 0x00007f3ea4994be5 libyrpc.so`yb::rpc::IoThreadPool::Impl::Execute() [inlined] boost::asio::io_context::run(this=<unavailable>, ec=0x00007f3e99095250) at io_context.ipp:71:16
    frame #6: 0x00007f3ea4994bd8 libyrpc.so`yb::rpc::IoThreadPool::Impl::Execute(this=<unavailable>) at io_thread_pool.cc:76:17
    frame #7: 0x00007f3ea4821769 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator(this=0x0000562a64c32060)[abi:v15007]() const at function.h:512:16
    frame #8: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator(this=0x0000562a64c32060)() const at function.h:1197:12
    frame #9: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(arg=0x0000562a64c32000) at thread.cc:853:3
    frame #10: 0x00007f3ea8f00694 libpthread.so.0`start_thread(arg=0x00007f3e9909d700) at pthread_create.c:333
    frame #11: 0x00007f3ea863d41d libc.so.6`__clone at clone.S:109
  thread #5, stop reason = signal 0
    frame #0: 0x00007f3ea863d9f3 libc.so.6`epoll_wait at syscall-template.S:84
    frame #1: 0x00007f3ea44b7187 libev.so.4`epoll_poll + 87
    frame #2: 0x00007f3ea44ba489 libev.so.4`ev_run + 1993
    frame #3: 0x00007f3ea49bb029 libyrpc.so`yb::rpc::Reactor::RunThread() [inlined] ev::loop_ref::run(this=0x0000562a64c54538, flags=0) at ev++.h:211:7
    frame #4: 0x00007f3ea49bb01e libyrpc.so`yb::rpc::Reactor::RunThread(this=0x0000562a64c54500) at reactor.cc:725:9
    frame #5: 0x00007f3ea4821769 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator(this=0x0000562a64c32180)[abi:v15007]() const at function.h:512:16
    frame #6: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator(this= Function = yb::rpc::Reactor::RunThread() )() const at function.h:1197:12
    frame #7: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(arg=0x0000562a64c32120) at thread.cc:853:3
    frame #8: 0x00007f3ea8f00694 libpthread.so.0`start_thread(arg=0x00007f3e97099700) at pthread_create.c:333
    frame #9: 0x00007f3ea863d41d libc.so.6`__clone at clone.S:109
  thread #6, stop reason = signal 0
    frame #0: 0x00007f3ea8f0500f libpthread.so.0`pthread_cond_wait@@GLIBC_2.3.2 at pthread_cond_wait.S:185
    frame #1: 0x00007f3ea91e6232 libc++.so.1`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
    frame #2: 0x00007f3ea49fa945 libyrpc.so`yb::rpc::(anonymous namespace)::Worker::Execute() [inlined] yb::rpc::(anonymous namespace)::Worker::PopTask(this=0x0000562a64b7efc0, task=0x00007f3e9607b218) at thread_pool.cc:133:13
    frame #3: 0x00007f3ea49fa478 libyrpc.so`yb::rpc::(anonymous namespace)::Worker::Execute(this=0x0000562a64b7efc0) at thread_pool.cc:103:11
    frame #4: 0x00007f3ea4821769 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator(this=0x0000562a64c33140)[abi:v15007]() const at function.h:512:16
    frame #5: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator(this= Function = yb::rpc::(anonymous namespace)::Worker::Execute() )() const at function.h:1197:12
    frame #6: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(arg=0x0000562a64c330e0) at thread.cc:853:3
    frame #7: 0x00007f3ea8f00694 libpthread.so.0`start_thread(arg=0x00007f3e96083700) at pthread_create.c:333
    frame #8: 0x00007f3ea863d41d libc.so.6`__clone at clone.S:109
  thread #7, stop reason = signal 0
    frame #0: 0x00007f3ea8f0500f libpthread.so.0`pthread_cond_wait@@GLIBC_2.3.2 at pthread_cond_wait.S:185
    frame #1: 0x00007f3ea49954dc libyrpc.so`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=<unavailable>, lock=<unavailable>) at posix_event.hpp:119:7
    frame #2: 0x00007f3ea49954bc libyrpc.so`boost::asio::detail::scheduler::run(boost::system::error_code&) [inlined] boost::asio::detail::conditionally_enabled_event::wait(this=0x0000562a64cee368, lock=0x00007f3e980931f8) at conditionally_enabled_event.hpp:97:14
    frame #3: 0x00007f3ea49954b2 libyrpc.so`boost::asio::detail::scheduler::run(boost::system::error_code&) [inlined] boost::asio::detail::scheduler::do_run_one(this=0x0000562a64cee300, lock=0x00007f3e980931f8, this_thread=0x00007f3e98093130, ec=0x00007f3e98093250) at scheduler.ipp:501:21
    frame #4: 0x00007f3ea4995397 libyrpc.so`boost::asio::detail::scheduler::run(this=0x0000562a64cee300, ec=0x00007f3e98093250) at scheduler.ipp:210:10
    frame #5: 0x00007f3ea4994be5 libyrpc.so`yb::rpc::IoThreadPool::Impl::Execute() [inlined] boost::asio::io_context::run(this=<unavailable>, ec=0x00007f3e98093250) at io_context.ipp:71:16
    frame #6: 0x00007f3ea4994bd8 libyrpc.so`yb::rpc::IoThreadPool::Impl::Execute(this=<unavailable>) at io_thread_pool.cc:76:17
    frame #7: 0x00007f3ea4821769 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator(this=0x0000562a64c32720)[abi:v15007]() const at function.h:512:16
    frame #8: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator(this=0x0000562a64c32720)() const at function.h:1197:12
    frame #9: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(arg=0x0000562a64c326c0) at thread.cc:853:3
    frame #10: 0x00007f3ea8f00694 libpthread.so.0`start_thread(arg=0x00007f3e9809b700) at pthread_create.c:333
    frame #11: 0x00007f3ea863d41d libc.so.6`__clone at clone.S:109
  thread #8, stop reason = signal 0
    frame #0: 0x00007f3ea8f0500f libpthread.so.0`pthread_cond_wait@@GLIBC_2.3.2 at pthread_cond_wait.S:185
    frame #1: 0x00007f3ea49954dc libyrpc.so`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=<unavailable>, lock=<unavailable>) at posix_event.hpp:119:7
    frame #2: 0x00007f3ea49954bc libyrpc.so`boost::asio::detail::scheduler::run(boost::system::error_code&) [inlined] boost::asio::detail::conditionally_enabled_event::wait(this=0x0000562a64cee368, lock=0x00007f3e988941f8) at conditionally_enabled_event.hpp:97:14
    frame #3: 0x00007f3ea49954b2 libyrpc.so`boost::asio::detail::scheduler::run(boost::system::error_code&) [inlined] boost::asio::detail::scheduler::do_run_one(this=0x0000562a64cee300, lock=0x00007f3e988941f8, this_thread=0x00007f3e98894130, ec=0x00007f3e98894250) at scheduler.ipp:501:21
    frame #4: 0x00007f3ea4995397 libyrpc.so`boost::asio::detail::scheduler::run(this=0x0000562a64cee300, ec=0x00007f3e98894250) at scheduler.ipp:210:10
    frame #5: 0x00007f3ea4994be5 libyrpc.so`yb::rpc::IoThreadPool::Impl::Execute() [inlined] boost::asio::io_context::run(this=<unavailable>, ec=0x00007f3e98894250) at io_context.ipp:71:16
    frame #6: 0x00007f3ea4994bd8 libyrpc.so`yb::rpc::IoThreadPool::Impl::Execute(this=<unavailable>) at io_thread_pool.cc:76:17
    frame #7: 0x00007f3ea4821769 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator(this=0x0000562a64c32600)[abi:v15007]() const at function.h:512:16
    frame #8: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator(this=0x0000562a64c32600)() const at function.h:1197:12
    frame #9: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(arg=0x0000562a64c325a0) at thread.cc:853:3
    frame #10: 0x00007f3ea8f00694 libpthread.so.0`start_thread(arg=0x00007f3e9889c700) at pthread_create.c:333
    frame #11: 0x00007f3ea863d41d libc.so.6`__clone at clone.S:109
  thread #9, stop reason = signal 0
    frame #0: 0x0000562a61e3e4c2 postgres`quickdie [inlined] YbgStatusGetEdata(status=0x0000000000000000) at ybgate_status.c:316:17
    frame #1: 0x0000562a61e3e4c2 postgres`quickdie at elog.c:839:32
    frame #2: 0x0000562a61e3e4ad postgres`quickdie(postgres_signal_arg=<unavailable>) at postgres.c:2734:2
    frame #3: 0x00007f3ea8f08ba0 libpthread.so.0`__restore_rt
    frame #4: 0x00007f3ea863d9f3 libc.so.6`epoll_wait at syscall-template.S:84
    frame #5: 0x00007f3ea499804e libyrpc.so`boost::asio::detail::epoll_reactor::run(this=0x0000562a64bac700, usec=<unavailable>, ops=0x00007f3e99896190) at epoll_reactor.ipp:501:20
    frame #6: 0x00007f3ea499554d libyrpc.so`boost::asio::detail::scheduler::run(boost::system::error_code&) at scheduler.ipp:476:16
    frame #7: 0x00007f3ea4995397 libyrpc.so`boost::asio::detail::scheduler::run(this=0x0000562a64cee300, ec=0x00007f3e99896250) at scheduler.ipp:210:10
    frame #8: 0x00007f3ea4994be5 libyrpc.so`yb::rpc::IoThreadPool::Impl::Execute() [inlined] boost::asio::io_context::run(this=<unavailable>, ec=0x00007f3e99896250) at io_context.ipp:71:16
    frame #9: 0x00007f3ea4994bd8 libyrpc.so`yb::rpc::IoThreadPool::Impl::Execute(this=<unavailable>) at io_thread_pool.cc:76:17
    frame #10: 0x00007f3ea4821769 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::__function::__value_func<void ()>::operator(this=0x0000562a64c323c0)[abi:v15007]() const at function.h:512:16
    frame #11: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(void*) [inlined] std::__1::function<void ()>::operator(this=0x0000562a64c323c0)() const at function.h:1197:12
    frame #12: 0x00007f3ea4821753 libyb_util.so`yb::Thread::SuperviseThread(arg=0x0000562a64c32360) at thread.cc:853:3
    frame #13: 0x00007f3ea8f00694 libpthread.so.0`start_thread(arg=0x00007f3e9989e700) at pthread_create.c:333
    frame #14: 0x00007f3ea863d41d libc.so.6`__clone at clone.S:109

All logs in first just comment and in attachments

Issue Type

kind/bug

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

qvad commented 9 months ago

Duplicate #20249