[ 
https://issues.apache.org/jira/browse/DISPATCH-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018071#comment-17018071
 ] 

ASF GitHub Bot commented on DISPATCH-1549:
------------------------------------------

kgiusti commented on pull request #664: DISPATCH-1549: properly free terminus 
on transactional link rejection
URL: https://github.com/apache/qpid-dispatch/pull/664
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Leak of qdr_terminus_t in system_tests_one_router::test_34_reject_coordinator
> -----------------------------------------------------------------------------
>
>                 Key: DISPATCH-1549
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1549
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node
>    Affects Versions: 1.10.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>             Fix For: 1.11.0
>
>
> Running the above test with the qdr_terminus function removed from lsan.supp 
> file show a leak when run with -DRUNTIME_CHECK=asan:
>  
> 20: test_34_reject_coordinator (system_tests_one_router.OneRouterTest) ... ok
> 20: ERROR
> .....
> 20: ==12814==ERROR: LeakSanitizer: detected memory leaks
> 20: 
> 20: Direct leak of 128 byte(s) in 1 object(s) allocated from:
> 20: #0 0x7f17e5e10b35 in __interceptor_posix_memalign 
> (/lib64/libasan.so.5+0x10eb35)
> 20: #1 0x7f17e57873be in qd_alloc 
> /home/kgiusti/work/dispatch/qpid-dispatch/src/alloc_pool.c:320
> 20: #2 0x7f17e58f6948 in qdr_terminus 
> /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/terminus.c:31
> 20: #3 0x7f17e593ab2d in AMQP_incoming_link_handler 
> /home/kgiusti/work/dispatch/qpid-dispatch/src/router_node.c:726
> 20: #4 0x7f17e59533e5 in handle 
> /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1000
> 20: #5 0x7f17e59597b5 in thread_run 
> /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1025
> 20: #6 0x7f17e595ad50 in qd_server_run 
> /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1323
> 20: #7 0x402d12 in main_process 
> /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:113
> 20: #8 0x402880 in main 
> /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:367
> 20: #9 0x7f17e4535f42 in __libc_start_main (/lib64/libc.so.6+0x23f42)
> 20:



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to