Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-28875

[draft] LeakSanitizer: detected memory leaks

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • None
    • N/A
    • N/A
    • None

    Description

      preview-10.10-MDEV-28852-optimizer 487d868fde8cfcf036a8148aca114fcf7ee2f7f5

      2022-06-17 10:22:33 0 [Note] /10.10/sql/mysqld: Shutdown complete
       
      =================================================================
      ==42741==ERROR: LeakSanitizer: detected memory leaks
       
      Direct leak of 280 byte(s) in 7 object(s) allocated from:
          #0 0x7fec12963d30 in operator new(unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0xead30)
          #1 0x555e0ac041ca in __gnu_cxx::new_allocator<std::_Rb_tree_node<unsigned short> >::allocate(unsigned long, void const*) (/10.10/sql/mariadbd+0x22501ca)
          #2 0x555e0ac0408b in std::allocator_traits<std::allocator<std::_Rb_tree_node<unsigned short> > >::allocate(std::allocator<std::_Rb_tree_node<unsigned short> >&, unsigned long) (/10.10/sql/mariadbd+0x225008b)
          #3 0x555e0ac03f4a in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_get_node() (/10.10/sql/mariadbd+0x224ff4a)
          #4 0x555e0ac04029 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_create_node<unsigned short const&>(unsigned short const&) (/10.10/sql/mariadbd+0x2250029)
          #5 0x555e0ac03ecf in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node::operator()<unsigned short const&>(unsigned short const&) const (/10.10/sql/mariadbd+0x224fecf)
          #6 0x555e0ac03c99 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_clone_node<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree_node<unsigned short> const*, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224fc99)
          #7 0x555e0ac03545 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree_node<unsigned short> const*, std::_Rb_tree_node_base*, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224f545)
          #8 0x555e0ac02366 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224e366)
          #9 0x555e0ac01633 in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_tree.h:902
          #10 0x555e0ac00bbf in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Rb_tree(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_tree.h:940
          #11 0x555e0ac00006 in std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> >::set(std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_set.h:223
          #12 0x555e0ac000c1 in Dep_module_pseudo_key::Dep_module_pseudo_key(Dep_value_table*, std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> >&&) /10.10/sql/opt_table_elimination.cc:477
          #13 0x555e0abfcebb in Dep_analysis_context::create_unique_pseudo_key_if_needed(TABLE_LIST*, Dep_value_table*) /10.10/sql/opt_table_elimination.cc:1763
          #14 0x555e0abfc995 in Dep_analysis_context::create_table_value(TABLE_LIST*) /10.10/sql/opt_table_elimination.cc:1686
          #15 0x555e0abf8807 in check_func_dependency /10.10/sql/opt_table_elimination.cc:929
          #16 0x555e0abf7f5d in eliminate_tables_for_list /10.10/sql/opt_table_elimination.cc:848
          #17 0x555e0abf7983 in eliminate_tables(JOIN*) /10.10/sql/opt_table_elimination.cc:769
          #18 0x555e0a7598f5 in make_join_statistics /10.10/sql/sql_select.cc:5482
          #19 0x555e0a73ba0a in JOIN::optimize_inner() /10.10/sql/sql_select.cc:2511
          #20 0x555e0a734903 in JOIN::optimize() /10.10/sql/sql_select.cc:1850
          #21 0x555e0a974775 in st_select_lex_unit::optimize() /10.10/sql/sql_union.cc:2123
          #22 0x555e0a974f51 in st_select_lex_unit::exec() /10.10/sql/sql_union.cc:2157
          #23 0x555e0a9610f1 in mysql_union(THD*, LEX*, select_result*, st_select_lex_unit*, unsigned long) /10.10/sql/sql_union.cc:42
          #24 0x555e0a72650c in handle_select(THD*, LEX*, select_result*, unsigned long) /10.10/sql/sql_select.cc:573
          #25 0x555e0a650f8d in execute_sqlcom_select /10.10/sql/sql_parse.cc:6260
          #26 0x555e0a63f93e in mysql_execute_command(THD*, bool) /10.10/sql/sql_parse.cc:3944
          #27 0x555e0a65bd8a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /10.10/sql/sql_parse.cc:8036
          #28 0x555e0a632436 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /10.10/sql/sql_parse.cc:1894
          #29 0x555e0a62f16c in do_command(THD*, bool) /10.10/sql/sql_parse.cc:1407
       
      Direct leak of 80 byte(s) in 2 object(s) allocated from:
          #0 0x7fec12963d30 in operator new(unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0xead30)
          #1 0x555e0ac041ca in __gnu_cxx::new_allocator<std::_Rb_tree_node<unsigned short> >::allocate(unsigned long, void const*) (/10.10/sql/mariadbd+0x22501ca)
          #2 0x555e0ac0408b in std::allocator_traits<std::allocator<std::_Rb_tree_node<unsigned short> > >::allocate(std::allocator<std::_Rb_tree_node<unsigned short> >&, unsigned long) (/10.10/sql/mariadbd+0x225008b)
          #3 0x555e0ac03f4a in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_get_node() (/10.10/sql/mariadbd+0x224ff4a)
          #4 0x555e0ac04029 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_create_node<unsigned short const&>(unsigned short const&) (/10.10/sql/mariadbd+0x2250029)
          #5 0x555e0ac03ecf in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node::operator()<unsigned short const&>(unsigned short const&) const (/10.10/sql/mariadbd+0x224fecf)
          #6 0x555e0ac03c99 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_clone_node<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree_node<unsigned short> const*, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224fc99)
          #7 0x555e0ac03545 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree_node<unsigned short> const*, std::_Rb_tree_node_base*, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224f545)
          #8 0x555e0ac02366 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224e366)
          #9 0x555e0ac01633 in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_tree.h:902
          #10 0x555e0ac00bbf in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Rb_tree(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_tree.h:940
          #11 0x555e0ac00006 in std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> >::set(std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_set.h:223
          #12 0x555e0ac000c1 in Dep_module_pseudo_key::Dep_module_pseudo_key(Dep_value_table*, std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> >&&) /10.10/sql/opt_table_elimination.cc:477
          #13 0x555e0abfcebb in Dep_analysis_context::create_unique_pseudo_key_if_needed(TABLE_LIST*, Dep_value_table*) /10.10/sql/opt_table_elimination.cc:1763
          #14 0x555e0abfc995 in Dep_analysis_context::create_table_value(TABLE_LIST*) /10.10/sql/opt_table_elimination.cc:1686
          #15 0x555e0abf8807 in check_func_dependency /10.10/sql/opt_table_elimination.cc:929
          #16 0x555e0abf7f5d in eliminate_tables_for_list /10.10/sql/opt_table_elimination.cc:848
          #17 0x555e0abf7983 in eliminate_tables(JOIN*) /10.10/sql/opt_table_elimination.cc:769
          #18 0x555e0a7598f5 in make_join_statistics /10.10/sql/sql_select.cc:5482
          #19 0x555e0a73ba0a in JOIN::optimize_inner() /10.10/sql/sql_select.cc:2511
          #20 0x555e0a734903 in JOIN::optimize() /10.10/sql/sql_select.cc:1850
          #21 0x555e0a755d27 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /10.10/sql/sql_select.cc:5038
          #22 0x555e0a7267ee in handle_select(THD*, LEX*, select_result*, unsigned long) /10.10/sql/sql_select.cc:583
          #23 0x555e0a644fc2 in mysql_execute_command(THD*, bool) /10.10/sql/sql_parse.cc:4708
          #24 0x555e0a65bd8a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /10.10/sql/sql_parse.cc:8036
          #25 0x555e0a632436 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /10.10/sql/sql_parse.cc:1894
          #26 0x555e0a62f16c in do_command(THD*, bool) /10.10/sql/sql_parse.cc:1407
          #27 0x555e0aacda76 in do_handle_one_connection(CONNECT*, bool) /10.10/sql/sql_connect.cc:1418
          #28 0x555e0aacd2fb in handle_one_connection /10.10/sql/sql_connect.cc:1312
          #29 0x555e0b76bdc6 in pfs_spawn_thread /10.10/storage/perfschema/pfs.cc:2201
       
      Direct leak of 80 byte(s) in 2 object(s) allocated from:
          #0 0x7fec12963d30 in operator new(unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0xead30)
          #1 0x555e0ac041ca in __gnu_cxx::new_allocator<std::_Rb_tree_node<unsigned short> >::allocate(unsigned long, void const*) (/10.10/sql/mariadbd+0x22501ca)
          #2 0x555e0ac0408b in std::allocator_traits<std::allocator<std::_Rb_tree_node<unsigned short> > >::allocate(std::allocator<std::_Rb_tree_node<unsigned short> >&, unsigned long) (/10.10/sql/mariadbd+0x225008b)
          #3 0x555e0ac03f4a in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_get_node() (/10.10/sql/mariadbd+0x224ff4a)
          #4 0x555e0ac04029 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_create_node<unsigned short const&>(unsigned short const&) (/10.10/sql/mariadbd+0x2250029)
          #5 0x555e0ac03ecf in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node::operator()<unsigned short const&>(unsigned short const&) const (/10.10/sql/mariadbd+0x224fecf)
          #6 0x555e0ac03c99 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_clone_node<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree_node<unsigned short> const*, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224fc99)
          #7 0x555e0ac03545 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree_node<unsigned short> const*, std::_Rb_tree_node_base*, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224f545)
          #8 0x555e0ac02366 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224e366)
          #9 0x555e0ac01633 in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_tree.h:902
          #10 0x555e0ac00bbf in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Rb_tree(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_tree.h:940
          #11 0x555e0ac00006 in std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> >::set(std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_set.h:223
          #12 0x555e0ac000c1 in Dep_module_pseudo_key::Dep_module_pseudo_key(Dep_value_table*, std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> >&&) /10.10/sql/opt_table_elimination.cc:477
          #13 0x555e0abfcebb in Dep_analysis_context::create_unique_pseudo_key_if_needed(TABLE_LIST*, Dep_value_table*) /10.10/sql/opt_table_elimination.cc:1763
          #14 0x555e0abfc995 in Dep_analysis_context::create_table_value(TABLE_LIST*) /10.10/sql/opt_table_elimination.cc:1686
          #15 0x555e0abf8807 in check_func_dependency /10.10/sql/opt_table_elimination.cc:929
          #16 0x555e0abf7f5d in eliminate_tables_for_list /10.10/sql/opt_table_elimination.cc:848
          #17 0x555e0abf7983 in eliminate_tables(JOIN*) /10.10/sql/opt_table_elimination.cc:769
          #18 0x555e0a7598f5 in make_join_statistics /10.10/sql/sql_select.cc:5482
          #19 0x555e0a73ba0a in JOIN::optimize_inner() /10.10/sql/sql_select.cc:2511
          #20 0x555e0a734903 in JOIN::optimize() /10.10/sql/sql_select.cc:1850
          #21 0x555e0a755d27 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /10.10/sql/sql_select.cc:5038
          #22 0x555e0a7267ee in handle_select(THD*, LEX*, select_result*, unsigned long) /10.10/sql/sql_select.cc:583
          #23 0x555e0a650f8d in execute_sqlcom_select /10.10/sql/sql_parse.cc:6260
          #24 0x555e0a63f93e in mysql_execute_command(THD*, bool) /10.10/sql/sql_parse.cc:3944
          #25 0x555e0a65bd8a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /10.10/sql/sql_parse.cc:8036
          #26 0x555e0a632436 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /10.10/sql/sql_parse.cc:1894
          #27 0x555e0a62f16c in do_command(THD*, bool) /10.10/sql/sql_parse.cc:1407
          #28 0x555e0aacda76 in do_handle_one_connection(CONNECT*, bool) /10.10/sql/sql_connect.cc:1418
          #29 0x555e0aacd2fb in handle_one_connection /10.10/sql/sql_connect.cc:1312
       
      Direct leak of 80 byte(s) in 2 object(s) allocated from:
          #0 0x7fec12963d30 in operator new(unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0xead30)
          #1 0x555e0ac041ca in __gnu_cxx::new_allocator<std::_Rb_tree_node<unsigned short> >::allocate(unsigned long, void const*) (/10.10/sql/mariadbd+0x22501ca)
          #2 0x555e0ac0408b in std::allocator_traits<std::allocator<std::_Rb_tree_node<unsigned short> > >::allocate(std::allocator<std::_Rb_tree_node<unsigned short> >&, unsigned long) (/10.10/sql/mariadbd+0x225008b)
          #3 0x555e0ac03f4a in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_get_node() (/10.10/sql/mariadbd+0x224ff4a)
          #4 0x555e0ac04029 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_create_node<unsigned short const&>(unsigned short const&) (/10.10/sql/mariadbd+0x2250029)
          #5 0x555e0ac03ecf in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node::operator()<unsigned short const&>(unsigned short const&) const (/10.10/sql/mariadbd+0x224fecf)
          #6 0x555e0ac03c99 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_clone_node<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree_node<unsigned short> const*, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224fc99)
          #7 0x555e0ac03545 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree_node<unsigned short> const*, std::_Rb_tree_node_base*, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224f545)
          #8 0x555e0ac02366 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224e366)
          #9 0x555e0ac01633 in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_tree.h:902
          #10 0x555e0ac00bbf in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Rb_tree(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_tree.h:940
          #11 0x555e0ac00006 in std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> >::set(std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_set.h:223
          #12 0x555e0ac000c1 in Dep_module_pseudo_key::Dep_module_pseudo_key(Dep_value_table*, std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> >&&) /10.10/sql/opt_table_elimination.cc:477
          #13 0x555e0abfcebb in Dep_analysis_context::create_unique_pseudo_key_if_needed(TABLE_LIST*, Dep_value_table*) /10.10/sql/opt_table_elimination.cc:1763
          #14 0x555e0abfc995 in Dep_analysis_context::create_table_value(TABLE_LIST*) /10.10/sql/opt_table_elimination.cc:1686
          #15 0x555e0abf8807 in check_func_dependency /10.10/sql/opt_table_elimination.cc:929
          #16 0x555e0abf7f5d in eliminate_tables_for_list /10.10/sql/opt_table_elimination.cc:848
          #17 0x555e0abf7983 in eliminate_tables(JOIN*) /10.10/sql/opt_table_elimination.cc:769
          #18 0x555e0a7598f5 in make_join_statistics /10.10/sql/sql_select.cc:5482
          #19 0x555e0a73ba0a in JOIN::optimize_inner() /10.10/sql/sql_select.cc:2511
          #20 0x555e0a734903 in JOIN::optimize() /10.10/sql/sql_select.cc:1850
          #21 0x555e0a755d27 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /10.10/sql/sql_select.cc:5038
          #22 0x555e0a7267ee in handle_select(THD*, LEX*, select_result*, unsigned long) /10.10/sql/sql_select.cc:583
          #23 0x555e0a93b60c in Sql_cmd_create_table_like::execute(THD*) /10.10/sql/sql_table.cc:12277
          #24 0x555e0a64eaba in mysql_execute_command(THD*, bool) /10.10/sql/sql_parse.cc:5996
          #25 0x555e0a65bd8a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /10.10/sql/sql_parse.cc:8036
          #26 0x555e0a632436 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /10.10/sql/sql_parse.cc:1894
          #27 0x555e0a62f16c in do_command(THD*, bool) /10.10/sql/sql_parse.cc:1407
          #28 0x555e0aacda76 in do_handle_one_connection(CONNECT*, bool) /10.10/sql/sql_connect.cc:1418
          #29 0x555e0aacd2fb in handle_one_connection /10.10/sql/sql_connect.cc:1312
       
      Direct leak of 40 byte(s) in 1 object(s) allocated from:
          #0 0x7fec12963d30 in operator new(unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0xead30)
          #1 0x555e0ac041ca in __gnu_cxx::new_allocator<std::_Rb_tree_node<unsigned short> >::allocate(unsigned long, void const*) (/10.10/sql/mariadbd+0x22501ca)
          #2 0x555e0ac0408b in std::allocator_traits<std::allocator<std::_Rb_tree_node<unsigned short> > >::allocate(std::allocator<std::_Rb_tree_node<unsigned short> >&, unsigned long) (/10.10/sql/mariadbd+0x225008b)
          #3 0x555e0ac03f4a in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_get_node() (/10.10/sql/mariadbd+0x224ff4a)
          #4 0x555e0ac04029 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_create_node<unsigned short const&>(unsigned short const&) (/10.10/sql/mariadbd+0x2250029)
          #5 0x555e0ac03ecf in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node::operator()<unsigned short const&>(unsigned short const&) const (/10.10/sql/mariadbd+0x224fecf)
          #6 0x555e0ac03c99 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_clone_node<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree_node<unsigned short> const*, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224fc99)
          #7 0x555e0ac03545 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree_node<unsigned short> const*, std::_Rb_tree_node_base*, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224f545)
          #8 0x555e0ac02366 in std::_Rb_tree_node<unsigned short>* std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy<std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node>(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&, std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Alloc_node&) (/10.10/sql/mariadbd+0x224e366)
          #9 0x555e0ac01633 in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_M_copy(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_tree.h:902
          #10 0x555e0ac00bbf in std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> >::_Rb_tree(std::_Rb_tree<unsigned short, unsigned short, std::_Identity<unsigned short>, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_tree.h:940
          #11 0x555e0ac00006 in std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> >::set(std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> > const&) /usr/include/c++/8/bits/stl_set.h:223
          #12 0x555e0ac000c1 in Dep_module_pseudo_key::Dep_module_pseudo_key(Dep_value_table*, std::set<unsigned short, std::less<unsigned short>, std::allocator<unsigned short> >&&) /10.10/sql/opt_table_elimination.cc:477
          #13 0x555e0abfcebb in Dep_analysis_context::create_unique_pseudo_key_if_needed(TABLE_LIST*, Dep_value_table*) /10.10/sql/opt_table_elimination.cc:1763
          #14 0x555e0abfc995 in Dep_analysis_context::create_table_value(TABLE_LIST*) /10.10/sql/opt_table_elimination.cc:1686
          #15 0x555e0abf88ec in check_func_dependency /10.10/sql/opt_table_elimination.cc:939
          #16 0x555e0abf82db in eliminate_tables_for_list /10.10/sql/opt_table_elimination.cc:872
          #17 0x555e0abf7e28 in eliminate_tables_for_list /10.10/sql/opt_table_elimination.cc:832
          #18 0x555e0abf7983 in eliminate_tables(JOIN*) /10.10/sql/opt_table_elimination.cc:769
          #19 0x555e0a7598f5 in make_join_statistics /10.10/sql/sql_select.cc:5482
          #20 0x555e0a73ba0a in JOIN::optimize_inner() /10.10/sql/sql_select.cc:2511
          #21 0x555e0a734903 in JOIN::optimize() /10.10/sql/sql_select.cc:1850
          #22 0x555e0a755d27 in mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) /10.10/sql/sql_select.cc:5038
          #23 0x555e0a7267ee in handle_select(THD*, LEX*, select_result*, unsigned long) /10.10/sql/sql_select.cc:583
          #24 0x555e0a650f8d in execute_sqlcom_select /10.10/sql/sql_parse.cc:6260
          #25 0x555e0a63f93e in mysql_execute_command(THD*, bool) /10.10/sql/sql_parse.cc:3944
          #26 0x555e0a65bd8a in mysql_parse(THD*, char*, unsigned int, Parser_state*) /10.10/sql/sql_parse.cc:8036
          #27 0x555e0a632436 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /10.10/sql/sql_parse.cc:1894
          #28 0x555e0a62f16c in do_command(THD*, bool) /10.10/sql/sql_parse.cc:1407
          #29 0x555e0aacda76 in do_handle_one_connection(CONNECT*, bool) /10.10/sql/sql_connect.cc:1418
       
      SUMMARY: AddressSanitizer: 560 byte(s) leaked in 14 allocation(s).
      
      

      Attachments

        Issue Links

          Activity

            People

              alice Alice Sherepa
              alice Alice Sherepa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.