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

Vineyardd will crashed when reset the etcd client #1997

Open
dashanji opened this issue Sep 4, 2024 · 2 comments
Open

Vineyardd will crashed when reset the etcd client #1997

dashanji opened this issue Sep 4, 2024 · 2 comments
Assignees
Labels
bug Something isn't working stale

Comments

@dashanji
Copy link
Member

dashanji commented Sep 4, 2024

Describe your problem

In instanceUpdate, we will reset the etcd client. At the same time, the other thread have started a lock pplx task with the previous etcd client. Then, the vineyardd will crash with the following log.

││   __cxxabiv1::__terminate(void (*)()) + 0x6                                                        ││   std::terminate() + 0x11                                                                          ││   pplx::details::_ExceptionHolder::~_ExceptionHolder() + 0x18                                      ││   std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() + 0x38                        ││   std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() + 0x38                        │
│   vineyard::EtcdMetaService::UpdateEndpoint() + 0xD22                                              │
│   pplx::details::_TaskProcHandle::_RunChoreBridge(void*) + 0x1F                                    │
│   boost::asio::detail::completion_handler<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::li │
│   boost::asio::detail::scheduler::do_run_one(boost::asio::detail::conditionally_enabled_mutex::sco │
│   boost::asio::detail::scheduler::run(boost::system::error_code&) + 0xD5                           │
│   crossplat::threadpool::initialize_with_threads(unsigned long) + 0x132                            │
│   boost_asio_detail_posix_thread_function + 0x17                                                   │
│   pthread_condattr_setpshared + 0x4D4                                                              │
│   __xmknodat + 0x23C
@dashanji dashanji added the bug Something isn't working label Sep 4, 2024
@dashanji dashanji self-assigned this Sep 4, 2024
@github-actions github-actions bot added the stale label Sep 12, 2024
Copy link
Contributor

/cc @dashanji, this issus/pr has had no activity for for a long time, could you folks help to review the status ?
To suppress further notifications,

  • for issues,
    • if it is waiting for further response from the reporter/author, please help to add the label requires-further-info,
    • if you have already started working on it, please add the label work-in-progress to the issue,
    • if this issue requires further designing discussion and not in current plan, or won't be fixed, please add the label requires-further-discussion or wontfix to the issue,
  • for pull requests,
    • if you are still working on it and it is not ready for reviewing, please convert this pull request as draft PR,
    • if you have decided to hold this development on, please add the requires-further-discussion label to the pull request.
      Thanks!

@github-actions github-actions bot removed the stale label Oct 12, 2024
@github-actions github-actions bot added the stale label Nov 12, 2024
Copy link
Contributor

/cc @dashanji, this issus/pr has had no activity for for a long time, could you folks help to review the status ?
To suppress further notifications,

  • for issues,
    • if it is waiting for further response from the reporter/author, please help to add the label requires-further-info,
    • if you have already started working on it, please add the label work-in-progress to the issue,
    • if this issue requires further designing discussion and not in current plan, or won't be fixed, please add the label requires-further-discussion or wontfix to the issue,
  • for pull requests,
    • if you are still working on it and it is not ready for reviewing, please convert this pull request as draft PR,
    • if you have decided to hold this development on, please add the requires-further-discussion label to the pull request.
      Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
Status: Todo
Development

No branches or pull requests

1 participant