Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Incomplete
-
10.5.8
-
Platform | Linux
Release | CentOS Linux release 8.3.2011
Kernel | 4.18.0-240.10.1.el8_3.x86_64
Architecture | CPU = 64-bit, OS = 64-bit
Threading | NPTL 2.28
SELinux | Disabled
# Memory #####################################################
Total | 15.3G
Free | 164.6M
Used | physical = 6.3G, swap allocated = 0.0, swap used = 0.0, virtual = 6.3G
Shared | 2.1G
Buffers | 8.8G
Caches | 6.5G
Dirty | 912 kB
UsedRSS | 12.8G
Swappiness | 0
DirtyPolicy | 30, 10
DirtyStatus | 0, 0
# Disk Schedulers And Queue Size #############################
sda | [mq-deadline] 256
sdb | [mq-deadline] 256
sr0 | [mq-deadline] 2
# Disk Partioning ############################################
Device Type Start End Size
============ ==== ========== ========== ==================
/dev/sda Disk 245761048576
/dev/sda1 Part 135168 480002014 0
/dev/sda14 Part 2048 4095 0
/dev/sda15 Part 4096 135167 0
/dev/sdb Disk 536870912000
# Kernel Inode State #########################################
dentry-state | 1722509 1617068 45 0 130652 0
file-nr | 9664 0 5000000
inode-nr | 2169522 587683
# Simplified and fuzzy rounded vmstat (wait please) ##########
procs ---swap-- -----io---- ---system---- --------cpu--------
r b si so bi bo ir cs us sy il wa st
3 0 0 0 1500 1250 500 500 12 3 83 2 0
3 0 0 0 3000 0 6000 6000 12 7 78 3 0
2 0 0 0 2250 250 4000 4000 11 4 81 5 0
3 1 0 0 5000 60 5000 4500 13 5 78 3 0
2 1 0 0 25000 300 8000 7000 23 8 63 6 0
# Memory mamagement ##########################################
Transparent huge pages are enabled.
Platform | Linux Release | CentOS Linux release 8.3.2011 Kernel | 4.18.0-240.10.1.el8_3.x86_64 Architecture | CPU = 64-bit, OS = 64-bit Threading | NPTL 2.28 SELinux | Disabled # Memory ##################################################### Total | 15.3G Free | 164.6M Used | physical = 6.3G, swap allocated = 0.0, swap used = 0.0, virtual = 6.3G Shared | 2.1G Buffers | 8.8G Caches | 6.5G Dirty | 912 kB UsedRSS | 12.8G Swappiness | 0 DirtyPolicy | 30, 10 DirtyStatus | 0, 0 # Disk Schedulers And Queue Size ############################# sda | [mq-deadline] 256 sdb | [mq-deadline] 256 sr0 | [mq-deadline] 2 # Disk Partioning ############################################ Device Type Start End Size ============ ==== ========== ========== ================== /dev/sda Disk 245761048576 /dev/sda1 Part 135168 480002014 0 /dev/sda14 Part 2048 4095 0 /dev/sda15 Part 4096 135167 0 /dev/sdb Disk 536870912000 # Kernel Inode State ######################################### dentry-state | 1722509 1617068 45 0 130652 0 file-nr | 9664 0 5000000 inode-nr | 2169522 587683 # Simplified and fuzzy rounded vmstat (wait please) ########## procs ---swap-- -----io---- ---system---- --------cpu-------- r b si so bi bo ir cs us sy il wa st 3 0 0 0 1500 1250 500 500 12 3 83 2 0 3 0 0 0 3000 0 6000 6000 12 7 78 3 0 2 0 0 0 2250 250 4000 4000 11 4 81 5 0 3 1 0 0 5000 60 5000 4500 13 5 78 3 0 2 1 0 0 25000 300 8000 7000 23 8 63 6 0 # Memory mamagement ########################################## Transparent huge pages are enabled.
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
- relates to
-
MDEV-20726 InnoDB: Assertion failure in file data0type.cc line 67
- Closed