frankleaf opened a new issue, #2461: URL: https://github.com/apache/brpc/issues/2461
**Describe the bug (描述bug)** Brpc 在发起 IssueRPC 的过程中,由于从hosts里解析rpc_address对应的ip 地址失败,导致core掉 **To Reproduce (复现方法)** 在rpc发送过程中,从hosts当中删掉原本通过域名解析发送rpc请求的内容 **Expected behavior (期望行为)** **Versions (各种版本)** OS: Compiler: brpc: protobuf: **Additional context/screenshots (更多上下文/截图)** ``` #0 0x0000000000000000 in ?? () #1 0x0000000000faa088 in brpc::Channel::CallMethod (this=0x7f3259207500, method=0x7f3259254fc0, controller_base=0x7f325927bb18, request=0x7f31dde6f4b0, response=0x7f31dde6f470, done=0x7f325927baf8) at /root/src/brpc/channel.cpp:521 #2 0x0000000000fa51aa in brpc::aschan::Sender::IssueRPC (this=0x7f325927ba80, start_realtime_us=<optimized out>) ``` ``` I1130 08:09:49.649348 271 socket.cpp:2364] Checking Socket{id=0 addr=192.168.14.57:18186} (0x7f325f7a5600) E1130 08:09:50.059639 279 channel.cpp:261] Invalid address=`test-jindofs-master-0.default:18186' E1130 08:09:50.060728 279 channel.cpp:261] Invalid address=`test-jindofs-master-0.default:18186' E1130 08:09:50.061666 279 channel.cpp:261] Invalid address=`test-jindofs-master-0.default:18186' E1130 08:09:50.062514 279 channel.cpp:261] Invalid address=`test-jindofs-master-0.default:18186' E1130 08:09:50.063379 279 channel.cpp:261] Invalid address=`test-jindofs-master-0.default:18186' E1130 08:09:50.064148 279 channel.cpp:261] Invalid address=`test-jindofs-master-0.default:18186' I1130 08:09:50.064195 279 active_standby_channel.cpp:324] Selected Channel[0.0.0.0:0], socket 114 Error: signal 11 Segmentation fault, PID 1, TID 7f31dde79700 Stacktrace with Glog: @ (nil) (unknown) Stacktrace with Boost: ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org