xiedeacc opened a new issue, #2538:
URL: https://github.com/apache/brpc/issues/2538

   **Describe the bug (描述bug)**
   发送请求后,正常收到请求后服务core,在最外层的方法也catch不住
   
   ```
   [Thread debugging using libthread_db enabled]
   Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
   --Type <RET> for more, q to quit, c to continue without paging--
   Core was generated by `./bin/adserver'.
   Program terminated with signal SIGABRT, Aborted.
   #0  __pthread_kill_implementation (no_tid=0, signo=6, 
threadid=140519072060992) at ./nptl/pthread_kill.c:44
   44      ./nptl/pthread_kill.c: No such file or directory.
   [Current thread is 1 (Thread 0x7fcd255fd640 (LWP 565461))]
   (gdb) bt
   #0  __pthread_kill_implementation (no_tid=0, signo=6, 
threadid=140519072060992) at ./nptl/pthread_kill.c:44
   #1  __pthread_kill_internal (signo=6, threadid=140519072060992) at 
./nptl/pthread_kill.c:78
   #2  __GI___pthread_kill (threadid=140519072060992, signo=signo@entry=6) at 
./nptl/pthread_kill.c:89
   #3  0x00007fcd787f6476 in __GI_raise (sig=sig@entry=6) at 
../sysdeps/posix/raise.c:26
   #4  0x00007fcd787dc7f3 in __GI_abort () at ./stdlib/abort.c:79
   #5  0x00007fcd78a9eb9e in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
   #6  0x00007fcd78aaa20c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
   #7  0x00007fcd78aaa277 in std::terminate() () from 
/lib/x86_64-linux-gnu/libstdc++.so.6
   #8  0x00007fcd78aaafa5 in __cxa_pure_virtual () from 
/lib/x86_64-linux-gnu/libstdc++.so.6
   #9  0x000055dbb1fb5782 in 
google::protobuf::MessageLite::ParseFromCodedStream 
(this=this@entry=0x7fcd1c931230, input=input@entry=0x7fcd235fdd00)
       at external/com_google_protobuf/src/google/protobuf/message_lite.cc:251
   #10 0x000055dbb1d47b24 in brpc::ParsePbFromZeroCopyStreamInlined 
(input=0x7fcd235fdce0, msg=0x7fcd1c931230) at 
external/brpc/src/brpc/protocol.cpp:213
   #11 brpc::ParsePbFromIOBuf (msg=0x7fcd1c931230, buf=...) at 
external/brpc/src/brpc/protocol.cpp:235
   #12 0x000055dbb1dc2c88 in brpc::policy::ProcessRpcResponse 
(msg_base=0x7fcd240c9c00) at 
external/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:623
   #13 0x000055dbb1dcc48b in brpc::ProcessInputMessage 
(void_arg=0x7fcd240c9c00) at external/brpc/src/brpc/input_messenger.cpp:147
   #14 brpc::RunLastMessage::operator() (last_msg=0x7fcd240c9c00, 
this=<optimized out>) at external/brpc/src/brpc/input_messenger.cpp:153
   #15 std::unique_ptr<brpc::InputMessageBase, 
brpc::RunLastMessage>::~unique_ptr (this=<synthetic pointer>, 
__in_chrg=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:361
   #16 brpc::InputMessenger::OnNewMessages (m=0x7fcd6c12b540) at 
external/brpc/src/brpc/input_messenger.cpp:347
   #17 0x000055dbb1d0a312 in brpc::Socket::ProcessEvent (arg=0x7fcd6c12b540) at 
external/brpc/src/brpc/socket.cpp:1050
   #18 0x000055dbb1e4ff07 in bthread::TaskGroup::task_runner 
(skip_remained=<optimized out>) at external/brpc/src/bthread/task_group.cpp:295
   #19 0x000055dbb1e63581 in bthread_make_fcontext ()
   #20 0x00007fcd2361e800 in ?? ()
   #21 0x00007fcd712be000 in ?? ()
   #22 0x0000000000000000 in ?? ()
   
   ```
   
   
![image](https://github.com/apache/brpc/assets/8072296/e7805b94-c9ec-438b-8aee-38fd3fd04c91)
   
![image](https://github.com/apache/brpc/assets/8072296/5d98d107-4012-44ec-b097-a61e876b32f9)
   
   
   **To Reproduce (复现方法)**
   
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS:
   Compiler:
   brpc:
   protobuf:
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


-- 
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

Reply via email to