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

system_tests_http2 fails with ASAN error in free_qdr_http2_connection

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.16.0
    • Tests

    Description

      This happens rarely:

      69: Router QDR output file:
      69: >>>>
      69: ../src/adaptors/http2/http2_adaptor.c:348:30: runtime error: member access within misaligned address 0x9999999999999999 for type 'struct qdr_http2_session_data_t', which requires 8 byte alignment
      69: 0x9999999999999999: note: pointer points here
      69: <memory cannot be printed>
      69: AddressSanitizer:DEADLYSIGNAL
      69: =================================================================
      69: ==3998==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fc534f8a7a6 bp 0x7fff156061b0 sp 0x7fff15606150 T0)
      69: ==3998==The signal is caused by a READ memory access.
      69: ==3998==Hint: address points to the zero page.
      69:     #0 0x7fc534f8a7a5 in free_qdr_http2_connection ../src/adaptors/http2/http2_adaptor.c:348
      69:     #1 0x7fc534eca1a6 in qdr_core_free ../src/router_core/router_core.c:160
      69:     #2 0x7fc534f3c031 in qd_router_free ../src/router_node.c:2108
      69:     #3 0x7fc534da49c1 in qd_dispatch_free ../src/dispatch.c:368
      69:     #4 0x7fc534da49c1 in qd_dispatch_free ../src/dispatch.c:360
      69:     #5 0x55bcacbf51d3 in main_process ../router/src/main.c:117
      69:     #6 0x55bcacbf4ce0 in main ../router/src/main.c:367
      69:     #7 0x7fc533ca20b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
      69:     #8 0x55bcacbf4f8d in _start (/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/router/qdrouterd+0x5f8d)
      69: 
      69: AddressSanitizer can not provide additional info.
      69: SUMMARY: AddressSanitizer: SEGV ../src/adaptors/http2/http2_adaptor.c:348 in free_qdr_http2_connection
      69: ==3998==ABORTING
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: