Bug #95033 Failing assertion: btr_page_get_next(merge_page, mtr) == buf_block_get_page_no(b
Submitted: 16 Apr 2019 2:41 Modified: 16 Apr 2019 21:54
Reporter: 1993 robot Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Errors Severity:S2 (Serious)
Version:5.5.40 OS:CentOS
Assigned to: CPU Architecture:x86

[16 Apr 2019 2:41] 1993 robot
Description:

In a cluster, mysql dies and cannot be automatically restored. I want to know what caused this crash and how to avoid it.

190215  3:43:07 InnoDB: The InnoDB memory heap is disabled
190215  3:43:07 InnoDB: Mutexes and rw_locks use GCC atomic builtins
190215  3:43:07 InnoDB: Compressed tables use zlib 1.2.7
190215  3:43:07 InnoDB: Using Linux native AIO
190215  3:43:07 InnoDB: Initializing buffer pool, size = 128.0M
190215  3:43:07 InnoDB: Completed initialization of buffer pool
190215  3:43:07 InnoDB: highest supported file format is Barracuda.
190215  3:43:07  InnoDB: Waiting for the background threads to start
190215  3:43:07  InnoDB: Assertion failure in thread 139873887680256 in file btr0btr.c line 3381
InnoDB: Failing assertion: btr_page_get_next(merge_page, mtr) == buf_block_get_page_no(block)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
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: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
190215  3:43: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 http://kb.askmonty.org/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: 5.5.40-MariaDB-wsrep
key_buffer_size=67108864
read_buffer_size=131072
max_used_connections=0
max_threads=4098
thread_count=0
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 9057682 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x0
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 = 0x0 thread_stack 0x48000
/usr/libexec/mysqld(my_print_stacktrace+0x3d)[0x7f3709bacefd]
/usr/libexec/mysqld(handle_fatal_signal+0x515)[0x7f37097b9c25]
/lib64/libpthread.so.0(+0xf130)[0x7f3708ec8130]
/lib64/libc.so.6(gsignal+0x37)[0x7f370767d5d7]
/lib64/libc.so.6(abort+0x148)[0x7f370767ecc8]
/usr/libexec/mysqld(+0x6b3a7e)[0x7f37099aca7e]
/usr/libexec/mysqld(+0x6b83dd)[0x7f37099b13dd]
/usr/libexec/mysqld(+0x6bbb3d)[0x7f37099b4b3d]
/usr/libexec/mysqld(+0x787168)[0x7f3709a80168]
/usr/libexec/mysqld(+0x78865b)[0x7f3709a8165b]
/usr/libexec/mysqld(+0x77f8b4)[0x7f3709a788b4]
/usr/libexec/mysqld(+0x68b7f7)[0x7f37099847f7]
/usr/libexec/mysqld(+0x67f926)[0x7f3709978926]
/lib64/libpthread.so.0(+0x7df5)[0x7f3708ec0df5]
/lib64/libc.so.6(clone+0x6d)[0x7f370773e1ad]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.

How to repeat:
no
[16 Apr 2019 9:55] zhai weixiang
Looks like your data is corruption. generally it's hard to verify without a repeatable case..
[16 Apr 2019 9:56] zhai weixiang
You can innodb force recovery to start the instance and dump the data:
https://dev.mysql.com/doc/refman/8.0/en/forcing-innodb-recovery.html
[16 Apr 2019 13:52] MySQL Verification Team
Please check what was commented by zhai weixiang. Thanks.
[16 Apr 2019 21:54] MySQL Verification Team
Hi,

I'd say this is not MySQL Cluster ( https://www.mysql.com/products/cluster/ ) but maybe Innodb cluster or you are talking about simple replication setup that you call cluster. Please clarify what setup you are using.

> Server version: 5.5.40-MariaDB-wsrep

This is not MySQL server signature, please report a bug to MariaDB 

kind regards
Bogdan