Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Percona-XtraDB-Cluster-56 crashed #165

Closed
529 opened this issue Apr 19, 2017 · 3 comments
Closed

Percona-XtraDB-Cluster-56 crashed #165

529 opened this issue Apr 19, 2017 · 3 comments

Comments

@529
Copy link

529 commented Apr 19, 2017

I'm trying to run the plugin on Percona-XtraDB-Cluster-56 (3node) but unfortunatelly it crashes each time when I operate below.

status

mysql  Ver 14.14 Distrib 5.6.34-79.1, for Linux (x86_64) using  6.2

Connection id:		233
Current database:	test
Current user:		529@localhost
SSL:			Not in use
Current pager:		stdout
Using outfile:		''
Using delimiter:	;
Server version:		5.6.34-79.1-56-log Percona XtraDB Cluster (GPL), Release rel79.1, Revision 7c38350, WSREP version 26.19, wsrep_26.19
Protocol version:	10
Connection:		Localhost via UNIX socket
Server characterset:	utf8
Db     characterset:	utf8
Client characterset:	utf8
Conn.  characterset:	utf8
UNIX socket:		/var/lib/mysql/mysql.sock
Uptime:			42 min 5 sec

Threads: 18  Questions: 2145  Slow queries: 1  Opens: 83  Flush tables: 1  Open tables: 76  Queries per second avg: 0.849

my.cnf

(node1)(node2)(node3)

[mysqld]
loose-audit_offsets=7792, 7848, 4480, 5120, 88, 2720, 96, 0, 32, 104, 152, 7968, 4872, 2800, 2808, 2812
plugin-load-add=libaudit_plugin.so
audit_json_file = ON
audit_json_log_file=/var/log/mysqld-audit.json

plugin version

(node1)(node2)(node3)

mysql> show global status like 'AUDIT_version';
+---------------+-----------+
| Variable_name | Value     |
+---------------+-----------+
| Audit_version | 1.1.1-660 |
+---------------+-----------+
1 row in set (0.00 sec)

operation

(node3)
mysql> desc test.test;
+-------+--------------+------+-----+---------+-------+
| Field | Type         | Null | Key | Default | Extra |
+-------+--------------+------+-----+---------+-------+
| id    | int(11)      | NO   | PRI | NULL    |       |
| value | varchar(255) | YES  |     | NULL    |       |
+-------+--------------+------+-----+---------+-------+

insert into test.test values (3, 'test');

Then node1 and node2 crash.

error.log

(node1)(node2)

14:25:15 UTC - mysqld got signal 11 ;
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=1
max_threads=504
thread_count=17
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 112233 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7f07d4000990
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 = 7f08647869a0 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x3b)[0x91113b]
/usr/sbin/mysqld(handle_fatal_signal+0x471)[0x67dc31]
/usr/lib64/libpthread.so.0(+0xf100)[0x7f088b196100]
/usr/lib64/mysql/plugin/libaudit_plugin.so(+0x11da5)[0x7f07dea0cda5]
/usr/lib64/mysql/plugin/libaudit_plugin.so(+0x10548)[0x7f07dea0b548]
/usr/lib64/mysql/plugin/libaudit_plugin.so(+0x11609)[0x7f07dea0c609]
/usr/lib64/mysql/plugin/libaudit_plugin.so(+0x116d1)[0x7f07dea0c6d1]
/usr/lib64/mysql/plugin/libaudit_plugin.so(+0xe42c)[0x7f07dea0942c]
/usr/lib64/mysql/plugin/libaudit_plugin.so(+0xe888)[0x7f07dea09888]
/usr/sbin/mysqld(_Z20open_and_lock_tablesP3THDP10TABLE_LISTbjP19Prelocking_strategy+0x43)[0x6bc693]
/usr/sbin/mysqld(_ZN14Rows_log_event14do_apply_eventEPK14Relay_log_info+0x4c0)[0x8a1030]
/usr/sbin/mysqld(_ZN9Log_event11apply_eventEP14Relay_log_info+0x6a)[0x89a43a]
/usr/sbin/mysqld(_Z14wsrep_apply_cbPvPKvmjPK14wsrep_trx_meta+0x5d0)[0x5b2390]
/usr/lib64/libgalera_smm.so(_ZNK6galera9TrxHandle5applyEPvPF15wsrep_cb_statusS1_PKvmjPK14wsrep_trx_metaERS6_+0xd5)[0x7f0866a867b5]
/usr/lib64/libgalera_smm.so(+0x1f5ae0)[0x7f0866ac3ae0]
/usr/lib64/libgalera_smm.so(_ZN6galera13ReplicatorSMM9apply_trxEPvPNS_9TrxHandleE+0xd4)[0x7f0866ac6534]
/usr/lib64/libgalera_smm.so(_ZN6galera13ReplicatorSMM11process_trxEPvPNS_9TrxHandleE+0x10e)[0x7f0866ac979e]
/usr/lib64/libgalera_smm.so(_ZN6galera15GcsActionSource8dispatchEPvRK10gcs_actionRb+0x1b8)[0x7f0866aa5d48]
/usr/lib64/libgalera_smm.so(_ZN6galera15GcsActionSource7processEPvRb+0x57)[0x7f0866aa74e7]
/usr/lib64/libgalera_smm.so(_ZN6galera13ReplicatorSMM10async_recvEPv+0x7b)[0x7f0866ac9ddb]
/usr/lib64/libgalera_smm.so(galera_recv+0x1d)[0x7f0866ad97bd]
/usr/sbin/mysqld[0x5b2ef4]
/usr/sbin/mysqld(start_wsrep_THD+0x293)[0x597203]
/usr/lib64/libpthread.so.0(+0x7dc5)[0x7f088b18edc5]
/usr/lib64/libc.so.6(clone+0x6d)[0x7f08893dcced]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0): Connection ID (thread ID): 1
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.
Writing a core file
170419 23:25:17 mysqld_safe Number of processes running now: 0
170419 23:25:17 mysqld_safe WSREP: not restarting wsrep node automatically
170419 23:25:17 mysqld_safe mysqld from pid file /var/run/mysql/mysqld.pid ended

Any help would be appreciated.

@aharonrobbins
Copy link

Hi. Thanks for the report.

Can you please try the latest dev-snapshot plugin from bintray? This problem may be related to issue #155. (Or you can build from the latest source.)

Thanks!

@529
Copy link
Author

529 commented Apr 21, 2017

I tried the latest dev-snapshot plugin (1.1.2-691).
It solved!
Thank you for your help.

@529 529 closed this as completed Apr 21, 2017
@aharonrobbins
Copy link

Wonderful! Thanks for letting me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants