[ 
https://issues.apache.org/jira/browse/DISPATCH-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ganesh Murthy resolved DISPATCH-1661.
-------------------------------------
    Fix Version/s: 1.13.0
       Resolution: Fixed

> system_tests_edge_router fails with ASAN leak
> ---------------------------------------------
>
>                 Key: DISPATCH-1661
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1661
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.12.0
>            Reporter: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.13.0
>
>
> {noformat}
> 53: Router EB1 debug dump file:
> 53: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 2
> 53: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 2
> 53: ERROR
> 53: 
> 53: ======================================================================
> 53: ERROR: tearDownClass (system_tests_edge_router.StreamingMessageTest)
> 53: ----------------------------------------------------------------------
> 53: Traceback (most recent call last):
> 53:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", 
> line 691, in tearDownClass
> 53:     cls.tester.teardown()
> 53:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", 
> line 637, in teardown
> 53:     raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 53: RuntimeError: Errors during teardown: 
> 53: 
> 53: Process 14572 error: exit code 23, expected 0
> 53: qdrouterd -c EA1.conf -I /home/travis/build/apache/qpid-dispatch/python
> 53: 
> /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_edge_router/StreamingMessageTest/setUpClass/EA1-18.cmd
> 53: >>>>
> 53: 
> 53: =================================================================
> 53: ==14572==ERROR: LeakSanitizer: detected memory leaks
> 53: 
> 53: Indirect leak of 7488 byte(s) in 13 object(s) allocated from:
> 53:     #0 0x7fdea74bb076 in __interceptor_posix_memalign 
> (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99076)
> 53:     #1 0x7fdea6d95d28 in qd_alloc 
> /home/travis/build/apache/qpid-dispatch/src/alloc_pool.c:347
> 53:     #2 0x7fdea6d9fddd in qd_buffer 
> /home/travis/build/apache/qpid-dispatch/src/buffer.c:44
> 53:     #3 0x7fdea6ea7b8a in qdr_field 
> /home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:255
> 53:     #4 0x7fdea6ec331f in qdr_terminus 
> /home/travis/build/apache/qpid-dispatch/src/router_core/terminus.c:47
> 53:     #5 0x7fdea6efd6dd in AMQP_link_attach_handler 
> /home/travis/build/apache/qpid-dispatch/src/router_node.c:866
> 53:     #6 0x7fdea6f13674 in handle 
> /home/travis/build/apache/qpid-dispatch/src/server.c:1015
> 53:     #7 0x7fdea6f1919f in thread_run 
> /home/travis/build/apache/qpid-dispatch/src/server.c:1040
> 53:     #8 0x7fdea69236b9 in start_thread 
> (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
> 53: 
> 53: -----------------------------------------------------
> 53: Suppressions used:
> 53:   count      bytes template
> 53:      18      10944 qd_core_agent_query_handler
> 53:      73      41536 qd_message_receive
> 53:      13       7488 qdr_connection_opened
> 53:      15       8120 qdr_core_subscribe
> 53:       1        192 qdr_link_deliver
> 53:    4444    3311244 *libpython*
> 53:      37        120 *python2*
> 53: -----------------------------------------------------
> 53: 
> 53: SUMMARY: AddressSanitizer: 7488 byte(s) leaked in 13 allocation(s).
> 53: <<<<
> 53: 
> 53: ----------------------------------------------------------------------
> 53: Ran 90 tests in 241.217s
> 53: 
> 53: FAILED (errors=1)53/66 Test #53: system_tests_edge_router 
> ..........................***Failed  241.32 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