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

Error in system_tests_http2 SEGV in qdr_core_remove_address

    XMLWordPrintableJSON

Details

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

    Description

      https://travis-ci.com/github/apache/qpid-dispatch/jobs/493886831#L5794

      68: Router QDR output file:
      68: >>>>
      68: /home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:582:13: runtime error: applying zero offset to null pointer
      68: SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:582:13 in 
      68: /home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:582:13: runtime error: load of null pointer of type 'const char'
      68: SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:582:13 in 
      68: AddressSanitizer:DEADLYSIGNAL
      68: =================================================================
      68: ==17754==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f2611ba3318 bp 0x7f260be8d150 sp 0x7f260be8d100 T1)
      68: ==17754==The signal is caused by a READ memory access.
      68: ==17754==Hint: address points to the zero page.
      68:     #0 0x7f2611ba3318 in qdr_core_remove_address /home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:582:13
      68:     #1 0x7f2611b30c71 in qdr_check_addr_CT /home/travis/build/apache/qpid-dispatch/src/router_core/connections.c:1328:9
      68:     #2 0x7f2611b29e36 in qdr_link_inbound_detach_CT /home/travis/build/apache/qpid-dispatch/src/router_core/connections.c:2110:9
      68:     #3 0x7f2611bb8651 in router_core_thread /home/travis/build/apache/qpid-dispatch/src/router_core/router_core_thread.c:239:13
      68:     #4 0x7f26116a0608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
      68:     #5 0x7f2610ecb292 in clone (/lib/x86_64-linux-gnu/libc.so.6+0x122292)
      68: 
      68: AddressSanitizer can not provide additional info.
      68: SUMMARY: AddressSanitizer: SEGV /home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:582:13 in qdr_core_remove_address
      68: Thread T1 created by T0 here:
      68:     #0 0x480f0a in pthread_create (/home/travis/build/apache/qpid-dispatch/build/router/qdrouterd+0x480f0a)
      68:     #1 0x7f2611ae4b4d in sys_thread /home/travis/build/apache/qpid-dispatch/src/posix/threading.c:181:5
      68:     #2 0x7f2611b98d20 in qdr_core /home/travis/build/apache/qpid-dispatch/src/router_core/router_core.c:121:20
      68:     #3 0x7f2611c26878 in qd_router_setup_late /home/travis/build/apache/qpid-dispatch/src/router_node.c:2107:31
      68:     #4 0x7f260d7a9ff4  (/lib/x86_64-linux-gnu/libffi.so.7+0x6ff4)
      68: LLVMSymbolizer: error reading file: No such file or directory
      68:     #5 0x7ffed1c889ef  ([stack]+0x1d9ef)
      68: 
      68: ==17754==ABORTING
      

      Attachments

        Issue Links

          Activity

            People

              kgiusti Ken Giusti
              jdanek Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: