Tim Armstrong created IMPALA-9344:
-------------------------------------

             Summary: TestGracefulShutdown hits ASAN use after free
                 Key: IMPALA-9344
                 URL: https://issues.apache.org/jira/browse/IMPALA-9344
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
            Reporter: Tim Armstrong
            Assignee: Tim Armstrong
         Attachments: 
impalad.impala-ec2-centos74-r5-4xlarge-ondemand-1810.vpc.cloudera.com.jenkins.log.ERROR.20200130-025809.11221,
 
impalad.impala-ec2-centos74-r5-4xlarge-ondemand-1810.vpc.cloudera.com.jenkins.log.INFO.20200130-025809.11221,
 
impalad.impala-ec2-centos74-r5-4xlarge-ondemand-1810.vpc.cloudera.com.jenkins.log.WARNING.20200130-025809.11221

The test passed but ASAN flagged the issue.
{noformat}
=================================================================
==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  
{noformat}

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

{noformat}
--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

{noformat}

{noformat}

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
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to