Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-2537

Modified mysqladmin password command to prevent node crash

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 5.7.25-31.35
    • 8.0.18-internal
    • None
    • None

    Description

      All nodes excepted for the one on which query was executed will crash if DDL with function was executed.

      Steps to reproduce:
      1. Execute:

      ALTER USER USER() IDENTIFIED BY 'the infinite improbability drive';
      

      2. All nodes excepted the one on which the query was execute will crash with the following stack trace:

      09:10:16 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://jira.percona.com/projects/PXC/issues
      
      key_buffer_size=8388608
      read_buffer_size=131072
      max_used_connections=0
      max_threads=152
      thread_count=3
      connection_count=0
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68412 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
      
      Thread pointer: 0x7f54100008c0
      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 = 7f545def5eb8 thread_stack 0x30000
      mysqld(my_print_stacktrace+0x2c)[0xed82fc]
      mysqld(handle_fatal_signal+0x479)[0x7a8609]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0xf890)[0x7f5478212890]
      mysqld(_Z21mysql_execute_commandP3THDb+0x3c3d)[0xc94d8d]
      mysqld(_Z11mysql_parseP3THDP12Parser_stateb+0x4b5)[0xc987f5]
      mysqld(_ZN15Query_log_event14do_apply_eventEPK14Relay_log_infoPKcm+0xb17)[0xe41a37]
      mysqld(_ZN9Log_event11apply_eventEP14Relay_log_info+0x61)[0xe3fad1]
      mysqld(_Z14wsrep_apply_cbPvPKvmjPK14wsrep_trx_meta+0x3d2)[0x7c1ba2]
      /usr/lib/galera3/libgalera_smm.so(_ZNK6galera9TrxHandle5applyEPvPF15wsrep_cb_statusS1_PKvmjPK14wsrep_trx_metaERS6_+0xcc)[0x7f546aecf9cc]
      /usr/lib/galera3/libgalera_smm.so(+0x2197a4)[0x7f546af157a4]
      /usr/lib/galera3/libgalera_smm.so(_ZN6galera13ReplicatorSMM9apply_trxEPvPNS_9TrxHandleE+0x180)[0x7f546af183a0]
      /usr/lib/galera3/libgalera_smm.so(_ZN6galera13ReplicatorSMM11process_trxEPvPNS_9TrxHandleE+0x11e)[0x7f546af1bc7e]
      /usr/lib/galera3/libgalera_smm.so(_ZN6galera15GcsActionSource8dispatchEPvRK10gcs_actionRb+0x1b0)[0x7f546aef4410]
      /usr/lib/galera3/libgalera_smm.so(_ZN6galera15GcsActionSource7processEPvRb+0x6a)[0x7f546aef5c1a]
      /usr/lib/galera3/libgalera_smm.so(_ZN6galera13ReplicatorSMM10async_recvEPv+0x7b)[0x7f546af1c47b]
      /usr/lib/galera3/libgalera_smm.so(galera_recv+0x1d)[0x7f546af3100d]
      mysqld[0x7c33eb]
      mysqld(start_wsrep_THD+0x1ef)[0x79965f]
      mysqld(pfs_spawn_thread+0x1b4)[0xef03e4]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x8064)[0x7f547820b064]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f547624a62d]
      
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (7f54100134e3): alter user user() identified by 'the infinite improbability drive'
      Connection ID (thread ID): 4
      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.
      

      Attachments

        Issue Links

          Activity

            People

              kenn.takara Kenn Takara (Inactive)
              iwo.panowicz Iwo Panowicz
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 day, 2 hours, 15 minutes
                  1d 2h 15m

                  Smart Checklist