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:10:00 UTC

[jira] [Commented] (DISPATCH-1662) system_tests_policy_oversize_compound fails with ASAN leak

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

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

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

DISPATCH-1661: DISPATCH-1662: suppress leak in qdr_terminus (temporary workaround)


> system_tests_policy_oversize_compound fails with ASAN leak
> ----------------------------------------------------------
>
>                 Key: DISPATCH-1662
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1662
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.12.0
>            Reporter: Ganesh Murthy
>            Priority: Major
>
> {noformat}
> 26: Test command: /usr/bin/python "/home/travis/build/apache/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" "system_tests_policy_oversize_compound"
> 26: Test timeout computed to be: 600
> 26: test_60_block_oversize_EB1_INTB_at_INTB (system_tests_policy_oversize_compound.MaxMessageSizeBlockOversize) ... ok
> 26: test_61_block_oversize_EB1_EA1_at_INTB (system_tests_policy_oversize_compound.MaxMessageSizeBlockOversize) ... ok
> 26: test_70_block_oversize_EB1_INTB_at_both (system_tests_policy_oversize_compound.MaxMessageSizeBlockOversize) ... ok
> 26: test_80_block_multicast_EB1_INTB_at_INTB (system_tests_policy_oversize_compound.MaxMessageSizeBlockOversize) ... ok
> 26: test_81_block_multicast_EA1 (system_tests_policy_oversize_compound.MaxMessageSizeBlockOversize) ... ok
> 26: test_82_block_multicast_INTA (system_tests_policy_oversize_compound.MaxMessageSizeBlockOversize) ... ok
> 26: 
> 26: Router EA1 debug dump file:
> 26: alloc.c: Items of type 'qd_iterator_t' remain allocated at shutdown: 12
> 26: alloc.c: Items of type 'qd_buffer_t' remain allocated at shutdown: 3
> 26: alloc.c: Items of type 'qd_parsed_field_t' remain allocated at shutdown: 5
> 26: alloc.c: Items of type 'qd_message_t' remain allocated at shutdown: 1
> 26: alloc.c: Items of type 'qd_message_content_t' remain allocated at shutdown: 1
> 26: alloc.c: Items of type 'qdr_delivery_t' remain allocated at shutdown: 1
> 26: alloc.c: Items of type 'qd_link_ref_t' remain allocated at shutdown: 1
> 26: ERROR
> 26: test_90_block_link_route_EB1_INTB (system_tests_policy_oversize_compound.MaxMessageSizeLinkRouteOversize) ... ok
> 26: 
> 26: Router INT.B debug dump file:
> 26: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 2
> 26: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 2
> 26: 
> 26: ======================================================================
> 26: ERROR: tearDownClass (system_tests_policy_oversize_compound.MaxMessageSizeBlockOversize)
> 26: ----------------------------------------------------------------------
> 26: Traceback (most recent call last):
> 26:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 691, in tearDownClass
> 26:     cls.tester.teardown()
> 26:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 637, in teardown
> 26:     raise RuntimeError("Errors during teardown: \n\n%s" % "\n\n".join([str(e) for e in errors]))
> 26: RuntimeError: Errors during teardown: 
> 26: 
> 26: Process 12913 error: exit code 23, expected 0
> 26: qdrouterd -c INT.B.conf -I /home/travis/build/apache/qpid-dispatch/python
> 26: /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_policy_oversize_compound/MaxMessageSizeBlockOversize/setUpClass/INT.B-2.cmd
> 26: >>>>
> 26: 
> 26: =================================================================
> 26: ==12913==ERROR: LeakSanitizer: detected memory leaks
> 26: 
> 26: Indirect leak of 576 byte(s) in 3 object(s) allocated from:
> 26:     #0 0x7fd7c490a076 in __interceptor_posix_memalign (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99076)
> 26:     #1 0x7fd7c41e4d28 in qd_alloc /home/travis/build/apache/qpid-dispatch/src/alloc_pool.c:347
> 26:     #2 0x7fd7c4240c41 in qd_iterator_buffer /home/travis/build/apache/qpid-dispatch/src/iterator.c:597
> 26:     #3 0x7fd7c42f6d2d in qdr_field /home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:265
> 26:     #4 0x7fd7c431231f in qdr_terminus /home/travis/build/apache/qpid-dispatch/src/router_core/terminus.c:47
> 26:     #5 0x7fd7c434ca3b in AMQP_incoming_link_handler /home/travis/build/apache/qpid-dispatch/src/router_node.c:817
> 26:     #6 0x7fd7c4362674 in handle /home/travis/build/apache/qpid-dispatch/src/server.c:1015
> 26:     #7 0x7fd7c436819f in thread_run /home/travis/build/apache/qpid-dispatch/src/server.c:1040
> 26:     #8 0x7fd7c3d726b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
> 26: 
> 26: -----------------------------------------------------26: Suppressions used:
> 26:   count      bytes template
> 26:       2       1216 qd_message_receive
> 26:      13       4368 qdr_core_subscribe
> 26:       1        192 qdr_forward_closest_CT
> 26:       1        320 qdr_link_deliver
> 26:       1         64 qdr_node_connect_deliveries
> 26:       1         64 qdr_link_issue_credit_CT
> 26:      28         70 __strdup
> 26:       1        128 qd_parse_internal
> 26:    4615    3404212 *libpython*
> 26:      37        120 *python2*
> 26: -----------------------------------------------------
> 26: 
> 26: SUMMARY: AddressSanitizer: 576 byte(s) leaked in 3 allocation(s).
> 26: <<<<
> 26: 
> 26: ----------------------------------------------------------------------
> 26: Ran 7 tests in 46.622s
> 26: 
> 26: FAILED (errors=1)
> 26/66 Test #26: system_tests_policy_oversize_compound .............***Failed   46.69 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