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

Master crash when trying to enable the use of initial sys catalog snapshot in yb-ctl #1505

Closed
mbautin opened this issue Jun 8, 2019 · 3 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug

Comments

@mbautin
Copy link
Contributor

mbautin commented Jun 8, 2019

  thread #31, stop reason = signal SIGSTOP
    frame #0: 0x0000000106513124 libmaster_proto.dylib`google::protobuf::internal::WireFormatLite::MessageSize(value=0x0000000000000000) at wire_format_lite_inl.h:1020
    frame #1: 0x0000000106523996 libmaster_proto.dylib`yb::master::SysClusterConfigEntryPB::ByteSizeLong(this=0x000000010b731d80) const at master.pb.cc:13248
    frame #2: 0x000000010767532a libyb_util.dylib`google::protobuf::MessageLite::ByteSize(this=<unavailable>) const at message_lite.h:346
    frame #3: 0x00000001076752b4 libyb_util.dylib`yb::pb_util::AppendPartialToString(msg=0x000000010b731d80, output=0x0000700003503838) at pb_util.cc:167
    frame #4: 0x00000001076750d8 libyb_util.dylib`yb::pb_util::AppendToString(msg=0x000000010b731d80, output=0x0000700003503838) at pb_util.cc:162
    frame #5: 0x00000001076754b0 libyb_util.dylib`yb::pb_util::SerializeToString(msg=<unavailable>, output=0x0000700003503838) at pb_util.cc:181
    frame #6: 0x0000000103f7906f libmaster.dylib`yb::Status yb::master::SysCatalogWriter::MutateItem<yb::master::PersistentClusterConfigInfo>(this=0x000000010ae4ad00, item=0x000000010b506c00, op_type=0x00000001071a5170) at sys_catalog-internal.h:86
    frame #7: 0x0000000103f78e82 libmaster.dylib`yb::Status yb::master::SysCatalogTable::MutateItems<yb::master::ClusterConfigInfo>(this=0x000000010b07a000, items=<unavailable>, op_type=0x00000001071a5170, leader_term=<unavailable>) at sys_catalog-internal.h:234
    frame #8: 0x0000000103f78e0b libmaster.dylib`yb::Status yb::master::SysCatalogTable::AddItems<yb::master::ClusterConfigInfo>(this=<unavailable>, items=<unavailable>, leader_term=<unavailable>) at sys_catalog-internal.h:187
    frame #9: 0x0000000103f32d9e libmaster.dylib`yb::Status yb::master::SysCatalogTable::AddItem<yb::master::ClusterConfigInfo>(this=0x000000010b07a000, item=0x000000010b506c00, leader_term=1) at sys_catalog-internal.h:182
    frame #10: 0x0000000103f31ad3 libmaster.dylib`yb::master::CatalogManager::PrepareDefaultClusterConfig(this=<unavailable>, term=1) at catalog_manager.cc:698
    frame #11: 0x0000000103f2f624 libmaster.dylib`yb::master::CatalogManager::VisitSysCatalog(this=0x000000010b074000, term=1) at catalog_manager.cc:578
    frame #12: 0x0000000103f2e4be libmaster.dylib`yb::master::CatalogManager::LoadSysCatalogDataTask(this=0x000000010b074000) at catalog_manager.cc:473
    frame #13: 0x0000000103f778f9 libmaster.dylib`yb::internal::InvokeHelper<false, void, yb::internal::RunnableAdapter<void (yb::master::CatalogManager::*)()>, void (yb::master::CatalogManager*)>::MakeItSo(runnable=(method_ = 90 e2 f2 03 01 00 00 00 00 00 00 00 00 00 00 00), a1=0x000000010b074000)()>, yb::master::CatalogManager*) at bind_internal.h:886
    frame #14: 0x0000000103f778ba libmaster.dylib`yb::internal::Invoker<1, yb::internal::BindState<yb::internal::RunnableAdapter<void (yb::master::CatalogManager::*)()>, void (yb::master::CatalogManager*), void (yb::internal::UnretainedWrapper<yb::master::CatalogManager>)>, void (yb::master::CatalogManager*)>::Run(base=<unavailable>) at bind_internal.h:1078
    frame #15: 0x000000010769c685 libyb_util.dylib`yb::ThreadPool::DispatchThread(this=0x000000010ae9c200, permanent=false) at threadpool.cc:608
    frame #16: 0x00000001076932fe libyb_util.dylib`yb::Thread::SuperviseThread(arg=<unavailable>) at thread.cc:669
    frame #17: 0x00007fff74127305 libsystem_pthread.dylib`_pthread_body + 126
    frame #18: 0x00007fff7412a26f libsystem_pthread.dylib`_pthread_start + 70
    frame #19: 0x00007fff74126415 libsystem_pthread.dylib`thread_start + 13
@mbautin mbautin self-assigned this Jun 8, 2019
@mbautin
Copy link
Contributor Author

mbautin commented Jun 8, 2019

@mbautin
Copy link
Contributor Author

mbautin commented Jun 8, 2019

@mbautin mbautin added kind/bug This issue is a bug area/ysql Yugabyte SQL (YSQL) labels Jun 20, 2019
@mbautin
Copy link
Contributor Author

mbautin commented Jun 20, 2019

I think I had an inconsistent local version of the code locally when this occurred. Will close, reopen if it reappears.

@mbautin mbautin closed this as completed Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug
Projects
None yet
Development

No branches or pull requests

1 participant