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

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

jiridanek edited a comment on pull request #944:
URL: https://github.com/apache/qpid-dispatch/pull/944#issuecomment-769199861


   Well done, @fgiorgetti , you found a leak (CC @kgiusti )
   
   
https://github.com/apache/qpid-dispatch/pull/944/checks?check_run_id=1784945768#step:9:2066
   
   ```
   Start 72: system_tests_grpc
   
   72: Test command: /usr/bin/bwrap "--bind" "/" "/" "--unshare-net" "--dev" 
"/dev" "--die-with-parent" "--" 
"/opt/hostedtoolcache/Python/3.7.9/x64/bin/python" 
"/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/tests/run.py"
 "-m" "unittest" "-v" "system_tests_grpc"
   72: Test timeout computed to be: 600
   72: test_grpc_01_unary (system_tests_grpc.GrpcServiceMethodsTest)
   72: Validates unary request and response message ... ok
   72: test_grpc_02_bidirectional_stream 
(system_tests_grpc.GrpcServiceMethodsTest)
   72: Validates bidirectional streaming request and response messages ... ok
   72: test_grpc_03_server_stream (system_tests_grpc.GrpcServiceMethodsTest)
   72: Validates server streaming response messages ... ok
   72: test_grpc_04_client_stream (system_tests_grpc.GrpcServiceMethodsTest)
   72: Validates client streaming request messages ... ok
   72: 
   72: Router QDR debug dump file:
   72: >>>>
   72: alloc.c: Items of type 'qdr_link_work_t' remain allocated at shutdown: 1 
(SUPPRESSED)
   72: 
   72: <<<<
   72: 
   72: Router QDR output file:
   72: >>>>
   72: 
   72: =================================================================
   72: ==4523==ERROR: LeakSanitizer: detected memory leaks
   72: 
   72: Direct leak of 300 byte(s) in 24 object(s) allocated from:
   72:     #0 0x7ff3294f8bc8 in malloc 
(/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
   72:     #1 0x7ff328d02cb3 in qd_iterator_copy ../src/iterator.c:984
   72:     #2 0x7ff328ec1065 in handle_outgoing_http 
../src/adaptors/http2/http2_adaptor.c:1729
   72:     #3 0x7ff328ec7883 in qdr_http_deliver 
../src/adaptors/http2/http2_adaptor.c:1861
   72:     #4 0x7ff328e22ada in qdr_link_process_deliveries 
../src/router_core/transfer.c:176
   72:     #5 0x7ff328d86681 in qdr_connection_process 
../src/router_core/connections.c:412
   72:     #6 0x7ff328ec8e18 in handle_connection_event 
../src/adaptors/http2/http2_adaptor.c:2293
   72:     #7 0x7ff328e7e325 in handle_event_with_context ../src/server.c:804
   72:     #8 0x7ff328e7e325 in do_handle_raw_connection_event 
../src/server.c:810
   72:     #9 0x7ff328e7e325 in handle ../src/server.c:1090
   72:     #10 0x7ff328e86707 in thread_run ../src/server.c:1122
   72:     #11 0x7ff32878b608 in start_thread 
(/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
   72: 
   72: Direct leak of 36 byte(s) in 24 object(s) allocated from:
   72:     #0 0x7ff3294f8bc8 in malloc 
(/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
   72:     #1 0x7ff328d02cb3 in qd_iterator_copy ../src/iterator.c:984
   72:     #2 0x7ff328ec10a5 in handle_outgoing_http 
../src/adaptors/http2/http2_adaptor.c:1730
   72:     #3 0x7ff328ec7883 in qdr_http_deliver 
../src/adaptors/http2/http2_adaptor.c:1861
   72:     #4 0x7ff328e22ada in qdr_link_process_deliveries 
../src/router_core/transfer.c:176
   72:     #5 0x7ff328d86681 in qdr_connection_process 
../src/router_core/connections.c:412
   72:     #6 0x7ff328ec8e18 in handle_connection_event 
../src/adaptors/http2/http2_adaptor.c:2293
   72:     #7 0x7ff328e7e325 in handle_event_with_context ../src/server.c:804
   72:     #8 0x7ff328e7e325 in do_handle_raw_connection_event 
../src/server.c:810
   72:     #9 0x7ff328e7e325 in handle ../src/server.c:1090
   72:     #10 0x7ff328e86707 in thread_run ../src/server.c:1122
   72:     #11 0x7ff32878b608 in start_thread 
(/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
   72: 
   72: Direct leak of 25 byte(s) in 2 object(s) allocated from:
   72:     #0 0x7ff3294f8bc8 in malloc 
(/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
   72:     #1 0x7ff328d02cb3 in qd_iterator_copy ../src/iterator.c:984
   72:     #2 0x7ff328ec1065 in handle_outgoing_http 
../src/adaptors/http2/http2_adaptor.c:1729
   72:     #3 0x7ff328ec7883 in qdr_http_deliver 
../src/adaptors/http2/http2_adaptor.c:1861
   72:     #4 0x7ff328e22ada in qdr_link_process_deliveries 
../src/router_core/transfer.c:176
   72:     #5 0x7ff328d86681 in qdr_connection_process 
../src/router_core/connections.c:412
   72:     #6 0x7ff328ec8e18 in handle_connection_event 
../src/adaptors/http2/http2_adaptor.c:2293
   72:     #7 0x7ff328e7e325 in handle_event_with_context ../src/server.c:804
   72:     #8 0x7ff328e7e325 in do_handle_raw_connection_event 
../src/server.c:810
   72:     #9 0x7ff328e7e325 in handle ../src/server.c:1090
   72:     #10 0x7ff328e86707 in thread_run ../src/server.c:1122
   72:     #11 0x7ff328e88a8a in qd_server_run ../src/server.c:1484
   72:     #12 0x55da862ef1bc in main_process ../router/src/main.c:113
   72:     #13 0x55da862eece0 in main ../router/src/main.c:367
   72:     #14 0x7ff327c4a0b2 in __libc_start_main 
(/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
   72: 
   72: Direct leak of 3 byte(s) in 2 object(s) allocated from:
   72:     #0 0x7ff3294f8bc8 in malloc 
(/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
   72:     #1 0x7ff328d02cb3 in qd_iterator_copy ../src/iterator.c:984
   72:     #2 0x7ff328ec10a5 in handle_outgoing_http 
../src/adaptors/http2/http2_adaptor.c:1730
   72:     #3 0x7ff328ec7883 in qdr_http_deliver 
../src/adaptors/http2/http2_adaptor.c:1861
   72:     #4 0x7ff328e22ada in qdr_link_process_deliveries 
../src/router_core/transfer.c:176
   72:     #5 0x7ff328d86681 in qdr_connection_process 
../src/router_core/connections.c:412
   72:     #6 0x7ff328ec8e18 in handle_connection_event 
../src/adaptors/http2/http2_adaptor.c:2293
   72:     #7 0x7ff328e7e325 in handle_event_with_context ../src/server.c:804
   72:     #8 0x7ff328e7e325 in do_handle_raw_connection_event 
../src/server.c:810
   72:     #9 0x7ff328e7e325 in handle ../src/server.c:1090
   72:     #10 0x7ff328e86707 in thread_run ../src/server.c:1122
   72:     #11 0x7ff328e88a8a in qd_server_run ../src/server.c:1484
   72:     #12 0x55da862ef1bc in main_process ../router/src/main.c:113
   72:     #13 0x55da862eece0 in main ../router/src/main.c:367
   72:     #14 0x7ff327c4a0b2 in __libc_start_main 
(/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
   72: 
   72: -----------------------------------------------------
   72: Suppressions used:
   72:   count      bytes template
   72:       1         56 qdr_core_subscribe
   72:     551     876147 *libpython*
   72:      20       3968 *libqpid-proton*
   72: -----------------------------------------------------
   72: 
   72: SUMMARY: AddressSanitizer: 364 byte(s) leaked in 52 allocation(s).
   ```
   
   ```
   72: ==4523==ERROR: LeakSanitizer: detected memory leaks
   72: 
   72: Direct leak of 300 byte(s) in 24 object(s) allocated from:
   72:     #0 0x7ff3294f8bc8 in malloc 
(/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
   72:     #1 0x7ff328d02cb3 in qd_iterator_copy ../src/iterator.c:984
   72:     #2 0x7ff328ec1065 in handle_outgoing_http 
../src/adaptors/http2/http2_adaptor.c:1729
   72:     #3 0x7ff328ec7883 in qdr_http_deliver 
../src/adaptors/http2/http2_adaptor.c:1861
   72:     #4 0x7ff328e22ada in qdr_link_process_deliveries 
../src/router_core/transfer.c:176
   72:     #5 0x7ff328d86681 in qdr_connection_process 
../src/router_core/connections.c:412
   72:     #6 0x7ff328ec8e18 in handle_connection_event 
../src/adaptors/http2/http2_adaptor.c:2293
   72:     #7 0x7ff328e7e325 in handle_event_with_context ../src/server.c:804
   72:     #8 0x7ff328e7e325 in do_handle_raw_connection_event 
../src/server.c:810
   72:     #9 0x7ff328e7e325 in handle ../src/server.c:1090
   72:     #10 0x7ff328e86707 in thread_run ../src/server.c:1122
   72:     #11 0x7ff32878b608 in start_thread 
(/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
   72: 
   72: Direct leak of 36 byte(s) in 24 object(s) allocated from:
   72:     #0 0x7ff3294f8bc8 in malloc 
(/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
   72:     #1 0x7ff328d02cb3 in qd_iterator_copy ../src/iterator.c:984
   72:     #2 0x7ff328ec10a5 in handle_outgoing_http 
../src/adaptors/http2/http2_adaptor.c:1730
   72:     #3 0x7ff328ec7883 in qdr_http_deliver 
../src/adaptors/http2/http2_adaptor.c:1861
   72:     #4 0x7ff328e22ada in qdr_link_process_deliveries 
../src/router_core/transfer.c:176
   72:     #5 0x7ff328d86681 in qdr_connection_process 
../src/router_core/connections.c:412
   72:     #6 0x7ff328ec8e18 in handle_connection_event 
../src/adaptors/http2/http2_adaptor.c:2293
   72:     #7 0x7ff328e7e325 in handle_event_with_context ../src/server.c:804
   72:     #8 0x7ff328e7e325 in do_handle_raw_connection_event 
../src/server.c:810
   72:     #9 0x7ff328e7e325 in handle ../src/server.c:1090
   72:     #10 0x7ff328e86707 in thread_run ../src/server.c:1122
   72:     #11 0x7ff32878b608 in start_thread 
(/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
   72: 
   72: Direct leak of 25 byte(s) in 2 object(s) allocated from:
   72:     #0 0x7ff3294f8bc8 in malloc 
(/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
   72:     #1 0x7ff328d02cb3 in qd_iterator_copy ../src/iterator.c:984
   72:     #2 0x7ff328ec1065 in handle_outgoing_http 
../src/adaptors/http2/http2_adaptor.c:1729
   72:     #3 0x7ff328ec7883 in qdr_http_deliver 
../src/adaptors/http2/http2_adaptor.c:1861
   72:     #4 0x7ff328e22ada in qdr_link_process_deliveries 
../src/router_core/transfer.c:176
   72:     #5 0x7ff328d86681 in qdr_connection_process 
../src/router_core/connections.c:412
   72:     #6 0x7ff328ec8e18 in handle_connection_event 
../src/adaptors/http2/http2_adaptor.c:2293
   72:     #7 0x7ff328e7e325 in handle_event_with_context ../src/server.c:804
   72:     #8 0x7ff328e7e325 in do_handle_raw_connection_event 
../src/server.c:810
   72:     #9 0x7ff328e7e325 in handle ../src/server.c:1090
   72:     #10 0x7ff328e86707 in thread_run ../src/server.c:1122
   72:     #11 0x7ff328e88a8a in qd_server_run ../src/server.c:1484
   72:     #12 0x55da862ef1bc in main_process ../router/src/main.c:113
   72:     #13 0x55da862eece0 in main ../router/src/main.c:367
   72:     #14 0x7ff327c4a0b2 in __libc_start_main 
(/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
   72: 
   72: Direct leak of 3 byte(s) in 2 object(s) allocated from:
   72:     #0 0x7ff3294f8bc8 in malloc 
(/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
   72:     #1 0x7ff328d02cb3 in qd_iterator_copy ../src/iterator.c:984
   72:     #2 0x7ff328ec10a5 in handle_outgoing_http 
../src/adaptors/http2/http2_adaptor.c:1730
   72:     #3 0x7ff328ec7883 in qdr_http_deliver 
../src/adaptors/http2/http2_adaptor.c:1861
   72:     #4 0x7ff328e22ada in qdr_link_process_deliveries 
../src/router_core/transfer.c:176
   72:     #5 0x7ff328d86681 in qdr_connection_process 
../src/router_core/connections.c:412
   72:     #6 0x7ff328ec8e18 in handle_connection_event 
../src/adaptors/http2/http2_adaptor.c:2293
   72:     #7 0x7ff328e7e325 in handle_event_with_context ../src/server.c:804
   72:     #8 0x7ff328e7e325 in do_handle_raw_connection_event 
../src/server.c:810
   72:     #9 0x7ff328e7e325 in handle ../src/server.c:1090
   72:     #10 0x7ff328e86707 in thread_run ../src/server.c:1122
   72:     #11 0x7ff328e88a8a in qd_server_run ../src/server.c:1484
   72:     #12 0x55da862ef1bc in main_process ../router/src/main.c:113
   72:     #13 0x55da862eece0 in main ../router/src/main.c:367
   72:     #14 0x7ff327c4a0b2 in __libc_start_main 
(/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
   72: 
   72: -----------------------------------------------------
   72: Suppressions used:
   72:   count      bytes template
   72:       1         56 qdr_core_subscribe
   72:     551     876147 *libpython*
   72:      20       3968 *libqpid-proton*
   72: -----------------------------------------------------
   72: 
   72: SUMMARY: AddressSanitizer: 364 byte(s) leaked in 52 allocation(s).
   ```


----------------------------------------------------------------
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:
[email protected]


> Add new system test to validate gRPC through HTTP2 adaptors
> -----------------------------------------------------------
>
>                 Key: DISPATCH-1870
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1870
>             Project: Qpid Dispatch
>          Issue Type: Test
>          Components: Tests
>            Reporter: Fernando Giorgetti
>            Assignee: Fernando Giorgetti
>            Priority: Major
>
> Implement a new system test to validate gRPC through the router HTTP2 
> adaptors.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to