You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/07/07 11:22:48 UTC

[GitHub] [doris] SWJTU-ZhangLei opened a new issue, #10680: [Bug] (brpc) asan brpc mem leak

SWJTU-ZhangLei opened a new issue, #10680:
URL: https://github.com/apache/doris/issues/10680

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
    [zhanglei@hk-dev01-ali incubator-doris]$ ./output/be/lib/doris_be --version
   trunk DEBUG (build git://hk-dev01-ali/mnt/disk1/zhanglei/work/repo/incubator-doris/be/../@c5f85c98184bc12adc0570de4d5837058663bf49)
   Built on Thu, 07 Jul 2022 19:01:58 CST by zhanglei@hk-dev01-ali
   
   ### What's Wrong?
   
         1 start time: Thu Jul 7 19:19:02 CST 2022
         2 
         3 =================================================================
         4 ==3065144==ERROR: LeakSanitizer: detected memory leaks
         5 
         6 Direct leak of 56 byte(s) in 1 object(s) allocated from:
         7     #0 0x55fbb050c707 in operator new(unsigned long) (/mnt/disk1/zhanglei/work/repo/incubator-doris/output/be/lib/doris_be+0x8ec1707)
         8     #1 0x55fbb76106b6 in brpc::Server::StartInternal(in_addr const&, brpc::PortRange const&, brpc::ServerOptions const*) /mnt/disk1/zhanglei/work/repo/incubator-doris/thirdparty/src/incubator-brpc-1.0.0/src/brpc/server.cpp:783
         9     #2 0x55fbb76129e9 in brpc::Server::Start(butil::EndPoint const&, brpc::ServerOptions const*) /mnt/disk1/zhanglei/work/repo/incubator-doris/thirdparty/src/incubator-brpc-1.0.0/src/brpc/server.cpp:1062
        10     #3 0x55fbb7612b5a in brpc::Server::Start(int, brpc::ServerOptions const*) /mnt/disk1/zhanglei/work/repo/incubator-doris/thirdparty/src/incubator-brpc-1.0.0/src/brpc/server.cpp:1081
        11     #4 0x55fbb2383172 in doris::BRpcService::start(int) /mnt/disk1/zhanglei/work/repo/incubator-doris/be/src/service/brpc_service.cpp:52
        12     #5 0x55fbb0555e94 in main /mnt/disk1/zhanglei/work/repo/incubator-doris/be/src/service/doris_main.cpp:421
        13     #6 0x7f843c96bca2 in __libc_start_main (/lib64/libc.so.6+0x3aca2)
        14 
        15 SUMMARY: AddressSanitizer: 56 byte(s) leaked in 1 allocation(s).
   
   ### What You Expected?
   
   no mem leak
   
   ### How to Reproduce?
   
   1、start_be.sh --daemon
   2、wait for a few seconds
   3、kill -15 ${be_pid}
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org