Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1661

system_tests_edge_router fails with ASAN leak

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.13.0
    • Tests
    • None

    Description

      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 

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            gmurthy Ganesh Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment