Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9344

TestGracefulShutdown hits ASAN use after free

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Backend
    • ghx-label-1

    Description

      The test passed but ASAN flagged the issue.

      =================================================================
      ==11221==ERROR: AddressSanitizer: heap-use-after-free on address 0x60400007e7a0 at pc 0x000002067b42 bp 0x7fae8d502ac0 sp 0x7fae8d502ab8
      READ of size 8 at 0x60400007e7a0 thread T3
      Picked up JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,address=30000,server=y,suspend=n  
      

      I think it's test_graceful_shutdown_script based based on these command line flags and the fact that the signal was logged, and the timing

      --shutdown_deadline_s=3600
      --shutdown_grace_period_s=1
      ...
      I0130 02:58:16.849383 11650 init.cc:205] Shutdown signal received. Current Shutdown Status: shutdown grace period left: 1s000ms, deadline left: 8760h, queries registered on coordinator: 0, queries executing: 0, fragment instances: 0
      
      
      02:57:56 custom_cluster/test_restart_services.py::TestGracefulShutdown::test_shutdown_signal PASSED
      02:58:09 custom_cluster/test_restart_services.py::TestGracefulShutdown::test_sending_multiple_shutdown_signals PASSED
      02:58:17 custom_cluster/test_restart_services.py::TestGracefulShutdown::test_graceful_shutdown_script PASSED
      02:58:33 custom_cluster/test_restart_services.py::TestGracefulShutdown::test_shutdown_coordinator <- hs2/hs2_test_suite.py PASSED
      

      Attachments

        Issue Links

          Activity

            People

              tarmstrong Tim Armstrong
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: