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

Crash in innodb.temp_truncate_freed

    XMLWordPrintable

Details

    Description

      The innodb.temp_truncate_freed test intermittently crashes. On Linux, the crash is very difficult to reproduce (script to reliably reproduce it attached), but on macOS it crashes fairly predictably when running MTR with --repeat=100.

      The stack trace (from macOS). The ... represents some STL iterator stack frames.

      handle_fatal_signal + 628
      _sigtramp + 56
      ...
      range_set::add_range(range_t) + 176
      fil_space_t::add_free_range(range_t) + 44
      mtr_t::commit() + 1488
      btr_free_but_not_root(buf_block_t*, mtr_t const&, bool) + 628
      btr_drop_temporary_table(trx_t*, dict_table_t const&) + 536
      ha_innobase::delete_table(char const*) + 632
      hton_drop_table(handlerton*, char const*) + 108
      THD::rm_temporary_table(handlerton*, char const*) + 140
      THD::free_tmp_table_share(TMP_TABLE_SHARE*, bool) + 116
      THD::drop_temporary_table(TABLE*, bool*, bool) + 924
      mysql_rm_table_no_locks(THD*, TABLE_LIST*, st_mysql_const_lex_string const*, st_ddl_log_state*, bool, bool, bool, bool, bool, bool) + 1856
      mysql_rm_table(THD*, TABLE_LIST*, bool, bool, bool, bool) + 1072
      mysql_execute_command(THD*, bool) + 15244
      mysql_parse(THD*, char*, unsigned int, Parser_state*) + 940
      

      Attachments

        Issue Links

          Activity

            People

              andrzej.jarzabek Andrzej Jarzabek
              Gosselin Dave Gosselin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 2.5h
                  2.5h

                  Git Integration

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