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

system_tests_router_mesh ASAN failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.13.0
    • Tests
    • None

    Description

      63: Test command: /usr/bin/python "/home/gmurthy/opensource/qpid-dispatch/build/tests/run.py" "-m" "unittest" "-v" "system_tests_router_mesh"
      63: Test timeout computed to be: 600
      63: test_01_rx_failover_clean (system_tests_router_mesh.ThreeRouterTest) ... ok
      63: test_02_rx_failover_dirty (system_tests_router_mesh.ThreeRouterTest) ... ok
      63: test_03_unavailable_link_attach (system_tests_router_mesh.ThreeRouterTest) ... ok
      63: test_04_unavailable_anonymous_link_attach (system_tests_router_mesh.ThreeRouterTest) ... ok
      63: test_05_unavailable_anonymous_link_send (system_tests_router_mesh.ThreeRouterTest) ... ok
      63: test_06_parallel_priority (system_tests_router_mesh.ThreeRouterTest) ... ERROR
      63: ERROR
      
       ======================================================================
      63: ERROR: test_06_parallel_priority (system_tests_router_mesh.ThreeRouterTest)
      63: ----------------------------------------------------------------------
      63: Traceback (most recent call last):
      63:   File "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_router_mesh.py", line 232, in test_06_parallel_priority
      63:     if rx.wait(timeout=TIMEOUT):
      63:   File "/home/gmurthy/opensource/qpid-dispatch/tests/system_test.py", line 311, in wait
      63:     raise Exception("Process did not terminate")
      63: Exception: Process did not terminate
      63: 
      63: ======================================================================
      63: ERROR: test_06_parallel_priority (system_tests_router_mesh.ThreeRouterTest)
      63: ----------------------------------------------------------------------
      63: Traceback (most recent call last):
      63:   File "/home/gmurthy/opensource/qpid-dispatch/tests/system_test.py", line 713, in tearDown
      63:     Tester.teardown(self)
      63:   File "/home/gmurthy/opensource/qpid-dispatch/tests/system_test.py", line 637, in teardown
      63:     raise RuntimeError("Errors during teardown: \n\n%s" % "\n\n".join([str(e) for e in errors]))
      63: RuntimeError: Errors during teardown: 
      63: 
      63: Process 17794 error: still running
      63: test-receiver -a 127.0.0.1:29417 -c 250 -s closest/test_06_address
      63: /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_router_mesh/ThreeRouterTest/test_06_parallel_priority/test-receiver-45.cmd
      63: >>>>
      63: <<<<
      63: 
      63: ======================================================================
      63: ERROR: tearDownClass (system_tests_router_mesh.ThreeRouterTest)
      63: ----------------------------------------------------------------------
      63: Traceback (most recent call last):
      63:   File "/home/gmurthy/opensource/qpid-dispatch/tests/system_test.py", line 691, in tearDownClass
      63:     cls.tester.teardown()
      63:   File "/home/gmurthy/opensource/qpid-dispatch/tests/system_test.py", line 637, in teardown
      63:     raise RuntimeError("Errors during teardown: \n\n%s" % "\n\n".join([str(e) for e in errors]))
      63: RuntimeError: Errors during teardown: 
      63: 
      63: Process 17635 error: exit code 1, expected -1
      63: qdrouterd -c RouterA.conf -I /home/gmurthy/opensource/qpid-dispatch/python
      63: /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_router_mesh/ThreeRouterTest/setUpClass/RouterA-1.cmd
      63: >>>>
      63: =================================================================
      63: ==17635==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x619000100978 at pc 0x7f04fafcbe12 bp 0x7f04e854afa0 sp 0x7f04e854af90
      63: READ of size 8 at 0x619000100978 thread T1
      63:     #0 0x7f04fafcbe11 in qdr_forward_closest_CT /home/gmurthy/opensource/qpid-dispatch/src/router_core/forwarder.c:668
      63:     #1 0x7f04fafd3016 in qdr_forward_message_CT /home/gmurthy/opensource/qpid-dispatch/src/router_core/forwarder.c:1054
      63:     #2 0x7f04fb022bca in qdr_link_forward_CT /home/gmurthy/opensource/qpid-dispatch/src/router_core/transfer.c:481
      63:     #3 0x7f04fb028c9d in qdr_link_deliver_CT /home/gmurthy/opensource/qpid-dispatch/src/router_core/transfer.c:772
      63:     #4 0x7f04fb004c92 in router_core_thread /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core_thread.c:193
      63:     #5 0x7f04faa594bf in start_thread (/lib64/libpthread.so.0+0x84bf)
      63:     #6 0x7f04f9d4f132 in clone (/lib64/libc.so.6+0xfc132)
      63: 
      63: 0x619000100978 is located 8 bytes to the left of 1024-byte region [0x619000100980,0x619000100d80)
      63: allocated by thread T1 here:
      63:     #0 0x7f04fb6c8d18 in __interceptor_malloc (/lib64/libasan.so.5+0x10dd18)
      63:     #1 0x7f04fb00930f in qdr_route_table_setup_CT /home/gmurthy/opensource/qpid-dispatch/src/router_core/route_tables.c:249
      63:     #2 0x7f04fb003d41 in router_core_thread /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core_thread.c:159
      63:     #3 0x7f04faa594bf in start_thread (/lib64/libpthread.so.0+0x84bf)
      63: 
      63: Thread T1 created by T0 here:
      63:     #0 0x7f04fb5f5955 in pthread_create (/lib64/libasan.so.5+0x3a955)
      63:     #1 0x7f04faf2a5cf in sys_thread /home/gmurthy/opensource/qpid-dispatch/src/posix/threading.c:158
      63:     #2 0x7f04fafe6d17 in qdr_core /home/gmurthy/opensource/qpid-dispatch/src/router_core/router_core.c:91
      63:     #3 0x7f04fb07b25e in qd_router_setup_late /home/gmurthy/opensource/qpid-dispatch/src/router_node.c:1948
      63:     #4 0x7f04f6009b27 in ffi_call_unix64 (/lib64/libffi.so.6+0x6b27)
      63:     #5 0x7ffcd46ba7af  ([stack]+0x1f7af)
      63: 
      63: SUMMARY: AddressSanitizer: heap-buffer-overflow /home/gmurthy/opensource/qpid-dispatch/src/router_core/forwarder.c:668 in qdr_forward_closest_CT
      63: Shadow bytes around the buggy address:
      63:   0x0c32800180d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      63:   0x0c32800180e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      63:   0x0c32800180f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      63:   0x0c3280018100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      63:   0x0c3280018110: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
      63: =>0x0c3280018120: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa[fa]
      63:   0x0c3280018130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      63:   0x0c3280018140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      63:   0x0c3280018150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      63:   0x0c3280018160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      63:   0x0c3280018170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      63: Shadow byte legend (one shadow byte represents 8 application bytes):
      63:   Addressable:           00
      63:   Partially addressable: 01 02 03 04 05 06 07 
      63:   Heap left redzone:       fa
      63:   Freed heap region:       fd
      63:   Stack left redzone:      f1
      63:   Stack mid redzone:       f2
      63:   Stack right redzone:     f3
      63:   Stack after return:      f5
      63:   Stack use after scope:   f8
      63:   Global redzone:          f9
      63:   Global init order:       f6
      63:   Poisoned by user:        f7
      63:   Container overflow:      fc
      63:   Array cookie:            ac
      63:   Intra object redzone:    bb
      63:   ASan internal:           fe
      63:   Left alloca redzone:     ca
      63:   Right alloca redzone:    cb
      63:   Shadow gap:              cc
      63: ==17635==ABORTING
      63: <<<<
      63: 
      63: ----------------------------------------------------------------------
      63: Ran 6 tests in 91.717s
      63: 
      63: FAILED (errors=3)
      1/1 Test #63: system_tests_router_mesh .........***Failed   91.85 sec0% tests passed, 1 tests failed out of 1Total Test time (real) =  91.86 secThe following tests FAILED:
      	 63 - system_tests_router_mesh (Failed)
      Errors while running CTest
      
      
      
      
      
       

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            gmurthy Ganesh Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: