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

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

asfgit closed pull request #1257:
URL: https://github.com/apache/qpid-dispatch/pull/1257


   


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


> system_tests_tcp_adaptor fails with ASAN leak of pn_data_t object
> -----------------------------------------------------------------
>
>                 Key: DISPATCH-2170
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2170
>             Project: Qpid Dispatch
>          Issue Type: Test
>          Components: Protocol Adaptors
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>
> https://travis-ci.com/github/apache/qpid-dispatch/jobs/512858013#L12911
>  
> {noformat}
> 71: >>>>
> 71: 
> 71: =================================================================
> 71: ==16660==ERROR: LeakSanitizer: detected memory leaks
> 71: 
> 71: Indirect leak of 288 byte(s) in 1 object(s) allocated from:
> 71:     #0 0x7f28fa9c3961 in realloc 
> (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
> 71:     #1 0x7f28f7f1108a in pni_mem_subreallocate 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/memory.c:275
> 71:     #2 0x7f28f7f0cdf2 in pni_data_grow.lto_priv.446 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:428
> 71:     #3 0x7f28f7f09674 in pni_data_new 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1228
> 71:     #4 0x7f28f7f0a11d in pni_data_add 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1518
> 71:     #5 0x7f28f7f0a2d6 in pn_data_put_map 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1572
> 71:     #6 0x7f28fa0dab52 in qdr_tcp_conn_properties 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:679
> 71:     #7 0x7f28fa0dae38 in qdr_tcp_connection_ingress_accept 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:697
> 71:     #8 0x7f28fa0db71d in handle_connection_event 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:773
> 71:     #9 0x7f28fa2a3026 in handle_event_with_context 
> /home/travis/build/apache/qpid-dispatch/src/server.c:802
> 71:     #10 0x7f28fa2a3068 in do_handle_raw_connection_event 
> /home/travis/build/apache/qpid-dispatch/src/server.c:808
> 71:     #11 0x7f28fa2a64fd in handle 
> /home/travis/build/apache/qpid-dispatch/src/server.c:1089
> 71:     #12 0x7f28fa2a675e in thread_run 
> /home/travis/build/apache/qpid-dispatch/src/server.c:1121
> 71:     #13 0x7f28fa182e4b in _thread_init 
> /home/travis/build/apache/qpid-dispatch/src/posix/threading.c:172
> 71:     #14 0x7f28f9b406b9 in start_thread 
> (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
> 71: 
> 71: Indirect leak of 288 byte(s) in 1 object(s) allocated from:
> 71:     #0 0x7f28fa9c3961 in realloc 
> (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
> 71:     #1 0x7f28f7f1108a in pni_mem_subreallocate 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/memory.c:275
> 71:     #2 0x7f28f7f0cdf2 in pni_data_grow.lto_priv.446 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:428
> 71:     #3 0x7f28f7f09674 in pni_data_new 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1228
> 71:     #4 0x7f28f7f0a11d in pni_data_add 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1518
> 71:     #5 0x7f28f7f0a2d6 in pn_data_put_map 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1572
> 71:     #6 0x7f28fa0dab52 in qdr_tcp_conn_properties 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:679
> 71:     #7 0x7f28fa0dae38 in qdr_tcp_connection_ingress_accept 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:697
> 71:     #8 0x7f28fa0db71d in handle_connection_event 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:773
> 71:     #9 0x7f28fa2a3026 in handle_event_with_context 
> /home/travis/build/apache/qpid-dispatch/src/server.c:802
> 71:     #10 0x7f28fa2a3068 in do_handle_raw_connection_event 
> /home/travis/build/apache/qpid-dispatch/src/server.c:808
> 71:     #11 0x7f28fa2a64fd in handle 
> /home/travis/build/apache/qpid-dispatch/src/server.c:1089
> 71:     #12 0x7f28fa2a675e in thread_run 
> /home/travis/build/apache/qpid-dispatch/src/server.c:1121
> 71:     #13 0x7f28fa2ac01a in qd_server_run 
> /home/travis/build/apache/qpid-dispatch/src/server.c:1501
> 71:     #14 0x401dc0 in main_process 
> /home/travis/build/apache/qpid-dispatch/router/src/main.c:115
> 71:     #15 0x403927 in main 
> /home/travis/build/apache/qpid-dispatch/router/src/main.c:369
> 71:     #16 0x7f28f8a8282f in __libc_start_main 
> (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
> 71: 
> 71: Indirect leak of 288 byte(s) in 1 object(s) allocated from:
> 71:     #0 0x7f28fa9c3961 in realloc 
> (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
> 71:     #1 0x7f28f7f1108a in pni_mem_subreallocate 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/memory.c:275
> 71:     #2 0x7f28f7f0cdf2 in pni_data_grow.lto_priv.446 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:428
> 71:     #3 0x7f28f7f09674 in pni_data_new 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1228
> 71:     #4 0x7f28f7f0a11d in pni_data_add 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1518
> 71:     #5 0x7f28f7f0a2d6 in pn_data_put_map 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1572
> 71:     #6 0x7f28fa0dab52 in qdr_tcp_conn_properties 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:679
> 71:     #7 0x7f28fa0ddf35 in qdr_tcp_open_server_side_connection 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:945
> 71:     #8 0x7f28fa0dbc64 in handle_connection_event 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:785
> 71:     #9 0x7f28fa2a3026 in handle_event_with_context 
> /home/travis/build/apache/qpid-dispatch/src/server.c:802
> 71:     #10 0x7f28fa2a3068 in do_handle_raw_connection_event 
> /home/travis/build/apache/qpid-dispatch/src/server.c:808
> 71:     #11 0x7f28fa2a64fd in handle 
> /home/travis/build/apache/qpid-dispatch/src/server.c:1089
> 71:     #12 0x7f28fa2a675e in thread_run 
> /home/travis/build/apache/qpid-dispatch/src/server.c:1121
> 71:     #13 0x7f28fa2ac01a in qd_server_run 
> /home/travis/build/apache/qpid-dispatch/src/server.c:1501
> 71:     #14 0x401dc0 in main_process 
> /home/travis/build/apache/qpid-dispatch/router/src/main.c:115
> 71:     #15 0x403927 in main 
> /home/travis/build/apache/qpid-dispatch/router/src/main.c:369
> 71:     #16 0x7f28f8a8282f in __libc_start_main 
> (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
> 71: 
> 71: Indirect leak of 288 byte(s) in 1 object(s) allocated from:
> 71:     #0 0x7f28fa9c3961 in realloc 
> (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
> 71:     #1 0x7f28f7f1108a in pni_mem_subreallocate 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/memory.c:275
> 71:     #2 0x7f28f7f0cdf2 in pni_data_grow.lto_priv.446 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:428
> 71:     #3 0x7f28f7f09674 in pni_data_new 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1228
> 71:     #4 0x7f28f7f0a11d in pni_data_add 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1518
> 71:     #5 0x7f28f7f0a2d6 in pn_data_put_map 
> /home/travis/build/apache/qpid-dispatch/qpid-proton/c/src/core/codec.c:1572
> 71:     #6 0x7f28fa0dab52 in qdr_tcp_conn_properties 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:679
> 71:     #7 0x7f28fa0ddf35 in qdr_tcp_open_server_side_connection 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:945
> 71:     #8 0x7f28fa0df089 in qdr_tcp_connection_egress 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:1040
> 71:     #9 0x7f28fa0e1ecf in qd_dispatch_configure_tcp_connector 
> /home/travis/build/apache/qpid-dispatch/src/adaptors/tcp_adaptor.c:1234
> 71:     #10 0x7f28f2758e3f in ffi_call_unix64 
> (/usr/lib/x86_64-linux-gnu/libffi.so.6+0x5e3f)
> 71:     #11 0x7ffd1b1814cf  (<unknown module>)
> 71: 
> 71: -----------------------------------------------------
> 71: Suppressions used:71:   count      bytes template
> 71:       1         56 ^IoAdapter_init$
> 71:       1         24 ^pn_condition$
> 71:       1       1536 ^pn_raw_connection$
> 71:       8        384 ^pn_buffer$
> 71:       9        472 ^pn_object_new$
> 71:       1        128 ^pn_list$
> 71:       2         48 ^pni_record_create$
> 71:     601     896692 /libpython3.*.so
> 71: -----------------------------------------------------
> 71: 
> 71: SUMMARY: AddressSanitizer: 1152 byte(s) leaked in 4 allocation(s).
> 71: <<<<
> 71: 
> 71: ----------------------------------------------------------------------
> 71: Ran 10 tests in 31.952s
> 71: 
> 71: FAILED (errors=2, skipped=2)
> 71/73 Test #71: system_tests_tcp_adaptor ..........................***Failed  
>  32.10 sec {noformat}



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