ALTER USER crashes cluster nodes

Bug #1687034 reported by Przemek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Confirmed
Undecided
Unassigned
5.7
Confirmed
Undecided
Unassigned

Bug Description

After this command issued on one cluster node:
alter user user() identified by 'new-pass';
all the other nodes crash with stack trace as below.
But command:
alter user 'root'@'localhost' identified by 'new-pass';
does not make any problems though. Tested on PXC 5.7.17

14:44:59 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.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
Please help us make Percona XtraDB Cluster better by reporting any
bugs at https://bugs.launchpad.net/percona-xtradb-cluster

key_buffer_size=25165824
read_buffer_size=131072
max_used_connections=1
max_threads=210
thread_count=5
connection_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 104445 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7fd2f00008c0
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 = 7fd310124998 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0xf818a5]
/usr/sbin/mysqld(handle_fatal_signal+0x4c4)[0x7c71f4]
/lib64/libpthread.so.0(+0xf7e0)[0x7fd35f8be7e0]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THDb+0x42f6)[0xd3dff6]
/usr/sbin/mysqld(_Z11mysql_parseP3THDP12Parser_state+0x67d)[0xd41bad]
/usr/sbin/mysqld(_ZN15Query_log_event14do_apply_eventEPK14Relay_log_infoPKcm+0x818)[0xf07178]
/usr/sbin/mysqld(_ZN9Log_event11apply_eventEP14Relay_log_info+0x74)[0xf05f14]
/usr/sbin/mysqld(_Z14wsrep_apply_cbPvPKvmjPK14wsrep_trx_meta+0x3b6)[0x7dea86]
/usr/lib64/galera3/libgalera_smm.so(_ZNK6galera9TrxHandle5applyEPvPF15wsrep_cb_statusS1_PKvmjPK14wsrep_trx_metaERS6_+0xc0)[0x7fd353adb6a0]
/usr/lib64/galera3/libgalera_smm.so(+0x1c7f09)[0x7fd353b0df09]
/usr/lib64/galera3/libgalera_smm.so(_ZN6galera13ReplicatorSMM9apply_trxEPvPNS_9TrxHandleE+0x246)[0x7fd353b12986]
/usr/lib64/galera3/libgalera_smm.so(_ZN6galera13ReplicatorSMM11process_trxEPvPNS_9TrxHandleE+0x44)[0x7fd353b13154]
/usr/lib64/galera3/libgalera_smm.so(_ZN6galera15GcsActionSource8dispatchEPvRK10gcs_actionRb+0x28f)[0x7fd353af3d3f]
/usr/lib64/galera3/libgalera_smm.so(_ZN6galera15GcsActionSource7processEPvRb+0x63)[0x7fd353af4323]
/usr/lib64/galera3/libgalera_smm.so(_ZN6galera13ReplicatorSMM10async_recvEPv+0x73)[0x7fd353b0d9c3]
/usr/lib64/galera3/libgalera_smm.so(galera_recv+0x24)[0x7fd353b2a2d4]
/usr/sbin/mysqld[0x7e0b8e]
/usr/sbin/mysqld(start_wsrep_THD+0x33e)[0x7b5a3e]
/lib64/libpthread.so.0(+0x7aa1)[0x7fd35f8b6aa1]
/lib64/libc.so.6(clone+0x6d)[0x7fd35dbadaad]

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

Tags: i185232
Revision history for this message
Krunal Bauskar (krunal-bauskar) wrote :

This is due to involvement of the function that is local to the node.

Here is the bug logged upstream with test-case.

https://github.com/codership/mysql-wsrep/issues/304

Changed in percona-xtradb-cluster:
status: New → Confirmed
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-1973

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.