-
Notifications
You must be signed in to change notification settings - Fork 14
Description
运行 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