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

运行 examples/provider/echo_server 会出现 segmentation fault #44

Open
movebean opened this issue Mar 3, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@movebean
Copy link
Contributor

movebean commented Mar 3, 2023

运行 examples/provider/echo_server 会出现 segmentation fault

./build64/examples/provider/echo_provider default echo token 127.0.0.1 8111

堆栈信息如下:
43 int Instance::GetPort() const { return impl_->remote_value_->port_; }
Missing separate debuginfos, use: debuginfo-install bash-4.2.46-34.tl2.3.x86_64 glibc-2.17-323.tl2.x86_64 libgcc-4.8.5-44.tl2.1.x86_64 libstdc++-4.8.5-44.tl2.1.x86_64 zlib-1.2.7-20.tl2.x86_64
(gdb) bt
#0 polaris::Instance::GetPort (this=0x0) at polaris/model/instance.cpp:43
#1 0x000000000048c06e in polaris::BlockRequest::OnSuccess (this=0xadf2b0, response=0x7ffff000a140) at polaris/plugin/server_connector/grpc_server_connector.cpp:921
#2 0x0000000000491355 in polaris::grpc::RequestCallbackv1::Response::OnResponse (this=0xadf2b0, response=0x7ffff000a080) at polaris/network/grpc/client.h:67
#3 0x000000000046c83e in polaris::grpc::GrpcRequest::OnReceiveResponse (this=, response=0x7ffff000a080) at polaris/network/grpc/client.cpp:164
#4 0x000000000046cced in polaris::grpc::GrpcStream::OnData (this=0x7ffff0008260, data=..., end_stream=) at polaris/network/grpc/client.cpp:120
#5 0x000000000046fe8c in polaris::grpc::Http2Client::OnFrameReceived (this=0xa9c700, frame=0xab0c80) at polaris/network/grpc/http2.cpp:846
#6 0x0000000000501758 in session_call_on_frame_received ()
#7 0x0000000000504663 in nghttp2_session_on_data_received ()
#8 0x00000000005046f9 in session_process_data_frame ()
#9 0x000000000050729f in nghttp2_session_mem_recv ()
#10 0x000000000046f5b4 in polaris::grpc::Http2Client::OnRecvData (this=this@entry=0xa9c700, data=data@entry=0x7ffff5fa6d30) at polaris/network/grpc/http2.cpp:550
#11 0x00000000004709e0 in polaris::grpc::Http2Client::ReadHandler (this=0xa9c700) at polaris/network/grpc/http2.cpp:664
#12 0x0000000000462d51 in polaris::Reactor::RunEpollTask (this=this@entry=0xa99580, timeout=) at polaris/reactor/reactor.cpp:180
#13 0x000000000046318b in polaris::Reactor::Run (this=this@entry=0xa99580) at polaris/reactor/reactor.cpp:207
#14 0x000000000048f302 in polaris::GrpcServerConnector::ThreadFunction (arg=0xa99540) at polaris/plugin/server_connector/grpc_server_connector.cpp:250
#15 0x00007ffff6d82ea5 in start_thread () from /lib64/libpthread.so.0
#16 0x00007ffff6aab9fd in clone () from /lib64/libc.so.6

@andrewshan andrewshan added the bug Something isn't working label Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants