==66924== ERROR: AddressSanitizer: heap-use-after-free on address 0x600800000cf2 at pc 0x449a246 bp 0x7f0468510ac0 sp 0x7f0468510ab0 READ of size 1 at 0x600800000cf2 thread T14 #0 0x449a245 in set_thread_resource_group mysql-8.0.3-rc/storage/perfschema/pfs.cc:3423 #1 0x449a245 in ?? ??:0 #2 0x453db35 in _ZN25PFS_notification_registry9get_firstEi mysql-8.0.3-rc/storage/perfschema/service_pfs_notification.cc:239 #3 0x453db35 in _Z24pfs_notify_thread_createP10PSI_thread mysql-8.0.3-rc/storage/perfschema/service_pfs_notification.cc:350 #4 0x453db35 in ?? ??:0 #5 0x447a9e4 in pfs_spawn_thread_v1 mysql-8.0.3-rc/storage/perfschema/pfs.cc:3033 #6 0x447a9e4 in ?? ??:0 #7 0x3c4c334 in ~_Sp_counted_base /usr/include/c++/4.8.2/bits/shared_ptr_base.h:114 #8 0x3c4c334 in ~_Sp_counted_ptr_inplace /usr/include/c++/4.8.2/bits/shared_ptr_base.h:403 #9 0x3c4c334 in destroy >, std::allocator > >, (__gnu_cxx::_Lock_policy)2u> > /usr/include/c++/4.8.2/ext/new_allocator.h:124 #10 0x3c4c334 in _S_destroy >, std::allocator > >, (__gnu_cxx::_Lock_policy)2u> > /usr/include/c++/4.8.2/bits/alloc_traits.h:281 #11 0x3c4c334 in destroy >, std::allocator > >, (__gnu_cxx::_Lock_policy)2u> > /usr/include/c++/4.8.2/bits/alloc_traits.h:405 #12 0x3c4c334 in _ZNSt23_Sp_counted_ptr_inplaceINSt6thread5_ImplISt12_Bind_simpleIF8RunnablePFvvEEEEESaIS8_ELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv /usr/include/c++/4.8.2/bits/shared_ptr_base.h:416 #13 0x3c4c334 in ?? ??:0 #14 0x7f047c3b921f in ?? ??:0 #15 0x7f047c3b921f in ?? ??:0 #16 0x7f047d087a97 in ?? ??:0 #17 0x7f047d087a97 in ?? ??:0 #18 0x7f047ce59e24 in start_thread pthread_create.c:? #19 0x7f047ce59e24 in ?? ??:0 #20 0x7f047bb2035c in __clone ??:? #21 0x7f047bb2035c in ?? ??:0 0x600800000cf2 is located 34 bytes inside of 36-byte region [0x600800000cd0,0x600800000cf4) freed by thread T0 here: #0 0x7f047d080389 in ?? ??:0 #1 0x7f047d080389 in ?? ??:0 #2 0xc1da8d in _ZNSt10_HashtableISsSt4pairIKSsSt10unique_ptrIN14resourcegroups14Resource_groupESt14default_deleteIS4_EEE16Malloc_allocatorIS8_ENSt8__detail10_Select1stE19Collation_key_equal16Collation_hasherNSB_18_Mod_range_hashingENSB_20_Default_ranged_hashENSB_20_Prime_rehash_policyENSB_17_Hashtable_traitsILb1ELb0ELb1EEEE5clearEv /usr/include/c++/4.8.2/bits/hashtable.h:1642 #3 0xc1da8d in ?? ??:0 #4 0xc17fd3 in _ZN14resourcegroups18Resource_group_mgr6deinitEv mysql-8.0.3-rc/sql/resourcegroups/resource_group_mgr.cc:279 #5 0xc17fd3 in ?? ??:0 #6 0xb57ed6 in _ZN14resourcegroups18Resource_group_mgr22disable_resource_groupEv mysql-8.0.3-rc/sql/resourcegroups/resource_group_mgr.h:118 #7 0xb57ed6 in init_server_components mysql-8.0.3-rc/sql/mysqld.cc:4770 #8 0xb57ed6 in ?? ??:0 #9 0xb5f3de in _ZN8LogEvent8functionEPKc mysql-8.0.3-rc/include/mysql/components/services/log_builtins.h:908 #10 0xb5f3de in check_user mysql-8.0.3-rc/sql/mysqld.cc:2180 #11 0xb5f3de in _Z11mysqld_mainiPPc mysql-8.0.3-rc/sql/mysqld.cc:5568 #12 0xb5f3de in ?? ??:0 #13 0x7f047ba49c04 in __libc_start_main ??:? #14 0x7f047ba49c04 in ?? ??:0 previously allocated by thread T0 here: #0 0x7f047d080149 in ?? ??:0 #1 0x7f047d080149 in ?? ??:0 #2 0x7f047c3c1c68 in ?? ??:0 #3 0x7f047c3c1c68 in ?? ??:0 #4 0x7ffe742f120f in Thread T14 created by T1 here: #0 0x7f047d078c3a in ?? ??:0 #1 0x7f047d078c3a in ?? ??:0 #2 0x7f047c3b9486 in ?? ??:0 #3 0x7f047c3b9486 in ?? ??:0 #4 0x7f04757832af in Thread T1 created by T0 here: #0 0x7f047d078c3a in ?? ??:0 #1 0x7f047d078c3a in ?? ??:0 #2 0x447a7e2 in pfs_spawn_thread_v1 mysql-8.0.3-rc/storage/perfschema/pfs.cc:3033 #3 0x447a7e2 in ?? ??:0 #4 0x18aa7aa in _ZN9bootstrap20run_bootstrap_threadEP13st_mysql_filePFbP3THDE16enum_thread_type mysql-8.0.3-rc/sql/bootstrap.cc:354 (discriminator 2) #5 0x18aa7aa in ?? ??:0 #6 0x10ffeba in _ZN2dd15Dictionary_impl4initENS_17enum_dd_init_typeE mysql-8.0.3-rc/sql/dd/impl/dictionary_impl.cc:154 #7 0x10ffeba in ?? ??:0 #8 0xb59269 in init_server_components mysql-8.0.3-rc/sql/mysqld.cc:4528 #9 0xb59269 in ?? ??:0 #10 0xb5f3de in _ZN8LogEvent8functionEPKc mysql-8.0.3-rc/include/mysql/components/services/log_builtins.h:908 #11 0xb5f3de in check_user mysql-8.0.3-rc/sql/mysqld.cc:2180 #12 0xb5f3de in _Z11mysqld_mainiPPc mysql-8.0.3-rc/sql/mysqld.cc:5568 #13 0xb5f3de in ?? ??:0 #14 0x7f047ba49c04 in __libc_start_main ??:? #15 0x7f047ba49c04 in ?? ??:0 Shadow bytes around the buggy address: 0x0c017fff8140: fa fa fd fd fd fd fd fa fa fa fd fd fd fd fd fa 0x0c017fff8150: fa fa fd fd fd fd fd fa fa fa fd fd fd fd fd fa 0x0c017fff8160: fa fa fd fd fd fd fd fd fa fa fd fd fd fd fd fa 0x0c017fff8170: fa fa fd fd fd fd fd fa fa fa fd fd fd fd fd fa 0x0c017fff8180: fa fa fd fd fd fd fd fd fa fa 00 00 00 00 00 fa =>0x0c017fff8190: fa fa 00 00 00 00 00 fa fa fa fd fd fd fd[fd]fa 0x0c017fff81a0: fa fa fd fd fd fd fd fa fa fa 00 00 00 00 00 00 0x0c017fff81b0: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00 0x0c017fff81c0: fa fa 00 00 00 00 00 03 fa fa 00 00 00 00 00 00 0x0c017fff81d0: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00 0x0c017fff81e0: fa fa 00 00 00 00 00 01 fa fa 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap righ redzone: fb Freed Heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 ASan internal: fe ==66924== ABORTING ASAN:SIGSEGV ==66924== AddressSanitizer: while reporting a bug found another one.Ignoring.