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

Occasional leak of qd_iterator_buffer during system_tests_link_route_credit test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.11.0
    • 1.12.0
    • Routing Engine
    • None

    Description

      Can reproduce this using ASAN build on Ubuntu Xenial by repeatedly running system_tests_link_route_credit:

       

      16: ==18608==ERROR: LeakSanitizer: detected memory leaks
      16:
      16: Direct leak of 192 byte(s) in 1 object(s) allocated from:
      16: #0 0x7f99635ac7a0 in posix_memalign (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdf7a0)
      16: #1 0x7f9962e10199 in qd_alloc /home/kgiusti/work/qpid-dispatch/src/alloc_pool.c:320
      16: #2 0x7f9962e73a91 in qd_iterator_buffer /home/kgiusti/work/qpid-dispatch/src/iterator.c:597
      16: #3 0x7f9962f2ff0d in qdr_field /home/kgiusti/work/qpid-dispatch/src/router_core/router_core.c:250
      16: #4 0x7f9962f4b027 in qdr_terminus /home/kgiusti/work/qpid-dispatch/src/router_core/terminus.c:47
      16: #5 0x7f9962f83cbd in AMQP_link_attach_handler /home/kgiusti/work/qpid-dispatch/src/router_node.c:780
      16: #6 0x7f9962f99d8e in handle /home/kgiusti/work/qpid-dispatch/src/server.c:1015
      16: #7 0x7f9962f9f820 in thread_run /home/kgiusti/work/qpid-dispatch/src/server.c:1040
      16: #8 0x7f99629966da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: