## root@ubuntu16:/home/ushastry/Downloads# md5sum mysql-5.6.35.tar.gz e4f170f6f73aa94c0d8da90019545908 mysql-5.6.35.tar.gz root@ubuntu16:/home/ushastry/Downloads# tar -zxvf mysql-5.6.35.tar.gz root@ubuntu16:/home/ushastry/Downloads# cd mysql-5.6.35 root@ubuntu16:/home/ushastry/Downloads/mysql-5.6.35# cat /etc/*release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.10 DISTRIB_CODENAME=yakkety DISTRIB_DESCRIPTION="Ubuntu 16.10" NAME="Ubuntu" VERSION="16.10 (Yakkety Yak)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.10" VERSION_ID="16.10" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="http://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=yakkety UBUNTU_CODENAME=yakkety root@ubuntu16:/home/ushastry/Downloads/mysql-5.6.35# cmake --version cmake version 3.5.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). root@ubuntu16:/home/ushastry/Downloads/mysql-5.6.35# gcc --version gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. root@ubuntu16:/home/ushastry/Downloads/mysql-5.6.35# root@ubuntu16:/home/ushastry/Downloads/mysql-5.6.35# cmake . -DWITH_ASAN=ON -DENABLE_DOWNLOADS=1 root@ubuntu16:/home/ushastry/Downloads/mysql-5.6.35# make -j4 root@ubuntu16:/home/ushastry/Downloads/mysql-5.6.35# unittest/gunit/merge_large_tests-t # Running 144 tests from 30 test cases 1..144 # Global test environment set-up # Run 1 FatalSignalDeathTest.Abort ok 1 # Run 2 FatalSignalDeathTest.Segfault /home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/segfault-t.cc:66: FailureDeath test: *pint= 42 Result: died but not with expected error. Expected: .*ASAN:SIGSEGV.* Actual msg: [ DEATH ] ASAN:DEADLYSIGNAL [ DEATH ] ================================================================= [ DEATH ] ==30395==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5611eef3f790 bp 0x7ffd1ee69a10 sp 0x7ffd1ee69830 T0) [ DEATH ] #0 0x5611eef3f78f in segfault_unittest::FatalSignalDeathTest_Segfault_Test::TestBody() /home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/segfault-t.cc:66 [ DEATH ] #1 0x5611f01946ed in void testing::internal::HandleSehExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2402 [ DEATH ] #2 0x5611f01946ed in void testing::internal::HandleExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2438 [ DEATH ] #3 0x5611f01772ad in testing::Test::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2475 [ DEATH ] #4 0x5611f0177637 in testing::TestInfo::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2656 [ DEATH ] #5 0x5611f017796c in testing::TestCase::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2774 [ DEATH ] #6 0x5611f01794c3 in testing::internal::UnitTestImpl::RunAllTests() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:4649 [ DEATH ] #7 0x5611f0179e41 in bool testing::internal::HandleSehExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2402 [ DEATH ] #8 0x5611f0179e41 in bool testing::internal::HandleExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2438 [ DEATH ] #9 0x5611f0179e41 in testing::UnitTest::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:4257 [ DEATH ] #10 0x5611eeec6e08 in RUN_ALL_TESTS() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/include/gtest/gtest.h:2233 [ DEATH ] #11 0x5611eeec6e08 in main /home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/gunit_test_main_server.cc:72 [ DEATH ] #12 0x7f7c544933f0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f0) [ DEATH ] #13 0x5611eeecdb69 in _start (/home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/merge_large_tests-t+0x4bbb69) [ DEATH ] [ DEATH ] AddressSanitizer can not provide additional info. [ DEATH ] SUMMARY: AddressSanitizer: SEGV /home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/segfault-t.cc:66 in segfault_unittest::FatalSignalDeathTest_Segfault_Test::TestBody() [ DEATH ] ==30395==ABORTING [ DEATH ] not ok 2 # Run 3 TableCacheBasicDeathTest.CacheCreateAndDestroy ok 3 # Run 4 TableCacheBasicDeathTest.CacheLockAndUnlock ok 4 # Run 5 TableCacheBasicDeathTest.ManagerCreateAndDestroy ok 5 # Run 6 TableCacheDoubleCacheDeathTest.ManagerLockAndUnlock ok 6 # Run 7 TableCacheDoubleCacheDeathTest.ManagerFreeTable ok 7 # Run 8 CopyInfoTest.constructors ok 8 # Run 9 CopyInfoTest.insertAccessors ok 9 # Run 10 CopyInfoTest.loadDataAccessors ok 10 # Run 11 CopyInfoTest.updateAccessors ok 11 # Run 12 CopyInfoTest.getFunctionDefaultColumns ok 12 # Run 13 CopyInfoTest.setFunctionDefaults ok 13 # Run 14 CreateFieldTest.init ok 14 # Run 15 DelayableInsertOperation.SetDupAndIgnore ok 15 # Run 16 DelayableInsertOperation.SetFunctionDefaults ok 16 # Run 17 PartitionTest.ExplainFilename ok 17 # Run 18 FieldTest.FieldTimef ok 18 # Run 19 FieldTest.FieldTimefCompare ok 19 # Run 20 FieldTest.FieldTime ok 20 # Run 21 FieldTest.CopyFieldSet ================================================================= ==30393==ERROR: AddressSanitizer: new-delete-type-mismatch on 0x61f00000d280 in thread T0: object passed to delete has wrong type: size of the allocated type: 3360 bytes; size of the deallocated type: 2264 bytes. #0 0x7fa44bbc0bf0 in operator delete(void*, unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc8bf0) #1 0x5583bbb99704 in field_unittests::FieldTest_CopyFieldSet_Test::TestBody() /home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/field-t.cc:403 #2 0x5583bcdc66ed in void testing::internal::HandleSehExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2402 #3 0x5583bcdc66ed in void testing::internal::HandleExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2438 #4 0x5583bcda92ad in testing::Test::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2475 #5 0x5583bcda9637 in testing::TestInfo::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2656 #6 0x5583bcda996c in testing::TestCase::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2774 #7 0x5583bcdab4c3 in testing::internal::UnitTestImpl::RunAllTests() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:4649 #8 0x5583bcdabe41 in bool testing::internal::HandleSehExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2402 #9 0x5583bcdabe41 in bool testing::internal::HandleExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2438 #10 0x5583bcdabe41 in testing::UnitTest::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:4257 #11 0x5583bbaf8e08 in RUN_ALL_TESTS() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/include/gtest/gtest.h:2233 #12 0x5583bbaf8e08 in main /home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/gunit_test_main_server.cc:72 #13 0x7fa44a64d3f0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f0) #14 0x5583bbaffb69 in _start (/home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/merge_large_tests-t+0x4bbb69) 0x61f00000d280 is located 0 bytes inside of 3360-byte region [0x61f00000d280,0x61f00000dfa0) allocated by thread T0 here: #0 0x7fa44bbbfef0 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc7ef0) #1 0x5583bbb94a7a in field_unittests::FieldTest::create_field_set(st_typelib*) /home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/field-t.cc:372 #2 0x5583bbb992f0 in field_unittests::FieldTest_CopyFieldSet_Test::TestBody() /home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/field-t.cc:386 #3 0x5583bcdc66ed in void testing::internal::HandleSehExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2402 #4 0x5583bcdc66ed in void testing::internal::HandleExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2438 #5 0x5583bcda92ad in testing::Test::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2475 #6 0x5583bcda9637 in testing::TestInfo::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2656 #7 0x5583bcda996c in testing::TestCase::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2774 #8 0x5583bcdab4c3 in testing::internal::UnitTestImpl::RunAllTests() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:4649 #9 0x5583bcdabe41 in bool testing::internal::HandleSehExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2402 #10 0x5583bcdabe41 in bool testing::internal::HandleExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:2438 #11 0x5583bcdabe41 in testing::UnitTest::Run() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/src/gtest.cc:4257 #12 0x5583bbaf8e08 in RUN_ALL_TESTS() /home/ushastry/Downloads/mysql-5.6.35/source_downloads/googletest-release-1.8.0/googletest/include/gtest/gtest.h:2233 #13 0x5583bbaf8e08 in main /home/ushastry/Downloads/mysql-5.6.35/unittest/gunit/gunit_test_main_server.cc:72 #14 0x7fa44a64d3f0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f0) SUMMARY: AddressSanitizer: new-delete-type-mismatch (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc8bf0) in operator delete(void*, unsigned long) ==30393==HINT: if you don't care about these errors you may set ASAN_OPTIONS=new_delete_type_mismatch=0 ==30393==ABORTING root@ubuntu16:/home/ushastry/Downloads/mysql-5.6.35#