You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/06/11 17:04:00 UTC

[jira] [Commented] (DISPATCH-1663) system_tests_edge_router fails with ASAN leak

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

ASF subversion and git services commented on DISPATCH-1663:
-----------------------------------------------------------

Commit ae3db7e508659e38becc6c0a88fbd33710870ce4 in qpid-dispatch's branch refs/heads/master from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=ae3db7e ]

DISPATCH-1663: add leak suppression for qdr_send_to2 (temporary work-around)


> system_tests_edge_router fails with ASAN leak
> ---------------------------------------------
>
>                 Key: DISPATCH-1663
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1663
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.12.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>
> {noformat}
> 53: ======================================================================
> 53: ERROR: test_03_interior_conn_lost (system_tests_edge_router.LinkRouteProxyTest)
> 53: ----------------------------------------------------------------------
> 53: Traceback (most recent call last):
> 53:   File "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_edge_router.py", line 1859, in test_03_interior_conn_lost
> 53:     er.teardown()
> 53:   File "/home/gmurthy/opensource/qpid-dispatch/tests/system_test.py", line 442, in teardown
> 53:     super(Qdrouterd, self).teardown()
> 53:   File "/home/gmurthy/opensource/qpid-dispatch/tests/system_test.py", line 295, in teardown
> 53:     error("exit code %s, expected %s" % (status, self.expect))
> 53:   File "/home/gmurthy/opensource/qpid-dispatch/tests/system_test.py", line 285, in error
> 53:     self.outfile + '.cmd', f.read()));
> 53: RuntimeError: Process 16556 error: exit code 1, expected 0
> 53: qdrouterd -c Edge1.conf -I /home/gmurthy/opensource/qpid-dispatch/python
> 53: /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_edge_router/LinkRouteProxyTest/test_03_interior_conn_lost/Edge1-9.cmd
> 53: >>>>
> 53: 
> 53: =================================================================
> 53: ==16556==ERROR: LeakSanitizer: detected memory leaks
> 53: 
> 53: Indirect leak of 704 byte(s) in 1 object(s) allocated from:
> 53:     #0 0x7f60c03a3bf5 in __interceptor_posix_memalign (/lib64/libasan.so.5+0x10ebf5)
> 53:     #1 0x7f60bfb5ace3 in qd_alloc /home/gmurthy/opensource/qpid-dispatch/src/alloc_pool.c:347
> 53:     #2 0x7f60bfb63e62 in new_qd_buffer_t /home/gmurthy/opensource/qpid-dispatch/src/buffer.c:31
> 53:     #3 0x7f60bfb641a8 in qd_buffer /home/gmurthy/opensource/qpid-dispatch/src/buffer.c:44
> 53:     #4 0x7f60bfb64628 in qd_buffer_list_clone /home/gmurthy/opensource/qpid-dispatch/src/buffer.c:71
> 53:     #5 0x7f60bfbc4d98 in qd_message_copy /home/gmurthy/opensource/qpid-dispatch/src/message.c:1030
> 53:     #6 0x7f60bfcf9bc9 in qdr_send_to2 /home/gmurthy/opensource/qpid-dispatch/src/router_core/transfer.c:293
> 53:     #7 0x7f60bfcf064f in qdr_management_agent_on_message /home/gmurthy/opensource/qpid-dispatch/src/router_core/management_agent.c:534
> 53:     #8 0x7f60bfc9f707 in qdr_forward_on_message /home/gmurthy/opensource/qpid-dispatch/src/router_core/forwarder.c:310
> 53:     #9 0x7f60bfcd7e3c in qdr_general_handler /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core.c:808
> 53:     #10 0x7f60bfd7a303 in qd_timer_visit /home/gmurthy/opensource/qpid-dispatch/src/timer.c:201
> 53:     #11 0x7f60bfd694f5 in handle /home/gmurthy/opensource/qpid-dispatch/src/server.c:937
> 53:     #12 0x7f60bfd6b153 in thread_run /home/gmurthy/opensource/qpid-dispatch/src/server.c:1040
> 53:     #13 0x7f60bf7334bf in start_thread (/lib64/libpthread.so.0+0x84bf)
> 53: 
> 53: -----------------------------------------------------
> 53: Suppressions used:
> 53:   count      bytes template
> 53:       5       3008 qd_message_receive
> 53:       2        640 qdr_action
> 53:       2        760 qdr_core_subscribe
> 53:       1        320 qdr_forward_closest_CT
> 53:       2        896 qdr_link_deliver
> 53:       1        256 qdr_link_issue_credit_CT
> 53:       1        192 qdr_delivery_push_CT
> 53:    4545    3371352 *libpython*
> 53:      50        788 *python2*
> 53: -----------------------------------------------------
> 53: 
> 53: SUMMARY: AddressSanitizer: 704 byte(s) leaked in 1 allocation(s).
> 53: <<<<
> 53: 
> 53: ----------------------------------------------------------------------
> 53: Ran 90 tests in 240.786s
> 53: 
> 53: FAILED (errors=1)
> 1/1 Test #53: system_tests_edge_router .........***Failed  240.99 sec
>  {noformat}



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

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