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

SEGV in dict_load_table_one after server crash

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.5
    • None
    • None
    • None

    Description

      similar as MDEV-23134, slave was killed and then restarted.

      10.5 4ec032b492de5c392f66

      2020-07-22 10:38:38 26 [ERROR] InnoDB: Trying to load index `GEN_CLUST_INDEX` for table `test`.`t1`, but the index tree has been freed!
      2020-07-22 10:38:38 26 [Note] InnoDB: Index is corrupt but forcing load into data dictionary
      200722 10:38:38 [ERROR] mysqld got signal 11 ;
       
      Server version: 10.5.5-MariaDB-debug-log
       
      dict/dict0load.cc:2992(dict_load_table_one(table_name_t const&, dict_err_ignore_t, std::deque<char const*, ut_allocator<char const*, true> >&))[0x557a99223864]
      dict/dict0load.cc:2745(dict_load_table(char const*, dict_err_ignore_t))[0x557a991e6b8e]
      dict/dict0dict.cc:1097(dict_table_open_on_name(char const*, unsigned long, unsigned long, dict_err_ignore_t))[0x557a98edadd6]
      row/row0mysql.cc:3323(row_drop_table_for_mysql(char const*, trx_t*, enum_sql_command, bool, bool))[0x557a98b973fc]
      handler/ha_innodb.cc:13431(ha_innobase::delete_table(char const*, enum_sql_command))[0x557a98b61ee3]
      handler/ha_innodb.cc:13559(ha_innobase::delete_table(char const*))[0x557a98050c25]
      sql/handler.cc:564(hton_drop_table(handlerton*, char const*))[0x557a9805d776]
      sql/handler.cc:2761(ha_delete_table(THD*, handlerton*, char const*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, bool))[0x557a97ae77d8]
      sql/sql_table.cc:2482(mysql_rm_table_no_locks(THD*, TABLE_LIST*, bool, bool, bool, bool, bool, bool))[0x557a97ae58c6]
      sql/sql_table.cc:2143(mysql_rm_table(THD*, TABLE_LIST*, bool, bool, bool, bool))[0x557a9788ef7a]
      sql/sql_parse.cc:4921(mysql_execute_command(THD*))[0x557a978a3454]
      sql/sql_parse.cc:7993(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x557a983b25a2]
      sql/log_event_server.cc:1906(Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int))[0x557a983af7ab]
      sql/log_event_server.cc:1579(Query_log_event::do_apply_event(rpl_group_info*))[0x557a97629497]
      sql/log_event.h:1496(Log_event::apply_event(rpl_group_info*))[0x557a9760b682]
      sql/slave.cc:4003(apply_event_and_update_pos_apply(Log_event*, THD*, rpl_group_info*, int))[0x557a9760c3ef]
      sql/slave.cc:4190(apply_event_and_update_pos_for_parallel(Log_event*, THD*, rpl_group_info*))[0x557a97dd9d75]
      sql/rpl_parallel.cc:61(rpt_handle_event(rpl_parallel_thread::queued_event*, rpl_parallel_thread*))[0x557a97de13ca]
      sql/rpl_parallel.cc:1343(handle_rpl_parallel_thread)[0x557a9895037e]
      nptl/pthread_create.c:487(start_thread)[0x7fa446505fa3]
      x86_64/clone.S:97(clone)[0x7fa445b0c4cf]
       
      Query (0x6130004011d3): DROP TABLE IF EXISTS `t1` 
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Git Integration

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