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

coredump when run calc_server #71

Open
michaelqxd opened this issue Nov 6, 2019 · 1 comment
Open

coredump when run calc_server #71

michaelqxd opened this issue Nov 6, 2019 · 1 comment

Comments

@michaelqxd
Copy link

#0 0x0000000000418961 in SimpleLoggerMgr::logStackBacktrace(unsigned long) at /home/xmly/NuRaft/examples/logger.cc:390
#1 0x0000000000418f74 in SimpleLoggerMgr::handleSegAbort(int) at /home/xmly/NuRaft/examples/logger.cc:451
#2 0x00000000000366d0 in __restore_rt() at sigaction.c:?
#3 0x00007f381686164b in gsignal() at ??:0
#4 0x00007f3816863450 in abort() at ??:0
#5 0x00007f38173da055 in _ZN9__gnu_cxx27__verbose_terminate_handlerEv() at ??:0
#6 0x000000000008fc46 in __cxxabiv1::__terminate(void ()()) at /usr/src/debug/gcc-7.1.1-20170622/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/libsupc++/../../../../libstdc++-v3/libsupc++/eh_terminate.cc:51
#7 0x000000000008fc91 in std::terminate() at ??:?
#8 0x000000000008fed4 in __cxa_throw() at ??:?
#9 0x000000000043b1ae in void asio::detail::throw_exceptionstd::system_error(std::system_error const&) at ??:?
#10 0x000000000043b482 in asio::detail::do_throw_error(std::error_code const&, char const
) at /home/xmly/NuRaft/asio/asio/include/asio/detail/impl/throw_error.ipp:49
#11 0x00000000004341c3 in asio::detail::throw_error(std::error_code const&, char const*) at /home/xmly/NuRaft/asio/asio/include/asio/detail/throw_error.hpp:41
#12 0x0000000000423aba in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::_M_swap(std::__shared_count<(__gnu_cxx::_Lock_policy)2>&) at /usr/include/c++/7/bits/shared_ptr_base.h:710
#13 0x000000000040adc7 in calc_server::init_raft(std::shared_ptrnuraft::state_machine) at /home/xmly/NuRaft/examples/example_common.hxx:183
#14 0x0000000000409148 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() at /usr/include/c++/7/bits/shared_ptr_base.h:681
#15 0x00007f381684b4da in __libc_start_main() at ??:0
#16 0x000000000040977a in _start() at ??:?

@greensky00
Copy link
Contributor

Hi @michaelqxd ,
Thanks for bringing this issue, but unfortunately this stack dump itself doesn't help much.

Can you please elaborate more? At which step in here you got crash? Which OS did you run?

Apart from that, if we put wrong IP address and port, we'll see this stack trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants