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

Backtrace of leaked allocations does not show object address

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.12.0
    • Container
    • None

    Description

      Also, in the event of hundreds of leaked objects the debug log requires a program to reconstruct the details into legible form.

      This patch would replace the timestamp line with a CSV line that would identify the object. The fields are:

      • "Leak" - literal word for grepping
      • debug_dump file name - identifies which router
      • timestamp
      • address of leaked object

      Then when a log file reveals the address of an object it may be more precisely linked to the leaks.

      For instance:

      Leak,/home/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/someTest/setUpClass/INT.B-qddebug.txt,2020-04-06 09:55:56.968527 -0400,qd_link_ref_t,0x15149d0

      Attachments

        Issue Links

          Activity

            People

              chug Charles E. Rolke
              chug Charles E. Rolke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: