Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-5160

[PS8QA] handle_fatal_signal (sig=8) in std::_Hashtable | /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hashtable.h:1421

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 8.0.x
    • Fix Version/s: 8.0.15-5
    • Component/s: None
    • Labels:
      None

      Description

      Testcase

      # mysqld options required for replay:  --maximum-join_buffer_size=1M --maximum-max_heap_table_size=1M
      
      INSTALL PLUGIN keyring_vault SONAME 'keyring_vault.so';
      SET @@global.keyring_vault_config='MYSQL_test_invalid/dir/';
      SHOW CREATE USER user0@localhost;
       

      GDB Info

      #0  0x00007f751c18d97c in pthread_kill () from /lib64/libpthread.so.0
      #1  0x0000000000f42ca5 in handle_fatal_signal (sig=8) at signal_handler.cc:254
      #2  <signal handler called>
      #3  operator() (this=0x7f75067f4b00, __k="user0") at /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hashtable_policy.h:448
      #4  _M_bucket_index (this=0x7f75067f4b00, __k="user0") at /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hashtable_policy.h:1373
      #5  _M_bucket_index (this=0x7f75067f4b00, __k="user0") at /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hashtable.h:631
      #6  std::_Hashtable<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::list<ACL_USER*, Acl_cache_allocator<ACL_USER*> > >, Acl_cache_allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::list<ACL_USER*, Acl_cache_allocator<ACL_USER*> > > >, std::__detail::_Select1st, std::equal_to<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::find (this=0x7f75067f4b00, __k="user0") at /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hashtable.h:1421
      #7  0x0000000000f9d6c5 in find (name=Unhandled dwarf expression opcode 0xf3
      ) at /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unordered_map.h:923
      #8  cached_acl_users_for_name (name=Unhandled dwarf expression opcode 0xf3
      ) at auth/sql_auth_cache.cc:899
      #9  0x0000000000f9d7f4 in find_acl_user (host=0x7f7492866b10 "localhost", user=0x7f7492866b00 "user0", exact=true) at auth/sql_auth_cache.cc:919
      #10 0x0000000000fd7d69 in mysql_show_create_user (thd=0x7f7492817000, user_name=0x7f7492866b20, are_both_users_same=Unhandled dwarf expression opcode 0xf3
      ) at auth/sql_user.cc:196
      #11 0x0000000000e2209c in mysql_execute_command (thd=0x7f7492817000, first_level=Unhandled dwarf expression opcode 0xf3
      ) at sql_parse.cc:4074
      #12 0x0000000000e25d0f in mysql_parse (thd=0x7f7492817000, parser_state=Unhandled dwarf expression opcode 0xf3
      ) at sql_parse.cc:5259
      #13 0x0000000000e28fdf in dispatch_command (thd=0x7f7492817000, com_data=Unhandled dwarf expression opcode 0xf3
      ) at sql_parse.cc:1734
      #14 0x0000000000e29afd in do_command (thd=0x7f7492817000) at sql_parse.cc:1290
      #15 0x0000000000f34940 in handle_connection (arg=Unhandled dwarf expression opcode 0xf3
      ) at conn_handler/connection_handler_per_thread.cc:317
      #16 0x0000000001c8bd2f in pfs_spawn_thread (arg=0x7f75026d1420) at pfs.cc:2836
      #17 0x00007f751c188aa1 in start_thread () from /lib64/libpthread.so.0
      #18 0x00007f751a47fc4d in clone () from /lib64/libc.so.6
       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                ramesh.sivaraman Ramesh Sivaraman
                Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 6 hours, 8 minutes
                    6h 8m