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

InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.5.8/storage/innobase/data/data0type.cc line 67

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Incomplete
    • 10.5.8
    • N/A

    Description

      Hi,

      It very strange that the mariadb server will be restart very often like (not start over 5 min). even I have reinstall the mariadb rpm package, it still having issue. kindly advise

      ---------------------
      2021-02-07 05:08:07 0x7fdb842ec700 InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.5.8/storage/innobase/data/data0type.cc line 67
      InnoDB: Failing assertion: !(prefix_len % mbmaxlen)
      InnoDB: We intentionally generate a memory trap.
      InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
      InnoDB: If you get repeated assertion failures or crashes, even
      InnoDB: immediately after the mysqld startup, there may be
      InnoDB: corruption in the InnoDB tablespace. Please refer to
      InnoDB: https://mariadb.com/kb/en/library/innodb-recovery-modes/
      InnoDB: about forcing recovery.
      210207 5:08:07 [ERROR] mysqld got signal 6 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.

      To report this bug, see https://mariadb.com/kb/en/reporting-bugs

      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed,
      something is definitely wrong and this may fail.

      Server version: 10.5.8-MariaDB
      key_buffer_size=536870912
      read_buffer_size=131072
      max_used_connections=6
      max_threads=502
      thread_count=7
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1629364 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x7fd894000c58
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      stack_bottom = 0x7fdb842ebbd8 thread_stack 0x49000
      ??:0(my_print_stacktrace)[0x556a3697807e]
      ??:0(handle_fatal_signal)[0x556a3640d5e5]
      sigaction.c:0(__restore_rt)[0x7fdb92217b20]
      :0(__GI_raise)[0x7fdb8ffb17ff]
      :0(__GI_abort)[0x7fdb8ff9bc35]
      ??:0(Wsrep_server_service::log_dummy_write_set(wsrep::client_state&, wsrep::ws_meta const&))[0x556a360f0985]
      ??:0(Wsrep_server_service::log_dummy_write_set(wsrep::client_state&, wsrep::ws_meta const&))[0x556a360fb7fc]
      ??:0(void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag))[0x556a367839f3]
      ??:0(void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag))[0x556a3678b419]
      ??:0(void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag))[0x556a3678d52e]
      ??:0(wsrep_notify_status(wsrep::server_state::state, wsrep::view const*))[0x556a366eed1e]
      ??:0(mysql_alter_table(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, HA_CREATE_INFO*, TABLE_LIST*, Alter_info*, unsigned int, st_order*, bool, bool))[0x556a362b80b3]
      ??:0(Sql_cmd_alter_table::execute(THD*))[0x556a363124fb]
      ??:0(mysql_execute_command(THD*))[0x556a3621ed97]
      ??:0(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x556a36210782]
      ??:0(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x556a3621beab]
      ??:0(do_command(THD*))[0x556a3621cff5]
      ??:0(do_handle_one_connection(CONNECT*, bool))[0x556a3630dbb1]
      ??:0(handle_one_connection)[0x556a3630df4d]
      ??:0(MyCTX_nopad::finish(unsigned char*, unsigned int*))[0x556a3662d5da]
      pthread_create.c:0(start_thread)[0x7fdb9220d14a]
      :0(_GI__clone)[0x7fdb90076f23]

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7fd894010460): ALTER TABLE wp_posts CHANGE post_name post_name VARCHAR(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ''

      Connection ID (thread ID): 106
      Status: NOT_KILLED

      Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off

      The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
      information that should help you find out what is causing the crash.
      Writing a core file...
      Working directory at /var/lib/mysql
      Resource Limits:
      Limit Soft Limit Hard Limit Units
      Max cpu time unlimited unlimited seconds
      Max file size unlimited unlimited bytes
      Max data size unlimited unlimited bytes
      Max stack size 8388608 unlimited bytes
      Max core file size unlimited unlimited bytes
      Max resident set unlimited unlimited bytes
      Max processes 62462 62462 processes
      Max open files 655350 655350 files
      Max locked memory 65536 65536 bytes
      Max address space unlimited unlimited bytes
      Max file locks unlimited unlimited locks
      Max pending signals 62462 62462 signals
      Max msgqueue size 819200 819200 bytes
      Max nice priority 0 0
      Max realtime priority 0 0
      Max realtime timeout unlimited unlimited us

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              anas_xrt Montri
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.