BF-BF X lock conflict
RECORD LOCKS space id 332 page no 492 n bits 440 index `PRIMARY` of table `billing`.`menu_operator_items` trx id 8627444 lock_mode X locks rec but not gap
22:11:37 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=134217728
read_buffer_size=131072
max_used_connections=10
max_threads=153
thread_count=9
connection_count=9
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 192102 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f6324000990
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 = 7f63682f1d98 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x902645]
/usr/sbin/mysqld(handle_fatal_signal+0x4c4)[0x6801e4]
/lib64/libpthread.so.0(+0xf710)[0x7f667d8d5710]
/lib64/libc.so.6(gsignal+0x35)[0x7f667bd1e925]
/lib64/libc.so.6(abort+0x175)[0x7f667bd20105]
/usr/sbin/mysqld[0x9950db]
/usr/sbin/mysqld[0x99973f]
/usr/sbin/mysqld[0x999ae3]
/usr/sbin/mysqld[0xa0b4ff]
/usr/sbin/mysqld[0xa11679]
/usr/sbin/mysqld[0x967a09]
/usr/sbin/mysqld(_ZN7handler10ha_rnd_posEPhS0_+0xac)[0x5c092c]
/usr/sbin/mysqld(_ZN14Rows_log_event24do_index_scan_and_updateEPK14Relay_log_info+0x1bf)[0x89facf]
/usr/sbin/mysqld(_ZN14Rows_log_event14do_apply_eventEPK14Relay_log_info+0xd8f)[0x8a59df]
/usr/sbin/mysqld(_ZN9Log_event11apply_eventEP14Relay_log_info+0x68)[0x8a6c38]
/usr/sbin/mysqld(_Z14wsrep_apply_cbPvPKvmjPK14wsrep_trx_meta+0x5ce)[0x5bd38e]
/usr/lib64/libgalera_smm.so(_ZNK6galera9TrxHandle5applyEPvPF15wsrep_cb_statusS1_PKvmjPK14wsrep_trx_metaERS6_+0xb1)[0x7f665d69e291]
/usr/lib64/libgalera_smm.so(+0x1aaf65)[0x7f665d6d5f65]
/usr/lib64/libgalera_smm.so(_ZN6galera13ReplicatorSMM9apply_trxEPvPNS_9TrxHandleE+0x283)[0x7f665d6d6dd3]
/usr/lib64/libgalera_smm.so(_ZN6galera13ReplicatorSMM11process_trxEPvPNS_9TrxHandleE+0x45)[0x7f665d6d76c5]
/usr/lib64/libgalera_smm.so(_ZN6galera15GcsActionSource8dispatchEPvRK10gcs_actionRb+0x2c9)[0x7f665d6b4319]
/usr/lib64/libgalera_smm.so(_ZN6galera15GcsActionSource7processEPvRb+0x63)[0x7f665d6b47f3]
/usr/lib64/libgalera_smm.so(_ZN6galera13ReplicatorSMM10async_recvEPv+0x93)[0x7f665d6d33c3]
/usr/lib64/libgalera_smm.so(galera_recv+0x23)[0x7f665d6e8753]
/usr/sbin/mysqld[0x5be11f]
/usr/sbin/mysqld(start_wsrep_THD+0x3fe)[0x5ae42e]
/lib64/libpthread.so.0(+0x79d1)[0x7f667d8cd9d1]
/lib64/libc.so.6(clone+0x6d)[0x7f667bdd4b6d]
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): 3
Status: NOT_KILLED
You may download the Percona XtraDB Cluster operations manual by visiting http://www.percona.com/software/percona-xtradb-cluster/. You may find information
in the manual which will help you identify the cause of the crash.
140610 01:11:38 mysqld_safe Number of processes running now: 0
140610 01:11:38 mysqld_safe WSREP: not restarting wsrep node automatically
140610 01:11:38 mysqld_safe mysqld from pid file /var/lib/mysql/natrium.la.net.ua.pid ended
Structure of table "billing.menu_operator_items":
mysql> show create table `menu_operator_items`\G
*************************** 1. row ***************************
Table: menu_operator_items
Create Table: CREATE TABLE `menu_operator_items` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`operator` int(10) unsigned DEFAULT NULL,
`menu_item` int(10) unsigned NOT NULL,
`menu_box` int(10) unsigned NOT NULL,
`order_num` int(11) NOT NULL,
`custom_title` varchar(128) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `operator` (`operator`,`menu_item`),
KEY `menu_box` (`menu_box`),
KEY `menu_item` (`menu_item`),
CONSTRAINT `menu_operator_items_ibfk_1` FOREIGN KEY (`operator`) REFERENCES `operators` (`id`) ON DELETE CASCADE,
CONSTRAINT `menu_operator_items_ibfk_2` FOREIGN KEY (`menu_box`) REFERENCES `menu_operator_boxes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `menu_operator_items_ibfk_3` FOREIGN KEY (`menu_item`) REFERENCES `menu_items` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=687391 DEFAULT CHARSET=cp1251
1 row in set (0,00 sec)
Hi to all.
We also have a similar problem.
MySQL Version: Percona XtraDB Cluster (GPL), Release 25.5, Revision 759, wsrep_25.5.r4061
Log:
BF-BF X lock conflict .`menu_ operator_ items` trx id 8627444 lock_mode X locks rec but not gap /bugs.launchpad .net/percona- xtradb- cluster
RECORD LOCKS space id 332 page no 492 n bits 440 index `PRIMARY` of table `billing`
22:11:37 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:/
key_buffer_ size=134217728 size=131072 connections= 10 size)*max_ threads = 192102 K bytes of memory
read_buffer_
max_used_
max_threads=153
thread_count=9
connection_count=9
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f6324000990 mysqld( my_print_ stacktrace+ 0x35)[0x902645] mysqld( handle_ fatal_signal+ 0x4c4)[ 0x6801e4] libpthread. so.0(+0xf710) [0x7f667d8d5710 ] libc.so. 6(gsignal+ 0x35)[0x7f667bd 1e925] libc.so. 6(abort+ 0x175)[ 0x7f667bd20105] mysqld[ 0x9950db] mysqld[ 0x99973f] mysqld[ 0x999ae3] mysqld[ 0xa0b4ff] mysqld[ 0xa11679] mysqld[ 0x967a09] mysqld( _ZN7handler10ha _rnd_posEPhS0_ +0xac)[ 0x5c092c] mysqld( _ZN14Rows_ log_event24do_ index_scan_ and_updateEPK14 Relay_log_ info+0x1bf) [0x89facf] mysqld( _ZN14Rows_ log_event14do_ apply_eventEPK1 4Relay_ log_info+ 0xd8f)[ 0x8a59df] mysqld( _ZN9Log_ event11apply_ eventEP14Relay_ log_info+ 0x68)[0x8a6c38] mysqld( _Z14wsrep_ apply_cbPvPKvmj PK14wsrep_ trx_meta+ 0x5ce)[ 0x5bd38e] libgalera_ smm.so( _ZNK6galera9Trx Handle5applyEPv PF15wsrep_ cb_statusS1_ PKvmjPK14wsrep_ trx_metaERS6_ +0xb1)[ 0x7f665d69e291] libgalera_ smm.so( +0x1aaf65) [0x7f665d6d5f65 ] libgalera_ smm.so( _ZN6galera13Rep licatorSMM9appl y_trxEPvPNS_ 9TrxHandleE+ 0x283)[ 0x7f665d6d6dd3] libgalera_ smm.so( _ZN6galera13Rep licatorSMM11pro cess_trxEPvPNS_ 9TrxHandleE+ 0x45)[0x7f665d6 d76c5] libgalera_ smm.so( _ZN6galera15Gcs ActionSource8di spatchEPvRK10gc s_actionRb+ 0x2c9)[ 0x7f665d6b4319] libgalera_ smm.so( _ZN6galera15Gcs ActionSource7pr ocessEPvRb+ 0x63)[0x7f665d6 b47f3] libgalera_ smm.so( _ZN6galera13Rep licatorSMM10asy nc_recvEPv+ 0x93)[0x7f665d6 d33c3] libgalera_ smm.so( galera_ recv+0x23) [0x7f665d6e8753 ] mysqld[ 0x5be11f] mysqld( start_wsrep_ THD+0x3fe) [0x5ae42e] libpthread. so.0(+0x79d1) [0x7f667d8cd9d1 ] libc.so. 6(clone+ 0x6d)[0x7f667bd d4b6d]
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 = 7f63682f1d98 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
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): 3
Status: NOT_KILLED
You may download the Percona XtraDB Cluster operations manual by visiting www.percona. com/software/ percona- xtradb- cluster/. You may find information mysql/natrium. la.net. ua.pid ended
http://
in the manual which will help you identify the cause of the crash.
140610 01:11:38 mysqld_safe Number of processes running now: 0
140610 01:11:38 mysqld_safe WSREP: not restarting wsrep node automatically
140610 01:11:38 mysqld_safe mysqld from pid file /var/lib/
Structure of table "billing. menu_operator_ items":
mysql> show create table `menu_operator_ items`\ G ******* ******* ****** 1. row ******* ******* ******* ****** items` ( ,`menu_ item`), items_ibfk_ 1` FOREIGN KEY (`operator`) REFERENCES `operators` (`id`) ON DELETE CASCADE, items_ibfk_ 2` FOREIGN KEY (`menu_box`) REFERENCES `menu_operator_ boxes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, items_ibfk_ 3` FOREIGN KEY (`menu_item`) REFERENCES `menu_items` (`id`) ON DELETE CASCADE 687391 DEFAULT CHARSET=cp1251
*******
Table: menu_operator_items
Create Table: CREATE TABLE `menu_operator_
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`operator` int(10) unsigned DEFAULT NULL,
`menu_item` int(10) unsigned NOT NULL,
`menu_box` int(10) unsigned NOT NULL,
`order_num` int(11) NOT NULL,
`custom_title` varchar(128) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `operator` (`operator`
KEY `menu_box` (`menu_box`),
KEY `menu_item` (`menu_item`),
CONSTRAINT `menu_operator_
CONSTRAINT `menu_operator_
CONSTRAINT `menu_operator_
) ENGINE=InnoDB AUTO_INCREMENT=
1 row in set (0,00 sec)