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

Leak of qd_delivery_state_t in system_tests_http1_over_tcp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 1.16.0
    • 1.20.0
    • Router Node

    Description

      https://travis-ci.com/github/apache/qpid-dispatch/jobs/501211928#L11775

      This is PR build for pool poisoning, but the issue should be in no way related to that.

      71: Router INT.A debug dump file:
      71: >>>>
      71: alloc.c: Items of type 'qd_buffer_t' remain allocated at shutdown: 17 (SUPPRESSED)
      71: alloc.c: Items of type 'qd_message_t' remain allocated at shutdown: 2 (SUPPRESSED)
      71: alloc.c: Items of type 'qd_message_content_t' remain allocated at shutdown: 2 (SUPPRESSED)
      71: alloc.c: Items of type 'qdr_delivery_t' remain allocated at shutdown: 2 (SUPPRESSED)
      71: alloc.c: Items of type 'qd_delivery_state_t' remain allocated at shutdown: 1
      71: Leak: 2021-04-26 20:06:52.908660 +0000 type: qd_delivery_state_t address: 0x61200007b9d0
      71: qdrouterd(backtrace+0x5b) [0x45356b]
      71: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(qd_alloc+0xa68) [0x7f38cf658ee8]
      71: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(qd_delivery_state+0x28) [0x7f38cf69ad48]
      71: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(+0x2f6248) [0x7f38cf644248]
      71: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(+0x525402) [0x7f38cf873402]
      71: /home/travis/build/apache/qpid-dispatch/build/src/libqpid-dispatch.so(+0x51ede0) [0x7f38cf86cde0]
      71: /lib/x86_64-linux-gnu/libpthread.so.0(+0x9609) [0x7f38cf2c5609]
      71: /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f38ceaf0293]
      
      71: ======================================================================
      71: ERROR: tearDownClass (system_tests_http1_over_tcp.Http1OverTcpOneRouterTest)
      71: ----------------------------------------------------------------------
      71: Traceback (most recent call last):
      71:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 865, in tearDownClass
      71:     cls.tester.teardown()
      71:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 808, in teardown
      71:     raise RuntimeError("Errors during teardown: \n\n%s" % "\n\n".join([str(e) for e in errors]))
      71: RuntimeError: Errors during teardown: 
      71: 
      71: Process 18806 error: exit code -6, expected 0
      71: qdrouterd -c INT.A.conf -I /home/travis/build/apache/qpid-dispatch/python
      71: /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_http1_over_tcp/Http1OverTcpOneRouterTest/setUpClass/INT.A-4.cmd
      71: >>>>
      71: ERROR: Aborted due to unexpected alloc pool leak of type 'qd_delivery_state_t'
      71: <<<<
      71: 
      71: ----------------------------------------------------------------------
      71: Ran 12 tests in 32.652s
      71: 
      71: FAILED (errors=1)
      71/74 Test #71: system_tests_http1_over_tcp .......................***Failed   32.78 sec
      

      Attachments

        Activity

          People

            gmurthy Ganesh Murthy
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: