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

Leak of qdr_terminus_t in system_tests_one_router::test_34_reject_coordinator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.10.0
    • 1.11.0
    • Router Node
    • None

    Description

      Running the above test with the qdr_terminus function removed from lsan.supp file show a leak when run with -DRUNTIME_CHECK=asan:

       

      20: test_34_reject_coordinator (system_tests_one_router.OneRouterTest) ... ok
      20: ERROR

      .....

      20: ==12814==ERROR: LeakSanitizer: detected memory leaks
      20:
      20: Direct leak of 128 byte(s) in 1 object(s) allocated from:
      20: #0 0x7f17e5e10b35 in __interceptor_posix_memalign (/lib64/libasan.so.5+0x10eb35)
      20: #1 0x7f17e57873be in qd_alloc /home/kgiusti/work/dispatch/qpid-dispatch/src/alloc_pool.c:320
      20: #2 0x7f17e58f6948 in qdr_terminus /home/kgiusti/work/dispatch/qpid-dispatch/src/router_core/terminus.c:31
      20: #3 0x7f17e593ab2d in AMQP_incoming_link_handler /home/kgiusti/work/dispatch/qpid-dispatch/src/router_node.c:726
      20: #4 0x7f17e59533e5 in handle /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1000
      20: #5 0x7f17e59597b5 in thread_run /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1025
      20: #6 0x7f17e595ad50 in qd_server_run /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c:1323
      20: #7 0x402d12 in main_process /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:113
      20: #8 0x402880 in main /home/kgiusti/work/dispatch/qpid-dispatch/router/src/main.c:367
      20: #9 0x7f17e4535f42 in __libc_start_main (/lib64/libc.so.6+0x23f42)
      20:

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: