You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@brpc.apache.org by "corznoc (via GitHub)" <gi...@apache.org> on 2026/07/06 05:04:57 UTC

[I] selective_channel SubDone::Run最后的message交换可能会有内存问题 (brpc)

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

   **Describe the bug**
   selective_channel.cpp:
   <img width="1097" height="2425" alt="Image" src="https://github.com/user-attachments/assets/1ded39be-3399-4622-a5fe-dbf460d0956a" />
   <img width="1200" height="1869" alt="Image" src="https://github.com/user-attachments/assets/cfa44d47-07c4-4066-aafd-ad4165795e1e" />
   
   对于一些无反射的Message(RedisResponse), GetRelection()会返回空指针。
   看了下PopFree()方法,之前的版本response成员,会使用用户传下来的response,
   从而不会触发message交换。
   
   **To Reproduce**
   CallMethod使用RedisRequest和RedisResponse时,由于触发该问题。
   
   **Expected behavior**
   会引用空指针,触发SIGSEGV,反生coredump
   
   **Versions**
   OS: CentOS
   Compiler: gcc
   brpc: 1.17.0
   protobuf: 3.25.8
   
   **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: issues-unsubscribe@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org


Re: [I] selective_channel SubDone::Run最后的message交换可能会有内存问题 (brpc)

Posted by "Huixxi (via GitHub)" <gi...@apache.org>.
Huixxi closed issue #3372: selective_channel SubDone::Run最后的message交换可能会有内存问题
URL: https://github.com/apache/brpc/issues/3372


-- 
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: issues-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org