InnoDB: Assertion failure in thread 140061262591744 in file row0mysql.c line 1478

Hello :slight_smile:

yesterday our PXC stopped. Two of three node died.
I think somebody tested something with MyISAM…
The error log is attached.

Whats happend here ?

+-------------------------+------------------------------------------------------------------------+
| Variable_name | Value |
+-------------------------+------------------------------------------------------------------------+
| innodb_version | 5.5.37-35.0-35.0 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.37-35.0 |
| version_comment | Percona XtraDB Cluster (GPL), Release 35.0 (Ubuntu), wsrep_25.10.rXXXX |
| version_compile_machine | x86_64 |
| version_compile_os | Linux |
+-------------------------+------------------------------------------------------------------------+


140923 14:28:50 InnoDB: Assertion failure in thread 140061262591744 in file row0mysql.c line 1478
InnoDB: Failing assertion: node->pcur->rel_pos == BTR_PCUR_ON
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: MySQL :: MySQL 8.0 Reference Manual :: 15.21.3 Forcing InnoDB Recovery
InnoDB: about forcing recovery.
12:28:50 UTC - 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.
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.
Please help us make Percona XtraDB Cluster better by reporting any
bugs at https://bugs.launchpad.net/percona-xtradb-cluster

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=19
max_threads=153
thread_count=17
connection_count=17
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 343074 K bytes of memory
Hope that’s ok; if not, decrease some variables in the equation.

Thread pointer: 0x7f625c000990
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 = 7f628dcdaa30 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x2c)[0x7f65eb7f992c]
/usr/sbin/mysqld(handle_fatal_signal+0x4a1)[0x7f65eb6c3b21]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f65ea60d340]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39)[0x7f65e962bf79]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f65e962f388]
/usr/sbin/mysqld(+0x5b7c2e)[0x7f65eb84fc2e]
/usr/sbin/mysqld(+0x59c23c)[0x7f65eb83423c]
/usr/sbin/mysqld(_ZN7handler13ha_delete_rowEPKh+0x60)[0x7f65eb6cb9d0]
/usr/sbin/mysqld(_ZN21Delete_rows_log_event11do_exec_rowEPK14Relay_log_info+0x15a)[0x7f65eb76f0da]
/usr/sbin/mysqld(_ZN14Rows_log_event14do_apply_eventEPK14Relay_log_info+0x1fd)[0x7f65eb7641fd]
/usr/sbin/mysqld(_Z14wsrep_apply_cbPvPKvmjPK14wsrep_trx_meta+0x609)[0x7f65eb681389]
/usr/lib/libgalera_smm.so(+0x196a96)[0x7f65cca68a96]
/usr/lib/libgalera_smm.so(_ZN6galera13ReplicatorSMM9apply_trxEPvPNS_9TrxHandleE+0xce)[0x7f65cca6aabe]
/usr/lib/libgalera_smm.so(_ZN6galera13ReplicatorSMM11process_trxEPvPNS_9TrxHandleE+0x10e)[0x7f65cca6d72e]
/usr/lib/libgalera_smm.so(_ZN6galera15GcsActionSource8dispatchEPvRK10gcs_actionRb+0x1b9)[0x7f65cca4d979]
/usr/lib/libgalera_smm.so(_ZN6galera15GcsActionSource7processEPvRb+0x4c)[0x7f65cca4e86c]
/usr/lib/libgalera_smm.so(_ZN6galera13ReplicatorSMM10async_recvEPv+0x6b)[0x7f65cca6d94b]
/usr/lib/libgalera_smm.so(galera_recv+0x18)[0x7f65cca7e9c8]
/usr/sbin/mysqld(+0x3e9e11)[0x7f65eb681e11]
/usr/sbin/mysqld(start_wsrep_THD+0x4e9)[0x7f65eb533979]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182)[0x7f65ea605182]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f65e96f030d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0): is an invalid pointer
Connection ID (thread ID): 4
Status: NOT_KILLED

You may download the Percona XtraDB Cluster operations manual by visiting
Percona XtraDB Cluster – The MySQL Clustering Solution. You may find information
in the manual which will help you identify the cause of the crash.
140923 14:28:50 mysqld_safe Number of processes running now: 0
140923 14:28:50 mysqld_safe WSREP: not restarting wsrep node automatically
140923 14:28:50 mysqld_safe mysqld from pid file /var/lib/mysql/nsearch12.pid ended




Thanks in advanced..

Patrick

Hi,

As per the error logs, someone was trying to delete the records from the table.
/usr/sbin/mysqld(_ZN7handler13ha_delete_rowEPKh+0x60)[0x7f65eb6cb9d0]
/usr/sbin/mysqld(_ZN21Delete_rows_log_event11do_exec_rowEPK14Relay_log_info+0x15a)[0x7f65eb76f0da]
/usr/sbin/mysqld(_ZN14Rows_log_event14do_apply_eventEPK14Relay_log_info+0x1fd)[0x7f65eb7641fd]
/usr/sbin/mysqld(_Z14wsrep_apply_cbPvPKvmjPK14wsrep_trx_meta+0x609)[0x7f65eb681389]

You issue seems similar to this bug. [url]https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1277986[/url]
can you check if that is the case. Its happening with MyISAM + PXC